The International Simutrans Forum

Information and Announcements => Information & Announcements => Topic started by: prissi on September 12, 2013, 10:05:21 PM

Title: Nightly above r6701 require a theme
Post by: prissi on September 12, 2013, 10:05:21 PM
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.
Title: Re: Nightly above r6701 require a theme
Post by: Dwachs on September 14, 2013, 08:54:09 AM
I took the freedom to add default files with r6710, the default skin was in the repository as well.
Title: Re: Nightly above r6701 require a theme
Post by: Iluvalar on September 19, 2014, 08:02:19 PM
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 (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 ?
Title: Re: Nightly above r6701 require a theme
Post by: An_dz on September 20, 2014, 01:07:36 AM
You posted the exact same error message, so don't seem we can really help.
Title: Re: Nightly above r6701 require a theme
Post by: Iluvalar on September 20, 2014, 01:55:42 AM
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.
Title: Re: Nightly above r6701 require a theme
Post by: An_dz on September 21, 2014, 03:15:22 AM
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 (http://nightly.simutrans-germany.com/) just download from the right box (incl. history, log and DLLs as zip). It includes all needed files, like the themes.
Title: Re: Nightly above r6701 require a theme
Post by: Iluvalar on September 21, 2014, 04:40:49 PM
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 (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.
Title: Re: Nightly above r6701 require a theme
Post by: Ters on September 21, 2014, 05:30:43 PM
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.
Title: Re: Nightly above r6701 require a theme
Post by: Isaac Eiland-Hall on October 11, 2014, 09:07:30 AM
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. :(
Title: Re: Nightly above r6701 require a theme
Post by: Ters on October 11, 2014, 10:29:41 AM
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.
Title: Re: Nightly above r6701 require a theme
Post by: Isaac Eiland-Hall on October 12, 2014, 04:36:54 AM
I read that page a dozen times and managed to miss the header every time, else I wouldn't have asked. Sorry, and thanks :)
Title: Re: Nightly above r6701 require a theme
Post by: Ters on October 12, 2014, 08:35:05 AM
"Hidden in plain sight" isn't an idiom for nothing.
Title: Re: Nightly above r6701 require a theme
Post by: Isaac Eiland-Hall on November 21, 2014, 06:03:18 AM
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.
Title: Re: Nightly above r6701 require a theme
Post by: prissi on November 21, 2014, 10:06:48 PM
The only one on SF without themes was the Linux version (for whatever reason). The windows had already thems, same for mac.
Title: Re: Nightly above r6701 require a theme
Post by: Isaac Eiland-Hall on November 23, 2014, 03:35:49 AM
Ah, no love for Linux, I see how it is. ;-)
Title: Re: Nightly above r6701 require a theme
Post by: prissi on November 24, 2014, 10:18:56 PM
I am not sure why the distribute skript did not add them properly.