Klonoa Door to Phantomile - .BIN

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Klonoa Door to Phantomile - .BIN

Post by AnonBaiter »

AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Klonoa Door to Phantomile - .BIN

Post by AnonBaiter »

Bump.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Klonoa Door to Phantomile - .BIN

Post by aluigi »

It's a mess.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Klonoa Door to Phantomile - .BIN

Post by AnonBaiter »

so i revived this thread because i attempted to figure out the whole .idx/.bin format
actually, it's kinda simple at first - if you know exactly what you're doing that is...

Code: Select all

open FDDE "idx" 0
open FDDE "bin" 1

get IDX_SIZE asize
idstring "FAdj0500"

/*
do
   get AAA1 short
   get AAA2 short
   if AAA2 == 0x8001
      savepos TMP1
      goto AAA1
      get INF1 long
      get INF2 long
      xmath INF2_01 "INF2 * 0x800"
      goto TMP1
   elif AAA2 == 0x800b
      # insert some genius solution here
   endif
while AAA2 == 0x800b || AAA2 == 0x8001
*/

/*
goto 0xd8
for
   get AAA1 long
   get AAA2 long
   if AAA1 == 1
      xmath AAA3 "AAA2 * 0x800"
      putarray 0 0 AAA3
      set FD1 long AAA1
      set FD2 long AAA2
   elif AAA1 == 2
      # insert some genius solution here
   endif
next
*/