File Compression Question

Doubts, help and support about QuickBMS and other game research tools
TheOneWolf
Posts: 2
Joined: Fri May 05, 2017 9:06 pm

File Compression Question

Post by TheOneWolf »

So I'm doing some Text editing for an android game and I'm getting over the QuickBMS's file size limit.
The original file is:
66723 (175kb uncompressed)

New file:
93144 (90kb compressed)

Is there a way I can get BMS to compress it more so I can continue translating?
Last edited by TheOneWolf on Mon May 08, 2017 6:15 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: File Compression Question

Post by aluigi »

It's better if you copy&paste the exact output of quickbms because the sizes you pasted there don't have sense.

Quickbms already uses the maximum setting for all the compression algorithms, but exist N implementations of the same algorithm (zlib/deflate is the most diffused one) and so these problems are common.
The rule is simple, your uncompressed and compressed file must be <= than the original, both the sizes must follow this rule and not just one.
TheOneWolf
Posts: 2
Joined: Fri May 05, 2017 9:06 pm

Re: File Compression Question

Post by TheOneWolf »

Image

I know the New and old size are different, but I don't see how that should conflict when uncompressed is vastly different.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: File Compression Question

Post by aluigi »

For the reimporting mechanism, the compressed size is a problem because it's the amount of bytes that will occupy the space left by the original bytes.
The reasons behind the bigger compressed size even if the uncompressed is much smaller can be many, usually entropy, settings of the compression algorithm and implementation of the algorithm.