FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   LZSS Re-compression query (https://fileforums.com/showthread.php?t=105104)

L33THAK0R 13-05-2022 18:39

LZSS Re-compression query
 
Hi all,

thought I'd make a thread for this given its a bit of a broader topic that exists outside of a singular title, does anyone know anything about LZSS re-compression, in essence is it a universal algorithm or could results vary across older/newer versions of the algorithm, when applied to a given sample? Given we have access to open source repos for this algorithm, I'm more than willing to try and create an external library for use with xtool, given Razor has kindly put together the documentation to enable such projects, but thought I'd ask around for some per-liminary information before I attempt such a feat, just in case I'm way out of my depth here.

Razor12911 13-05-2022 21:49

https://fileforums.com/showpost.php?...&postcount=485

Code:

[cpk,snappy,rfpk,lzss]
// http://aluigi.altervista.org/papers/quickbms.txt
Encode=quickbms.exe -s "comtype <codec>; clog <fileout> 0 <insize> <outsize>" "" <filein>
Decode=quickbms.exe -s "comtype <codec>_COMPRESS; clog <fileout> 0 <insize> <outsize>" "" <filein>

You can try using lzss from quickbms.exe to see if what you're trying to do works.

L33THAK0R 14-05-2022 07:25

Quote:

Originally Posted by Razor12911 (Post 496799)
https://fileforums.com/showpost.php?...&postcount=485

Code:

[cpk,snappy,rfpk,lzss]
// http://aluigi.altervista.org/papers/quickbms.txt
Encode=quickbms.exe -s "comtype <codec>; clog <fileout> 0 <insize> <outsize>" "" <filein>
Decode=quickbms.exe -s "comtype <codec>_COMPRESS; clog <fileout> 0 <insize> <outsize>" "" <filein>

You can try using lzss from quickbms.exe to see if what you're trying to do works.

Oy vey, I keep forgetting about your work with QuickBMS under XTool (or vice versa however it works), I'll give this a shot on the next title I look into, thankfully for my current curiosity ("Medal of Honor: Pacific Assault"), its relatively easy to get the title to recognise loose files. :o


All times are GMT -7. The time now is 02:03.

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