Cheater!
Requiem — Sun, 07/19/2009 - 11:07
It's not much, but an update for everyone out there. We've been working on a cheating interface within Softchip. Patching is simple enough to implement, however, we're looking for something that "feels" a bit more like old-school gameshark style cheat devices. The patch format will be compatible with ocarina, but our format will allow for a code's "enabled" state to be stored in the file itself and will not require a separate text file for storing codes. Nor will we require a separate application for editing these.
Ideally, users will be able to download a file and store it on either SD or USB to "preload" the engine with patches or enter their own patches manually within the program itself. Each patch will be enabled by default, but there will be an option to disable it at will. The first revision of the file format will be very simplistic, but it will be revised and have a version field to allow backwards compatibility with older downloaded patch files.
This pseudo-code will describe the file format in depth.
Struct PatchFile
{
Byte[] Signature = {0x57, 0x69, 0x69, 0x43, 0x48, 0x45, 0x41, 0x54}; // "WiiCHEAT";
Int32 Version;
Int32 PatchCount;
Patch[] Patches;
};
Struct Patch
{
String Description; // What the patch does, null-terminated
State CurrentState; // Enabled or disabled?
Int32 Length; // Length of the Data in bytes
Byte[] Data; // Actual patch data
};
Let us know what you think.
