Star Wars Battlefront 2 (2017) on Sparky Linux/Litrus, running into Profile issue

Questions about Wine on Linux
Locked
Skybuck
Newbie
Newbie
Posts: 1
Joined: Thu Nov 14, 2019 10:54 am

Star Wars Battlefront 2 (2017) on Sparky Linux/Litrus, running into Profile issue

Post by Skybuck »

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 ?

Further information:

Wine runner was used in Lutris.

Others might have used Steam runner in Lutris and might explain the difference.

This time "stable wine" was used.

Staging was used because somebody on youtube used that.

I will continue to try and run this game with maybe steam runner but need application ID for Battlefront 2 but I will try an older one (battlefront from 2005 application id 6060)

I came back to windows to get my steam password ! ;)

However it would be nice if the non-steam version of Battlefront 2 would work too.

Perhaps the log messages available will help with debugging this game and getting it working eventually.

Bye,
Skybuck.
Locked