Custom expanded ruleset loads wrong, incompatible tileset and crashes

Contribute, display and discuss art and tilesets for use in Freeciv here.
vodot
Posts: 19
Joined: Thu May 17, 2018 4:54 pm

Custom expanded ruleset loads wrong, incompatible tileset and crashes

Postby vodot » Wed Jun 13, 2018 6:23 pm

(also posted in tech support, this can be deleted)
Hi all, I'm running the gtk3 client on ubuntu 16.04 (in a chroot, on a chromebook!) with a configure+make+run-in-place type of implementation (no make install). I'm trying to get my modded ruleset with extra units (and accompanying tileset) to run.

Here's what's happening:
- I run fcgui from the terminal
- I open client options and pick my compatible custom tileset (called "resplendent"), no errors
- I start a new game, then pick my custom ruleset (also called "resplendent") in the options
- I get an error saying that sprites for an extra unit cannot be found
- freeciv crashes

I verified that all the tags are correct. Using a default tag for the extra unit works. Then I noticed in the terminal output that freeciv is loading tileset "amplio2", then "resplendent"... and then inexplicably loading tileset "amplio2" again when I select my ruleset. Amplio2, of course, doesn't have my additional unit sprites, and I think that's what's throwing my error.

Is there a "default tileset" feature in rulesets that I'm missing? Why is it unloading my tileset and trying amplio2?
Last edited by vodot on Wed Jun 13, 2018 6:38 pm, edited 1 time in total.

vodot
Posts: 19
Joined: Thu May 17, 2018 4:54 pm

Re: Custom expanded ruleset loads wrong, incompatible tileset and crashes

Postby vodot » Wed Jun 13, 2018 6:30 pm

I should note that my tileset works fine when I use a different ruleset; it's when I try to load my ruleset that it switches back to amplio2 and crashes.

Hans Lemurson
Posts: 20
Joined: Mon Aug 22, 2016 10:25 pm

Re: Custom expanded ruleset loads wrong, incompatible tileset and crashes

Postby Hans Lemurson » Sat Jun 16, 2018 12:49 am

FreeCiv certainly loves to crash at the tiniest mis-configuration of tilesets...

As for Default Tilesets, I know that the "freeciv-client-rc-2.6" file in the .freeciv folder is where the GTK defaults are stored, and I had to manually edit my default tileset there once. I'm not sure what the file structure would be in Ubuntu though.
Hopefully if you can edit this and get it to load Resplendent first then it will stop crashing. Be aware that it seems to hold the default values for many different versions of gtk all at once.