ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.85k stars 1.04k forks source link

Prototype 2 (115320) #1422

Open Simmonz opened 5 years ago

Simmonz commented 5 years ago

I tried running Prototype 2 through Proton and it crashes at launch. The Steam AppID of the game is 115320. I added PROTON_LOG=1 %command% to the game's launch options and received the following log:

steam-115320.log

I haven't found an existing compatibility report for this game and I have checked whether there are updates for my system available. System Information

OS: Solus

GPU: RX 580 8GB

Driver/LLVM version: Mesa 18.1.6

Kernel version: 4.18.5-90.current

Proton version: 3.7-6

https://gist.github.com/Simmonz/ee96fbeb3d32de20b2ebea979bf1746f

liberodark commented 5 years ago

Have try Prototype & Prototype 2 for me not work :(

Niedzwiedzw commented 3 years ago

yeah same for me, I'm unable to make it work

datomezz commented 3 years ago

Prototype 2 still not launching :(

bear-bulloff commented 2 years ago

Prototype 2 still not launching :(

works with winXP compatibility and with xaudio2_3="native"

Niedzwiedzw commented 2 years ago

@bear-bulloff could you provide some more info? are you running with lutris or steam proton?

bear-bulloff commented 2 years ago

@bear-bulloff could you provide some more info? are you running with lutris or steam proton?

Tested with both Steam Proton 6.3.6 and system wine-staging 6.17. Very strange game behaviour. With xaudio2_3="native" an error pops up, but when you press ok the game works, but no sound. If xaudio2_3="builtin" then the game hangs. If run with a third party prefix the game works without errors and with sound Screenshot_MainWin32_1 steam-10150.log

.

springwurm commented 2 years ago

Compatibility Report

System Information

I confirm:

Symptoms

Reproduction

Logs

Notes

springwurm commented 2 years ago

With Proton: 1635544687 experimental-bleeding-edge-6.3-1836-20211029-paf96ce-w8a5bac-d1b1206-v430c77, the Game Starts, but be aware the Game has lots of Bugs. See Prototype 2 at pcgamingwiki

DSLinuxUser commented 2 years ago

Seems I do something wrong, this is all I get from starting the game: steam-115320.log

springwurm commented 2 years ago

Seems I do something wrong, this is all I get from starting the game: steam-115320.log

You need to use the "bleeding-edge" Beta of proton-experimental. Additional to that, you can try to rename/remove the game´s prefix directory and let the Steam Client verify your game files.

Niedzwiedzw commented 2 years ago

I'd love to play the game, but it just crashes at startup no matter what I try...

DSLinuxUser commented 2 years ago

So, got finally bleeding-edge compiled. Still getting next to nothing in the log. steam-115320.log

kisak-valve commented 2 years ago

Hello @DSLinuxUser, if you completely close Steam, then run steam from a terminal, is there a hint from Proton in the terminal spew when you tell Steam to start the game?

DSLinuxUser commented 2 years ago

Hi,

here is the output: steam-output.txt

Seems something weird is happening, because if I understand correctly, it tries to use proton 6.3-3. But in the GUI I had configured my bleedingedge version, but even before that it was configured to use 6.3-7. Steam-prototype2

kisak-valve commented 2 years ago

Sounds like the wineprefix for the game is damaged or incomplete. I would try moving ~/.local/share/Steam/steamapps/compatdata/115320 somewhere out of the way and retesting.

DSLinuxUser commented 2 years ago

Was too late, saw your comment appearing.

Read now quietly the log again and /home/dslinuxuser/.local/share/Steam/steamapps/compatdata/115320/tracked_files
was missing. Created it with "touch /home/dslinuxuser/.local/share/Steam/steamapps/compatdata/115320/tracked_files", after that it starts and can load my save from 7~ years ago. Have to play a bit and check if it works.

DSLinuxUser commented 2 years ago

Wow, you did it Proton development team. Was finally able to try Prototype 2 with Proton bleeding edge. Had to do at least the following stuff:

With taskset and 1 core the game would just loop in loading screen. With taskset and 2 cores it started to work.

This game is from the standpoint of a developer a piece of garbage, has so many errors, bugs and problems. But now, with Proton bleeding edge and this monster of launch options I am finally able to play Protoype 2 again.

DSLinuxUser commented 2 years ago

Tinkered a bit. Game controller won't work, but this was already a problem with Windows 7, game code is bad.

But "windowed" is not needed, so the launch options look like this: PRESSURE_VESSEL_RELAUNCH_CONTAINER=1 WINEDLLOVERRIDES="xaudio2_3=b" taskset -c 0,1 %command%

I would say, only the launch options need to be altered to this and the issue can be closed.

RyuzakiKK commented 2 years ago

@DSLinuxUser The PRESSURE_VESSEL_RELAUNCH_CONTAINER option was set by default to 1 since about a year ago. Additionally, several months ago, this option has been completely removed, effectively hard coding it to 1 without the ability to disable it.

So if it works with PRESSURE_VESSEL_RELAUNCH_CONTAINER=1, even without it should definitely works too.

DSLinuxUser commented 2 years ago

Thanks for clarification. You are right, just changing to "taskset 0,1" is enough.

Niedzwiedzw commented 2 years ago
Click to expand ``` wine: Unhandled page fault on read access to 00000000 at address 105C61B0 (thread 011c), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x105c61b0). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:105c61b0 ESP:008eedbc EBP:00000000 EFLAGS:00210246( R- -- I Z- -P- ) EAX:00000001 EBX:00000000 ECX:00000000 EDX:00000000 ESI:11fd0734 EDI:00000000 Stack dump: 0x008eedbc: 00000000 11fd0734 00002000 00002000 0x008eedcc: ffffffff 00000000 00000000 00000000 0x008eeddc: 00000000 ffffffff ffffffff 105c6b4d 0x008eedec: 00000001 00000000 10fcb8b0 11fd0734 0x008eedfc: 00000000 11fd0734 00000001 105c6d3a 0x008eee0c: 10fcb8b0 008eee5c 120054d0 1116f000 Backtrace: =>0 0x105c61b0 in prototype2engine (+0x5c61b0) (0x00000000) 0x105c61b0: movl 0x0(%ecx),%edx Modules: Module Address Debug info Name (52 modules) PE 400000- 6ea000 Deferred prototype2 PE 1610000- 166c000 Deferred combase PE 1670000- 1696000 Deferred winevulkan PE 16a0000- 175b000 Deferred winmm PE 1760000- 17a9000 Deferred binkw32 PE 10000000-11123000 Export prototype2engine PE 1b690000-1b7cd000 Deferred steam PE 1c510000-1c723000 Deferred dxgi PE 38000000-391ad000 Deferred steamclient PE 3b400000-3b41e000 Deferred steam_api PE 61500000-6152f000 Deferred iphlpapi PE 61740000-61783000 Deferred advapi32 PE 62440000-6270f000 Deferred d3d9 PE 62e80000-62ec4000 Deferred wbemprox PE 62fc0000-6304d000 Deferred rpcrt4 PE 63480000-6348d000 Deferred version PE 63bc0000-63bd9000 Deferred shcore PE 64a40000-64a94000 Deferred shlwapi PE 64ec0000-64ff0000 Deferred oleaut32 PE 651c0000-651d6000 Deferred xinput1_3 PE 66240000-66258000 Deferred bcrypt PE 663c0000-663f4000 Deferred winspool PE 666c0000-666cf000 Deferred hid PE 66b00000-66b3c000 Deferred win32u PE 67840000-6784a000 Deferred psapi PE 67ec0000-688b2000 Deferred shell32 PE 68e00000-68e11000 Deferred aclui PE 69540000-6958c000 Deferred dinput8 PE 69ac0000-69acc000 Deferred vulkan-1 PE 6a040000-6a062000 Deferred msacm32 PE 6a280000-6a32e000 Deferred msvcrt PE 6a400000-6a531000 Deferred ole32 PE 6b300000-6b3a3000 Deferred msvcr90 PE 6bc00000-6bc2c000 Deferred sechost PE 6bcc0000-6bd41000 Deferred setupapi PE 6c9c0000-6ca45000 Deferred gdi32 PE 6cc40000-6cd9c000 Deferred comctl32 PE 6d780000-6d7a7000 Deferred ws2_32 PE 6e4c0000-6e4d6000 Deferred dnsapi PE 6e8c0000-6e994000 Deferred crypt32 PE 6ed00000-6ef58000 Deferred user32 PE 6f480000-6f48b000 Deferred nsi PE 6fa80000-6fae9000 Deferred dbghelp PE 6fe40000-6fe74000 Deferred rsaenh PE 70b40000-70c1b000 Deferred ucrtbase PE 71200000-7121c000 Deferred imm32 PE 7b000000-7b0ec000 Deferred kernelbase PE 7b600000-7b81a000 Deferred kernel32 PE 7bc00000-7bca9000 Deferred ntdll PE e7ee0000-e7f6b000 Deferred xaudio2_3 PE f53b0000-f53b3000 Deferred lsteamclient PE f6070000-f6074000 Deferred winex11 Threads: process tid prio (all id:s are in hex) 00000030 services.exe 00000034 0 00000038 0 00000044 0 00000048 0 00000054 0 00000064 0 00000070 0 0000008c 0 000000a4 0 000000d8 0 000000dc 0 0000003c winedevice.exe 00000040 0 0000004c 0 00000050 0 00000058 0 000000b0 0 0000005c winedevice.exe 00000060 0 00000068 0 0000006c 0 00000074 0 00000078 0 0000007c 0 00000080 0 00000084 plugplay.exe 00000088 0 00000090 0 00000094 0 00000098 0 00000198 0 000001a0 0 0000009c svchost.exe 000000a0 0 000000a8 0 000000ac 0 000000b4 explorer.exe 000000b8 0 000000c4 0 000000c8 0 000000d0 rpcss.exe 000000d4 0 000000e0 0 000000e4 0 000000e8 0 000000ec 0 000000f0 0 000000f4 0 000000f8 conhost.exe 000000fc 0 00000108 steam.exe ["C:\Program Files (x86)\Steam\Steam.exe" "/home/niedzwiedz/.local/share/Steam/steamapps/co mmon/Prototype 2/prototype2.exe"] 0000010c 0 00000110 0 00000120 0 00000118 (D) Z:\home\niedzwiedz\.local\share\Steam\steamapps\common\Prototype 2\prototype2.exe ["Z:\home\niedzwiedz\.local\share\Steam\steamapps\common\Prototype 2\prototype2.exe"] 0000011c 0 <== 00000124 2 00000128 15 0000012c 15 00000130 1 00000134 1 00000138 -2 0000013c -2 00000140 -2 00000144 -2 00000148 -2 0000014c -2 00000150 -2 00000154 -2 00000158 -2 0000015c -2 00000160 -2 00000164 -2 00000168 -2 0000016c -2 00000170 -2 00000174 -2 00000178 0 0000017c 0 00000180 0 00000184 0 00000188 0 0000018c 0 00000190 0 00000194 0 0000019c 2 000001a4 15 000001a8 0 000001ac 15 000001b0 1 000001bc 0 System information: Wine build: wine-6.21 (Staging) Platform: i386 (WOW64) Version: Windows 10 Host system: Linux Host version: 5.11.22-2-MANJARO ```
Niedzwiedzw commented 2 years ago

could I provide some more details? this still isn't working... I'm on arch linux, Ryzen 9 cpu, GPU is a 1080

abienz commented 1 year ago

Also unable to launch with GE Proton or Proton Experimental using taskset 0,1 %command%.

From comments on ProtonDB it seems to suggest that the version purchased and installed through Steam is a little different to ones that have come from key sellers? Although I'm unsure how that can be a difference, surely they are the same repository?

DSLinuxUser commented 1 year ago

1) Had to change the parameter to PROTON_USE_WINED3D=1 WINEDLLOVERRIDES="xaudio2_3=b" taskset -c 0,1 %command% , seems that one update broke something so that Vulkan can't be used. 2) Because of the whole nature of this game, either Radical or Activision had to create a cut version for multiple countries. My version, which is the German cut, has various problems some other versions don't experience. Thankfully to the community, Wine, DXVK and Valve, the German version can be played again. Well for Linux, on Windows it is broken.

Most stable is the English uncut version. I would guess the reseller gave you a key for one of the cut versions and it just does not want to start. You can try some of the fixes mentioned on PCgamingwiki, but don't expect guaranteed success: https://www.pcgamingwiki.com/wiki/Prototype_2#Issues_fixed

abienz commented 1 year ago

Thanks, I tried those full parameters, but still a CTD as soon as I start.

Interesting about the different regions, I'm trying to run it on the Steam Deck, and I don't have any peripherals installed, not sure what else I can try.

DSLinuxUser commented 1 year ago

Ah, Steam Deck, that is critical information. You already saw the comment about the peripherals. Good.

Now to the bad part: this game "will never work on the Steam Deck". On Linux and Windows this game either crashes on start or straight won't accept any input, if peripherals are connected. So, in order to be able to start the game, you would need to open the Steam Deck and remove:

After that, maybe, maybe the game will start and or work and now you could plug in Keyboard/Mouse to be able to play it. Yes, this is "impossible" from a convenient standpoint and I would not do it either. Sadly, but Radical/Activison screwed Protoytype 2 code wise even more up than Prototype 1.

abienz commented 1 year ago

I see, thanks for the feedback

hebrewd commented 1 year ago

The game works perfectly for me, though I did use a 'community patch' It worked out of the box, with my dualshock 4 controller detected and mapped correctly. However, it did crash trying to load the videos, changing the operating system to windows 7 from 10 fixed that as well.