so that's how we make a forwarder for RPX HBL apps ?Why ofc? I mean you could use this as a base: https://github.com/V10lator/sohwf - simply exchange the meta files (esp the title ID!) and this one line of code: https://github.com/V10lator/sohwf/blob/master/src/main.c#L16
Then use Docker to get the forwarder. Note that you need to handle the Wii Us common key to it through (on GitHub actions this is automated: https://github.com/V10lator/sohwf/blob/master/.github/workflows/master.yml#L32 ).
Just change line 16 in this C file.so that's how we make a forwarder for RPX HBL apps ?
and how do i get the forwarder package after changing the line ?Just change line 16 in this C file.
docker build . -t builder
docker run --rm -v %cd%:/project builder python3 build.py
docker run --rm -v ${PWD}:/project builder python3 build.py
do i do all of this inside or outside of docker?Full tutorial to make a forwarder using V10lator's sohwf as a base:
1. Download the master of the following Github repository and get Docker:
https://github.com/V10lator/sohwf/
https://www.docker.com/
2. Change this one line to point to whatever .rpx file you want to forward to:
https://github.com/V10lator/sohwf/blob/master/src/main.c#L16
3. Change the "meta" folder to include the wanted information. (Change graphics, title ID, group ID and the forwarders name in the .xml files) (The Title ID is in Hex characters so 0-9 and A-F)
4. Change these five lines:
https://github.com/V10lator/sohwf/blob/master/Makefile#L33
https://github.com/V10lator/sohwf/blob/master/.github/workflows/master.yml#L37
https://github.com/V10lator/sohwf/blob/master/build.py#L34 (same as to what's in the cos.xml)
https://github.com/V10lator/sohwf/blob/master/build.py#L23
https://github.com/V10lator/sohwf/blob/master/build.py#L40 (to whatever you like but both line 40 and 23 must have the identical name change)
5. Create a file called encryptKeyWith (no file extension) in the same dir, open it with a text editor and put the Wii U Common Key (google it)
6. Open a command prompt or terminal in the same directory.
7. Run this command to get the required dependencies:
docker build . -t builder
8. Run this command to compile:
Windows:
docker run --rm -v %cd%:/project builder python3 build.py
Linux:
docker run --rm -v ${PWD}:/project builder python3 build.py
Troubleshooting:
The docker lines at the end of the guide don't work: Make sure Docker is running in the background.
When installing the forwarders to my NAND and opening them, I get error 199-9999: This is a Title ID issue. Try experimenting with different Title IDs and recompiling till it works on the NAND.
after you do git clone but before you run docker.do i do all of this inside or outside of docker?
"git clone" means downloading the shofw master file right?after you do git clone but before you run docker.
Post automatically merged:
oh, he's downloading the master version. well, after that, but before you use docker. you can change this stuff in notepad++ or what most devs do is use visual studio. that's usually how they code.
okay so i basically run docker and open the master file of soh using docker? i'm just so confused. also would this work with docker toolbox?yeah, it's about the same thing. some things do not like it if you don't use git clone (say this isn't a git repository or something), but I don't think you have to worry here. plus, it's not all that common when that happens.
thank you so much, this clears things up ALOTyou need to download the zip, then make the changes. after that, run the docker commands. changes can be done with notepad++. docker just makes it to where you don't have to download a bunch of dependencies, so it's like cheating for compiling. however, it only works with repos that have a docker file like this one.
In this case downloading is fine but for the next time: https://github.com/git-guides/git-clone"git clone" means downloading the shofw master file right?
btw can you code the Sonic 1, 2 and CD decomps to support the Wii U Pro Controller? It's such a deal breaker to me to play them using the Wii U Gamepad. I hate it.In this case downloading is fine but for the next time: https://github.com/git-guides/git-clone
Cmd tells me Unable to find builder:latest locallyFull tutorial to make a forwarder using V10lator's sohwf as a base:
1. Download the master of the following Github repository and get Docker:
https://github.com/V10lator/sohwf/
https://www.docker.com/
2. Change this one line to point to whatever .rpx file you want to forward to:
https://github.com/V10lator/sohwf/blob/master/src/main.c#L16
3. Change the "meta" folder to include the wanted information. (Change graphics, title ID, group ID and the forwarders name in the .xml files) (The Title ID is in Hex characters so 0-9 and A-F)
4. Change these five lines:
https://github.com/V10lator/sohwf/blob/master/Makefile#L33
https://github.com/V10lator/sohwf/blob/master/.github/workflows/master.yml#L37
https://github.com/V10lator/sohwf/blob/master/build.py#L34 (same as to what's in the cos.xml)
https://github.com/V10lator/sohwf/blob/master/build.py#L23
https://github.com/V10lator/sohwf/blob/master/build.py#L40 (to whatever you like but both line 40 and 23 must have the identical name change)
5. Create a file called encryptKeyWith (no file extension) in the same dir, open it with a text editor and put the Wii U Common Key (google it)
6. Open a command prompt or terminal in the same directory.
7. Run this command to get the required dependencies:
docker build . -t builder
8. Run this command to compile:
Windows:
docker run --rm -v %cd%:/project builder python3 build.py
Linux:
docker run --rm -v ${PWD}:/project builder python3 build.py
Troubleshooting:
The docker lines at the end of the guide don't work: Make sure Docker is running in the background.
When installing the forwarders to my NAND and opening them, I get error 199-9999: This is a Title ID issue. Try experimenting with different Title IDs and recompiling till it works on the NAND.
are you inside the folder with the docker image?btw can you code the Sonic 1, 2 and CD decomps to support the Wii U Pro Controller? It's such a deal breaker to me to play them using the Wii U Gamepad. I hate it.
Post automatically merged:
Cmd tells me Unable to find builder:latest locally
What do I do
Yesss I amare you inside the folder with the docker image?
do you mean on the wiiu?Yesss I am
I built the thing
But when I run it it says "unable to find builder:latest locally"
Oh no this is all being done on my pc. When I try to run that command it just says it can't find builder:latest locally even though i'm on the folder of sohfw-master.do you mean on the wiiu?
So yes cmd is operating on the right folder (sohfw-master) but it keeps bringing that error whenever i try to run the second command of docker.Oh no this is all being done on my pc. When I try to run that command it just says it can't find builder:latest locally even though i'm on the folder of sohfw-master.
I haven't inserted the SD Card of the WII U at all
is docker open? it should be a white or black sub icon on the taskbar.Oh no this is all being done on my pc. When I try to run that command it just says it can't find builder:latest locally even though i'm on the folder of sohfw-master.
I haven't inserted the SD Card of the WII U at all
Post automatically merged:
So yes cmd is operating on the right folder (sohfw-master) but it keeps bringing that error whenever i try to run the second command of docker.