-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Planet Zoo (703080) #3201
Comments
Basically I have about the same output. |
I'm encountering the same issue System Information
steam proton log |
i got the same issue on my system :( System Information
steam proton log |
Can also confirm.
|
Adding the "ucrtbase.dll" like Planet Coaster #1538 manage to get pass the Wine C++ Runtime Error for me, (I also unplug the USB mouse and keyboard) but the game still crashes before any black screen appears and shows the game's Crash Reporter and leaves behind the PlanetZoo.exe process that needs killing System Information
Steam Proton Log |
I can confirm this behaviour. |
I can also confirm |
Does anyone have an update on this? |
Game still crashes at startup with Proton 5.0-2. |
Tested on Proton 5.0-4, still crashes |
I see I am not the only one. Planet Coaster runs fine without any issues but Planet Zoo says C++ runtime error. |
After long sessions of debugging, log reading and looking at the disassembly, I think I pinpointed the crash. The game uses nt kernel functions to access files. The functions, however, are case sensitive by default (or, at least, implemented in wine as such). The game tries to read a file by its name in the lower case while the actual file on the disk in the camel case. The games fails to read the file and eventually crashes. P.S. I made a build with my workaround: https://drive.google.com/file/d/15i9MSm_sPrAgo2wGaS_4ezCcHC-vvxgW/view?usp=sharing. It is totally untested however, denuvo blocked me for one day. |
You are correct, at first I also got the C++ error and it was looking for a lower case path on z: This happens with your patch, which is hopeful:) But it hangs at this screen now, I have a GTX970. Added this to launch options: WINEDLLOVERRIDES="nvapi=d;nvapi64=d" %command% Didn't work either. How do I get meaningful logging out of Proton / game? It's just waiting for something right now, if you close the game with alt + F4 the window closes but the game never does. Too bad you get the 24 hour timeout pretty fast :( |
Same issue with an 5700XT |
@AlexeyProkhin I build proton GE with your patch and now it is working! Just unpack this build here: ~/.steam/root/compatibilitytools.d/ |
I tried @AlexeyProkhin 's build per the notes in @JWolvers post, and was not able to get it running. After clicking play, Steam switches to say the game is running, and a few seconds later it goes back to saying Play. Nothing appears to pop up indicating the game is actually running though. Sounds like an early crash but nothing is in the logs. Checked through the main Steam logs and was only able to find a line indicating that the app started, and then a line immediately after saying the app exited. Proton log attached. Not sure if I'm missing something from the above. |
@R-u-u Run steam via the terminal and it will give you better logs |
Tried the Proton-GE build in @JWolvers post as well. But after a minute it froze and need to kill the process. I'll try again with a clean install later. (EDIT: still froze randomly on the menu screen) |
It sounds promising. Can we expect new NT functions patch to be implement both in proton and wine ? That may help wine upstream on some other games outside of steam |
@JWolvers Thank you for confirming. I was actually planning to do the same thing today. Because yesterday I was able to get into the game for the first time. I added the game into lutris and used the wine steam runner and lutris-5.5-2 wine build. But to bypass the case sensitivity issue I remounted my ntfs drive with games as case insensitive:
As of right now, no. First there must be some tests to confirm if it's wine's issue or if the game makes wrong assumptions. The hack may probably go into GloriousEggroll's fork, but even before that it must be modified to be enabled only for the game. |
This game works flawlessly after applying this patch! However, I have noticed the clouds are a bit buggy. Though I doubt this is going to stop players from playing the game given how it never even booted before hand. :) I am using Fedora 31 with AMD RX 580 GPU using the open source drivers. I am not sure if this is reproduce-able but I will provide logs if necessary to fix it. |
This patch works out of the box for me although in game there is some lag. I haven't tried tweaking the graphics settings yet. I was able to get in game and interact with a zoo. I'm using NixOS channel 20.03 and have a Nvidia GTX 760 graphics card. Update: I am unable to reliably load saved games. Changes to the master volume setting are reverted to the previous sate. |
I looked into it one more time. Like I said before the game uses NtCreateFile() but does not set OBJ_CASE_INSENSITIVE attribute. It tries to open "gamemain" directory while the real name on the disk is "GameMain". It works because windows mounts ntfs drives as case insensitive. It is clearly a bug in the game, it makes an incorrect assumption that drives are always case insensitive. A hack similar to the above one is probably the only way to fix the issue. I can't be sure about it, |
@AlexeyProkhin Do you think this could be worked around by renaming the file to gamemain? I gave it a shot and it still crashed but I don't know too much about what is going on. I can confirm the patched proton got it working for me on Fedora 31 with an RX 5700xt. Edit: I gave this a longer play and it crashed after about 20 minutes |
The game initially works, but freezes or crashes during the tutorial after some time. At that point it shows to be using over 100% of the CPU. I have an RTX2060 and am using proprietary nvidia drivers. I will look into how to provide a better log by running steam/planet zoo through the terminal, but I have never done that yet, so it might be some time. |
This looks very promising! Game starts without problems. No further tests done yet though. Using a GeForce GTX 1060 with proprietary drivers. |
I've been out of the loop with the progress here since I reported it working well after the patch was added. I upgraded to an RX 5700 XT and started using Fedora 32. I noticed it crashes now. Not sure why. I can confirm that enabling ACO fixes this somehow. Also the clouds do not bug out anymore. |
@AlexeyProkhin thanks for your work, I played it and works very well |
This build wasn't working for me with the game stuck in a black screen while the music plays after the Frontier Logo. Even the MangoHUD overlay froze. But with Proton 5.0-8 RC, the game seems to be working perfectly. Played for about an hour without any problem. There isn't any graphical issue that I noticed and the process exits without hanging.
Cheers! |
How do you get it to work with the patch? I just got Planet Zoo, didnt work out of the box with this crash message Im on Ubuntu 18.04.4 |
@PenguLePenguin You need to opt in into proton beta. Here's a nice gif that shows how to do it.
@SpntKbrg Nice to hear. But strange it didn't work with my build as the patches are the same. |
@PenguLePenguin That patch is no longer needs to be applied manually. Use Proton 5.0-8 RC 1 as AlexeyProkhin suggested. |
Proton 5.0-8 released today, can someone test and verify the game runs properly?
|
Tested just now. I haven't played for a longer period, but the game starts up and I'm able to load into a zoo. Also exits cleanly. |
I just had a 20 minute test on 5.0.8 and did not notice any issues. Looks like we are done here. |
Running the game without |
So it's most likely an LLVM bug. not a Proton bug. Apart from this, is there anything blocking this from becoming a whitelist request? |
Very rarely it does still crash upon exiting the game for, al though it mostly exits just fine. It doesn't influence the playability of the game though. |
Took 4 tries to reproduce. Steps to reproduce:
Result: https://imgur.com/a/3pHKApV |
I just spent about an hour in-game. One thing I've noticed is that the game always starts up in windowed mode, regardless of which setting I closed it in, and if I load into a zoo without first switching it to borderless or fullscreen, the game gets very slow and laggy. Changing mode on the main menu before loading a zoo works fine, however. Overall playability is fine, though! |
Also tested it and I can confirm that it works |
Same for me, both Detroit demo (not the full version i have on epic games store...) & Planet Zoo works |
Yup, new Proton working great! |
For RADV users: the black screen issue is LLVM specific and now that ACO is enabled default, it should just work. |
So, here the game crashes on selecting plants to set. Not everytime. I have followed the instructions to set proton version to 5.0-8, but it does not seem to exist, and 5.0-9 just starts a black screen. The logging option does not produce any log file, so I am kind of at a loss here. |
The game 100% crashes when I click on my avatar on Earth in in-game menu or when I press F12 to make screenshot. As I understood, the game try to access to Steam overlay during this and crashes (however, Steam overlay works properly if press Shift+Tab). OS: Manjaro Linux |
It seems that, since the last update, Planet Zoo returned to the old behavior of crashing at start with C++ Runtime Library error. Note: i had to zip the log file because it was very huge (1.4GB) |
So the issue is related to fullscreen mode with nvidia cards. VK_ERROR_DEVICE_LOST. |
My game also crashes immediately on startup seemingly regardless of which version of Proton I use (including the most recent release of Proton-GE). I can't seem to find the XML file in the prefix folder to try out this workaround though. |
works fine for me with proton 5.0-10 |
@TheTimeKeepers I was having exactly the same issue. For me it was because proton does not work in flatpak. I had to install this https://github.com/flathub/com.valvesoftware.Steam.CompatibilityTool.Proton-GE More info here: flathub/com.valvesoftware.Steam#642 |
The game seems a little unstable under current Proton Experimental, getting regular crashes:
Could be related to alt+tabbing, as they usually happen when I do that or during game startup or loading. EDIT: Seems like I had a corrupt autosave file... |
Compatibility Report
System Information
I confirm:
Symptoms
Game crashes at Startup with a Wine C++ Runtime Error.
Header: "Wine C++ Runtime Library"
Box:
"R
Program: Z
a
Press OK to exit programm, or Cancel to start the Wine debugger"
Reproduction
Just start it again. Reproduction possible with other Proton Versions.
steam proton log
steam-703080.log
The text was updated successfully, but these errors were encountered: