Search found 6 matches
- Tue Jan 08, 2019 7:49 pm
- Forum: Programming
- Topic: Review save game Format
- Replies: 9
- Views: 7018
Re: Review save game Format
If it works and is still fast when loading header info for a directory full of saves, sounds good. Yep, it works and is still fast. I'm not sure whats the best way to prepare a test case. Maybe I could upload a large savegame somewhere - where? - , and whoever approves the PR could copy the file a ...
- Mon Jan 07, 2019 9:34 pm
- Forum: Programming
- Topic: Review save game Format
- Replies: 9
- Views: 7018
Re: Review save game Format
The issue was that zipped data, when wrapped in XML tags, didn't produce valid XML files. By restricting the characters used with base64, the resulting zipped data can be wrapped in XML tags and produce a valid XML string / file. Any cross-platform issues were probably just that some implementation...
- Mon Jan 07, 2019 9:02 pm
- Forum: Programming
- Topic: Review save game Format
- Replies: 9
- Views: 7018
Re: Review save game Format
I suppose gzip doesn't require full decompression. What if read decompressed stream until header ends? I second that. The test-implementation I am proposing does not uncompress the whole file when only reading metadata. It only uncompresses as much compressed blocks (of typically 32kb (https://www....
- Sat Jan 05, 2019 6:00 pm
- Forum: Programming
- Topic: Review save game Format
- Replies: 9
- Views: 7018
Review save game Format
I would like to reopen the discussions on the save game format (https://www.freeorion.org/forum/viewtopic.php?f=9&t=8577&p=66548&hilit=save+game+zlib#p66548) and here (https://www.freeorion.org/forum/viewtopic.php?f=9&t=4747) and possibly in other places as well. As it stands, I believe the current ...
- Sat Jan 05, 2019 5:09 pm
- Forum: Support
- Topic: Game's sloooooooow
- Replies: 4
- Views: 5210
Re: Game's sloooooooow
Yeah, that's what I meant, "Create binary save files". I guess I was lost in tech parlor.
- Thu Jan 03, 2019 8:30 pm
- Forum: Support
- Topic: Game's sloooooooow
- Replies: 4
- Views: 5210
Re: Game's sloooooooow
I just happen to have implemented a couple of improvements to the UI yesterday, including some significant performance boosts on the client and server side. I'm playing a 800 star system map, with 20 AIs. With the changes, to me, the UI still feels snappy after 250 turns. This includes changing my r...