Important information: this site is currently scheduled to go offline indefinitely by end of the year.

7½7M ARCHIVES

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
ubrax
advanced
Posts: 46
Joined: Sun Mar 15, 2009 2:16 pm
Has thanked: 20 times

7½7M ARCHIVES

Post by ubrax »

There are numerous games utelizing an archive format starting with a 4 byte signature '7½7M'. I have uploaded a small archive from "Amelies Cafe". On request, I can provide a list of games utelizing same.

A sample 7½7M-archive can be downloaded from one of our websites: http://motionpress.com/7_7M/7_7M.rar

I will appreciate al help to unpack these archive formats (Trid returns an unknown format - in fact, all unpackers don't recognize it)

Regards

Hendrik Pretorius
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: 7½7M ARCHIVES

Post by chrrox »

it is just xored with F7 Here is an un xored file.
once you xor the file with f7 you can use any generic file ripper.
Image
You do not have the required permissions to view the files attached to this post.
Last edited by chrrox on Sat Apr 04, 2009 3:03 pm, edited 1 time in total.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: 7½7M ARCHIVES

Post by aluigi »

first XOR the entire file with the byte 0xf7

the first 4 bytes are the signature 0xc0 0x4a 0xc0 0xba
go at offset 9 and start the loop:
- 1 byte: length of the filename (n)
- n bytes: the filename
- 4 bytes: the size of the file
- 8 bytes: skip them
- 1 byte: 0x00 if there are other files, 0x80 if the list of files is terminated

the offsets of the files are all relative to the end of the list of files (the previous byte 0x80) and obviously are incremented with the size of the files.
so the offset of the first file in loc.pak is 0x819, the second is at offset 0x13c23 (0x819 + 0x1340a) and so on.
Alex Bu
n00b
Posts: 10
Joined: Fri Nov 07, 2008 9:34 am
Been thanked: 1 time

Re: 7½7M ARCHIVES

Post by Alex Bu »

yes,just a simple XOR

Image
ubrax
advanced
Posts: 46
Joined: Sun Mar 15, 2009 2:16 pm
Has thanked: 20 times

Re: 7½7M ARCHIVES

Post by ubrax »

Is there a software tool to XOR a file?
CryptIt 1.4 has a XOR-decrypt function, but you XOR it with a key-file?
Can I XOR a file in "010 Editor", or is there any other software I can use?

Thanks

Hendrik
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: 7½7M ARCHIVES

Post by chrrox »

This program is easy to use and does not seem to expire.
http://www.acapsoft.com/det.php?prog=XorIt
just use a hex editor to create the key file and save it as anything then just choose the source file and the xor file you made and your done.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: 7½7M ARCHIVES

Post by aluigi »

if needed I have a command-line tool which makes just the xor job: http://aluigi.org/mytoolz/xor.zip

xor loc.pak new_loc.pak 0xf7
ubrax
advanced
Posts: 46
Joined: Sun Mar 15, 2009 2:16 pm
Has thanked: 20 times

Re: 7½7M ARCHIVES

Post by ubrax »

Thank you Bugtest (chrrox and others above). I just have one additional question:

The author of XorIt (http://www.acapsoft.com/det.php?prog=XorIt) notes the following with regards to XOR:

"I"t is extremely important to note that the file is Encrypted, not password locked. The difference being that there is no storing of the code itself anywhere - the whole file is mathematically scrambled based on the file you select. If you forget/lose the Cryption File there is no way at all to decrypt the file. (I.e. We cannot help!)"

Chrrox on the other hand determined above that my provided sample file "is just xored with F7". How do you determine the byte 0xf7 if the author of XotIt says that you need the Crypton File to decrypt it?

Regards

Hendrik Pretorius
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: 7½7M ARCHIVES

Post by chrrox »

You normally debug the program that is accessing the encrypted data and find where in that program the encrypted key file is located and then you are all set.
In this case the encryption was so weak I could tell just by looking at the file it was xored with 0xF7 because the file contained no special compression like zlib and everywhere that a 0 would normally be was replaced with F7 and when you xor 0 and F7 you get F7 so that was the encryption key.
Post Reply