Page 1 of 1

Mobile Suit Gundam Battle Operation (PS3) (arb)

Posted: Sat Jun 30, 2012 8:26 pm
by chrrox
http://pgdp.channel.or.jp/gundam/ps3/

Code: Select all

#quickbms script by chrrox
#Mobile Suit Gundam Battle Operation
endian big
getdstring magic 8
get files short
get unk1 short
get unk2 long
savepos ftbl
for i = 0 < files
goto ftbl
get offset long
math offset + 0x19800
get size long
get null long
get secsize short
get nsize short
savepos tmp
get null byte
if null != 0
goto tmp
endif
getdstring name nsize
math ftbl + secsize
log name offset size
next i

Re: Mobile Suit Gundam Battle Operation (PS3) (arb)

Posted: Tue Jul 03, 2012 7:18 pm
by youngmark
Image
Help me how to unpack fpk file.

Code: Select all

6D 65 64 69 61 66 69 72 65 2E 63 6F 6D 2F 3F 36 61 68 6E 68 78 37 30 78 34 7A 71 64 72 33

Re: Mobile Suit Gundam Battle Operation (PS3) (arb)

Posted: Wed Jul 04, 2012 6:02 am
by howfie
Data looks really strange. It doesn't look compressed or encrypted... looks like archive starts at XMB section but there's a bunch of data at the top of that. look easy to you chrrox? hmmm where have I heard of xmb before....?

Re: Mobile Suit Gundam Battle Operation (PS3) (arb)

Posted: Wed Jul 04, 2012 3:43 pm
by youngmark
Everything just seems so strange.

Re: Mobile Suit Gundam Battle Operation (PS3) (arb)

Posted: Wed Jul 04, 2012 3:45 pm
by chrrox
i do not have the game to look at it someone just sent me a cut section from the file and i made the extractor.

Re: Mobile Suit Gundam Battle Operation (PS3) (arb)

Posted: Sun Jul 08, 2012 12:00 am
by aluigi
for the BfPk files I have an experimental script.
translated: it works for extracting some files, then something with the offset becomes wrong.

Code: Select all

endian big
idstring "BfPk"
get DUMMY short
get OFFSET short
get FILES short
get DUMMY byte
get DUMMY short
math OFFSET += 1
math OFFSET *= 0x800

for i = 0 < FILES
    savepos MYOFF
    get ENTRYSZ short
    reverseshort ENTRYSZ
    get NAMESZ short
    reverseshort NAMESZ
    getdstring NAME NAMESZ
    math MYOFF += ENTRYSZ
    math MYOFF -= 13
    goto MYOFF
    get CRC long
    get SIZE long
    get DUMMY long
    get DUMMY byte

    if NAME != ""
        math OFFSET x= 0x800
        log NAME OFFSET SIZE
        math OFFSET += SIZE
    endif
next i

Re: Mobile Suit Gundam Battle Operation (PS3) (arb)

Posted: Thu Aug 23, 2012 8:23 am
by youngmark
Image
I extracted some file half-manually.
The epk file includes XMB.

Code: Select all

68 74 74 70 3A 2F 2F 77 77 77 2E 6D 65 64 69 61 66 69 72 65 2E 63 6F 6D 2F 3F 66 74 62 36 66 31 76 74 6E 64 32 76 39 68 32

Re: Mobile Suit Gundam Battle Operation (PS3) (arb)

Posted: Thu Aug 23, 2012 4:56 pm
by Ekey
Send any EPK

Re: Mobile Suit Gundam Battle Operation (PS3) (arb)

Posted: Thu Aug 23, 2012 7:05 pm
by youngmark
Image
I need a little help.
How to decompress a ZLBB compression.

Code: Select all

6D 65 64 69 61 66 69 72 65 2E 63 6F 6D 2F 3F 6B 67 71 33 75 64 74 6B 31 34 39 78 73 78 70
Open with Hex Editor.

Re: Mobile Suit Gundam Battle Operation (PS3) (arb)

Posted: Thu Aug 23, 2012 8:18 pm
by fatduck
for ZLBB header

Code: Select all

# Game: Mobile Suit Gundam Battle Operation [PS3/PSN]
# by Fatduck     Aug 2012
# http://aluigi.org/quickbms.htm

idstring "ZLBB"
endian big

get BLKSIZE long
get NUMPART long
get UKN long
get DATASTART long
get PACKSIZE long
get UNPACKSIZE long

goto 0x40
log MEMORY_FILE 0 0

comtype UNZIP_DYNAMIC

for i = 0 < NUMPART
   get CPARTSIZE word
   get DMY short
   get OFSPART long
   append 
   clog MEMORY_FILE OFSPART CPARTSIZE BLKSIZE
   append
next i

get USIZE asize MEMORY_FILE
get RESNAME FILENAME
log RESNAME 0 USIZE MEMORY_FILE
for epk/fpk

Code: Select all

# Game: Mobile Suit Gundam Battle Operation [PS3/PSN]
# by Fatduck     Aug 2012
# http://aluigi.org/quickbms.htm

idstring "FPK\0"
endian big
get NUMRES long
get OFSIDX long
get OFSDATA long
goto OFSIDX
for i = 0 < NUMRES
   getdstring RESNAME 0x40
   get OFSRES long
   get LENRES long
   get BLKRES long
   get NULL long   
   math OFSRES += OFSDATA
   log RESNAME OFSRES LENRES
next i

Re: Mobile Suit Gundam Battle Operation (PS3) (arb)

Posted: Fri Aug 24, 2012 7:39 am
by youngmark
fatduck wrote:for ZLBB header

Code: Select all

# Game: Mobile Suit Gundam Battle Operation [PS3/PSN]
# by Fatduck     Aug 2012
# http://aluigi.org/quickbms.htm

idstring "ZLBB"
endian big

get BLKSIZE long
get NUMPART long
get UKN long
get DATASTART long
get PACKSIZE long
get UNPACKSIZE long

goto 0x40
log MEMORY_FILE 0 0

comtype UNZIP_DYNAMIC

for i = 0 < NUMPART
   get CPARTSIZE word
   get DMY short
   get OFSPART long
   append 
   clog MEMORY_FILE OFSPART CPARTSIZE BLKSIZE
   append
next i

get USIZE asize MEMORY_FILE
get RESNAME FILENAME
log RESNAME 0 USIZE MEMORY_FILE
for epk/fpk

Code: Select all

# Game: Mobile Suit Gundam Battle Operation [PS3/PSN]
# by Fatduck     Aug 2012
# http://aluigi.org/quickbms.htm

idstring "FPK\0"
endian big
get NUMRES long
get OFSIDX long
get OFSDATA long
goto OFSIDX
for i = 0 < NUMRES
   getdstring RESNAME 0x40
   get OFSRES long
   get LENRES long
   get BLKRES long
   get NULL long   
   math OFSRES += OFSDATA
   log RESNAME OFSRES LENRES
next i
Thanks, fatduck