Get your graphics formats figures out here! Got details for others? Post here!
-
Itze
- veteran
- Posts: 82
- Joined: Sat Mar 15, 2008 4:43 pm
- Has thanked: 3 times
- Been thanked: 6 times
Post
by Itze » Sun Mar 16, 2008 11:55 am
Hi, i've been trying to display the textures from the new Perry Rhodan adventure game but they seem to be encoded somehow
i have attached the head texture of perry(atleast i think so

)
maybe someone can figure out how to make it viewable again

You do not have the required permissions to view the files attached to this post.
-
Rheini
- Moderator
- Posts: 653
- Joined: Wed Oct 18, 2006 9:48 pm
- Location: Germany
- Has thanked: 19 times
- Been thanked: 40 times
-
Contact:
Post
by Rheini » Sun Mar 23, 2008 12:06 am
Care to share the algo?

-
john_doe
- VIP member

- Posts: 80
- Joined: Sat Oct 21, 2006 2:25 pm
- Been thanked: 1 time
Post
by john_doe » Sun Mar 23, 2008 11:49 am
Of course:
Code: Select all
void decryptData(byte *data, uint32 size) {
byte xorValues[3] = {0x42, 0x99, 0x80};
for (uint32 ofs = 0; ofs < size; ofs++) {
uint32 value = ofs % 3;
data[ofs] ^= xorValues[value] - 0x6E;
}
}
-
Itze
- veteran
- Posts: 82
- Joined: Sat Mar 15, 2008 4:43 pm
- Has thanked: 3 times
- Been thanked: 6 times
Post
by Itze » Tue Mar 25, 2008 7:17 pm
thanks john_doe
works fine, i tried a few different files(128x128 up to 1024x1024) and it converted them properly
would it be possible to convert them back with a simple tool too?
i saw the algo but unfortunately im no programmar and have no idea how it works

-
Rheini
- Moderator
- Posts: 653
- Joined: Wed Oct 18, 2006 9:48 pm
- Location: Germany
- Has thanked: 19 times
- Been thanked: 40 times
-
Contact:
Post
by Rheini » Tue Mar 25, 2008 7:20 pm
Try using the same program. It might work.
-
Itze
- veteran
- Posts: 82
- Joined: Sat Mar 15, 2008 4:43 pm
- Has thanked: 3 times
- Been thanked: 6 times
Post
by Itze » Tue Mar 25, 2008 9:35 pm
lol yeah it does...
thanks
-
Rheini
- Moderator
- Posts: 653
- Joined: Wed Oct 18, 2006 9:48 pm
- Location: Germany
- Has thanked: 19 times
- Been thanked: 40 times
-
Contact:
Post
by Rheini » Tue Mar 25, 2008 9:46 pm
btw this works because the algorithm uses XOR.
-
mambox
- mega-veteran

- Posts: 189
- Joined: Wed Mar 24, 2004 2:06 pm
- Has thanked: 5 times
- Been thanked: 4 times
Post
by mambox » Thu Mar 27, 2008 4:46 pm
I dont know how good is the game but look great!
another xoring,congrats to john.
btw how did you reverse the xoring method,analysis of file or reversing exe?
-
kurt28
- n00b
- Posts: 17
- Joined: Tue Sep 07, 2010 6:00 pm
- Has thanked: 1 time
Post
by kurt28 » Wed Sep 08, 2010 6:48 pm
Please, can you upload the file again?
Thanks.
-
john_doe
- VIP member

- Posts: 80
- Joined: Sat Oct 21, 2006 2:25 pm
- Been thanked: 1 time
Post
by john_doe » Thu Sep 09, 2010 5:56 pm
Of course, I hope I can still find it somewhere...
-
kurt28
- n00b
- Posts: 17
- Joined: Tue Sep 07, 2010 6:00 pm
- Has thanked: 1 time
Post
by kurt28 » Tue Sep 14, 2010 5:46 pm
Thank you very much.
