Jump to content

Stopped working in Wine


Recommended Posts

I've followed this guide: http://development.mtasa.com/index.php? ... _with_wine

To get MTA to work in wine. And it actualy did! I was pretty excited but somehow it stopped working.

I've deleted the menu.mkv and then created the coreconfig.xml in my gta:sa/MTA folder. The unix.dll is also in the MTA folder and the MTA_SA_unix.exe is inside my gta root folder.

So it should work, but when i start MTA_SA_unix.exe first i get a dialog box that says:

[Load]

Z:\media\sda4\GTA San Andreas\Gta San Andreas\MTA

Z:\media\sda4\GTA San Andreas\Gta San Andreas\ is the root folder of Gta san andreas

MTA is installed on Z:\media\sda4\MTA, don't know if that matters

When I click on OK it closes and my terminal gives this message:

fixme:advapi:SetEntriesInAclA 1 0x177f060 (nil) 0x177f05c

fixme:advapi:SetSecurityInfo stub

GTA:SA works just fine so that won't be the problem

Any ideas?

Link to comment

I also tried MTA:SA nightly in wine 1.1.19/Ubuntu 8.10/Nvidia driver 180.11 from repos.

This is what I did:

  1. Downloaded latest nightly build (mtasadm-1.0-r656.exe) and installed without problems into an existing wineprefix with San Andreas installed*
  2. Downloaded the dependencies (multitheftauto_data-r636.exe) and installed
  3. Unpacked resources multitheftauto_resources-r129.zip (which are apparently not needed)

*San Andreas singleplayer itself works like a charm

This is the output it gave me:

$ wine 'Multi Theft Auto.exe' 
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.
err:module:import_dll Library MSVCP90.dll (which is needed by L"C:\\Programme\\MTA San Andreas\\mta\\core.dll") not found 
err:module:import_dll Library MSVCR90.dll (which is needed by L"C:\\Programme\\MTA San Andreas\\mta\\core.dll") not found 
err:module:attach_process_dlls "gdi32.dll" failed to initialize, aborting 
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Programme\\Rockstar Games\\GTA San Andreas\\gta_sa.exe" failed, status c0000005 

So I ran "winetricks vcrun2008" which solved the missing dll issues.

Now the game gives me the same output as yours:

$ wine 'Multi Theft Auto.exe' 
fixme:advapi:SetEntriesInAclA 1 0x197e65c (nil) 0x197e658 
fixme:advapi:SetSecurityInfo stub 

I think there are missing the right debug parameters that let wine say what is wrong.

Looks like these pages

http://www.multitheftauto.com/71.html

http://development.mtasa.com/index.php? ... _with_wine

are pretty outdated.

I would be really happy if any dev would work on this, since I think there are many linux gamers like me out there appreciating not being forced to boot into windows for playing MTA:SA ;)

Edit: The file MTA/core.log shows the following error:

** -- Unhandled exception -- ** 
  
  
  
Time = Sun Apr 19 18:00:30 2009 
  
Module = C:\windows\system32\user32.dll 
  
Code = 0xC0000005 
  
Offset = 0x7ED143DE 
  
  
  
EAX=000010D7  EBX=7ED7BFF4  ECX=00000003  EDX=B7F875E0  ESI=00000000 
  
EDI=00000000  EBP=0177EF1C  ESP=0177EEF4  EIP=7ED143DE  FLG=00210246 
  
CS=0073   DS=007B  SS=007B  ES=007B   FS=0033  GS=003B 
  
  
  
** -- End of unhandled exception -- ** 

Edit2: Replacing the user32.dll with native one from windows partition does not help, MTA crashes with same error in core.log

Edit2: dp2.3 does not work either as Vaporize said above, even with unix loader

Link to comment
  • 3 weeks later...

That's exactly the same as what's happening to me, you could use "env WINEDEBUG=fixme-all wine MTA_SA_unix.exe", which would fix the two fix-me's but the game wouldn't load at all, just the message box as explained above, with "Load" and the install path :/

Any idea how to fix this? :?

btw.: here's the dump data I get (located in $GTA_ROOT/MTA/dump/), when running it, maybe a developer could take some eye on it -> http://www.file-upload.eu/download-1631888/client_05102009_0117.dmp.html

Link to comment
[...] use "env WINEDEBUG=fixme-all wine MTA_SA_unix.exe", which would fix the two fix-me's but the game wouldn't load at all, [...]

Hiding the fixme messages does not fix them I think.

[...] just the message box as explained above, with "Load" and the install path [...]

This is because MTA does not find the GTA:SA directory, normaly located at "C:\Program Files\Rockstar Games\GTA San Andreas". You must have GTA:SA singleplayer installed in the same wine prefix (e.g. ~/.wine) as MTA.

I hope I could help at least a little bit.

PS: I tested again with r805, the **** user32.dll crash stays.

Link to comment
  • 2 weeks later...

sry for dubble post, but I think I'd update the status of MTA:SA+wine/linux...

which sadly hasn't changed since last post.

now on wine 1.1.22 and r943 the core.log still says there's some problem with user32.dll

  
** -- Unhandled exception -- ** 
  
  
  
Time = Sat May 23 21:46:26 2009 
  
Module = C:\windows\system32\user32.dll 
  
Code = 0xC0000005 
  
Offset = 0x7ED0215E 
  
  
  
EAX=000010D7  EBX=7ED69FF4  ECX=00000003  EDX=B80085E0  ESI=00000000 
  
EDI=00000000  EBP=0177EF1C  ESP=0177EEF4  EIP=7ED0215E  FLG=00010246 
  
CS=0073   DS=007B  SS=007B  ES=007B   FS=0033  GS=003B 
  
  
  
** -- End of unhandled exception -- ** 
  

so long...

Link to comment
  • 1 month later...

I've got solution! You must start normally Multi Theft Auto.exe. Then you'll have file "a.r" in your GTA San Andreas folder, which contains a path to you "Multi Theft Auto.exe.dat" file, for example I've got "C:\Program Files\MTA San Andreas\Multi Theft Auto.exe.dat". When you started MTA, you got wine error. Don't bother. Close the wine window and start MTA_SA_unix.exe. But remember, that he'll delete your a.r file, so you'll have to do it again in next time.

I played MTA few times, and It's the proof, my method was working.

fixme:advapi:SetEntriesInAclA 1 0x177efe0 (nil) 0x177efdc 
fixme:advapi:SetSecurityInfo stub 
fixme:win:EnumDisplayDevicesW ((null),0,0x177f688,0x00000000), stub! 
fixme:win:EnumDisplayDevicesW ((null),0,0x177f678,0x00000000), stub! 
fixme:win:EnumDisplayDevicesW ((null),0,0x177f2dc,0x00000000), stub! 
fixme:win:EnumDisplayDevicesW ((null),0,0x177f774,0x00000000), stub! 
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS) 
* About to connect() to 1mgg.com port 80 (#0) 
*   Trying 208.43.123.124... * connected 
* Connected to 1mgg.com (208.43.123.124) port 80 (#0) 
> GET /affil/mta-1.0dp2 HTTP/1.1 
Host: 1mgg.com 
Accept: */* 
  
< HTTP/1.1 200 OK 
< Content-Type: application/octet-stream 
< Accept-Ranges: bytes 
< ETag: "2675479994" 
< Last-Modified: Mon, 13 Jul 2009 07:05:07 GMT 
< Content-Length: 1782 
< Date: Mon, 13 Jul 2009 07:05:29 GMT 
< Server: lighttpd/1.4.19 
<  
* Connection #0 to host 1mgg.com left intact 
* Closing connection #0 
fixme:quartz:MPEGSplitter_query_accept MPEG-1 system streams not yet supported. 
fixme:quartz:MPEGSplitter_query_accept MPEG-1 system streams not yet supported. 
fixme:wave:DSD_CreateSecondaryBuffer (0x7a951f8,0x177fca4,8014,0,0x7a95880,0x7a9598c,0x7a95860): stub 
Initialised SoundManager 
  

Yes, it was working, but now I've got a sound driver error, as you can se. : )

Link to comment
  • 2 months later...

I don't know if it is just me, but the last MTA_SA_unix.exe works now for me, I just installed a new GTA:SA on a USB-stick, then installed MTA also on the usb stick and now everytime I run "wine MTA_SA_unix.exe" it shows the "Load Z:/media/blabla/Grand Theft Auto San Andreas/" box, then I click "Ok" and after 2 seconds it loads the game :D

the FPS are the half I get under XP, but as I get 50-70 under XP, I get 25-35 FPS here, could be better, but HEY! it works! :D

*formatting C:\" :D

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...