Advertisement
TrulyNaN

Injecting a Rom into a Wad (WIP, but ok)

Oct 4th, 2019
761
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.21 KB | None | 0 0
  1. ******* Preliminaries *******
  2.  
  3. -Have the rom to inject or the patch for the wad's rom, the wad and the common key file
  4. (usually named common-key.bin). Look at step 6's alternative if you don't have the common key.
  5. -Your rom should be compressed i.e. about 32 MB for one of the Zelda 64.
  6.  
  7. ******* The Actual Injection *******
  8.  
  9. Link to YouTube tutorial: https://www.youtube.com/watch?v=Wt_E6S-JfhU
  10.  
  11. 1. Download ShowMiiWads at https://wiibrew.org/wiki/ShowMiiWads (when on the page, click on Download
  12. on the right of the screen).
  13. 2. Extract ShowMiidWads to its own folder.
  14. 3. (Optional) Create a wads folder, a roms folder and an extracts folder for
  15. organisation.
  16. 4. Place your wad in the wads folder or at least know where your wad is.
  17. 5. Start ShowMiiWads.exe.
  18. 6. Put the common-key.bin file in the ShowMiiWads folder
  19.  
  20. OR
  21.  
  22. follow these steps to generate it:
  23.  
  24. -In the top part of the window, click on Tools.
  25. -Click on Create Common-Key.
  26. -Enter the text asked and click Ok.
  27.  
  28. 7. In the top-left, click File and select "Open Folder" and select
  29. the folder where your wad is.
  30.  
  31. Your wad should now appear in ShowMiiWads' list.
  32.  
  33. 8. Right-click your wad in ShowMiidWads' list, hover over "Extract" and select
  34. "To Folder". Now select the extracts folder.
  35.  
  36. This extracted the main files/folders of the wad. The biggest file 00000005.app
  37. is where the rom is. Therefore, we will unpack it to remove the old rom
  38. and replace it with a new one.
  39.  
  40. 9. In the ShowMiiWads software, click on "Tools" and select "Unpack U8 Archive".
  41. 10. Select the 00000005.app file in the extracts folder obtained from the wad
  42. and select a folder where to put the result.
  43.  
  44. This will produce a folder called 00000005_app_OUT.
  45.  
  46. 11. Have your new rom ready and look inside the 00000005_app_OUT folder
  47. for a file named rom or romc. If you figured out that this is the original
  48. rom from the wad, you are a genius.
  49. 12. Note down the exact rom's name (rom or romc) and delete it the file named rom or romc.
  50. 13. Copy-paste the rom you want to inject to the 00000005_app_OUT folder and
  51. rename it EXACTLY LIKE THE ORIGINAL ROM (if it was rom before, call it rom now).
  52. Windows will warn you against a file without extension. Ignore it.
  53.  
  54. The new rom is now in place. We just need to pack back everything now.
  55.  
  56. 14. In the ShowMiiWads software, click on "Tools", hover over "Pack U8 Archive"
  57. and select "Without Header".
  58. 15. Select the 00000005_app_OUT folder when asked. Say no to compression options.
  59. You will be asked to save the resulting file. Go to the extracts folder
  60. for the wad and save over the original 00000005.app. It will warn you
  61. about overwriting it, but this is exactly what you want.
  62.  
  63. Now the extract folder looks the same, but now 00000005.app contains
  64. the rom we want to inject.
  65.  
  66. 16. Finally, in the ShowMiiWads software, click on "Tools" and select "Pack Wad".
  67. Select the extract folder filled with 0000000X.app files. You just need
  68. to select the location of where to write the packed wad.
  69.  
  70. You should now have a wad that contains the rom you wanted to inject.
  71. If you want to play this on Wii, I highly suggest to first test it in Dolphin.
  72. Injections may fail even when the softwares are used correctly, so do not
  73. be surprised if not all wad/rom combinations work.
  74.  
  75. Dolphin is picky about title IDs, so you may want to leave the title ID as is
  76. if you play on Dolphin or only change it after you tested on Dolphin.
  77.  
  78. ******* Editing ID *******
  79.  
  80. 0. Go in Options and check "Create Backups Before Editing".
  81. 1. Right-click your wad in ShowMiiWads and select "Change Title ID".
  82. 2. Type your new ID.
  83.  
  84. ******* Cases That I Know Work *******
  85.  
  86. -Ocarina of Time romhacks based off version 1.0 injected into Ocarina of Time 1.2 wad.
  87. -Ocarina of Time romhacks based off version 1.0 injected into the Ocarina of Time randomizer wad.
  88. -My Excel sheet claims the Mario Odyssey 64 romhack works when injected into the Mario 64 wad.
  89.  
  90.  
  91. ******* Cases I Think Don't Work *******
  92.  
  93. -Anything involving the Ocarina of Time debug rom PepeHands
  94. -A lot of the Mario 64 romhacks into the Mario 64 wad (would need more digging).
  95.  
  96. ******* Cases I Should Check *******
  97.  
  98. -Majora's Mask versions and randomizers into the different wads.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement