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.

Various game archives

Featured Replies

  • Author
  • Localization

einstein95, posted Mon Oct 19, 2015 2:49 pm (8641)


Code:
# extracts the *.TPK archives from "Criminal Girls"
# (c) 2015-02-03 by Einstein95 of just about everywhere
# script for QuickBMS http://quickbms.aluigi.org

get FILEZ long
for i = 0 < FILEZ
    get OFFSET long
    getdstring NAME 0x1C
    savepos T
    get SIZE long
    if SIZE == 0
        get SIZE asize
    endif
    math SIZE - OFFSET
    log NAME OFFSET SIZE
    goto T
next i


Probably has been done before, just wasn't on the Zentax Wiki.
Code:
# extracts the *.far archives from "The Sims (PC)"
# (c) 2015-01-25 by Einstein95 of just about everywhere
# script for QuickBMS http://quickbms.aluigi.org

idstring FAR!byAZ
get VER long
get DIR long
goto DIR
get FILEZ long
for i = 0 < FILEZ
    get SIZE long
    get SIZEC long
    get OFFSET long
    get NAMELEN long
    getdstring NAME NAMELEN
    log NAME OFFSET SIZE
next i


DQ7 (3DS)
Code:
# extracts the *.fpt archives from "Dragon Quest 7"
# (c) 2015-01-14 by Einstein95 of just about everywhere
# script for QuickBMS http://quickbms.aluigi.org

idstring FPT0
get NULL long
get FILES long
get unk long
set FILEZ 0x20
math FILEZ * FILES
math FILEZ 0x50 # account for the header and 0x40 gap between the table and data

for i = 0 < FILES
    getdstring NAME 0x10
    get CRC long
    get OFFSET long
    get SIZE long
    get NULL long
    math OFFSET FILEZ
    log NAME OFFSET SIZE
next i


My first script
Code:
# extracts the *.DAT archives from "Fable" (PC, 1996)
# (c) 2013-10-10 by Einstein95 of just about everywhere
# script for QuickBMS http://quickbms.aluigi.org

idstring "ARC1"
get FILEZ int
for i = 0 < FILEZ
    getdstring NAME 0xE
    get OFFSET long
    get SIZE long
    log NAME OFFSET SIZE
next i


Manhole (DOS) BLK files
Code:
get NULL short
get FILEZ long
idstring "FLEX"
for i = 0 < FILEZ
   get OFF long
   get NULL long
   get SIZE long
   log "" OFF SIZE
next i


Gyakuten Saiban 2 (PC) LINK files
Code:
idstring "LINK"
get FILEZ long
for i = 0 < FILEZ
   getdstring NAME 0x40
   set NAME unicode NAME
   get OFFSET long
   get SIZE long
   log NAME OFFSET SIZE
next i


Satyr (PC-98) DLB install files
Code:
idstring "<< dlb file Ver1.00>>"
get NULL byte
get FILEZ short
for i = 0 < FILEZ
    getdstring NAME 0xD
    get OFF long
    get SIZE long
    log NAME OFF SIZE
next i


Metal Slug Anthology (PSP) POD files
Code:
idstring POD3
goto 0x58
get NUMFILES long
goto 0x108
get FILETBL long
goto 0x110
get NAMETBLS long
set NAMETBL NUMFILES
math NAMETBL * 0x14    # size of FILETBL
math NAMETBL FILETBL # therefore the offset of NAMETBL
goto FILETBL
for i = 0 < NUMFILES
    get NAMEOFF long
    get SIZE long
    get OFF long
    savepos TEMP1
    math TEMP1 0x8
    math NAMEOFF NAMETBL
    goto NAMEOFF
    get NAME string
    goto TEMP1
    log NAME OFF SIZE
next i


Game & Watch (DSiWare)
Code:
comtype LZ77WII
do
   get OFF long
   get SIZE long
   clog "" OFF SIZE SIZE
while OFF != 0


Applesauce Journey [??????? JOURNEY] (PC) MLK
Code:
get FILEZ byte
for i = 0 < FILEZ
   get UNK byte
   get OFF long
   get SIZE long
   log "" OFF SIZE
next i


Ore wa Shoujo Mangaka (????????) (PSP)
Code:
open FDDE "idx" 0
open FDDE "pak" 1
get FILES asize 0
math FILES / 24
for i = 0 < FILES
    get DUMMY long #crc?
    get OFFSET long
    get SIZE long
    getdstring NAME 0xC
    log NAME OFFSET SIZE 1
next i
  • Author
  • Localization

aluigi, posted Mon Oct 19, 2015 5:28 pm (8649)


If you plan to make more of them or if you want to collect them in a thread everytime you make new ones, you can also use the Collection of tools section viewforum.php?f=17
AlphaTwentyThree made something similar on Xentax, with a thread in which he collects all his scripts.

Or the best alternative is hosting and indexing them on a website :)
  • Author
  • Localization

einstein95, posted Tue Oct 20, 2015 5:39 am (8662)


Ahh, thanks :)
If you want to move the thread that'll be cool.
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.