Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

MacWine 64bit news!


  • Please log in to reply
187 replies to this topic

#31 Slice

Slice

    Veteran Member

  • Members
  • PipPipPipPipPip
  • 305 posts
  • Graphics Card:AMD Radeon HD6670, GTX650
  • Operating System:OS X 10.11 (El Capitan)
  • I like to play:Heroes III
    4x4 Evolution
    made Heroes VI working!

Posted 06 July 2015 - 09:14 AM

In WIneskin I pressed "Command Line Wine Test". Terminal window opened.
Then I enter
mv .wine .wine32
WINEARCH=win64 wine64 winecfg
...
wine: configuration in '/Users/slice/.wine' has been updated.

Voila! Wine64 configuration created. Now I can probe.
WINEARCH=win64 wine64 c:/tests/kerio-win64.exe
See, it started as never before!

#32 NRG

NRG

    Champion Member

  • Members
  • 679 posts
  • Graphics Card:Nvidia 9800m GTS
  • Operating System:OS X 10.10 (Yosemite)

Posted 06 July 2015 - 12:00 PM

View PostSlice, on 06 July 2015 - 09:14 AM, said:

In WIneskin I pressed "Command Line Wine Test". Terminal window opened.
Then I enter
mv .wine .wine32
WINEARCH=win64 wine64 winecfg
...
wine: configuration in '/Users/slice/.wine' has been updated.

Voila! Wine64 configuration created. Now I can probe.
WINEARCH=win64 wine64 c:/tests/kerio-win64.exe
See, it started as never before!


MacBook-Pro-di-NRG90:~ NRG90$ WINEARCH=win64 wine64 c:/tests/kerio-win64.exe
wine: cannot find 'c:/tests/kerio-win64.exe'
  :(

#33 Slice

Slice

    Veteran Member

  • Members
  • PipPipPipPipPip
  • 305 posts
  • Graphics Card:AMD Radeon HD6670, GTX650
  • Operating System:OS X 10.11 (El Capitan)
  • I like to play:Heroes III
    4x4 Evolution
    made Heroes VI working!

Posted 06 July 2015 - 02:41 PM

Yes, you can't find file that you have no.
Use a windows executable 64 bit that you have.

#34 NRG

NRG

    Champion Member

  • Members
  • 679 posts
  • Graphics Card:Nvidia 9800m GTS
  • Operating System:OS X 10.10 (Yosemite)

Posted 06 July 2015 - 02:56 PM

View PostSlice, on 06 July 2015 - 02:41 PM, said:

Yes, you can't find file that you have no.
Use a windows executable 64 bit that you have.

ah ok...

I tried creating from 0 a new wrapper for "Ori and the blind forest" with your 64bit engine...

then i configured it with
mv .wine .wine32
WINEARCH=win64 wine64 winecfg
...
wine: configuration in '/Users/NRG90/.wine' has been updated.

when I installed the game folder by "moving it from..." command the game  is installed directly in windows 64bit path:

/Users/NRG90/Desktop/Ori.app/Contents/Resources/drive_c/Program Files

and not in 32bit path: /drive_c/Program Files (x86) as instead it happens with native Windows 8.1 64bit

It is a 32 bit game, but with windows 64bit works better because the 64bit system can manage more than 4gb of ram while 32bit not...

Testing it with your 64bitEngine,  the game seems works very well as  It could manage better my 6gb of ram, but Im not sure it's so, because It has again some crash during the challenging interludes/cutscenes...


when I have time I think I'll try this:

http://www.sevenforu...ade-32-bit.html

#35 NRG

NRG

    Champion Member

  • Members
  • 679 posts
  • Graphics Card:Nvidia 9800m GTS
  • Operating System:OS X 10.10 (Yosemite)

Posted 07 July 2015 - 04:08 AM

ok I tried to patch FarCry 32 bit to 64bit  inside a new  wrapper builded with your 64bit engine

when I try to launch the 64bit exe of the game this is what happens:

wine: Call from 0x7bc46a18 to unimplemented function MSVCR71.dll.__C_specific_handler, aborting 


#36 dankoB

dankoB

    Legendary Member

  • Super Moderators
  • 3011 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MacBook Pro 11,3
    Core i7 16GB
    NVIDIA GeForce GT 750M
    2GB GDDR5 vRAM
  • Operating System:macOS 10.12 (Sierra)
  • I like to play:la rockitar
Author

Posted 07 July 2015 - 05:42 AM

Maybe you have a 32 bit version of vcrun2003 installed into the wrapper?

#37 NRG

NRG

    Champion Member

  • Members
  • 679 posts
  • Graphics Card:Nvidia 9800m GTS
  • Operating System:OS X 10.10 (Yosemite)

Posted 07 July 2015 - 06:00 AM

View PostDankoB, on 07 July 2015 - 05:42 AM, said:

Maybe you have a 32 bit version of vcrun2003 installed into the wrapper?

No, I don't

In this regard, I must point out to Slice that winetricks seems that no longer work in 64bit version as messages appear like this:

wine cmd.exe /c echo '%ProgramFiles%' returned unexpanded string '%ProgramFiles%' ... can be caused a corrupt wineprefix, an old wine, or by not owning /Users/NRG90/Desktop/FarCry64.app/Contents/Resources


WINEARCH=win64 wine64 c:/Program Files/Ubisoft/Crytek/Far Cry/Bin64/FarCry.exe
wine: cannot find 'c:/Program'


#38 Slice

Slice

    Veteran Member

  • Members
  • PipPipPipPipPip
  • 305 posts
  • Graphics Card:AMD Radeon HD6670, GTX650
  • Operating System:OS X 10.11 (El Capitan)
  • I like to play:Heroes III
    4x4 Evolution
    made Heroes VI working!

Posted 07 July 2015 - 09:31 AM

This way?
WINEARCH=win64 wine64 c:/Program\ Files/Ubisoft/Crytek/Far\ Cry/Bin64/FarCry.exe

#39 Slice

Slice

    Veteran Member

  • Members
  • PipPipPipPipPip
  • 305 posts
  • Graphics Card:AMD Radeon HD6670, GTX650
  • Operating System:OS X 10.11 (El Capitan)
  • I like to play:Heroes III
    4x4 Evolution
    made Heroes VI working!

Posted 07 July 2015 - 09:42 AM

I have crashes
Unhandled exception: page fault on write access to 0x14977b7660, invalid program stack in 64-bit code (0x000000007bc2dacc).
Register dump:
rip:000000007bc2dacc rsp:000000000023fc80 rbp:000000000023fcc0 eflags:00010206 (  R- --  I   - -P- )
rax:000000000008b720 rbx:00000014977b7660 rcx:00000000000100a8 rdx:0000000000000000
rsi:0000000000000023 rdi:0000000000000022  r8:000000000008b720  r9:000000007bccd220 r10:000000000000000a
r11:ffffffffffffffc4 r12:0000000140017490 r13:000000004019fe50 r14:0000000000000fa0 r15:0000000000000000
Stack dump:
0x000000000023fc80:  0000000000000000 0000000000110000
0x000000000023fc90:  0000000000010000 0000000000240000
0x000000000023fca0:  0000000081f7f000 00000001400174c0
0x000000000023fcb0:  0000000140007d18 000000007b84eaf0
0x000000000023fcc0:  000000000023fd00 000000007b85d881
0x000000000023fcd0:  000000000023fc10 0000000000000000
0x000000000023fce0:  d500cfd4ef2bffc0 0000000000000000
0x000000000023fcf0:  000000000023fd00 00000001400174c0
0x000000000023fd00:  000000000023ff60 000000014000d226
0x000000000023fd10:  000000000023ff60 0000000140008928
0x000000000023fd20:  000000000023fdb0 0000000000000004
0x000000000023fd30:  0000000000000001 dd5ffa5d0530d7dd
Backtrace:
=>0 0x000000007bc2dacc (0x000000000023fcc0)
0x000000007bc2dacc: movq %rax,(%rbx)
Modules:
Module Address	 Debug info Name (13 modules)
PE		 40610000-		40614000 Deferred		rpcrt4
PE		 406a0000-		406a4000 Deferred		advapi32
PE		 40740000-		40744000 Deferred		version
PE		 40750000-		40758000 Deferred		shlwapi
PE		 43810000-		4384b000 Deferred		user32
This is 64 bit crash.

#40 NRG

NRG

    Champion Member

  • Members
  • 679 posts
  • Graphics Card:Nvidia 9800m GTS
  • Operating System:OS X 10.10 (Yosemite)

Posted 07 July 2015 - 10:22 AM

I delete all and rebuilded a new clean wrapper (with wrapperupdate2 libraries) for FarCry64... but...

mv .wine .wine32
mv: rename .wine to .wine32/.wine: Directory not empty

WINEARCH=win64 wine64 winecfg
fixme:winediag:start_process Wine Sherry is a MacOS specific version containing experimental patches.
fixme:winediag:start_process Please report bugs at http://forum.insanelymac.com (instead of winehq.org).
'xterm-256color': unknown terminal type.




WINEARCH=win64 wine64 c:/Program\ Files/Far\ Cry/Bin64/FarCry.exe
wine: cannot find 'c:/Program Files/Far Cry/Bin64/FarCry.exe'

#41 darklord42

darklord42

    Rookie Porter

  • Members
  • PipPipPipPip
  • 151 posts

Posted 13 July 2015 - 04:28 PM

Thanks slice!  A bundled 64bit engine, including libraries, would be extreamly useful! Especially if it's WoW64 and can execute 32bit programs too.  But I fear, with your build even a 64 bit commandline chess engine like Crafty doesn't execeute.

http://crafty0981.moonfruit.com/

I called the engine in a terminal with
/whateverDir/wswine.bundle/bin/wine (or win64) /WhateverDir/Crafty.exe.

  If it executes it, you can make it do stuff by typing "xboard" (because it speaks xboard chess protocol as oppose to UCI).
But instead I get this.

fixme:winediag:start_process Wine Sherry is a MacOS specific version containing experimental patches.
fixme:winediag:start_process Please report bugs at http://forum.insanelymac.com (instead of winehq.org).
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng16.16.dylib
err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69e6d901, context 0x7140c0, init_notify 0, handle 0xfdf464): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle 0x0): stub
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
wine: configuration in '/Users/herecomethej/.wine' has been updated.
wine: Unhandled page fault on read access to 0x00000022 at address 0x140302cee (thread 0009), starting debugger...
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
err:syslink:SYSLINK_SetFont Failed to create link font!

It then just hangs there.
I doubt farcry will work. (chess engines make great benchmarks because they have little to no extra resources that need to be called upon.)

#42 Slice

Slice

    Veteran Member

  • Members
  • PipPipPipPipPip
  • 305 posts
  • Graphics Card:AMD Radeon HD6670, GTX650
  • Operating System:OS X 10.11 (El Capitan)
  • I like to play:Heroes III
    4x4 Evolution
    made Heroes VI working!

Posted 17 July 2015 - 05:19 PM

I think my WrapperUpdate2 contains freetype version 2.6.0

#43 mactrix

mactrix

    Advanced Member

  • Members
  • PipPipPip
  • 53 posts
  • Graphics Card:Intel Iris 1024 MB
  • Operating System:OS X 10.9 (Mavericks)

Posted 18 July 2015 - 02:02 PM

View PostSlice, on 06 July 2015 - 09:14 AM, said:

In Wineskin I pressed "Command Line Wine Test". Terminal window opened.
Then I enter
mv .wine .wine32
WINEARCH=win64 wine64 winecfg

Thanks Slice for this info and for the 64-bit engine you created. I successfully created a wrapper based on your engine and applied the command line wine test. I then installed successfully the 64-bit version of Steam. As a site note, it is required to also install X11 (https://support.appl.../en-us/HT201341) to run this wrapper.

I then tried to run the 64-bit game GTA V under Steam. I know, I know ... :-)

I receive a Runtime Error during the first time setup for the game under Steam. It seems the error message comes from X11 as I can see a little X11 icon in the title bar. The window title says "Microsoft Visual..." - maybe "Visual Basic"?

Runtime Error!

Program;

R6009
-not enough space for environment!

Posted Image

#44 ovvldc

ovvldc

    Master Member

  • Members
  • 1255 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 19 July 2015 - 07:53 PM

More likely Visual C/C++/C#...

#45 darklord42

darklord42

    Rookie Porter

  • Members
  • PipPipPipPip
  • 151 posts

Posted 20 July 2015 - 02:23 AM

Dang, I tried downloading wrapperupdate2 but the link is down....
EDIT

I installed freetype and libpng15 universal bundles in macports and then simlinked them to the .bundle's lib and lib64 folders.  That seemd to work, and wine32 bit runs fine.  Wine64 however gets me this with crafty

Joshuas-MacBook-Pro:~ herecomethej$ /Users/herecomethej/Downloads/wswine.bundle/bin/wine /Applications/Chess/Engines/chess/Crafty/crafty-241-64-ja.exe
fixme:winediag:start_process Wine Sherry is a MacOS specific version containing experimental patches.
fixme:winediag:start_process Please report bugs at http://forum.insanelymac.com (instead of winehq.org).
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
wine: Unhandled page fault on read access to 0x00000022 at address 0x140302cee (thread 0025), starting debugger...
err:seh:call_stack_handlers invalid frame 7b810018 (0x142000-0x240000)
Unhandled exception: page fault on read access to 0x00000022, invalid program stack in 64-bit code (0x0000000140302cee).
Register dump:
rip:0000000140302cee rsp:000000000023fe10 rbp:000000007b810000 eflags:00010206 (  R- --  I   - -P- )
rax:ffffffffffffff98 rbx:00000001400ca000 rcx:20004bf59f998ae3 rdx:0000000000000000
rsi:0000000000000023 rdi:0000000000000022  r8:0000000000010000  r9:0000000000000002 r10:00000000000001bf
r11:ffffffffffee3166 r12:0000000081f7f000 r13:000000004019fe50 r14:0000000140302b50 r15:000000007b84eaf0
Stack dump:
0x000000000023fe10:  0000000000000000 0000000000000000
0x000000000023fe20:  0000000000000000 0000000140302bee
0x000000000023fe30:  0000000140001000 000000000023ff60
0x000000000023fe40:  0000000000000102 000000000023f8fc
0x000000000023fe50:  000000000023ff70 000000007bc702c0
0x000000000023fe60:  0000000000000000 0000000000000000
0x000000000023fe70:  0000000000000000 0000000000000000
0x000000000023fe80:  ffffffffffffffff ffffffffffffffff
0x000000000023fe90:  000000007bc85d00 000000007b82d510
0x000000000023fea0:  000000000023ff70 000000000023ff60
0x000000000023feb0:  000000000023fe60 0000000081f7f000
0x000000000023fec0:  000000004019fe50 0000000140302b50
Backtrace:
=>0 0x0000000140302cee in crafty-241-64-ja (+0x302cee) (0x000000007b810000)
0x0000000140302cee: movb (%rdi),%al
Modules:
Module Address	 Debug info Name (3 modules)
PE		 7b810000-		7b9ae000 Deferred		kernel32
PE		 7bc10000-		7bc14000 Deferred		ntdll
PE		140000000-	   140304000 Export		  crafty-241-64-ja
Threads:
process  tid	  prio (all id:s are in hex)
0000000e services.exe
0000001f	0
0000001e	0
00000018	0
00000016	0
00000012	0
0000000f	0
00000010 explorer.exe
00000026	0
00000023	0
00000022	0
00000011	0
00000014 winedevice.exe
0000001d	0
0000001a	0
00000019	0
00000015	0
0000001b plugplay.exe
00000021	0
00000020	0
0000001c	0
00000024 (D) Z:\Applications\Chess\Engines\chess\Crafty\crafty-241-64-ja.exe
00000025	0 <==
System information:
	Wine build: wine-1.7.44-232-gc10f051
	Platform: x86_64
	Host system: Darwin
	Host version: 14.4.0

Looks to be the same 64bit crash you got earlier.  Not sure what's going wrong.  My own compile of wine64 with 1.7.41 works fine  Though that compile is tied to my systems X11, extreamly limited (I disabled alot), and tied to my macports gcc...  Not great all around.

If I had to guess though is Apple Clang support for wine64 is still in development and we are still limmited to newer gcc to make a proper working binnary.

#46 Slice

Slice

    Veteran Member

  • Members
  • PipPipPipPipPip
  • 305 posts
  • Graphics Card:AMD Radeon HD6670, GTX650
  • Operating System:OS X 10.11 (El Capitan)
  • I like to play:Heroes III
    4x4 Evolution
    made Heroes VI working!

Posted 20 July 2015 - 08:22 AM

But gcc-4.2.1 is obsolete and custom gcc-4.9 can't compile objective-c programs. You can't compile winemac.drv. I can.

#47 darklord42

darklord42

    Rookie Porter

  • Members
  • PipPipPipPip
  • 151 posts

Posted 20 July 2015 - 08:49 PM

You're right. It's a very unfortunate trade off right now.  I guess we will have to wait a little bit longer.

#48 darklord42

darklord42

    Rookie Porter

  • Members
  • PipPipPipPip
  • 151 posts

Posted 08 August 2015 - 04:30 AM

As you found out, changing builtin_ms_va_list wasn't going to cut it.  It does  look like a clang issue

In order to get clang to work, you can try to apply these patches to clang and compile it yourself.   This is what they were talking about in the wine dev list.  I could probably do it, but it's  quite  bit involved and it would take a lot of time to get my system setup....  Who knows when they will be implimented in clang (could be 3.9 for all I know)  and then we have to wait for apple to adopt that version....

https://www.dropbox....64.tar.bz2?dl=0

#49 Slice

Slice

    Veteran Member

  • Members
  • PipPipPipPipPip
  • 305 posts
  • Graphics Card:AMD Radeon HD6670, GTX650
  • Operating System:OS X 10.11 (El Capitan)
  • I like to play:Heroes III
    4x4 Evolution
    made Heroes VI working!

Posted 25 August 2015 - 08:17 AM

View Postdarklord42, on 08 August 2015 - 04:30 AM, said:

As you found out, changing builtin_ms_va_list wasn't going to cut it.  It does  look like a clang issue

In order to get clang to work, you can try to apply these patches to clang and compile it yourself.   This is what they were talking about in the wine dev list.  I could probably do it, but it's  quite  bit involved and it would take a lot of time to get my system setup....  Who knows when they will be implimented in clang (could be 3.9 for all I know)  and then we have to wait for apple to adopt that version....

https://www.dropbox....64.tar.bz2?dl=0
Mmm. Sorry but this diff dated by "Date: Sat, 13 Jul 2013 13:40:56 -0600".
How do you think, it was rejected because of errors or it is already applied in recent clang?

#50 darklord42

darklord42

    Rookie Porter

  • Members
  • PipPipPipPip
  • 151 posts

Posted 25 August 2015 - 12:59 PM

Tbh, I have no idea if it was applied to 3.7 or not or if it's going into 3.8....  Apple's clang is at 3.6 and it clearly doesn't work there.  It's worth looking into.
I guess the thing to do is install clang-3.7 by
sudo port configure clang-3.7, and checking the files.  I tried this yesterday but llvm server was ridiculously slow.
I would love to look at your scripts if you don't mind.  I'm also using macports so it shouldn't be too hard to get working.

#51 ovvldc

ovvldc

    Master Member

  • Members
  • 1255 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 25 August 2015 - 04:40 PM

Clang and LLVM 3.7 are not quite out yet. Will be out in a few days, though. I somehow expect an XCode update soon after.

#52 darklord42

darklord42

    Rookie Porter

  • Members
  • PipPipPipPip
  • 151 posts

Posted 25 August 2015 - 06:15 PM

Oh you're right, well 3.7 is on macports or at least a release canidate.   Well that's good, we might not have to wait forever afterall.  It is confusing, whenever I searched clang development version 3.8 is all that comes up

#53 darklord42

darklord42

    Rookie Porter

  • Members
  • PipPipPipPip
  • 151 posts

Posted 25 August 2015 - 08:10 PM

Looks like 3.7 has it already applied, so I'll give it a try.

[EDIT]

Dang!  I lied, looks like thoes clang patches were not applied to 3.7.  I went ahead and tried applying them myself.  Thankfully only 5 or so files had to be edited manually...
Giving it a compile now, hopefully it works out.


For the record the easiest way is to run: (you can try building your own local repo  but given the number of patches macports puts on clang it makes it quite a mess)
port configure clang-3.7 +universal
Edit the source files manually once it is all unpacked then
port build clang-3.7 +universal
port destroot clang-3.7 +universal
port install clang 3.7 +universal

of course it will probably be overridden on the next macport port update, but once I build wine thats all I need.  It would be nice to get it all bundled though, but It looks like I won't beable to attempt wine till tommrow providing I'm successful with clang.

#54 Slice

Slice

    Veteran Member

  • Members
  • PipPipPipPipPip
  • 305 posts
  • Graphics Card:AMD Radeon HD6670, GTX650
  • Operating System:OS X 10.11 (El Capitan)
  • I like to play:Heroes III
    4x4 Evolution
    made Heroes VI working!

Posted 26 August 2015 - 05:12 AM

How to compile the most recent Clang
svn co  http://llvm.org/svn/llvm-project/llvm/trunk llvm
cd llvm/tools
svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
cd ..
./configure --enable-optimized --disable-assertions --enable-targets=x86,x86_64
make
Wait for an hour and then
ln -s /xxx/llvm/Release /opt/llvm
where /xxx is your path to the folder

#55 darklord42

darklord42

    Rookie Porter

  • Members
  • PipPipPipPip
  • 151 posts

Posted 26 August 2015 - 01:37 PM

Yeah that's a lot better...   I kept botching the patch (it is old afterall).  Good way to check if builtin_ms_va_list in there at all... If not I may have to register for bugzilla and ask if there is anything stoping it from being implimented...

EDIT
Did a quick search for builtin_ms_va_list, doesn't look like it...

Edit2
yeah i applied the patch again,
/Users/herecomethej/llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp:266:18: error:
	  no member named 'CreateCall2' in 'llvm::IRBuilder<false,
	  llvm::ConstantFolder, clang::CodeGen::CGBuilderInserter<false> >'; did you
	  mean 'CreateCall'?
  return Builder.CreateCall2(CGM.getIntrinsic(Intrinsic::vacopy,
				 ^~~~~~~~~~~
				 CreateCall
/Users/herecomethej/llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp:266:18: error:
	  no matching member function for call to 'CreateCall'
  return Builder.CreateCall2(CGM.getIntrinsic(Intrinsic::vacopy,
		 ~~~~~~~~^~~~~~~~~~~
/Users/herecomethej/llvm/include/llvm/IR/IRBuilder.h:1500:13: note: candidate
	  function not viable: no known conversion from 'llvm::Function *' to
	  'llvm::FunctionType *' for 1st argument
  CallInst *CreateCall(llvm::FunctionType *FTy, Value *Callee,
			^

Seems like something was fundamentally changed since that patch was written.  Which was the most likely outcome as we all knew.  I guess I should ask at that bugzilla thread where the patch comes from.

#56 dankoB

dankoB

    Legendary Member

  • Super Moderators
  • 3011 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MacBook Pro 11,3
    Core i7 16GB
    NVIDIA GeForce GT 750M
    2GB GDDR5 vRAM
  • Operating System:macOS 10.12 (Sierra)
  • I like to play:la rockitar
Author

Posted 27 August 2015 - 05:41 AM

Keep up the good work y'all! When you guys finally figure this out it'll make a huge impact for all of us...especially when CodeWeavers releases their next version of Crossover. Apparently it will have some major DX11 implemented into the source...which would mean a whole new scope of games available for potential ports. I'm sure it'll be a rocky start when both are correctly add3d but this time next year could be a whole ball game...time allowing of course.

#57 darklord42

darklord42

    Rookie Porter

  • Members
  • PipPipPipPip
  • 151 posts

Posted 28 August 2015 - 03:00 PM

I stumbled upon the latest descussion with the patch!

http://reviews.llvm....ignore-most#toc

I'll give that updated version a try as soon as I can

#58 darklord42

darklord42

    Rookie Porter

  • Members
  • PipPipPipPip
  • 151 posts

Posted 30 August 2015 - 01:23 AM

Success with clang and Success with wine!

I am happy to announce the first working WoW64 wineskin engine with quartz drivers!
Many, many thanks to Slice for his script and libraries (I only had to install bzip2 or is lbbzip2 on macports)
I compiled it against the 10.6 SDK and seems to work fine on my Oracle VM machine with OSX10.6!

Do  note this is 1.7.50 with the peliminary dx11 support,  both it and 64bit on mac are extreamly, extreamly experimental.  to get anything to run is on a wing and a prayer, and then I have no idea if it will even work in wineskin!  The most I tested were a few 64 bit chess engines to run in xboard.app, and not all of them work.   So good luck!  If it doesn't work, I doubt I can help you. :)

it's wow64 so it's both 32bit and 64 bit. Point anything to the /bin/wine executable and it will automatically refer it to /bin/wine64 if it's a 64bit executable.

http://www.mediafire...2-1.7.50.tar.7z

#59 NRG

NRG

    Champion Member

  • Members
  • 679 posts
  • Graphics Card:Nvidia 9800m GTS
  • Operating System:OS X 10.10 (Yosemite)

Posted 30 August 2015 - 02:04 PM

View Postdarklord42, on 30 August 2015 - 01:23 AM, said:

Success with clang and Success with wine!

I am happy to announce the first working WoW64 wineskin engine with quartz drivers!
Many, many thanks to Slice for his script and libraries (I only had to install bzip2 or is lbbzip2 on macports)
I compiled it against the 10.6 SDK and seems to work fine on my Oracle VM machine with OSX10.6!

Do  note this is 1.7.50 with the peliminary dx11 support,  both it and 64bit on mac are extreamly, extreamly experimental.  to get anything to run is on a wing and a prayer, and then I have no idea if it will even work in wineskin!  The most I tested were a few 64 bit chess engines to run in xboard.app, and not all of them work.   So good luck!  If it doesn't work, I doubt I can help you. :)

it's wow64 so it's both 32bit and 64 bit. Point anything to the /bin/wine executable and it will automatically refer it to /bin/wine64 if it's a 64bit executable.

http://www.mediafire...2-1.7.50.tar.7z

Great!!!

Does it's possibile patch your wow64 engine with CSMT and DLL Redirects features present in the staging engines?


Another question:

when It run a 32 bit game, if the game need more than 3gb of RAM, it could use it or not?

Because in Windows, 64 bit systems  can use more ram respect the same 32 bit windows systems that are limited...

Infact there are some 32 bit games in windows, ported from consoles, that play good only in Windows 64bit because are bad optimized in the use of the ram...

An example is Ori and the blind forrest: http://steamcommunit...227193053163/  

#60 darklord42

darklord42

    Rookie Porter

  • Members
  • PipPipPipPip
  • 151 posts

Posted 30 August 2015 - 02:40 PM

The first question I'll leave to slice, whenever he can get arround to it.  I dont know about that stuff

AFIK, all 32 programs are limmited by  4GB of ram limmit, a little more then on 32bit systems because the system itself isn't being included in the 4 gigs.

I don't think this is any diffrent.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users