From df6e71fecdf4a1ec8b214b036d821ec788d522df Mon Sep 17 00:00:00 2001 From: Fledge68 Date: Mon, 7 Feb 2022 14:45:35 -0600 Subject: [PATCH] Created My Dev Notes (markdown) --- My-Dev-Notes.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 My-Dev-Notes.md diff --git a/My-Dev-Notes.md b/My-Dev-Notes.md new file mode 100644 index 0000000..ab6cbb1 --- /dev/null +++ b/My-Dev-Notes.md @@ -0,0 +1,9 @@ +My Personal notes about anything but mainly wiiflow. Putting them here as they might be useful to someone else. maybe i'll move them somewhere more appropriate. + +## AHBProt + +AHBProt stands for Advanced Hardware Bus Protection. AHB is what connects all the Hardware Devices of the Wii to the PPC. Its protected to keep hackers from easily gaining access to these devices. But there's an easy way to enable access to the AHB by setting bit 0 of the access rights field in the TMD. The HBC and other channels/forwarders do this by setting offset 0x1DB of their TMD to 0x03. They also set offset 0x18B to 0x3A (58) to use IOS58. + +Some people say you need to enable AHBProt. This is wrong. Yes you are setting a bit to Enable access rights to the AHB but you need to Disable or Patch the Protection in order to use AHB. In WiiFlow Fix94 refers to it as 'AHBProt patched out' and USBLGX Cyan refers to it as 'AHBProt Disabled' + +All homebrew loaded via the HBC will have the AHBProt disabled. WiiFlow and USBLGX have AHBProt disabled via their forwarder channels. To disable AHBProt in a channel you need a wad of the channel and you need to extract the contents of that wad which will give you the TMD file. Load the TMD file in a Hex Editor and set offset 0x1DB to 0x03 and save it. now repack the wad and install it on your wii. That's it. \ No newline at end of file