Advertisement
Guest User

How to mem edit gfx etc

a guest
Apr 24th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. Use this Program Dolphin Memory Engine (DME) : https://github.com/aldelaro5/Dolphin-memory-engine
  2. And this File : https://cdn.discordapp.com/attachments/349693203425001472/570470492012806156/P1_Action_And_Subaction.dmw
  3. (this is a simplified version of my file to just have relevant stuff, i can give my file of a whole tonne more if you want)
  4.  
  5. In DME, at the top go to Edit Settings and at the bottom set Bytes Seperator to "Seperate every 4 bytes"
  6.  
  7. So this specifically makes it a lot easier to edit pre-existing PSA commands while the game is running. Is technically possible to add commands etc but is a lot more annoying.
  8. So first create a the gfx things you want and set guesstimates of values you want, put it in game and launch dolphin + DME
  9.  
  10. In DME, file -> open -> Provided file
  11.  
  12. In dolphin, go an perform the action/subaction you are wanting to edit and then pause the game.
  13. In DME, make sure it lists you as in the correct action/subaction, and then open the script dropdown.
  14. In script, rightclick the appropriate script (in this case GFX) and select Browse Memory At and choose the bottom option
  15.  
  16. This will open the entire subaction tab in memory. The first and third columns are actual commands, and the second and fourth columns are pointers to the parameters for the command to their left. To find the specific command you want to edit, just count through the actual commands, or try to match the command type (top right of command editting in PSA is the id which is this command).
  17. Once you have found any commands you want to edit, go back to DME main window and click Add Watch. Select "this is a pointer", and then type the respective parameter pointer that is to the right of the command you want to edit, naming it something meaningful so you can work with it in future potentially.
  18.  
  19. Again right click this new mem option and choose Browse Memory at pointed location. now this data is the parameter data found when editting a specific psa command. The first and third column is the Type option, and the third and fourth column is the hex value of this parameter. These are in the same order as the PSA commands and in general you can easily find the hex value of any scalar value by typing it in the PSA box as a scalar and then scrolling to the value option. Basically now you want to edit the appropriate hex value you want to manipulate to experiment with what it can be. It is still sorta hard to wrap your head around but it is much quicker than psa in the long run.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement