Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
sigroon365
Posts: 330 Joined: Fri Nov 21, 2014 4:03 am
Post
by sigroon365 » Tue Jul 05, 2016 12:28 pm
Can someone edit my bms script? There's two problems.
1) End of File reads problem.
2) Reading file name from *.fl.
Here is sample files.
https://drive.google.com/file/d/0B8JGJb-FRy_beWhwczhvSDZmem8/view?usp=sharing Code: Select all
comtype unzip_dynamic open FDDE fi 0 open FDDE fs 1 open FDDE fl 2 #*.fl contains file name but I'm not sure how to read and store it. Do get SIZE long 0 get OFFSET long 0 get ZIP long 0 savepos tmp 0 if ZIP == 1 goto OFFSET 1 get ZSIZE long 1 clog "" OFFSET ZSIZE SIZE 1 xmath tmp "OFFSET + ZSIZE" else log "" OFFSET SIZE 1 xmath tmp "OFFSET + SIZE" endif if tmp == SEEK_END 1 break endif While tmp < SEEK_END 1
sigroon365
Posts: 330 Joined: Fri Nov 21, 2014 4:03 am
Post
by sigroon365 » Tue Jul 05, 2016 2:56 pm
Thank you!
However, I got a problem.
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Tue Jul 05, 2016 3:14 pm
Maybe it's a new version of the same file (like an update due to a patch), use 'r' for the moment and then check both the files to see if it was an update or not.
sigroon365
Posts: 330 Joined: Fri Nov 21, 2014 4:03 am
Post
by sigroon365 » Tue Jul 05, 2016 3:29 pm
aluigi wrote: Maybe it's a new version of the same file (like an update due to a patch), use 'r' for the moment and then check both the files to see if it was an update or not.
It seems that exactly same files.
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Tue Jul 05, 2016 4:41 pm
Yeah perfectly identical.
Mah developers...