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

Journey .XME files (PhyreEngine)

Need help translating games in other languages? Have your language problems solved here.
Post Reply
User avatar
rubinho146
advanced
Posts: 43
Joined: Tue Jun 14, 2016 3:13 pm
Has thanked: 9 times
Been thanked: 12 times

Journey .XME files (PhyreEngine)

Post by rubinho146 »

Journey developed by Thagamecompany

Trying to localize this game but the files have compression. They seem to be a mix of huffman and lz.
Is possible that someone can have a look on them?

Thanks.
You do not have the required permissions to view the files attached to this post.
barncastle
beginner
Posts: 32
Joined: Tue Apr 13, 2021 5:13 pm
Been thanked: 32 times

Re: Journey .XME files (PhyreEngine)

Post by barncastle »

This uses a form of rolling cipher. The data is first cast to uint32s, then each uint32 is XOR'd by a key that is incremented by the previous encrypted value. This is symmetric so encryption uses the same process as decryption.

Code: Select all

uint* uint_ptr = (uint*)pData; // cast file bytes to uint32s
int rounds = (data.Length + 3) / 4;

uint key = 0x6341F337;

uint temp;
for (int i = 0; i < rounds; i++)
{
    temp = uint_ptr[i]; // store original encrypted value
    uint_ptr[i] ^= key; // decrypt by XOR'ing with key
    key += temp;        // add original encrypted value to key
}
User avatar
rubinho146
advanced
Posts: 43
Joined: Tue Jun 14, 2016 3:13 pm
Has thanked: 9 times
Been thanked: 12 times

Re: Journey .XME files (PhyreEngine)

Post by rubinho146 »

Thanks for the answer. It was quite helpful and it made it possible to create a tool to decipher and cipher back to work in the game.
Is now possible to translate some games that use this format.

It works on Journey and Flower.

Tool made by Mumm-Ra.
You do not have the required permissions to view the files attached to this post.
Post Reply