Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Decompression in python

Featured Replies

  • Author
  • Localization

yusuf2020, posted Mon Feb 22, 2021 12:13 pm (62432)


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
  • Localization

aluigi, posted Mon Feb 22, 2021 9:42 pm (62440)


What game and script?
Is there a comtype command?
  • Author
  • Localization

yusuf2020, posted Tue Feb 23, 2021 9:18 am (62444)


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
  • Localization

aluigi, posted Tue Feb 23, 2021 9:51 am (62445)


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

yusuf2020, posted Tue Feb 23, 2021 10:07 am (62446)


Thank you
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.