brotli

Programming related discussions related to game research
KumonMa
Posts: 4
Joined: Sat Jul 28, 2018 2:23 pm

brotli

Post by KumonMa »

I run the following script to get Error: the uncompressed data (-1) is bigger than the allocated buffer (1971).

I refer to an existing script to try to modify the output size, but still the same result.

Code: Select all

comtype brotli
get NAME filename
get SIZE asize
clog NAME 0 SIZE SIZE
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: brotli

Post by aluigi »

Because you have not parsed the format:

Code: Select all

comtype brotli
get NAME filename

endian big
idstring "BROTLI"
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
clog NAME OFFSET ZSIZE SIZE
KumonMa
Posts: 4
Joined: Sat Jul 28, 2018 2:23 pm

Re: brotli

Post by KumonMa »

thx you!Perfect work, this is a powerful tool, I think I should really study it.
LoganPanucat
Posts: 5
Joined: Fri Nov 23, 2018 1:26 am

Re: brotli

Post by LoganPanucat »

aluigi wrote:Because you have not parsed the format:

Code: Select all

comtype brotli
get NAME filename

endian big
idstring "BROTLI"
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
clog NAME OFFSET ZSIZE SIZE


[b]is this an visual studio or not??[b]
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: brotli

Post by aluigi »

That one is a script for QuickBMS.
LoganPanucat
Posts: 5
Joined: Fri Nov 23, 2018 1:26 am

Re: brotli

Post by LoganPanucat »

aluigi wrote:That one is a script for QuickBMS.

can you help me to make please ???