ZenHAX
https://zenhax.com/

Decompression in python
https://zenhax.com/viewtopic.php?f=11&t=14913
Page 1 of 1

Author:  yusuf2020 [ Mon Feb 22, 2021 12:13 pm ]
Post subject:  Decompression in python

Code:
clog "" OFFSET ZSIZE SIZE

This is the BMS code.
I guess this decompress the data

How can i do this in python ?
Also what does it do ?

Author:  aluigi [ Mon Feb 22, 2021 9:42 pm ]
Post subject:  Re: Decompression in python

What game and script?
Is there a comtype command?

Author:  yusuf2020 [ Tue Feb 23, 2021 9:18 am ]
Post subject:  Re: Decompression in python

It is nioh,
https://www.dosya.tc/server32/89s69x/ar ... 9.rar.html
this is archive
this is the bms
Code:
# Nioh (LNK)
# script for QuickBMS http://quickbms.aluigi.org

idstring "K300"
get ZERO long
get FILES longlong
get DUMMY longlong
get ALIGN longlong
for i = 0 < FILES
    get OFFSET longlong
    get ZSIZE longlong
    get SIZE longlong
    get ZIP longlong    # I have no compressed samples!
    if ZIP == 0
        log "" OFFSET SIZE
    else
        clog "" OFFSET ZSIZE SIZE # ?
    endif
next i

Author:  aluigi [ Tue Feb 23, 2021 9:51 am ]
Post subject:  Re: Decompression in python

It's the zlib compression, search on google: zlib decompress python

Author:  yusuf2020 [ Tue Feb 23, 2021 10:07 am ]
Post subject:  Re: Decompression in python

Thank you

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/