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.

Gmad-like extraction script (*.gma)

Featured Replies

  • Author
  • Localization

Acewell, posted Mon Jan 08, 2018 6:03 am (31396)


made a bms script for fun to try mimic the Gmad extractor program. :D
the script will decompress and extract the files from gma on the fly, only tested on a couple so far. :)
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

//Decompression
comtype lzma_dynamic
get ZSIZE asize
get FOLDER basename
clog memory_file 0 ZSIZE ZSIZE

//Extraction
idstring -1 "GMAD"
get FORMAT_VER byte -1
get STEAMID longlong -1
get TIMESTAMP longlong -1
get ZERO byte -1
getct ARC_NAME string 0x00 -1
getct DESCRIPTION string 0x00 -1
getct AUTHOR string 0x00 -1
get ADDON_VER long -1
for i
   get IDX long -1
   if IDX == 0
      break
   endif
   get NAME string -1
   get SIZE long -1
   get ZERO long -1
   get CRC_ long -1
   putarray 1 i NAME
   putarray 2 i SIZE
next i
savepos OFFSET -1
math FILES = i
for j = 0    getarray NAME 1 j
   getarray SIZE 2 j
   string NAME p "%s\%s" FOLDER NAME
   log NAME OFFSET SIZE -1
   math OFFSET SIZE
   goto OFFSET -1
next j
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.