Page 1 of 1

Plan it Green (PC) - .dat files

Posted: Sun May 23, 2010 1:19 am
by merlinsvk
The contents of this post was deleted because of possible forum rules violation.

Re: Plan it Green (PC) - .dat files

Posted: Tue May 25, 2010 11:46 pm
by merlinsvk
I tried to write a script, but all what can I do is extract the first file of interface.dat

My try:

Code: Select all

get FILES long
getdstring DUMMY 0x1C

getdstring UNAME 0x4A 
set NAME unicode UNAME

getdstring DUMMY 0x1B6
get OFFSET long
get SIZE long

log NAME OFFSET SIZE
I don't know how to extract the other files :(

Re: Plan it Green (PC) - .dat files

Posted: Wed May 26, 2010 12:03 am
by chrrox
here is a working quickbms script.

Code: Select all

get files long
goto 0x20
for i = 0 < files
getdstring name 0x200
set NAME unicode NAME
get offset long
get size long
log name offset size
next i

Re: Plan it Green (PC) - .dat files

Posted: Wed May 26, 2010 2:28 pm
by merlinsvk
Hmm, I was close.
Thank you, chrrox :)

And it is possible to reverse that process to create packer? I ask only out of curiosity.

Re: Plan it Green (PC) - .dat files

Posted: Wed May 26, 2010 8:29 pm
by chrrox
i am not good with repacking bms wise.

Re: Plan it Green (PC) - .dat files

Posted: Wed May 26, 2010 10:24 pm
by merlinsvk
It's a pity, because that game doesn't run with unpacked archives.

Never mind, I have to use hex editor :x