The International Simutrans Forum

 

Author Topic: Game does not start on Ubuntu  (Read 314 times)

0 Members and 1 Guest are viewing this topic.

Offline Matthew

  • *
  • Posts: 547
    • Japan Railway Journal
  • Languages: EN, some ZH, DE & SQ
Game does not start on Ubuntu
« on: December 29, 2020, 12:12:22 PM »
Steps to reproduce

1. Install Steam on Ubuntu 20.04 from the standard repository (sudo apt install steam).
2. Open your library.
2. Install Simutrans.
3. Click 'Play' on the Simutrans page.
4. The following error message is displayed:

(Steam does not allow it to be copied-and-pasted)

Expected outcome: The game launches for the first time.

Notes
  • The file listed in the message is indeed missing.
  • I tried both Standard v.122.0 and and Standard Nightly (using the beta option).
  • Steam successfully verified the game files.
  • My ~/simutrans/ directory was created by Simutrans-Extended (from Frank's .deb repository) and is shared with Sim-Ex.
  • It's very possible I have done something wrong! :-[ This is the first time I have tried to install Simutrans from Steam on Linux.

Online Roboron

  • Moderator
  • *
  • Posts: 249
    • Las Galácticas Aventuras de Komoyo Diga
  • Languages: ES, EN
Re: Game does not start on Ubuntu
« Reply #1 on: December 29, 2020, 03:52:07 PM »
Do you have a 32-bit linux system? Only 64-bit Simutrans linux builds are deployed to Steam.

Offline Matthew

  • *
  • Posts: 547
    • Japan Railway Journal
  • Languages: EN, some ZH, DE & SQ
Re: Game does not start on Ubuntu
« Reply #2 on: December 29, 2020, 05:05:14 PM »
Do you have a 32-bit linux system? Only 64-bit Simutrans linux builds are deployed to Steam.

Thank you for responding. It's a 64-bit system. Steam relies on several 32-bit libraries, but that applies to everybody using it on Linux, I think.

That file (simutrans.sh) does not seem to appear in Github mirror of Standard and I don't remember seeing it before outside Steam. Is it something specific to the Steam installation?

Online Roboron

  • Moderator
  • *
  • Posts: 249
    • Las Galácticas Aventuras de Komoyo Diga
  • Languages: ES, EN
Re: Game does not start on Ubuntu
« Reply #3 on: December 29, 2020, 05:28:39 PM »
Two weeks ago, Steam introduced a "bugfix" which unfortunately broke Simutrans. I was forced to introduce the simutrans.sh file to load libraries from the simutrans directory - this is a thing the preloader needs, so yes it is specific to the Steam installation.

I created a new depot, which includes the .sh file an the necessary libraries. Can you tell me if you also lack the "lib" directory in Simutrans Steam folder? I've reinstalled the game, and Steam does download me both the .sh file and the lib folder.

Offline Matthew

  • *
  • Posts: 547
    • Japan Railway Journal
  • Languages: EN, some ZH, DE & SQ
Re: Game does not start on Ubuntu
« Reply #4 on: December 29, 2020, 07:29:27 PM »
Two weeks ago, Steam introduced a "bugfix" which unfortunately broke Simutrans. I was forced to introduce the simutrans.sh file to load libraries from the simutrans directory - this is a thing the preloader needs, so yes it is specific to the Steam installation.

I created a new depot, which includes the .sh file an the necessary libraries. Can you tell me if you also lack the "lib" directory in Simutrans Steam folder?

I do not have lib directory:



Quote
I've reinstalled the game, and Steam does download me both the .sh file and the lib folder.

I am now reinstalling the game and will see whether they appear.

Online Roboron

  • Moderator
  • *
  • Posts: 249
    • Las Galácticas Aventuras de Komoyo Diga
  • Languages: ES, EN
Re: Game does not start on Ubuntu
« Reply #5 on: December 29, 2020, 08:18:29 PM »
I have now reviewed the depots and I found the root cause. I missconfigured the new depot, it was assigned to pak64 instead of the base application (I have never touched this setting, it was probably a missclick on my part). It should be solved by now. Thank you for reporting.