The Forum is up for sale: XeNTaX Forum looking for new owner

FF9 Steam MPC file

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
Oscar92player
n00b
Posts: 10
Joined: Thu Feb 04, 2016 7:13 pm

FF9 Steam MPC file

Post by Oscar92player »

Hello everyone!

With help of the Steam community, I've been able to extract the TTF font from FF9 Steam release, it's encrypted in a MPC file. The Unity Studio extracted it with a TXT format, but the real format is MPC. Inside it's a binary code.

The MPC file:
https://mega.nz/#!IJEhCDBY!xpuilf1ZgVt_ ... qadHMOSk7k

A user from the Steam modding forums has given me a code, but I don't know how to use it. He has told me that it can be rewritten to QuickBMS.

Code: Select all

public static byte[] Decryption(byte[] bytes)
{
long num1 = 1024;
long num2 = (long) bytes.Length;
long length = num2 - num1;
byte[] numArray = new byte[length];
long num3 = 0;
for (int index = 0; (long) index < length; ++index)
{
if (num3 < num1)
{
numArray[index] = bytes[num2 - num1 + num3];
++num3;
}
else if ((long) index < num2)
numArray[index] = bytes[index];
}
return numArray;
}
I hope someone can help me with this. Thanks in advance!
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 136 times

Re: FF9 Steam MPC file

Post by WRS »

all that code does is shift the last 1024 bytes to the top of the file
Useful tool links:
Post Reply