Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
kkj4818
Posts: 4 Joined: Sun Apr 10, 2016 3:29 am
Post
by kkj4818 » Sun Apr 10, 2016 5:46 am
Hello. I am trying to extract soldier of fortune online files. because I need it for my garry's mod gamemode. But I don't know how to make a script. I have tried to make a script, but it is too hard to me. If someone helps me. I will be very happy.
Thank you.
Data Files :
https://mega.nz/#!VFkxXQyQ!c5updK--fpKC ... U_SR8do0T4
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sun Apr 10, 2016 8:51 am
The files are xored with a dynamic 2 bytes key different for each file, no idea how it's retrieved. If someone finds how the key is calculated then this is the script: *edit* check next post
kkj4818
Posts: 4 Joined: Sun Apr 10, 2016 3:29 am
Post
by kkj4818 » Sun Apr 10, 2016 11:18 am
Thanks a lot! I will try to find the key, but maybe I couldn't find it
.
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sat Apr 16, 2016 9:25 am
I opted for a "lame" key guessing and it seems to work quite well with almost all the files:
http://aluigi.org/bms/soldier_fortune_online.bms P.S.: I have removed your other thread, moved this one in Game Archive and set a correct title.
kkj4818
Posts: 4 Joined: Sun Apr 10, 2016 3:29 am
Post
by kkj4818 » Sun Apr 17, 2016 1:02 am
aluigi wrote: I opted for a "lame" key guessing and it seems to work quite well with almost all the files:
http://aluigi.org/bms/soldier_fortune_online.bms P.S.: I have removed your other thread, moved this one in Game Archive and set a correct title.
OMG!!! All Files are working! Thanks a lot!!! OMG If you don't mind me asking, Can I ask the .txt , .html , .swf , .rmg , .lep, .dat , .def key? like
putarray 1 -1 "txt"
putarray 2 -1 "blablabla"
Thank you.
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Sun Apr 17, 2016 10:02 am
I have updated the script to version 0.1.1 but txt and def cannot be guessed at 100%, some txt are even lua and def may start with "#sound" or "#anim" and so it's not possible to guess them (default is "#sound" in the script). html, lep and rmg were just 1 file for type, anyway I have added them too.