Reduce size of campaign savegames

Bug #1303669 reported by Tino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Wishlist
Unassigned

Bug Description

Doing a save in the atlantean campaign results in in a 3MB compressed, 17MB uncompressed savegame.
Because the game itself does a save after reaching each mission target there is a noticable lag each time (~20 secs on my laptop, no SSD here).

I am not sure, what each file contains, but the biggest one is cmd_queue.

List of files and sizes:

Verzeichnis von .

07.04.2014 10:59 6.686 minimap.png
07.04.2014 10:59 228 preload
07.04.2014 11:02 0 listing.txt
07.04.2014 11:00 <DIR> map
07.04.2014 11:00 <DIR> binary
07.04.2014 11:02 <DIR> ..
07.04.2014 11:02 <DIR> .
               3 Datei(en), 6.914 Bytes

 Verzeichnis von .\binary

07.04.2014 10:59 13.167.709 cmd_queue
07.04.2014 10:59 2.270 player_info
07.04.2014 10:59 44 player_economies
07.04.2014 10:59 11 interactive_player
07.04.2014 10:59 8 game_class
07.04.2014 11:00 <DIR> ..
07.04.2014 11:00 <DIR> .
               5 Datei(en), 13.170.042 Bytes

 Verzeichnis von .\map

07.04.2014 10:59 1.102 allowed_building_types
07.04.2014 10:59 1.084 objective
07.04.2014 10:59 357 elemental
07.04.2014 10:59 254 version
07.04.2014 10:59 160 player_names
07.04.2014 10:59 152 port_spaces
07.04.2014 10:59 109 player_position
07.04.2014 10:59 91 extra_data
07.04.2014 11:00 <DIR> player
07.04.2014 11:00 <DIR> pics
07.04.2014 11:00 <DIR> ..
07.04.2014 11:00 <DIR> binary
07.04.2014 11:00 <DIR> scripting
07.04.2014 11:00 <DIR> .
               8 Datei(en), 3.309 Bytes

 Verzeichnis von .\map\binary

07.04.2014 10:59 112.642 exploration
07.04.2014 10:59 84.529 resource
07.04.2014 10:59 74.809 mapobjects
07.04.2014 10:59 56.469 terrain
07.04.2014 10:59 28.230 building
07.04.2014 10:59 28.177 flag
07.04.2014 10:59 28.162 heights
07.04.2014 10:59 28.162 node_ownership
07.04.2014 10:59 1.613 building_data
07.04.2014 10:59 140 flag_data
07.04.2014 10:59 6 road
07.04.2014 11:00 <DIR> .
07.04.2014 11:00 <DIR> ..
              11 Datei(en), 442.939 Bytes

 Verzeichnis von .\map\pics

07.04.2014 10:59 516.393 everythinglost.jpg
07.04.2014 10:59 48.620 sidolus.png
07.04.2014 10:59 38.772 princess.png
07.04.2014 10:59 38.030 loftomor.png
07.04.2014 10:59 31.446 colionder.png
07.04.2014 10:59 31.105 opol.png
07.04.2014 10:59 28.788 ostur.png
07.04.2014 11:00 <DIR> .
07.04.2014 11:00 <DIR> ..
               7 Datei(en), 733.154 Bytes

 Verzeichnis von .\map\player

07.04.2014 11:00 <DIR> ..
07.04.2014 11:00 <DIR> 1
07.04.2014 11:00 <DIR> .
               0 Datei(en), 0 Bytes

 Verzeichnis von .\map\player\1

07.04.2014 10:59 912 messages
07.04.2014 11:00 <DIR> ..
07.04.2014 11:00 <DIR> view
07.04.2014 11:00 <DIR> .
               1 Datei(en), 912 Bytes

 Verzeichnis von .\map\player\1\view

07.04.2014 10:59 112.640 vision_1
07.04.2014 10:59 4.012 surveys_2
07.04.2014 10:59 0 border_1
07.04.2014 10:59 0 node_immovables_2
07.04.2014 10:59 0 node_immovable_kinds_2
07.04.2014 10:59 0 owners_0
07.04.2014 10:59 0 roads_2
07.04.2014 11:00 <DIR> ..
07.04.2014 10:59 0 survey_amounts_2
07.04.2014 10:59 0 survey_times_1
07.04.2014 10:59 0 terrains_2
07.04.2014 10:59 0 triangle_immovables_2
07.04.2014 10:59 0 triangle_immovable_kinds_2
07.04.2014 10:59 0 unseen_times_1
07.04.2014 11:00 <DIR> .
              13 Datei(en), 116.652 Bytes

 Verzeichnis von .\map\scripting

07.04.2014 10:59 3.288.473 globals.dump
07.04.2014 10:59 26.473 texts.lua
07.04.2014 10:59 8.232 init.lua
07.04.2014 10:59 5.403 water_rising.lua
07.04.2014 11:00 <DIR> ..
07.04.2014 11:00 <DIR> .
               4 Datei(en), 3.328.581 Bytes

     Anzahl der angezeigten Dateien:
              52 Datei(en), 17.802.503 Bytes

Related branches

Tino (tino79)
Changed in widelands:
importance: Undecided → Wishlist
Revision history for this message
SirVer (sirver) wrote :

With the fix of bug 1311244 this is also much less of a problem. A save of the atlantean mission is now 3MB uncompressed and 1 MB compressed on my system. Save times should also be much reduced.

I consider this fix committed with this. If you disagree, feel free to reopen.

Changed in widelands:
status: New → Fix Committed
milestone: none → build19-rc1
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.