Tutorial  Updated

Building iosuhax on windows

In this tutorial I will go over how to build iosuhax from either my branch (for wupserver only) or dimoks branch (for rednand and signature patches) without having anything related installed yet.

Getting python
The first thing you want to do is download python, for this guide you will click download python 3.5, this will give you the current 3.5 32bit installer of python. If you already have a python 2 installation and you dont want to uninstall for python 3 then skip this step but note that you may have to add the python installation path into the PATH variable yourself if you didnt do that during that installation.
After opening the 3.5 32bit installer make sure to enable "Add Python 3.5 to PATH" because we want to be able to call python from anywhere, now let it install.

Installing pycrypto
To easly install pycrypto we will install it from this github page for the current 3.5 or this page for 2.7 if you have that. Open up a command prompt by for example pressing windows+r and typing in "cmd", in this command prompt you want to enter the following (just copy paste this depending on your python version):
PYTHON 3
Python 3.5 32bit:
Code:
pip install --use-wheel --no-index --find-links=https://github.com/sfbahr/PyCrypto-Wheels/raw/master/pycrypto-2.6.1-cp35-none-win32.whl pycrypto
Python 3.5 64bit:
Code:
pip install --use-wheel --no-index --find-links=https://github.com/sfbahr/PyCrypto-Wheels/raw/master/pycrypto-2.6.1-cp35-none-win_amd64.whl pycrypto
PYTHON 2
Python 2.7 32bit:
Code:
pip install --use-wheel --no-index --find-links=https://bitbucket.org/alexandrul/wheels/downloads/pycrypto-2.6.1-cp27-none-win32.whl pycrypto
Python 2.7 64bit:
Code:
pip install --use-wheel --no-index --find-links=https://bitbucket.org/alexandrul/wheels/downloads/pycrypto-2.6.1-cp27-none-win_amd64.whl pycrypto
If you have any older python 2/3 version then maybe just consider upgrading to the current version of python 2/3.
This will automatically install pycrypto for your python version, just let it finish up.

Getting devkitARM
Download the devkitpro updater from here and start it up, it will give you quite a few options on things to install, all you need to select is "Minimal System" and "devkitARM", you can uncheck everything else. Now just let it download and install everything.

Getting armips
For armips you can just download my pre-compiled exe and put it into "C:\devkitPro\msys\bin" so it can be directly used on compilation.

Downloading and preparing iosuhax
Depending on what you want head over to my branch or dimoks branch, click on "Clone or download" and if you have git then clone it, if you dont have git just click "Download ZIP" and extract the contents of it into a new folder on your computer. Make sure that new full folder path does not contain any spaces, a wrong path would be "C:\my folder\iosuhax", a correct folder would be "C:\my_folder\iosuhax".

Now if you have "the 2 keys" already you can edit the getfwimg from the little guide below:
Go into the "bin" folder, right click on getfwimg and select "Edit with IDLE", put the 2 keys in like this:
Code:
wiiu_common_key = "D7000000000000000000000000000000"
starbuck_ancast_key = "B5000000000000000000000000000000"
Of course these are not the full keys but only their first 2 digits. Now just save it.
If you dont have "those 2 keys" you can easly get them from your wiiu itself like this without having to edit any scripts:
Go grab otp2sd and start it via the homebrew launcher, it will just restart you and place a otp.bin on your wiiu sd card. Copy that otp.bin one folder above the iosuhax one so in our example let iosuhax be in "C:\my_folder\iosuhax", so you copy otp.bin into "C:\my_folder", iosuhax will find that otp.bin and use it automatically, you dont need to edit any scripts this way.

Now that you finally prepared iosuhax its time to compile it! Shift-right click in the iosuhax main folder, click on "Open command window here" and just type in "make" and press enter, this will get you a fw.img as output which you can put on you sd card root and use in cfw booter! If it failed to compile because of commands being unknown you may have to reboot your computer to make sure it properly installed all of the software.

I hope with this you were able to successfully compile iosuhax, now have fun with it :)

Note by Cyan:
Dimok branch can now build both CFW with and without NAND redirection to SD card, while Fix94 branch only compile a SysNAND CFW.

Fix94 branch : sysNAND. doesn't have latest cfw patches, but fix94 version contain new wupserver command instead.
Dimok branch : sysNAND and redNAND. This branch has currently more features than fix94 branch (allows HBL channel version installation, unrestricted NAND FTP access, NAND to SD dump, FAT32 USB mount support, etc.)

When you are at the compiling step,
fix94 sysNAND, type : make
dimok sysNAND, type : make cfw
dimok redNAND, type : make redNAND
by default, typing only "make" on dimok branch, it will build redNAND
 
Last edited by Cyan, , Reason: Added new compile steps and differences between Fix94 and Dimok branches.

jorgehntx

Active Member
Newcomer
Joined
Nov 20, 2016
Messages
28
Trophies
0
Age
43
XP
56
Country
United States
RL63fvo.png

I made a splash screen with the wii u styled font,background which also shows the "version" of the CFW. In order to have the splash screen feature you have to use Dimok's CFW.
Note: In case you edit it make sure its flipped vertically (check my splash_image.tga) also keep in mind that it would show a part of the image(the white/invisible part on my psd is the one that it doesnt display on the gamepad's screen). Lastly, you have to export it as 16bit uncompressed tga file.
TGA File,PSD File
so...is normal what my gamepad show me blurry image?
 

George35000vr

hippity hoppity get off my property
Member
Joined
Jun 22, 2013
Messages
252
Trophies
1
Age
24
Location
Chania, Crete
XP
1,227
Country
Greece
What resolution u recomend to me...i would like to change it or least try
Sorry misinformation from my side.I actually exported in 16bit tga (uncompressed) which lowered the quality not the resolution and keep in mind that's a must for it in order to display the splash image properly. You have to keep the same resolution as on my psd file although the actual display part is the picture excluding the white bars. Excuse my crappy english xD
 
Last edited by George35000vr,

jorgehntx

Active Member
Newcomer
Joined
Nov 20, 2016
Messages
28
Trophies
0
Age
43
XP
56
Country
United States
Sorry misinformation from my side.I actually exported in 16bit tga (uncompressed) which lowered the quality not the resolution and keep in mind that's a must for it in order to display the splash image properly. You have to keep the same resolution as on my psd file although the actual display part is the picture excluding the white bars. Excuse my crappy english xD
That's good man..tanx 4 u help :-)
 

George35000vr

hippity hoppity get off my property
Member
Joined
Jun 22, 2013
Messages
252
Trophies
1
Age
24
Location
Chania, Crete
XP
1,227
Country
Greece

x65943

hunger games round 29 big booba winner
Supervisor
GBAtemp Patron
Joined
Jun 23, 2014
Messages
6,214
Trophies
3
Location
ΗΠΑ
XP
26,241
Country
United States
Don't comment if you don't have anything constructive to say.

And by the way, I made it work :P

I did have something constructive to say. I told you to simply type "make" - which is the mistake you were making. You were typing "make cfw"
 
D

Deleted User

Guest
I get this error whenever I try to compile dimok's fork. Any help?
 

Attachments

  • Capture.png
    Capture.png
    5.5 KB · Views: 308

heat6jones

Well-Known Member
Member
Joined
Jun 7, 2007
Messages
156
Trophies
1
XP
267
Country
United States
This guide does not work.

C:\Users\widen\Downloads\iosuhax-master2\iosuhax-master>make cfw
make[1]: Entering directory `/c/Users/widen/Downloads/iosuhax-master2/iosuhax-master'
Traceback (most recent call last):
File "getfwimg.py", line 12, in <module>
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher
make[1]: *** [bin/fw.img.full.bin] Error 1
make[1]: Leaving directory `/c/Users/widen/Downloads/iosuhax-master2/iosuhax-master'
make: *** [cfw] Error 2

EDIT: I got it to work.

First install Visual C++ for Python 2.7

https://www.microsoft.com/en-us/download/confirmation.aspx?id=44266

Then open a command prompt and type in:

'easy_install pycrypto'
 
Last edited by heat6jones,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
I get this error whenever I try to compile dimok's fork. Any help?
it couldn't find "arm-none-eabi" which is part of devkitpro, be sure you downloaded the latest version of Devkit_ARM, and that you have Devkitpro and devkitARM in your environment variables.
Old "eabi" used a different name, so maybe you have an older version installed? update devkitpro.


Traceback (most recent call last):
File "getfwimg.py", line 12, in <module>
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher
You don't have Pycrypto installed correctly. Or maybe the wrong version if it's installed, but missing "cipher" function from the Crypto folder.

Re-install pycrypto, either re-type the command from the first post (maybe you forgot a step, or it didn't install or download, but you thought it correctly did and didn't retry), or do it manually (download the package and extract the "crypto" folder in your python path)

what you did to make it work is just reinstall pycrypto from another method (with VC++ command) instead of python command line or manual folder extraction.
as long as it works, that's fine to use any method you prefer.
 

Pachee

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
480
Trophies
0
XP
560
Country
United States
the first post is not reflecting the new update yet, but there are two different "sysNAND" cfw now.

Fix94 branch : sysNAND. doesn't have latest cfw patches, but fix94 worked on wupserver instead (adding new commands)
Dimok branch : sysNAND and redNAND. has currently more features than fix94 branch (allows HBC channel install, unrestricted ftp, NAND to SD dump, etc.)

When you are at the compiling step,
fix94 sysNAND, type : make
dimok sysNAND, type : make cfw
dimok redNAND, type : make redNAND
by default (typing only "make") it will build redNAND
I was having a headache with this, thanks. I think it should be added to the first page.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    B @ btjunior: @Xdqwerty 16