Jack Walker Posted July 1, 2014 Share Posted July 1, 2014 For the past few days, I have been working on hacking the PC version of Megaman X5. Here are some interesting things I have found.Functions:int PlayBGM(u_int8_t bgmNumber) - 0x49A7C0 int SetupCharacterStart(int* UnknownStructPtr) - 0x464F60Sets up the player's lives and health, as well as some other variables.This function is called when the player starts a new game or selects the tutorial level. int CharacterSelectScreenInit(int UnknownArgument) - 0x48A030Called when the player goes to the character select screen.Variables:Current Character - 0x7929C40 for X, 1 for Zero. Do not change this variable while in a stage. Doing so will crash the game when you die. Player Lives - 0x7929C5HUD Enable Flag - 0x79299FPlayer Health - 0x79D97CStage Number - 0x79298C BG Layer 0 Flag - 0x7B2943 BG Layer 1 Flag - 0x7B2997 BG Layer 2 Flag - 0x7B29EB Link to comment Share on other sites More sharing options...
Jason777 Posted July 3, 2014 Share Posted July 3, 2014 Cool stuff. What trainer did you use to find these things? Link to comment Share on other sites More sharing options...
Jack Walker Posted July 3, 2014 Author Share Posted July 3, 2014 I used IDA for disassembly and Cheat Engine for finding and manipulating variables. Link to comment Share on other sites More sharing options...
Jack Walker Posted November 1, 2014 Author Share Posted November 1, 2014 I have been able to extract the in-game graphics and modify them. Tools will be released soon. Link to comment Share on other sites More sharing options...
Recommended Posts