News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

Nightly above r6701 require a theme

Started by prissi, September 12, 2013, 10:05:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

prissi

Any nightly of 6702 or higher requires a folder themes/ in the program's directory. Just unpack the attached content of the zipfile into your program directory.

Dwachs

I took the freedom to add default files with r6710, the default skin was in the repository as well.
Parsley, sage, rosemary, and maggikraut.

Iluvalar

#2
Quote

FATAL ERROR: simmain() - No GUI themes found! Please re-install!
Was the error code I was getting before I did that. Tought it would be good to mention it for google...




Quote

FATAL ERROR: gui_theme_t::init_gui_themes - Wrong theme loaded
But now I got that new error.


I'm trying to follow http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=en_CompilingSimutrans wich also seem it could use a little update.


Can someone help me with that new error message ? What am I doing wrong ?

An_dz

You posted the exact same error message, so don't seem we can really help.

Iluvalar

oops
Quote

FATAL ERROR: gui_theme_t::init_gui_themes - Wrong theme loaded
Sorry about that, copy pasting is an art I don't seem to master yet.

An_dz

You're not using the themes provided by prissi in this post, are you? I'm afraid this version is outdated and might not work with the latest nightlies (r7000+)

If you're compiling Simutrans, the latest themes are available at /trunk/simutrans/themes/ and its sources at /trunk/themes.src/

If you're downloading from the nightlies website just download from the right box (incl. history, log and DLLs as zip). It includes all needed files, like the themes.

Iluvalar

I guess It worth relating the whole story now...


First I went to your download link. But I got that error :
Quote

./simutrans: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
So after a long research about that error I got that my best chance was to recompile de source instead. So I cloned using git and followed the instructions there.


http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=en_CompilingSimutrans


But I couldnt find the executable at the end. I learned by someone on IRC that doing


Quote
make clean
autoconf
./configure
make
Was much better and I finaly found the executable. This is where I got this error :


Quote
FATAL ERROR: simmain() - No GUI themes found! Please re-install!
Which I just solved now by copying /themes /text and /font from the from the nightly build download (in step one) into my git folders. It's now working.

I think the wiki page need a good update because it was quite a trip.

Everything work now.

Ters

Quote from: Iluvalar on September 21, 2014, 04:40:49 PM
Which I just solved now by copying /themes /text and /font from the from the nightly build download (in step one) into my git folders. It's now working.

I think it's better to copy the executable from the build directory to the directory where you unpacked the nightly. That way you can more safely clean the build directory of old stuff without also deleting the game.

Isaac Eiland-Hall

Related to this... I just noticed the pak128 half-height nightly, so I've tried to get it working. I'm having some problems, so I decided to completely start over.

I've gone to the nightly site, and downloaded an appropriate executable, and pak64 and pak128 nightlies, but the former only contains the exe, and the latter only contain the paksets. Where's the nightly download that includes the config/text/theme/etc files? I've scoured the nightly site and can't find it. I did find a broken link to report elsewhere, but not the correct download. :(

Ters

They are in plain sight on the right hand side of the nightly page, although the heading for that column is somewhat of an understatement.

Isaac Eiland-Hall

I read that page a dozen times and managed to miss the header every time, else I wouldn't have asked. Sorry, and thanks :)

Ters

"Hidden in plain sight" isn't an idiom for nothing.

Isaac Eiland-Hall

Just downloaded 120.0.1 via simutrans.com links. No themes folder. Downloaded one from the latest nightly and that seems to work so far.

prissi

The only one on SF without themes was the Linux version (for whatever reason). The windows had already thems, same for mac.

Isaac Eiland-Hall

Ah, no love for Linux, I see how it is. ;-)

prissi

I am not sure why the distribute skript did not add them properly.