MegaGlest Forum

MegaGlest => Bug reports => Closed bug reports => Topic started by: titi on 7 February 2014, 00:12:15

Title: [(p) fixed] Default tilesets/settings are not used anymore ( git head )
Post by: titi on 7 February 2014, 00:12:15
git ( d2f321a2df841f05d4527ca428caaa85cfe3dcdc )

if you open a custom game now a random tileset is used instead of "autumn" .
Same problem if you go to "internet game" and open a server form there. Default should be desert2 not anything else.

For both cases were used 2 default files which were in MG base dir. Somehow they are no longer used.  I think because of the new way we use data in the development  environment. I only tried it with starting in mk/linux yet.

update: the two related files are :

data/defaultGameSetup.mgg
data/defaultNetworkGameSetup.mgg

Those are no longer used ( I bet not found anymore )
Title: Re: Default tilesets/settings are not used anymore ( git head )
Post by: softcoder on 8 February 2014, 00:24:55
The code for this was wrong, basically fully hard coded. That means for debian and ubuntu packages these files were also never found. All file access for data needs to use code that manages data paths, never hard code.