Archiving Memory Addresses (Megaman Legends 2 Edition.)
Sept 9, 2017 16:40:41 GMT -5
Gabriel, Asurey Xcelsium, and 1 more like this
Post by Trege on Sept 9, 2017 16:40:41 GMT -5
All addresses in this thread are for the PS1 NTSC-U version of the game.
So Chiz and a few other people have started doing stuff like this, so I figure I'll join in as well. I'll be archiving my codes here in hopes that it might aide in helping hackers find a way to eventually mod the game, if the interest is high enough. It'd be great to someday have fan created content in the official Legends 1 or 2 games.
ePSXe 2.0.5 Cheat Engine Addresses.
Cheat engine addresses require the same exact emulator version to function properly.
015DC5B8 0096 Roll's Cheat Engine object type ID.
96 = Roll's Default AI
256 = Horroko AI. As odd as this is, this is the value for her normal town AI type, but in the field 256 turns her AI into Horroko's AI.
512 = Treasure Chest/Roll Hybrid. (Gives blue card key item when you talk to her.)
1024 = Rabbit AI
There's more AI than that, that you can switch her to however if they're not in the same area as her a lot of the time it can crash, the rabbit AI is also possible, but I've mainly been messing with using Reaverbot AI on her it's pretty funny. Legends 2 runs on ID's just like Legends 1 does, except Legends 2 is far more stable for crazy changes like this, Legends 1 crashes 90% of the time when messing with object ID's and object states.
Roll's object type ID Default is 96 for the Calinca Plains in town her default is 256, 96 will trigger the PS1 crash handler if used in town.
Other Cheat Engine Codes.
ePSXe 2.0.5
Roll's Object State (set to 20 for odd results.)
015DC71C 0000
(Results may vary Warning : May cause nightmares.)
Roll's Animation ID (Same as above, may cause nightmares.)
015DC65C 0012
(12 is her default when in town, 44 when outside of the town)
AI Roll's MaxHp
015DC626 0096 <==== HP Roll Starts with.
AI Roll's HP
015DC624 0096 <==== Roll's Current HP.
Roll's current X coordinate
015DC5C7 XXXX (Changes based on Roll's position, if you freeze this code it locks her X movement.
Roll's Current Z coordinate.
015DC5C9 XXXX (Same as X, can lock her Z movement.)
Roll's X Scale
015DC695 0002
Roll's Z Scale
015DC697 0002
Roll's Knockback
015DC71E 0003 <==== Each time Roll gets hit she loses 1 point of her knockback, if it hits 0 she is knocked down, if she still has HP left she gets up by herself and it resets back to 3.
Draw Distance 1
01541011 0012 (Current Draw Distance)
Draw Distance 2
015DADE5 0012 (Determines draw distance for the next map that loads, ignore Draw Distance 1 if you alter this.)
So yeah, it turns out there's a lot of crazy things you can do with Cheat Engine and Gameshark with enough effort it's pretty fun to mess around with.
Gameshark Versions
Currently being converted.
This thread is a little bit different from the Legends 1 thread though, rather than mindlessly collecting addresses like my last thread I'm actually attempting to give control of Roll to player 2 on PS1, Legends 2 already accepts inputs from player 2 because the debug room used the 2nd controller for animation testing, so in theory it should be possible to let the 2nd controller affect Roll with enough effort, though it won't be easy at all. I already can affect her speed and direction and all that has to be tied to, is the addresses that check for inputs.
Note 1 : Roll's Object Type ID in Decimal
22922680
+221 = Roll's X Scale in Decimal
22922901
I used this method to subtract 221 from the Rabbit's X Scaler which yielded its object ID after it was converted back to HEX.
15DC174 0096 Turns it into Roll's AI
A reminder for me of how to find object ID's by subtraction from the X Scaler. This is the same method used in Legends 1, it works just as well in Legends 2 as well it seems.
So Chiz and a few other people have started doing stuff like this, so I figure I'll join in as well. I'll be archiving my codes here in hopes that it might aide in helping hackers find a way to eventually mod the game, if the interest is high enough. It'd be great to someday have fan created content in the official Legends 1 or 2 games.
ePSXe 2.0.5 Cheat Engine Addresses.
Cheat engine addresses require the same exact emulator version to function properly.
015DC5B8 0096 Roll's Cheat Engine object type ID.
96 = Roll's Default AI
256 = Horroko AI. As odd as this is, this is the value for her normal town AI type, but in the field 256 turns her AI into Horroko's AI.
512 = Treasure Chest/Roll Hybrid. (Gives blue card key item when you talk to her.)
1024 = Rabbit AI
There's more AI than that, that you can switch her to however if they're not in the same area as her a lot of the time it can crash, the rabbit AI is also possible, but I've mainly been messing with using Reaverbot AI on her it's pretty funny. Legends 2 runs on ID's just like Legends 1 does, except Legends 2 is far more stable for crazy changes like this, Legends 1 crashes 90% of the time when messing with object ID's and object states.
Roll's object type ID Default is 96 for the Calinca Plains in town her default is 256, 96 will trigger the PS1 crash handler if used in town.
Other Cheat Engine Codes.
ePSXe 2.0.5
Roll's Object State (set to 20 for odd results.)
015DC71C 0000
(Results may vary Warning : May cause nightmares.)
Roll's Animation ID (Same as above, may cause nightmares.)
015DC65C 0012
(12 is her default when in town, 44 when outside of the town)
AI Roll's MaxHp
015DC626 0096 <==== HP Roll Starts with.
AI Roll's HP
015DC624 0096 <==== Roll's Current HP.
Roll's current X coordinate
015DC5C7 XXXX (Changes based on Roll's position, if you freeze this code it locks her X movement.
Roll's Current Z coordinate.
015DC5C9 XXXX (Same as X, can lock her Z movement.)
Roll's X Scale
015DC695 0002
Roll's Z Scale
015DC697 0002
Roll's Knockback
015DC71E 0003 <==== Each time Roll gets hit she loses 1 point of her knockback, if it hits 0 she is knocked down, if she still has HP left she gets up by herself and it resets back to 3.
Draw Distance 1
01541011 0012 (Current Draw Distance)
Draw Distance 2
015DADE5 0012 (Determines draw distance for the next map that loads, ignore Draw Distance 1 if you alter this.)
So yeah, it turns out there's a lot of crazy things you can do with Cheat Engine and Gameshark with enough effort it's pretty fun to mess around with.
Gameshark Versions
Currently being converted.
This thread is a little bit different from the Legends 1 thread though, rather than mindlessly collecting addresses like my last thread I'm actually attempting to give control of Roll to player 2 on PS1, Legends 2 already accepts inputs from player 2 because the debug room used the 2nd controller for animation testing, so in theory it should be possible to let the 2nd controller affect Roll with enough effort, though it won't be easy at all. I already can affect her speed and direction and all that has to be tied to, is the addresses that check for inputs.
Note 1 : Roll's Object Type ID in Decimal
22922680
+221 = Roll's X Scale in Decimal
22922901
I used this method to subtract 221 from the Rabbit's X Scaler which yielded its object ID after it was converted back to HEX.
15DC174 0096 Turns it into Roll's AI
A reminder for me of how to find object ID's by subtraction from the X Scaler. This is the same method used in Legends 1, it works just as well in Legends 2 as well it seems.