Goronmon@lemmy.world to Games@lemmy.worldEnglish · edit-22 years agoGOG will delete cloud saves more than 200MB per game after August 31stsupport.gog.comexternal-linkmessage-square8fedilinkarrow-up10
arrow-up10external-linkGOG will delete cloud saves more than 200MB per game after August 31stsupport.gog.comGoronmon@lemmy.world to Games@lemmy.worldEnglish · edit-22 years agomessage-square8fedilink
minus-squarevithigar@lemmy.calinkfedilinkEnglisharrow-up0·2 years agoBold of you to assume the data in save files is packed binary and not something like JSON where { “x”: 13872, “y”: -17312, “z”: -20170 } requires 40 bytes of storage.
minus-squareaddie@feddit.uklinkfedilinkEnglisharrow-up0·2 years agoAgreed. JSON solves: the ‘versioning’ problem, where the data fields change after an update. That’s a nightmare on packed binary; need to write so much code to handle it. makes debugging persistence issues easy for developers very fast libraries exist for reading and writing it actually compresses pretty damn well; you can pass the compress + write to a background thread once you’ve done the fast serialisation, anyway. For saving games, JSON+gzip is such a good combination that I’d probably never consider anything else.
Bold of you to assume the data in save files is packed binary and not something like JSON where { “x”: 13872, “y”: -17312, “z”: -20170 } requires 40 bytes of storage.
Agreed. JSON solves:
For saving games, JSON+gzip is such a good combination that I’d probably never consider anything else.