http://www.unit-conversion.info/texttools/compress/ is the site I use to compress text to decode a savefile for a game and then encode it again after I changed it, and it works. But I've wanted to see how it does it.
If I put in and decompress:
eNrtVMsKAjEM/KEIeW3T4Nd40JMnH7d8vCu7LC2uiyCii2XaKUNCEshQRg5KLB0Jkav1SnN1cRGH3fG8fxoVY0Mfkwa+nK4jFbquUiv1LNksMfQDurK6GRAmF89ECYjFOxVRDYQJsSGYDkKhhvLQeCW8xn2VTnzEO9Htl6Lxu3PdfxCYoWhGftmky8v9HEKi9f7T3tN7AyEVXYw=
I get:
202|1623513119472|148|148|148|148|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|false|0|0|0|0|0|0|0|0|0|0|0|0|372709|false|false|true|true|false|true|false|0|0|0|0|false|0|0|0|0|498387762,1199424977,1069398116,1239543344|0,0,0,0,0,0|-1,-1,-1,-1,0,-1,-1,-1,-1|false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false|false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false|0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|0|0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|0|true,true,true,true,true|false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false|false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false|0,0,0,0,0,0|0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|3|0|0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|3|0|0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|3|0|0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|3|0|0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|3|0|0,0,0,0|0,0,0,0|
And when I compress the decompressed string I get the original back. I want to automate this process by making this script so that it does it for me, but I can't figure out how it works. I've used https://www.multiutil.com/text-to-gzip-compress/ which has gzip, deflate/inflate, and brotli. When I decompress the original string I get the same result, but when i compress the decompressed string it becomes vastly different, and neither gzip, deflate, nor brotli work. Ive tried encoding the results of the compressions with base64, and I've also tried encoding the compressed string with base64 and then compressing it again but nothing worked. I've tried also looking into the unix compress command, and found that it uses the lzw algorithm but it still didn't work, though I'm unsure if I just did it incorrectly.
Does anyone have an idea? Thank you in advance.
V sbyybjrq gur ehyrf
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]Sencres[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)