Extracting GetAmped2 .kxr files?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Amped
Posts: 14
Joined: Wed Jun 24, 2015 12:23 pm

Extracting GetAmped2 .kxr files?

Post by Amped »

Hey all.

I've been trying for quite some time to unpack GetAmped2's .kxr files. The game is developed by Cyberstep. Cyberstep also developed Onigiri, and surprisingly enough, it stores all its data in .kxr files as well, yet the Onigiri script that I found on this site does not work on GetAmped2's .kxr files.

I discussed this with Luigi, and according to him, "the developers have obfuscated all the header of the archive, that's why quickbms can't find the "kxrf" signature and is not possible to read the rest of the information." Could anyone else possibly take a crack at it for me? I love the game and I would greatly appreciate it if someone could get me into these files.


Here's the bin folder where all the .kxr files are stored. These are the files that are updated with every patch and based on their sizes it's clear that these .kxr files are archives.

Image

Here's the download. The files will be located in the bin folder: http://download.getamped.com/GetAmped2_US_setup.exe

Thanks again.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Extracting GetAmped2 .kxr files?

Post by Ekey »

Amped
Posts: 14
Joined: Wed Jun 24, 2015 12:23 pm

Re: Extracting GetAmped2 .kxr files?

Post by Amped »

Ekey- yes, I have already done that and the Onigiri script doesn't work on GetAmped2's files! Any ideas?

EDIT: Also thank you for the quick response earlier! I decided to run the script on GetAmped2's files again anyway and I got this error message:

Image

Thanks again!
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Extracting GetAmped2 .kxr files?

Post by Ekey »

You using outdated version QuickBMS. Update it.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extracting GetAmped2 .kxr files?

Post by aluigi »

Where have you found a so jurassik version of quickbms?!?! (11 May 2010!)
And why don't have you checked the homepage of quickbms first?
Amped
Posts: 14
Joined: Wed Jun 24, 2015 12:23 pm

Re: Extracting GetAmped2 .kxr files?

Post by Amped »

Wow! I remember using QuickBMS way back when. My apologies lol! I downloaded the newest version on the homepage and re-ran the script on GetAmped2's files. Like you said before, Luigi, the signatures don't match even though they're apparently the same filetype (.kxr) as Onigiri's files.

Here's an image of the error:

Image

What do you think can be done?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extracting GetAmped2 .kxr files?

Post by aluigi »

It's not finished but works with almost all the files:
http://aluigi.org/papers/bms/others/getamped2.bms
Amped
Posts: 14
Joined: Wed Jun 24, 2015 12:23 pm

Re: Extracting GetAmped2 .kxr files?

Post by Amped »

NO WAY. You are a god so far I've only tried one file and it works!! Thank you SO MUCH. Even though I can't really deal with the files inside just yet (they're foreign file types like .scm, .ptc, .agi, .kmd, etc.) this is still a godsend. Thank you sooo much.

There's no way to repack the extracted files into a kxr file, though, is there?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extracting GetAmped2 .kxr files?

Post by aluigi »

The script is valid for reimporting so you can do that.
Amped
Posts: 14
Joined: Wed Jun 24, 2015 12:23 pm

Re: Extracting GetAmped2 .kxr files?

Post by Amped »

That is so, so, so awesome. All I can say is thank you. So after taking a look at the files, I've managed to determine what most of the file types are:

.agi = Textures

.kmd and .mop = Models

.scm = The collective data, associates models and textures together, even specifies parameters of sorts. Seems to stand for Script Model.



Do you know where/how I can start in trying to convert/parse these files so that they can be viewed, etc.? I don't want to take up anymore of your time; you have already done so much!
Last edited by Amped on Fri Jun 26, 2015 5:54 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extracting GetAmped2 .kxr files?

Post by aluigi »

I can't help with the content of the custom files, but I have updated the script to version 0.2 because I have solved the puzzle related to the xor byte of each file.
Amped
Posts: 14
Joined: Wed Jun 24, 2015 12:23 pm

Re: Extracting GetAmped2 .kxr files?

Post by Amped »

Okay that's totally fine. I can take it from there, then. If I may, however, what was the "puzzle related to the xor byte of each file"? Your script already seemed to extract everything perfectly.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extracting GetAmped2 .kxr files?

Post by aluigi »

The previous experimental script tried to guess the xor key to decrypt the files so a small part of them wasn't correct, while now it's the exact key and all the 100% files are correct.
You should re-extract the files using the new script.
Amped
Posts: 14
Joined: Wed Jun 24, 2015 12:23 pm

Re: Extracting GetAmped2 .kxr files?

Post by Amped »

Oh, very awesome. Will do. Thank you so much.
Kaiiox
Posts: 16
Joined: Wed Apr 26, 2017 2:16 pm

Re: Extracting GetAmped2 .kxr files?

Post by Kaiiox »

Can you help me please, my modified files do not want to reimport, I do not know if I'm doing something wrong or not. . .
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extracting GetAmped2 .kxr files?

Post by aluigi »

Have you read section 3 of quickbms.txt?

The script is valid for reimporting so no problems there.
Kaiiox
Posts: 16
Joined: Wed Apr 26, 2017 2:16 pm

Re: Extracting GetAmped2 .kxr files?

Post by Kaiiox »

Hi Aluigi, when I want to reimport, I can not reimport my file, I can not select it apars by writing its name by default, but it always puts me an error
Help me please :'(
Kaiiox
Posts: 16
Joined: Wed Apr 26, 2017 2:16 pm

Re: Extracting GetAmped2 .kxr files?

Post by Kaiiox »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extracting GetAmped2 .kxr files?

Post by aluigi »

Select the SAME files and folders you selected for the extraction.
Don't try to understand, do it.
Kaiiox
Posts: 16
Joined: Wed Apr 26, 2017 2:16 pm

Re: Extracting GetAmped2 .kxr files?

Post by Kaiiox »

I have to select the files and folders that I modified to convert them, do we agree?