https://bugs.winehq.org/show_bug.cgi?id=48075
--- Comment #5 from Skybuck Flying skybuck2000@hotmail.com --- The profiles are located in %SystemDrive%\Users
Which would be C:\Users
and then probably
C:\Users<Username>
Which would be:
C\Users\skybuck
And indeed, Star Wars Battlefront folders exist in this folder:
Users/Skybuck/Documents/
Like:
STAR WARS Battlefront II
STAR WARS Battlefront II Multiplayer Beta
STAR WARS Battlefront Beta
I copied all three folders to where wine stores them
Home
and then use control-h to show hidden .wine folder
I also had to create a Documents folder because it was missing.
Only My Documents folder was there
So eventually it looked like:
/home/skybuck/.wine/drive_c/users/skybuck/Documents/
/home/skybuck/.wine/drive_c/users/skybuck/Documents/STAR WARS Battlefront II/
And such.
By creating these folders the game now continues, maybe there are also files there that are needed but I don't think so or are not sure. I would not be surprised if the game only needs these folders to exist.
Anyway the game now seems to continue loading with different results.
If I set Working Directory to game folder as well it will complain bad ex format for a certain DLL: amd_ags_x64.dll
However if I leave working directory empty the result is as follows:
Running /usr/bin/wine /media/skybuck/External Harddisk/Games/Star Wars - Battlefront 2/starwarsbattlefrontii.exe 0025:err:seh:setup_exception stack overflow 1616 bytes in thread 0025 eip 000000007bc48a05 esp 0000000000130fc0 stack 0x130000-0x131000-0x230000 0026:err:ntdll:RtlpWaitForCriticalSection section 0x7bd19c00 "loader.c: loader_section" wait timed out in thread 0026, blocked by 0025, retrying (60 sec)
(I also disabled full debugging since it seemed to execute cpu instructions).
To me the above seems like a bug in wine-stable.
Or this bug is caused because the DLL was not loaded properly.
So I am not sure which is which.
Is it necessary to set working directories for wine/lutris ? Or will it default to the exe folder as working directory anyway ?
Bye, Skybuck.