|
#1
|
|||
|
|||
|
LZ_Scan
LZ_Scan is a small scripted utility that consist of several tools and is primarily based on Razor's xtool. It is a reliable alternative to GFS(Game File Scan). Output size difference in this tool will be exactly what you get when using xtool on game data with same settings. It is also more stable than GFS. I posted it once somewhere, now I decided to update script and post it in its own thread. Supported formats are same as: zlib/deflate, lz4, lzo, zstd, crilayla as well as unreal and unity engines.
Usage(for 'other codecs'): Run .bat file, type one of available codecs(z-xxx is based on ztool, x-xxx is based on xtool), enter extra parameters or skip with ENTER, enter file or directory path to scan, wait for finish, compare size differences. Remember you can use file masks to scan only specific files, eg: "C:\gamefolder\*.pak" EDIT2: New update. Include uelr(Unreal decmp tool) and AFR(Anvil forge decmp tool). These however write temporarily to disk within lz_scan directory(therefore consider where to place it). AFR only need input file as output is written into NULL, because it display all necessary info on its own. Uelr need both input and output tmp file for lz_scan to be able to measure size differences. Temp files are automatically deleted. EDIT3: Updated to include latest version of xtool(v0.4.4). This version contain additional batch scripts you can use to test lz4, zstd and oodle on all levels, methods and libraries included. For example: Code:
test_lz4.bat file.ext In case of zstd, all libs will be tested as well. In case of lz4, again all libs will be tested in both standard and lz4hc mode. Additional libraries can be copied and added to batch script. Included ones are all that were available on github in compiled dll form(for both lz4 and zstd). In fact, with these codecs this is now the recommended method to find out compression, default .bat is mainly for zlib/deflate/crilayla or specific engines. EDIT4: New and rewamped version! Lot of changes. This version make it easier to figure out compression with support of deep scan based on xtool's 'verbose' command and default scanner. Contain ALL available zstd and lz4 libraries(I compiled missing ones myself) from github to this day! Readme.txt will keep track of version and info, I decided to reset this to v1.0 despite previously releasing higher number for many reasons. EDIT5: New version 1.1, fixes x-lzo in cli script and add 'deepscan' script for it. lz_scan_v1.1.7z Last edited by elit; 18-03-2022 at 04:32. |
| The Following 24 Users Say Thank You to elit For This Useful Post: | ||
-NORO- (14-01-2018), 78372 (13-01-2018), BLACKFIRE69 (12-09-2019), Cesar82 (17-03-2022), COPyCAT (24-01-2018), dixen (07-07-2019), doofoo24 (13-01-2018), EzzEldin16 (14-01-2018), ffmla (15-01-2018), Jiva newstone (13-01-2018), KaktoR (15-02-2018), kj911 (03-01-2025), L0v3craft (30-08-2018), MagixZ (06-08-2019), nickwazhere2012 (14-01-2018), oltjon (13-01-2018), PsYcHo_RaGE (09-07-2019), rambohazard (13-01-2018), ramydarkness (19-03-2022), ScOOt3r (13-03-2022), shazzla (14-01-2018), Simorq (13-01-2018), vint56 (14-01-2018), Vladislav989 (17-12-2024) | ||
| Sponsored Links |
|
|