• Steam recently changed the default privacy settings for all users. This may impact tracking. Ensure your profile has the correct settings by following the guide on our forums.

CheatLibV2.1

RedHate

I can has hax nao?
CheatLibV5

Some functions have been removed and the function prototypes are changed..
AGAIN.... read the header for new info, (this lib is not backwards
compatible with the older versions boo hoo).

ONLY SUPPORTS REAL ADDRESSING (NO NITEPR / CW) you will have to convert.
now works on KMEM and VRAM as well.

Pointers within these memory ranges are validated otherwise ignored
0x08800000 0x0A000000 //user
0x08000000 0x08800000 //kernel
0x04000000 0x06000000 //vram

All the prototypes have been changed, the lib's been re-arranged
functions are back to being type oriented (they are easier to remember).

oh yeah i tossed those stupid print debug functions they are stupid and annoying.

Code:
///////////////////////////////////////////////////////////////////////
// store type functions
///////////////////////////////////////////////////////////////////////

/**
 * @address - address of info you wish to edit
 * @value - the float value you wish to insert @ the defined address
 */
void setFloat(unsigned int address, float value);

/**
 * @address - address of info you wish to edit
 * @offset - the dma offset
 * @value - the float value you wish to insert @ the defined address
 */
void setFloatDMA(unsigned int address, unsigned int offset, float value);

/**
 * @address - address of info you wish to edit
 * @value - the float value you wish to insert @ the defined address
 */
void setChar(unsigned int address, unsigned char value);

/**
 * @address - address of info you wish to edit
 * @offset - the dma offset
 * @value - the float value you wish to insert @ the defined address
 */
void setCharDMA(unsigned int address, unsigned int offset, unsigned char value);

/**
 * @address - address of info you wish to edit
 * @value - the float value you wish to insert @ the defined address
 */
void setShort(unsigned int address, unsigned short value);

/**
 * @address - address of info you wish to edit
 * @offset - the dma offset
 * @value - the float value you wish to insert @ the defined address
 */
void setShortDMA(unsigned int address, unsigned int offset, unsigned short value);

/**
 * @address - address of info you wish to edit
 * @value - the float value you wish to insert @ the defined address
 */
void setU32(unsigned int address, unsigned int value);

/**
 * @address - address of info you wish to edit
 * @offset - the dma offset
 * @value - the float value you wish to insert @ the defined address
 */
void setU32DMA(unsigned int address, unsigned int offset, unsigned int value);

/**
 * @address - address of info you wish to edit
 * @value - the float value you wish to insert @ the defined address
 */
void setString(unsigned int address, unsigned char string[]);

/**
 * @address - address of info you wish to edit
 * @offset - the dma offset
 * @value - the float value you wish to insert @ the defined address
 */
void setStringDMA(unsigned int address, unsigned int offset, unsigned char string[]);


///////////////////////////////////////////////////////////////////////
// return type functions
///////////////////////////////////////////////////////////////////////

/**
 * @address - address of info you wish to edit
 * @value - the float value you wish to insert @ the defined address
 */
float retFloat(unsigned int address);

/**
 * @address - address of info you wish to edit
 * @offset - dma offset
 * @value - the float value you wish to insert @ the defined address
 */
float retFloatDMA(unsigned int address, unsigned int offset);

/**
 * @address - address of info you retreive
 * @returns - a unsigned char
 */
unsigned char retChar(unsigned int address);

/**
 * @address - address of info you retreive
 * @offset - dma offset
 * @returns - a unsigned char
 */
unsigned char retCharDMA(unsigned int address, unsigned int offset);

/**
 * @address - address of info you retreive
 * @returns - a unsigned short
 */
unsigned short retShort(unsigned int address);

/**
 * @address - address of info you retreive
 * @offset - dma offset
 * @returns - a unsigned short
 */
unsigned short retShortDMA(unsigned int address, unsigned int offset);

/**
 * @address - address of info you retreive
 * @returns - a unsigned int
 */
unsigned int retU32(unsigned int address);

/**
 * @address - address of info you retreive
 * @offset - dma offset
 * @returns - a unsigned int
 */
unsigned int retU32DMA(unsigned int address, unsigned int offset);

/**
 * @address - address of info you retreive
 * @returns - a string
 */
char retString(unsigned int address);

/**
 * @address - address of info you retreive
 * @offset - dma offset
 * @returns - a string
 */
char retStringDMA(unsigned int address, unsigned int offset);

freecheat is the prx example.
 

Attachments

  • cheatlib5.zip
    7.8 KB · Views: 92
  • freecheat.zip
    5.6 KB · Views: 87
Top