Advertisement
AndrewHaxalot

Porting Wii Codes [Updated!]

Jan 3rd, 2014
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.66 KB | None | 0 0
  1. The only true way to port Wii codes is by using the RAM dumps from each game WITH HXD! Delta Maker DOES NOT WORK! There is nothing wrong with Delta Maker, except it was made to port PS2 codes NOT Wii codes, but that still doesn't mean that it works! You will most likely never get the right address, if you're using Delta Maker! Same goes with code porting programs because about 95% of the time, the program will give you the wrong address(es)! The programs don't even use the correct method to port codes.
  2.  
  3. Sure it might be harder to code a program that ports codes correctly, but it can be done. You have to take the correct and manual way of doing it (with RAM dumps and HxD) and somehow implement the method into the program. You're basically making the program do everything you do by hand with HxD, but making the program do everything for you, but in a different way. The programs that have already been made to port codes use offsets from two different codes that are from different regions of the same game. The code porting programs aren't really "code porters", but more like a calculator and a mini search engine (if they're using dumps).
  4.  
  5. LOOK AT THE ASCII VERSION OF DELTA MAKER BELOW!
  6.  
  7.  
  8.  
  9. Address A Address B
  10. _______________ ___Button____ ________________
  11. |_______00689B48| |Port Address| |_______005B269C|
  12. |____________|
  13.  
  14. Code Result
  15. __________________ ____________________
  16. |04676854 0000270F| | 0459F3A8 0000270F
  17. | | | |
  18. | | | |
  19. | | | |
  20. | | | |
  21. | | | |
  22. | | | |
  23. | | | |
  24. ___________________ ____________________
  25.  
  26.  
  27.  
  28. You don't even have to decompile Delta Maker to know exactly what it's actually doing! You just have to use your brain! So, what the fuck does Delta Maker do anyways?! All it does is finds the offset of Address A and Address B, takes the offset that it got from the two addresses and subtracts it from the Code address. Takes the result from the subtraction of Code, then it displays the "XX & Subtracted Code & XXXXXXXX" in the Result textbox. That's all it fucking does! Do you ever wonder why your "ported code" that was apparently "ported" in Delta Maker never worked?! This is fucking why! Delta Maker is just a stupid fucking calculator, that's all it fucking is!
  29.  
  30.  
  31. Now, Hamster35000VR made his code porter for Mario Kart Wii a bit better than the person who made "Delta Calculator". But it was still using the wrong method! EDIT: Never mind, I just checked his code porter and it ports codes by using the correct method. Well, what is the correct method? The correct method of porting Wii codes is to look at the bytes around the address you want to port and find those same bytes in the RAM dump of the game you want to port the address to. This can only be done with a RAM dump and a Hex editor, such as HxD Hex Editor!
  32.  
  33. But the only thing wrong with his code porter is that it only finds similar bytes once, instead of going through the entire dump and finding as much of the similar bytes that it can find before returning a message stating how many times it found those similar bytes and each of the addresses where those bytes were found at. He could've also added an extensive search function to search through both dumps numerous times until it found the largest amount of bytes and until it can only search once until it returns the address.
  34.  
  35. Well, what's wrong with his code porter then? His code porter only searches once and says that the search result that it returned is the correctly ported address. If the bytes that it searched for were actually in several different locations in the dump, it would say that the first one that it finds is the correct address! Which is wrong because any of the addresses could be the correct address! Besides, using code porting programs won't teach you anything about code porting. And hopefully this did! ;)
  36.  
  37.  
  38. I'LL EXPLAIN MORE LATER WHEN I HAVE THE TIME AND POSSIBLY MAKE A VIDEO ON HOW TO CORRECTLY PORT WII CODES BECAUSE IT DOESN'T SEEM LIKE ANYONE IS UNDERSTANDING THE ONLY TRUE WAY TO PORT WII CODES! IF YOU DON'T UNDERSTAND WHAT I SAID, YOU MIGHT HAVE TO KEEP READING IT OVER!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement