Help me with Sword of the Stars 2

Questions about Wine on Linux
Locked
Tabjones
Level 1
Level 1
Posts: 5
Joined: Sun Jul 08, 2012 10:09 am

Help me with Sword of the Stars 2

Post by Tabjones »

Hello i recently tried to install/play Sword of the Stars 2 (4x game by paradox) in wine. I was confident since its prequel worked flawlessly on wine so i went through the AppDB to search it but there isn't anything (yet) so i kind of blindly installed it in a prefix without any settings or additional packages from winetricks. The only thing i set was "windows 7" on winecfg.

The install went perfectly well and i tried to start the launcher and that's where the troubles came, there are 2 executables inside the game dir one inside /bin/x86 and the other inside /bin/x64, both named sots2.exe, the game manual suggests to launch the 64bit one (obviously) if your hardware is capable, so:

The 32bit one offers me this Output

The 64bit one won't even start with this output:

Code: Select all

wine Wine/Sots/drive_c/Program\ Files\ \(x86\)/Sword\ of\ the\ Stars\ II\ Lords\ of\ Winter/bin/x64/sots2.exe
err:process:start_process L"Z:\\home\\tabjones\\Wine\\Sots\\drive_c\\Program Files (x86)\\Sword of the Stars II Lords of Winter\\bin\\x64\\sots2.exe" doesn't have an entry point, it cannot be executed
So i started playing with winetricks a little bit and put on the prefix corefonts, latest vcrun, latest mono and all directx; nothing changed not even a tiny little bit.

So i did some googling and found this bug 30988. Since my wine version was 1.5.7 i thought that Sots2 was affected by that bug since the outputs were nearly identical. So i tried with the more recent 1.5.8 but got the same results, eventually i tried with 1.4 (latest stable) and i got past that bug, at least i think because i got the launcher working, but when i press play i got a worse error: a page fault :( Here's the output with wine 1.4

The 64bit exe yelds the same results even with wine 1.4.

I'm kinda out of ideas on what to do next, any help would be appreciated! thanks guys.

Oh FYI my system is an AMD FX-6200 with 8Gb on Gentoo 64bit with Kernel 3.4.4; my GPU is nvidia GTX 550 Ti
Tabjones
Level 1
Level 1
Posts: 5
Joined: Sun Jul 08, 2012 10:09 am

Post by Tabjones »

No one have any idea ? i'm kinda giving up ...
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Hi,

are you on Ubuntu 12.04 and/or 64 bit linux? Graphics card and drivers?

I'd recommend you to restart with a new wineprefix (.wine folder, move/backup the old one). Use the 32 bit version of the .exe files and 32bit wine. Install the game and the necessary winetricks, but do not install mono, install MS .NET with winetricks instead ("winetricks dotnet30"), not sure about the required .NET version.

I just googled and if we are talking about the same game, it will need DX10 which wine doesn't support yet, so even if you manage to launch the game and see some menu, you probably still couldn't play atm.
Last edited by lahmbi5678 on Tue Jul 10, 2012 3:10 pm, edited 1 time in total.
Tabjones
Level 1
Level 1
Posts: 5
Joined: Sun Jul 08, 2012 10:09 am

Post by Tabjones »

thanks for the reply
i'm on gentoo 64bit with nvidia gtx 550 ti, nvidia-drivers version is 295.59
i'll try your suggestions and let you know.

About DX10, what do you mean it's not supported? they are not included in wine yet, But there's winetricks d3dx10
Tabjones
Level 1
Level 1
Posts: 5
Joined: Sun Jul 08, 2012 10:09 am

Post by Tabjones »

OK what i did with wine 1.4 and a fresh wineprefix:

1) export WINEARCH='win32'
2) export WINEPREFIX='/home/tabjones/Wine/Sots'
3) winecfg set to windows 7
4) install the game and patches, installer also wants to install DX10 and Visual C++ 2010 SP1 redistributable, i skipped those
5) now if i launch the 32bit exe it complains about dotnet:

Code: Select all

wine: Install Mono 2.8 or greater for Windows to run .NET 4.0 applications.
So i launched winetricks dotnet40
6) Now the launcher is working and i see some menus, when i press play it crashes with

Code: Select all

err:module:import_dll Library X3DAudio1_7.dll (which is needed by L"C:\\Program Files\\Sword of the Stars II Lords of Winter\\bin\\x86\\mars.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Sword of the Stars II Lords of Winter\\bin\\x86\\mars.exe" failed, status c0000135
so i launched winetricks xact_jun2010 which should fix this

7) i got a page fault after pressing play

Code: Select all

wine: Unhandled page fault on read access to 0x00000000 at address 0x43aff0 (thread 004b), starting debugger...
Don't know what to do now.
Maybe it's what you said about DX10, it just doesn't work...
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Hi,

afaik wine can run simple DX10 test apps, but is still far away from supporting complex games, afaict no major commercial game(DX10/11 only) runs atm. So despite your effort there won't be much joy. I'm not sure, if it would make sense to file a bug, the wine devs already know about the situation.
Locked