Message1941

Author salimiles
Recipients
Date 2011-11-08.01:50:33
Content
Currently game only loads ship files that are saved to 'map/', so in order to
load the ship file, you have to move it there. Probably by hand.

If you are saving to ~/.freedroid_rpg/, it means for some reason the game could
not write to "map/", meaning that you probably need to move it as super-user.

That is why I wrote the patch with several warnings about it saving to
~/.freedorid_rpg/ .



We could, of course, do the following on game load:
1) look an see if we have a local ship file saved to ~/.freedroid_rpg/ (e.g.
sprintf(map, "%s/%s", our_config_dir, "levels.dat"); if (access(map, R_OK)) {
prompt();}
2) if we have such a file, as the user if they want to use that one instead
3) if yes to both, load the local ship file

But I think that would be a separate patch (at the very least we would need to
have an OK/Cancel prompt, but we need one of those anyways).
History
Date User Action Args
2011-11-08 01:50:34salimilessetmessageid: <1320717034.09.0.0167924690398.issue520@freedroid.org>
2011-11-08 01:50:34salimileslinkissue520 messages
2011-11-08 01:50:33salimilescreate