Page 1 of 1

Gintama Yorozuya

Posted: Tue Mar 16, 2010 6:59 pm
by Daimyo
Hello ,
I beg for help because even if it seem easy ,I wasn't able to extract and uncompress from this game with quickbms.
Here is two file from this game :
http://www.megafileupload.com/en/file/2 ... 0-rar.html

Re: Gintama Yorozuya

Posted: Tue Mar 16, 2010 9:36 pm
by aluigi
the format of the archive is simple:

Code: Select all

endian big
idstring "add\0"
goto 16
get FILES long
get PACSIZE long
for i = 0 < FILES
    get DUMMY long
    get DUMMY long
    get OFFSET long
    get SIZE long
    get DUMMY long
    get DUMMY long
    get NAMEOFF long
    get DUMMY long

    savepos TMP
    goto NAMEOFF
    get NAME string
    goto TMP

    log NAME OFFSET SIZE
next i
while the format (divided in 2 parts?) and the compression of the LZS files is not easy.

Re: Gintama Yorozuya

Posted: Tue Mar 16, 2010 11:57 pm
by Daimyo
Thanks for the code , its helped me to see all the mistake that I made . :D
Its a pity for the LZS compression ,but since I tried to extract only for trainning purpose it doesn't matter for now .