Jump to content

Automated save editing


mooosey97

Recommended Posts

Hey all, 

Sorry if this is in the wrong place, but im looking to create a python script  for pokemon pearl that automatically sets my player's cash to a certain amount every time I save. I can't seem to find any sort of resource or library that can let me do so, I've seen some talks about using the PKHeX.Core.dll  but my python and c skills and minimal (im a web dev by trade!) 

the other option would be a ROM hack that exposes some basic API or scripting functionality but I only found something sort of like this but not for 4th gen games. 

Any kick in the right direction would be aprpeciated - apologies I know this is fairly broad but my knowledge of the rom hacking / pokemon save scene is minimal!

Thanks

Link to comment
Share on other sites

1 hour ago, Delta Blast Burn said:

If you don't mind using an action replay code edit the * to be the desired amount. (max value 000F423F)


B21C4D28 00000000
B0000004 00000000
000002E4 ********

 

Ah that's awesome thank you! works perfectly, just need to find a way of triggering the code now :) 

Link to comment
Share on other sites

3 hours ago, Delta Blast Burn said:

I is set to always be active. you can add 


94000130 ****0000
$
d2000000 00000000

where $ is the code I already posted and * is the button flags. See this post for details it's relavent for all ARDS codes.

Ah yeah that's great, I tried editing the DCT files directly too as I was hoping the python script could edit that but it crashes my emulator paha! I'll keep digging but that's literally exactly what I needed thank you! worst comes to worst I can just manually update the code and enter it, it's only for a little project

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...