News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

[solved]r2165 - Saved folder path on save/load window

Started by z9999, December 14, 2008, 08:18:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999

I don't know this is intended or not.
When I save a game without zipped, simutrans add "/" to folder path on save/load window like "pak/".
This has a little problem because list will be sorted by path name.

dataobj\loadsave.cc:96-

if(is_zipped()) {
gzprintf(fp, "%s%s%s\n", SAVEGAME_VERSION, "zip", this->pak_extension);
}
else {
fprintf(fp, "%s%s%s\n", SAVEGAME_VERSION, mode == binary ? "bin" : "", pak_extension);
}



   
zip => "this->pak_extension"
bin => "pak_extension"

prissi

Savegames without zip does not even load on my computer. Is under renovation/correction anyway.

wipi35

I also noticed that a game, saved in R2165 is about three times bigger than saved in R2150. (10,2 kB instead of 3,5 kB)

prissi

Well, but savegames of large maps are much small 30-60% smaller (like 2 insted of 6MB).

VS


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

prissi


VS


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

z9999