News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Archlinux run issue

Started by Kacperos.89, January 27, 2025, 07:44:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kacperos.89

Hi.
I install simutrans in terminal by "$sudo pacman -S simutrans" but game do not run. When I run simutrans by terminal i got this:

[kacper@archlinux ~]$ simutrans
WARNING: Objects not found in program dir "/usr/bin"!
WARNING: Objects not found in program dir "/usr/share/simutrans/"!
FATAL ERROR: gui_theme_t::init_gui_themes - Wrong theme loaded
Aborting program execution ...

For help with this error or to file a bug report please see the Simutrans forum at
https://forum.simutrans.com
dr_fatal_notify: ERROR: FATAL ERROR: gui_theme_t::init_gui_themes - Wrong theme loaded
Aborting program execution ...

For help with this error or to file a bug report please see the Simutrans forum at
https://forum.simutrans.com

Same one know how fix it?

prissi

Probably, you need to install also a paksek. For archlinuc there are "simutrans-pak128" and "simutrans-pak64". If that does not help, then the archlinux build is broken. In that case, I recommend building it yourself.

Please tell us if the installation of the graphic packages helped.

Roboron

ERROR: pakset_manager_t::load_pak_file: Reading 'modern.pak' failed!
It seems that the source download from sourceforge does not include this theme, and the archlinux package has been compiled from this source release, therefore it is missing from the installation.

---

Anyway, the archlinux Simutrans package is not well maintained. I recommend you to use the simutrans-svn AUR package (if you want the stable version you need to change the revision before compiling), which is done by me. Or even better, install the flatpak package, which is the stable version and will run in any distro the same way. And it is also done by me.

I sent an e-mail to maintainers a year ago explaining how to correctly package Simutrans. But I got ignored by most maintainers. The archlinux package does not include many of the very needed quality-of-life changes such as the "new" music backend (done in 2020). They have only made the minimal changes necessary to keep it compiling 😔

Kacperos.89

Ok, so I migrate to flatpak. Flatpak version work well :)

But...
if you want more info about issue then I have some thinks:
1. simutrans was installed to /usr/share/games/simutrans/ but I get:
WARNING: Objects not found in program dir "/usr/share/simutrans/"!
2. I copy folder with game to /usr/share/simutrans/ and this one WARNING disappere.
[kacper@archlinux paksets]$ simutrans
WARNING: Objects not found in program dir "/usr/bin"!
FATAL ERROR: gui_theme_t::init_gui_themes - Wrong theme loaded
Aborting program execution ...

For help with this error or to file a bug report please see the Simutrans forum at
https://forum.simutrans.com
dr_fatal_notify: ERROR: FATAL ERROR: gui_theme_t::init_gui_themes - Wrong theme loaded
Aborting program execution ...

For help with this error or to file a bug report please see the Simutrans forum at
https://forum.simutrans.com
3. Last time when I use simutrans(but now don't remeber I instali it from pacman or flatpak :( ) I useed pak192.comic and by hand copy this pak from flatpak to pacman and don't resolwe issue.

Few days ago I cleaned ROOT partytion but HOME I don't changeed, maybe there is some file with some setup but I can't find them. (Or I don't instaled it by pacman, i dont remember)