what compression system is the game using?
Moderator: Moderators for English X Forum
-
- Posts: 8
- Joined: Mon, 23. Aug 21, 18:05
what compression system is the game using?
https://quixdb.github.io/squash-benchma ... ,lzma,zlib
looking at all different compression algorithms zstd is the best jack of all trade for size, speed, low overhead.
looking at all different compression algorithms zstd is the best jack of all trade for size, speed, low overhead.
Re: what compression system is the game using?
The compression is not the bottleneck in this game. Therefore, messing with it yields next to no gain.
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
Insanity included at no extra charge.
There is no Box. I am the sand.
Re: what compression system is the game using?
Saves are gzip, but the compression part is told to represent only a minor share of the whole process of writing the different gamestate parts first into memory and then into a savefile.
-
- Posts: 8
- Joined: Mon, 23. Aug 21, 18:05
Re: what compression system is the game using?
if u could shave of saving and loading time from 30 seconds to 10 seconds that would be great tho.
it seems like a simple fix rather than just multithread more bro
it seems like a simple fix rather than just multithread more bro
Re: what compression system is the game using?
It's already improved that much from what it was. 6.0 beta load time once again seems to improve from the previous versions. We are just paying the price for more dlcs added or longer playtime saves.alexbalex11 wrote: ↑Sat, 21. Jan 23, 16:01if u could shave of saving and loading time from 30 seconds to 10 seconds that would be great tho.
it seems like a simple fix rather than just multithread more bro
Everything simple has been done hundred times over at this point.
Last edited by magitsu on Sat, 21. Jan 23, 16:07, edited 1 time in total.
Re: what compression system is the game using?
OP, you don't seem to have read the previous replies. Compression and decompression form a negligible part of the saving and loading processes which, incidentally, are already multi-threaded. The way the threading works means that changing the compression algorithm would make approximately zero difference to the time.
Re: what compression system is the game using?
Have you tried turning off compression for savegames in the game settings altogether? And did you see any significant differences in loading times?alexbalex11 wrote: ↑Sat, 21. Jan 23, 16:01if u could shave of saving and loading time from 30 seconds to 10 seconds that would be great tho.
it seems like a simple fix rather than just multithread more bro
Surely skipping compression altogether would have the least impact on performance, no?
Code: Select all
Und wenn ein Forenbösewicht, was Ungezogenes spricht, dann hol' ich meinen Kaktus und der sticht sticht sticht.
/l、
゙(゚、 。 7
l、゙ ~ヽ /
じしf_, )ノ
Re: what compression system is the game using?
No. Again, threading means that it makes essentially no difference. That's why we've turned it on again by default for all those who had turned it off previously.
Re: what compression system is the game using?
Here's Bernd describing how X TECH 5 and save/load process is improved with 6.0.
https://youtu.be/mbfez5ljdE4?t=429
https://youtu.be/mbfez5ljdE4?t=429
Re: what compression system is the game using?
I get that but since X4 offers everyone to try out if there is a difference in a practical manner, they can see for themselves if their theory holds true. In case your word as a dev should not be trusted.
(And who knows, maybe it does make a difference in that particular case.)
Code: Select all
Und wenn ein Forenbösewicht, was Ungezogenes spricht, dann hol' ich meinen Kaktus und der sticht sticht sticht.
/l、
゙(゚、 。 7
l、゙ ~ヽ /
じしf_, )ノ
Re: what compression system is the game using?
If it does it surely has to do with a specific machine or configuration. If that is the case, nobody would expect Egosoft to put any dev time into configuring for certain configurations (even for mine aged but into specs computer).
Re: what compression system is the game using?
yes
Code: Select all
Und wenn ein Forenbösewicht, was Ungezogenes spricht, dann hol' ich meinen Kaktus und der sticht sticht sticht.
/l、
゙(゚、 。 7
l、゙ ~ヽ /
じしf_, )ノ
Re: what compression system is the game using?
IFalexbalex11 wrote: ↑Sat, 21. Jan 23, 16:01if u could shave of saving and loading time from 30 seconds to 10 seconds that would be great tho.
What if change of compression algorithm can shave off only 0.00001 seconds? It seems to be so in X4.
Add to that that other people/programs do read the savegames too. Would you help them to switch
their algorithms?
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
Insanity included at no extra charge.
There is no Box. I am the sand.