NEED HELP HERE! (Soldier of Fortune Online)

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

NEED HELP HERE! (Soldier of Fortune Online)

Post by kkj4818 »

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. :D :D 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

Re: NEED HELP HERE!

Post by aluigi »

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

Re: NEED HELP HERE!

Post by kkj4818 »

Thanks a lot! I will try to find the key, but maybe I couldn't find it :cry: .
kkj4818
Posts: 4
Joined: Sun Apr 10, 2016 3:29 am

Re: NEED HELP HERE!

Post by kkj4818 »

If you are interested in this topic or want to help me, Ill leave the game .exe file.

Link: https://mega.nz/#!FBM3lAaQ!DU1Y7BPYjLtd ... eqS7jtcY60

About Game: soldier of fortune online https://www.youtube.com/watch?v=MGDJsS6p_WY

It was the best game in the world that I've ever played. But Its service has ended in December 2011 :cry: :cry:
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: NEED HELP HERE!

Post by aluigi »

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

Re: NEED HELP HERE!

Post by kkj4818 »

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

Re: NEED HELP HERE! (Soldier of Fortune Online)

Post by aluigi »

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.