Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum Linuxiarze.pl

Author Topic: Litrus stuck at ProfileList while running Star Wars Battlefront 2 (2017)  (Read 164 times)

Offline Skybuck

  • Newbie
  • *
  • Posts: 11
Hello,

1. I installed Sparky Linux Game Over edition from ISO inside Virtual Machine in VMWare to an USB Stick.

2. Restarted (real) computer (amd x2 3800+ processor) and (gt 1030 gpu) and booted in USB Stick with NOAPIC option to fix boot problems.

3. Installed sparky installer, update/upgraded system.

4. Installed nvidia drivers.

5. Try to run the game in Lutris enabled debugging/logging.

The log shows the game seems to get stuck at this point:

1681.655:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"TEMP", L"C:\\windows\\temp")
1681.655:002f:0030:trace:reg:NtEnumerateValueKey (0x14,12,1,0x7ffe1ba69b90,2072)
1681.655:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"TMP", L"C:\\windows\\temp")
1681.655:002f:0030:trace:reg:NtEnumerateValueKey (0x14,13,1,0x7ffe1ba69b90,2072)
1681.655:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"windir", L"C:\\windows")
1681.655:002f:0030:trace:reg:NtEnumerateValueKey (0x14,14,1,0x7ffe1ba69b90,2072)
1681.655:002f:0030:trace:reg:NtEnumerateValueKey (0x14,15,1,0x7ffe1ba69b90,2072)
1681.655:002f:0030:trace:reg:RtlOpenCurrentUser (0x00020019, 0x7ffe1ba6a418)
1681.655:002f:0030:trace:ntdll:NtQueryInformationToken (0xfffffffffffffffa,1,0x7ffe1ba6a120,88,0x7ffe1ba6a11c)
1681.655:002f:0030:trace:heap:RtlAllocateHeap (0x10000,70000062,00000046): returning 0x1a930
1681.655:002f:0030:trace:reg:NtCreateKey ((nil),L"\\Registry\\User\\S-1-5-21-0-0-0-1000",<null>,0,20019,0x7ffe1ba6a418)
1681.655:002f:0030:trace:heap:RtlAllocateHeap (0x10000,7000006a,00000054): returning 0x1a9a0
1681.655:002f:0030:trace:reg:NtCreateKey <- 0x14
1681.655:002f:0030:trace:heap:RtlFreeHeap (0x10000,70000062,0x1a9a0): returning TRUE
1681.655:002f:0030:trace:heap:RtlFreeHeap (0x10000,70000062,0x1a930): returning TRUE
1681.655:002f:0030:trace:reg:open_key (0x14,L"Environment",20019,0x7ffe1ba6a3f8)
1681.655:002f:0030:trace:reg:open_key <- 0x18
1681.655:002f:0030:trace:reg:NtEnumerateValueKey (0x18,0,1,0x7ffe1ba69b90,2072)
1681.655:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"TEMP", L"C:\\users\\skybuck\\Temp")
1681.655:002f:0030:trace:reg:NtEnumerateValueKey (0x18,1,1,0x7ffe1ba69b90,2072)
1681.656:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"TMP", L"C:\\users\\skybuck\\Temp")
1681.656:002f:0030:trace:reg:NtEnumerateValueKey (0x18,2,1,0x7ffe1ba69b90,2072)
1681.656:002f:0030:trace:reg:NtEnumerateValueKey (0x18,0,1,0x7ffe1ba69b90,2072)
1681.656:002f:0030:trace:reg:NtEnumerateValueKey (0x18,1,1,0x7ffe1ba69b90,2072)
1681.656:002f:0030:trace:reg:NtEnumerateValueKey (0x18,2,1,0x7ffe1ba69b90,2072)
1681.658:002f:0030:trace:reg:open_key (0x14,L"Volatile Environment",20019,0x7ffe1ba6a3f8)
1681.658:002f:0030:trace:reg:open_key <- 0x18
1681.658:002f:0030:trace:reg:NtEnumerateValueKey (0x18,0,1,0x7ffe1ba69b90,2072)
1681.658:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"APPDATA", L"C:\\users\\skybuck\\Application Data")
1681.658:002f:0030:trace:reg:NtEnumerateValueKey (0x18,1,1,0x7ffe1ba69b90,2072)
1681.658:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"CLIENTNAME", L"Console")
1681.658:002f:0030:trace:reg:NtEnumerateValueKey (0x18,2,1,0x7ffe1ba69b90,2072)
1681.658:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"HOMEDRIVE", L"C:")
1681.658:002f:0030:trace:reg:NtEnumerateValueKey (0x18,3,1,0x7ffe1ba69b90,2072)
1681.658:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"HOMEPATH", L"\\users\\skybuck")
1681.658:002f:0030:trace:reg:NtEnumerateValueKey (0x18,4,1,0x7ffe1ba69b90,2072)
1681.658:002f:0030:trace:reg:NtEnumerateValueKey (0x18,5,1,0x7ffe1ba69b90,2072)
1681.658:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"LOCALAPPDATA", L"C:\\users\\skybuck\\Local Settings\\Application Data")
1681.658:002f:0030:trace:reg:NtEnumerateValueKey (0x18,6,1,0x7ffe1ba69b90,2072)
1681.658:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"LOGONSERVER", L"\\\\USBStick")
1681.658:002f:0030:trace:reg:NtEnumerateValueKey (0x18,7,1,0x7ffe1ba69b90,2072)
1681.658:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"SESSIONNAME", L"Console")
1681.658:002f:0030:trace:reg:NtEnumerateValueKey (0x18,8,1,0x7ffe1ba69b90,2072)
1681.658:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"USERDOMAIN", L"USBStick")
1681.658:002f:0030:trace:reg:NtEnumerateValueKey (0x18,9,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"USERNAME", L"skybuck")
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,10,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"USERPROFILE", L"C:\\users\\skybuck")
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,11,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,0,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,1,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,2,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,3,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,4,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,5,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,6,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,7,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,8,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,9,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,10,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:reg:NtEnumerateValueKey (0x18,11,1,0x7ffe1ba69b90,2072)
1681.659:002f:0030:trace:computername:GetComputerNameW 0x7ffe1ba6a430 0x7ffe1ba6a3e4
1681.659:002f:0030:trace:reg:open_key ((nil),L"\\Registry\\Machine\\System\\CurrentControlSet\\Control\\ComputerName",20019,0x7ffe1ba6a240)
1681.659:002f:0030:trace:reg:open_key <- 0x14
1681.659:002f:0030:trace:reg:open_key (0x14,L"ActiveComputerName",20019,0x7ffe1ba6a248)
1681.659:002f:0030:trace:reg:open_key <- 0x18
1681.659:002f:0030:trace:reg:NtQueryValueKey (0x18,L"ComputerName",2,0x7ffe1ba6a290,44)
1681.660:002f:0030:trace:computername:GetComputerNameW ComputerName is L"USBStick" (length 8)
1681.660:002f:0030:trace:environ:SetEnvironmentVariableW (L"COMPUTERNAME" L"USBStick")
1681.660:002f:0030:trace:environ:RtlSetEnvironmentVariable ((nil), L"COMPUTERNAME", L"USBStick")
1681.660:002f:0030:trace:reg:open_key ((nil),L"\\Registry\\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList",20019,0x7ffe1ba6a3e8)
1681.660:002f:0030:trace:reg:open_key <- 0x14
1681.660:002f:0030:trace:reg:NtQueryValueKey (0x14,L"ProfilesDirectory",2,0x7ffe1ba69ba0,2064)

^^^

It seems it is missing profiles or something ?

Maybe I need to set this up somehow in sparky linux/litrus or linux ?!?

Any advise on this how to fake these windows registry keys and perhaps profiles on disk/file system ?

Bye,
  Skybuck.

Offline Skybuck

  • Newbie
  • *
  • Posts: 11
Re: Litrus stuck at ProfileList while running Star Wars Battlefront 2 (2017)
« Reply #1 on: November 14, 2019, 06:55:35 pm »
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.

Offline Skybuck

  • Newbie
  • *
  • Posts: 11
Re: Litrus stuck at ProfileList while running Star Wars Battlefront 2 (2017)
« Reply #2 on: November 14, 2019, 07:32:40 pm »
Assuming wine is at fault, though it might also be dxvk or something else, but ok, assuming wine is at fault and replacing wine with wine staging:

wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/Release.key | sudo apt-key add -   

echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10 ./" | sudo tee /etc/apt/sources.list.d/wine-obs.list

sudo apt update

Wine/Lutrix now behaves a bit differently when starting the game and it wants to install some .net/mono/html stuff.

I think log will show this somewhat, I am not sure if this is normal, maybe the updating to wine-staging was not ment for sparky linux, but maybe it's ok.

Running /usr/bin/wine /media/skybuck/External Harddisk/Games/Star Wars - Battlefront 2/starwarsbattlefrontii.exe
000b:fixme:winediag:start_process Wine Staging 4.19 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0030:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
0030:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:process:__wine_kernel_init boot event wait timed out
0037:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0037:err:mscoree:LoadLibraryShim error reading registry key for installroot
0037:err:mscoree:LoadLibraryShim error reading registry key for installroot
0037:err:mscoree:LoadLibraryShim error reading registry key for installroot
0037:err:mscoree:LoadLibraryShim error reading registry key for installroot
0037:err:msi:execute_command unable to execute command 2
0037:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0037:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0030:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0030:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
003c:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
003c:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
002a:err:clipboard:convert_selection Timed out waiting for SelectionNotify event
002a:err:clipboard:convert_selection Timed out waiting for SelectionNotify event
003c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
003c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0025:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0025:fixme:dwmapi:DwmIsCompositionEnabled 00000000068A1518
0043:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x2b8d3de, context 0x739a270, init_notify 0, handle 0x769f9d0): stub
0035:err:process:__wine_kernel_init boot event wait timed out
0035:fixme:ver:GetCurrentPackageId (0x22d9f0 (nil)): stub
0035:fixme:ntdll:NtQuerySystemInformation returning fake driver list
0035:fixme:heap:RtlSetHeapInformation 0xb50000 0 0x22d8a0 4 stub
Waiting on children
Waiting on children
0059:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
0059:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0059:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0059:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
Waiting on children
0055:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0055:fixme:dwmapi:DwmIsCompositionEnabled 05C43018
0060:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x273b608, context 0x2d6450, init_notify 0, handle 0x6a5fce8): stub
Waiting on children
2019-11-14 19:29:51,842: Unable to read stat for process 6849
2019-11-14 19:29:51,873: Unable to read stat for process 6849
Waiting on children
wine: configuration in 'G:\home\skybuck\.wine' has been updated.
2019-11-14 19:29:52,265: Unable to read stat for process 6749
2019-11-14 19:29:52,266: Unable to read stat for process 6749
All children gone
Exit with returncode 91

Now I am back to square 1 with this returncode 91.

What you all make of this ?

Let's suppose it wasn't wine-staging problem ?

How would I revert back to wine (stable) ?

Bye for now,
  Skybuck.