Hugo: Magic in the Trollwoods Pak files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
ModiNannaModder
Posts: 4
Joined: Sat Dec 01, 2018 10:21 am

Hugo: Magic in the Trollwoods Pak files

Post by ModiNannaModder »

So I found this obscure Hugo game and it seems to use pak files (that of course no script is compatible with and DragonUnpacker also isn't the best for it) and I was wondering if someone could help me make a script for it.
Here's a link with 3 files from that game:
https://mega.nz/folder/WsFhxCYD#EH2N41IufU1vrl_G1Abvzg
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Hugo: Magic in the Trollwoods Pak files

Post by Ekey »

Code: Select all

# Hugo: Magic in the Trollwoods (PAK) format
# script for QuickBMS http://quickbms.aluigi.org

get VERSION long #1
get DATA_OFF long
get FILES long

for i = 0 < FILES
  get SIZE long
  get NAME_OFF long
  get OFFSET long
  savepos TMP
  goto NAME_OFF
  get NAME string
  log NAME OFFSET SIZE
  goto TMP
next i