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
Foundation (690830) #2318
Comments
Hello @Sebastiangperez, please add |
Zipped , is 60mb long and i run the game until hangs . this game is made by a custom engine and uses i think opengl 4.3 |
Yesterday , i tested the game again , when i clicked on the market button in the build menu , the game got freeze and hanged my entire pc. |
I have got a similar but still different problem. For me the game launches, gets into the loading screen and then crashes with When i switch from proton 3.16 to 3.7. then the game simply locks up without crashing. If i go ahead and increase the ulimit to over 60.000 then the game works, but the localization is missing because the game keeps saying Throwing strace at the game shows this:
This seems to be a big bug in the Game and not fixable by Proton, since the file seems to be found and loaded. Additionally to this, they constantly try to close thousands of files they never opened, so i guess even if the game would have the localization we might get the trouble @Sebastiangperez talked about. |
@legodev |
This is an update
This is an Update , yesterday arrived a new patch that fixed the bug , i could play the game without freezing. |
This can easily be fixed by installing vcrun2017: [EDIT 2: no need to enable D9VK anymore. it will be used automatically.. So everything below is outdated ] [EDIT: The following is outdated, D9VK now can be enabled with Proton > 4.11 using "PROTON_USE_D9VK=1 %command%"] If you want to try to implement it in Proton 4.2 follow these instruction provided by user pchome:
|
I stopped playing this game a few months ago because it crashes on start. |
I can confirm the game now works fine using:
|
btw this seems to be a distro based "issue". My ulimit already was pretty high by default (#DefaultLimitNOFILE=1024:524288 on Manjaro). |
yes mine is fixed to 1024, simply because this normally is more then enough and if more is required this is usually a bug in your software. I know how to permanently change it, but i don't want to. For everyone who wants to know the file location it can be done in Edit: on non systemd linux distributions |
Maybe you should say which distro you're on, because the filenames and locations differ based on the distro you're using.Here you can find some more infos on the topic: |
Hi All,
Steam log in gist. |
Yesterday after long time not playing the game, i played and works great but still uses 2.5 gb of ram ( i dont know if is an issue) |
If you find a way to fix the text issue, it is allowed to use 6 GB of RAM for all I care. |
I found the following block in my Proton log:
|
I can confirm similar outputs for me after following all recommendations and with multiple installs/attempts. I also tried using wine tricks and proton tricks. Using proton 4.2-9
|
This did not help me. I still see those JSON keys instead proper labels :( |
I was using the free AMD driver of Manjaro and got always the shader error: With the properitary AMD driver for Archlinux AUR I'm able to start the game. Still have two unresolved issues:
EDIT: |
Hello @marwonline, please copy your system information from Steam ( |
@kisak-valve here the gist. |
@kisak-valve It's an OpenGL game, so Mesa drivers can be removed. |
@legodev Installing vcrun2017 does not fix the translation/string issue for me...did you install anything else? |
Hi, I played this game on Windows before. Now I switched to Linux Mint and I got this error: Shader compilation Error Has anyone got it working with proton or wine on AMD graphics with mesa drivers? Kind regards |
I have the same error with Intel graphics on Proton 5.0... |
@Vavooon could you check the owner of |
Eventually it works! Thanks a lot everyone for your help! So I'd like to write down all the required steps:
|
@MadByteDE It's owned by my home user, nothing special. I believe it fails to override the file because |
@Vavooon glad it worked now. Alright, good to know. You should add that you probably needed to install vcrun2017 first, then manually replace the ucrtbase.dll, or did it work without the rest? |
@MadByteDE Actually replacing the file is the only thing required to fix the issues. |
Hi guys, I'm the technical director at Polymorph Games. First of all: thank you very much for the time and effort you put in invastigating those problems, it really helped us! Since @smirgol reach out on the Steam forum to talk about the glsl compatibility issue we were able to deploy the fix on the preview branch, and it will reach the full content patch coming soon. I've also been able to investigate the localization file loading issue, and it should be fixed too. What happened is that proton / wine just ignored our request to open the files as utf8 and was feeding us with row data. It was fixed by adding utf8 DOM in all our utf8 files. I was not able to test the full game loading since I'm only running linux on a virtual machine (so I can't pass the opengl 4.3 check), but if that was really the last issue, the game should work without the vcrun2017 trick (once the new build will go live, version superior to 1.6.22). Since the game is still in active developpment, I expect there will be other issues in the future. Even if linux is not our top priority, we'd like to still do what we can to make it easier to experiment Foundation on Linux. So don't hesitate to reach out to us on the Steam forum, or in our Discord, that will be the best way to make sure we're aware of new issues or ideas you have to fix the proton experience. The discord: https://discord.com/invite/foundation Cheers! |
@leo-polymorph It's so rare to see a game studio come in this issue tracker and actually offer any kind of help/support, thanks a lot! |
I didnt knew this game before reading this comment. Your positon towards us, linux gamers, made me want to play it. Thank you and keep up the good work. @leo-polymorph |
@leo-polymorph Thanks for supporting us, it really means a lot! |
@leo-polymorph Great News man , thanks. |
Heya, Wine/Proton dev here. If you can give us more information about this bug we can work to fix it in Wine. Feel free to respond here, or email me at aeikum@codeweavers.com. Thanks! |
I love when people work together for a common purpouse, i wish the humans works like this in every field. |
Hey @aeikum , here is the issue: according to MS doc, the file stream should treat it as utf8 encoded source and convert it to UNICODE as reading. This works as expected on Windows. MS Doc: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-s-wfopen-s?view=vs-2015 On proton, the system behaves as if we opened the file like this: As a workaround, we added utf8 BOM to the file, and now proton reads the file as expected. This is not a problem for us to add the BOM, but it's a difference between windows & proton nevertheless. |
@leo-polymorph Understood, thanks very much for the explanation. We'll take a look. |
FWIW, Linux gamers, running the Preview build and running this script to add the UTF-8 BOM against the entire contents of the |
So after I installed the latest update (1.6.24.1028) the game appears to be fully working on Linux without applying any hacks. |
So, i close this issue or i let it open just in case ? |
Please keep it open. |
|
Hello all, first great work on finding the solution for the issue, the game works apparently flawlessly right now. But may I bring the attention that the issue with BOM still persists for modded content, running a batch script seems to have worked for me, I dunno if that's something the developer can change, but let it be known for any other user. |
I've sent patches that are meant to fix it to wine: |
Seems to be an issue with your setup, not with the game itself. Have you tried other games with Proton? You could post your system informations to see if someone can notice anything. My blind guess is an issue with permissions or another wineserver blocking the launch.. I had issues with the Steam flatpak package, if you use it you could try to install Steam from another source. If other games work fine then try to remove the prefix from your steamapps/compatdata directory and try again. |
Just a word of advice: the game does not seem to work anymore if MangoHud is enabled. I wanted to play it again today after several months of pause and, when I tried to run it, I saw that was not even starting anymore. I wiped the wine prefix and switched different version of Proton but the result was the same. Not sure who should look into this issue, if @flightlessmango, Proton or @leo-polymorph but I'm available to help anyone interested with logs and tests. Console output
|
The issue seems to be already fixed on the |
Still can't Launch game in Linux. |
For some reason this game thinks that my Intel card is active rather than the AMD card in my desktop: Other games work just fine in Steam with proton. Here's the error message from the logfile:
and a copy of the full logfile: https://pastebin.com/Kp24Yj6e |
Compatibility Report
System Information
I confirm:
Symptoms
The game has some error related on his translation game's log output said this:
ERROR Core GamCLocalizationManager::loadFile JSON parsing error: 3
Also the game hangs after pressing the market button, keeping the music / sound in the background.
Reproduction
Press play on the Steam button
The text was updated successfully, but these errors were encountered: