View Single Post
  #7  
Old 23-12-2020, 02:16
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,404 Times in 637 Posts
Masquerade is on a distinguished road
OK so I'd like to start by apologising to you for denying the use of xtool zlib, this is the first UE3 game I've seen use zlib on tfc/upk archives:

Code:
SAMPLE - xzlib

Compressed 24 files, 1,926,995,396 => 7,144,830,307 bytes. Ratio 370.78%
Compression time: cpu 1.89 sec/real 94.48 sec = 2%. Speed 20.40 mB/s
All OK
With that established, I have tagged below a sample compressor that will allow you to make an archive compatible with the ASIS script (I recommend using compact mode)

How to use:
  1. Download the below 7z, extract it
  2. Put your rocket league game folder in to In folder
  3. Run the bat
  4. Inside the bat, type:
    Code:
    xprecomp+srep+lolz/$wem=srep+pmt_razor
  5. Wait until done!

Compression method explanation:

xprecomp = xtool, configured for zlib.

srep+lolz - srep to remove duplicates and lolz for main compressor. If you want to use lzma2, swap lolz for "7z".

What does $wem mean?


This is a mask, and masks are a way of using multiple compression methods in one archive.

Each mask (and the file types included by it) is included in arc.groups.

This allows the main data to be compressed with xtool,srep,lolz then the audio gets compressed with srep,razor(pmt).

PMT is a chunk based accelerator for slow compressors like mtx, but ASIS doesn't have MTX yet, so PMT is what to use.

Because PMT is chunk based, we run srep beforehand to catch duplicates.

You can define a mask using the arc.groups file, and the grouping must begin with $groupname:

Code:
Example:

$help
*.bin
*.blob
This means you can separate off bin and blob files using the /$help identifier in your method.

If that's a bit confusing, I'm sorry!
Attached Files
File Type: 7z Simple.Compressor.7z (3.14 MB, 39 views)
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
rishikrap (23-12-2020)