Xanadu Next .arc .dir

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Xanadu Next .arc .dir

Post by makc_ar »

Game: http://store.steampowered.com/app/312560
Image

Falcom Data Archive Conversion Tool http://www.pokanchan.jp/dokuwiki/softwa ... nvrt/start unpacked archives, but how to packing?
Example .arc .dir: https://mega.nz/#!0kg3HDLQ!yLGwmvgk9GhU ... U1eeR2eCQ4
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Xanadu Next .arc .dir

Post by Ekey »

Code: Select all

# Xanadu Next (ARC/DIR format)
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

open FDDE "dir" 0
open FDDE "arc" 1

goto -4
get FILES long
goto 0

math OFFSET = 0
for i = 0 < FILES
   getdstring NAME 0x64
   get SIZE long
   get DUMMY long # 0 / 1 > compression flag?
   log NAME OFFSET SIZE 1
   math OFFSET += SIZE
next i
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Xanadu Next .arc .dir

Post by makc_ar »

Thanks Ekey.