[SOLVED] Railway Empire - WineGE - Freezes while saving game

Hello Lutris team and Lutris community!
Thank you for Lutris: you’re the reason for which I’m returning to my Gentoo Linux :slight_smile:
About the issue: not sure whether or not is Lutris fault but while I’m playing Railway Empire - with Wine and GoG version since the Linux native on my distro doesn’t work - which works perfectly, as soon as I try to save or even delete a saved game within the game itself the game freezes.
Now while I’m in doubt it’s a Lutris fault (other option is wine of course): by using wine outside of Lutris… well the game has a whole bunch of graphicals issue :slight_smile: but the save game feature works. Of course I’m launching the wine on my system (the one used by Lutris, wine-ge-8.26, I don’t have idea where it could be) but of course from inside Lutris even setting my system wine as default wine, the game freezes anyway whenever trying saving.
Of course I checked the permissions of the folders (and parents too) of the save games and even tried to set as wineprefix for the game the default used by wine ($HOME/.wine) to no avail.

Thank you very much in advance and of course please do not hesitate to contact me in case of further details are needed.

Kind regards.

P.s.: here is the link to pastebin (please note that I’ve set Plain text but I added both the JSON generated by Lutris and the running log. You’ll find a tag at the beginning of each section):
https://paste.ubuntu.com/p/5BPyhXxDP8/

Hello guys,

just to add the results of some test I’ve made:

  • tried to remove every advanced features such as super res and the like
  • tried to set single core and of course disable the sync options
  • tried with the latest wine

Nothing good so now I guess the issue may be the line 1414 of the paste bin:

wine: Unhandled page fault on read access to 0000000000000000 at address 0000000140456D85 (thread 011c), starting debugger…

but I’m guessing here.

Last thing to try - I guess - is to use as games installation dir the same of the (wine default) wineprefix but it’s not the default behavior of Lutris and, also, I have two other games installed which are perfectly working.

No more ideas here :slight_smile:

Thank you again for any support.

Default suggestions:
You didn’t say which installer you used, if any. If the game doesn’t run at all, then try a different runner first - maybe go straight for Proton as the game has “just works” for many people on protonDB.
Just as important as I can’t see the info - up to date WINE staging and Lutris client :slight_smile:

As with some older titles, does it have a launcher or config program that needs to be run first?
Lastly, as you have other devices, set GPU in the systems option tab is set to the main display.

Hello mr!

Thank you for your answer… well TBH I must say that I definitely reported the installer used in my first message:

[…] while I’m playing Railway Empire - with Wine and GoG version since the Linux native on my distro doesn’t work […]

That’s it… well just to report to other kind hearts like you trying to help :slightly_smiling_face:

The other point about ‘if the game doesn’t run’ well… it’s not the case and I’ve reported it in my first message:

[…]I’m playing Railway Empire […] which works perfectly, as soon as I try to save or even delete a saved game within the game itself the game freezes. […]

So it’s not a matter of running or not running but more a matter of: doing an exact thing breaks it all.

About the wine versions I tried of course more than one - that I wrote in the 2nd message - even with the one installed on my system but nothing different (crash related) happened.

I’ve pasted the report and I’ve a clear error message returned by any wine so I thought I was already beyond the try with some other version :wink:

About the GPU well I’ve just one GPU and one monitor and Lutris maybe knows that because it has greyed out the section you’re referring to: I think because it’s automatic… I mean there cannot be any doubts after all we’re in Linux not in the other system :wink:

Thank you very much for your suggestions: unfortunately they didn’t apply to my case so… well… what to do what to do… as of now I do not know maybe I’ll think to something in the next days.

No one loves trains here? Come on guys trains are cool help us to play this game in Linux :wink:

Sure, WINE means you used the Auto install. Is the Linux native version not working? A WINE read fault crash with a random memory address is Google’able but not exactly something anyone would know offhand :slight_smile:

Most of the reports on ProtonDB that give it it’s “platinum” working status under Proton are from users with Debian based distros and Arch.

It might even be Gentoo’s WINE build, but also some Windows programs just die.
I’m pretty sure it is not biased against train games :slight_smile:

Yeah exactly the native doesn’t work: it complains about an /ini dir missing in some /home/bob/trainiac dir :smile: and my name is not bob just to be clear… I guess people doing games for Linux are not so motivated to use smart dirs: obviously that was hardcoded into the code. Oh thanks bob for the Linux version BTW :wink:

Well anyway by creating a /ini dir almost everywhere, I managed the to launch game but it stucks into a wonderful black screen of death without any specific error message and without even reaching the intro movie.

Then I opt to pass the ship’s wheel to wine and I wrote the first message of this forum thread.

So, as an update of today, I’ve tried:

  • wine vanilla 8 and 9
  • wine proton 8 and 9

and everyone has the same behaviour: stuck on save.

Then I’ve tried to run GoG Galaxy directly from Lutris and to install the game from within there: same behaviour… I do not even know which version of wine… I guess some of the above or maybe the GE suggested by Lutris.

My point at this time is: ok I’ve tried with several version of wine but if every version has the same issue then maybe the issue is strong and clear :wink: and of course it may be caused by my distro or by some lib not lib which has who knows some not expected bits…

After all those tests I just made a discovery, some sort of WA: if during the save you don’t create a new save but instead you save the game over an already existent file then wine succeeds.

I thought then it was some sort of permission issue but the log usually shows those permission denied thing and instead mine is perfect.

So… I guess this game has to be played on Windows.

Oh by the way: thank you very much for having checked the appDB you are too kind :slight_smile:
Hope of course I could help you in the future :slight_smile:

Mr Asaf, where are you when I have a wonderful news for you and for the whole community :slight_smile:
Come on :slight_smile: I MADE IT! :slight_smile:

Just three days to made a game works :slight_smile:

So here is the solution: I’ve just discovered that Lutris has a thing - and I mean a huuuuuuuuge thing - for 32 bit executables.

By having Gentoo I can use the multilib option to compile both 32 and 64 bit executables and libraries. So I didn’t realize until now that Lutris in the dropdown list indeed shows all the Wine versions I have but it omits the 64 bit ones. So basically as a last try I used a custom wine 64 bit executable just to be sure and wow everything is faaaaaaaaaast even the loading times are halved and everything works… like a train :slight_smile:

Now I can even save the game… I’ll add this info into the Proton-DB: maybe it could be useful to someone.

Oh BTW: by using a custom wine version you enable a Lutris bug but I already reported it… in the forum… maybe I should open a bug report? Can we do something like that?