Save game size reduction

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Message
Author
User avatar
Cjkjvfnby
AI Contributor
Posts: 539
Joined: Tue Jun 24, 2014 9:55 pm

Re: Save game size reduction

#31 Post by Cjkjvfnby »

Geoff the Medio wrote: Sun Sep 19, 2021 3:19 pm But a case of just 3 visibility levels, the map probably is not really beneficial, you're right. If you're really keen on switching it, we can, but I wouldn't prioritize it otherwise.
These are just optimization suggestions. We have a problem and I try to brainstorm the solution. Then you start digging something sooner or later you will get some results.

I think the most perspective is replacing base64 with the zip archive. It is relatively easy to implement (a small number of modules affected). This will simplify code (we could always zip, because it's easy to unpack, so no need to maintain 2 savegame versions).

But these are only my thoughts, based on a lack of knowledge on how C++ code should be optimized.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

Post Reply