FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   ZSTD precompressor (Side project) (https://fileforums.com/showthread.php?t=102599)

Razor12911 09-02-2019 08:27

ZSTD precompressor (Side project)
 
2 Attachment(s)
Hi guys, here's another tool and to be honest, I have no idea if this thing works properly, I don't have space on my PC and I don't want to start deleting stuff without proper inspection as to what is important and what isn't.

As you can see XD: Attachment 24086

Anyways enough about that, I did run a single test on the first 200mb of Resident Evil 2 of that massive pak file it has and this was the result:

Code:

Compressed 1 file, 209,715,200 => 390,911,469 bytes. Ratio 186.40%
Compression time: cpu 0.38 sec/real 10.11 sec = 4%. Speed 20.73 mB/s

Extracted 1 file, 390,911,469 => 209,715,200 bytes. Ratio 186.40%
Extraction time: cpu 0.63 sec/real 8.06 sec = 8%. Speed 26.03 mB/s

The final result is for you to find out.

doofoo24 09-02-2019 08:29

i guess it will work on other games with zstd...

Razor12911 09-02-2019 08:35

Quote:

Originally Posted by doofoo24 (Post 479419)
i guess it will work on other games with zstd...

As long as they have the necessary zstd headers for some zstd api functions to work because this is based completely on zstd functions, I didn't come up with custom functions like I did with oodle or workarounds or anything like that.

All should have the 0xfd2fb528 header, as a result. This shouldn't work on Mass Effect Andromeda because if I'm not mistake, that one has a header 0xfd2fb526 and I think different functions existed for that version.

Mini 09-02-2019 08:51

Resident Evil 2 files

Compressed 10 files, 24,055,058,672 => 34,897,791,943 bytes. Ratio 145.07%
Compression time: cpu 21.17 sec/real 637.74 sec = 3%. Speed 37.72 mB/s
All OK

KaktoR 09-02-2019 08:57

Mass Effect Andromeda

Code:

zstdrec
Compressed 1 file, 533,887,818 => 632,155,533 bytes. Ratio 118.41%
Compression time: cpu 0.59 sec/real 10.05 sec = 6%. Speed 53.14 mB/s
All OK

Extracted 1 file, 632,155,533 => 533,887,818 bytes. Ratio 118.41%
Extraction time: cpu 0.58 sec/real 5.64 sec = 10%. Speed 94.64 mB/s
All OK



XTool (t100p)
Compressed 1 file, 533,887,818 => 632,416,589 bytes. Ratio 118.45%
Compression time: cpu 0.50 sec/real 8.89 sec = 6%. Speed 60.05 mB/s
All OK

Extracted 1 file, 632,416,589 => 533,887,818 bytes. Ratio 118.45%
Extraction time: cpu 0.48 sec/real 7.55 sec = 6%. Speed 70.74 mB/s
All OK

Thanks razor!

Razor12911 09-02-2019 09:00

Quote:

Originally Posted by KaktoR (Post 479422)
Mass Effect Andromeda

Code:

zstdrec
Compressed 1 file, 533,887,818 => 632,155,533 bytes. Ratio 118.41%
Compression time: cpu 0.59 sec/real 10.05 sec = 6%. Speed 53.14 mB/s
All OK

Extracted 1 file, 632,155,533 => 533,887,818 bytes. Ratio 118.41%
Extraction time: cpu 0.58 sec/real 5.64 sec = 10%. Speed 94.64 mB/s
All OK



XTool (t100p)
Compressed 1 file, 533,887,818 => 632,416,589 bytes. Ratio 118.45%
Compression time: cpu 0.50 sec/real 8.89 sec = 6%. Speed 60.05 mB/s
All OK

Extracted 1 file, 632,416,589 => 533,887,818 bytes. Ratio 118.45%
Extraction time: cpu 0.48 sec/real 7.55 sec = 6%. Speed 70.74 mB/s
All OK

Thanks razor!

omg it works :D :D :D

Anyways, see you guys later... :)

darkwolves 09-02-2019 09:40

going to repack resident evil 2 with this and do a test install

felice2011 09-02-2019 12:29

Excellent Zee.

https://i.ibb.co/BwTvDSc/comp.png

https://i.ibb.co/1J6RRyV/De-comp.png

Now there is only test the whole file with the complete game.:D

FitGirl 09-02-2019 13:33

Finally! Thanks, Razor12911!

AHMED SAMI 09-02-2019 14:25

Thanks Razor12911

darkwolves 09-02-2019 19:01

Resident evil 2 Remake
 
zstdrec+srep+lolz
initial size 23 gb
repack size 15.7 gb
only ripped wallpapers
unpacks in 20 minutes on my pc
no errors unpacked on the first try and the game plays normally

nik1967 10-02-2019 10:24

Razor12911, thank you very much!
Like the above wrote
zstdrec+srep+lolz
initial size 23,3 gb
repack size 15.7 gb
unpacks in 13:07 minutes on my pc
no errors unpacked on the first try and the game plays normally
MD5 files are identical

panker1992 10-02-2019 11:29

any ideas how to unpack game files and pack them again ??

ZAZA4EVER 10-02-2019 12:10

Thanks Very Much Razor for Amazing Tool

GTX590 10-02-2019 13:30

Any chance that it works with Forza Horizon 4?


All times are GMT -7. The time now is 22:23.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com