Homebrew *hax 2.5 source code released!

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
Here's some tips for a few possible compiling issues.

* for cubic ninja compilation, you need blowfish_processed.bin and blz.exe in the scripts folder, and ARMIPS.exe somewhere in your system's path. Go here for the .exe files (thanks d0k3). Find the blowfish file online at an iso site or google pastebin and the file name. Then copy the contents of the paste and ... paste them inside your favorite hex editor and save. The resulting md5 should be: 33f38ab6f0821bc64b6f6bf98c1494f0

* you need to use the libctru in the repo - it's a really old one. Just put "export CTRULIB=<path to your ninjhax2.x repo>/libctru" near the beginning of the root makefile (no quotes).

* do not type "make". you need to install pythonX (and GCC/minGW) and input something like (for example):
python scripts/buildVersion.py "9.2.0-20U" OR python scripts/buildAll.py
You can also add --enableotherapp to get otherapp payloads. See oot3Dhax readme for information on those. The resulting payloads (cubic ninja and otherapp) will be in the p/ directory, QRs in the q/ directory, and ropbins (for menuhax) in r/ directory.

There may be other tips I'll add later, and I'll answer questions if I can.
 
Last edited by zoogie,

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Here's some tips for a few possible compiling issues.

--for cubic ninja compilation, you need blowfish_processed.bin and blz.exe in the scripts folder.
Find the blowfish file online at an iso site or google pastebin and the file name. Then copy the contents of the paste and ... paste them inside your favorite hex editor and save. The resulting md5 should be: 33f38ab6f0821bc64b6f6bf98c1494f0
The blz.exe file is an obscure DS homebrew tool and I had a hell of a time tracking it down. I've attached it below inside the sslpatcher package.

--you need to use the libctru in the repo - it's a really old one. Just put export CTRULIB=<path to your ninjhax2.x repo>/libctru near the beginning of the root makefile.

--do not type "make". you need to install pythonX.X and input something like (for example):
python scripts/buildVersion.py "9.2.0-20U" OR python scripts/buildAll.py
You can also add --enableotherapp to get otherapp payloads. See oothax3d readme for information on those.
The resulting payloads (cubic ninja and otherapp) will be in the p/ directory, QRs in the q/ directory, and ropbins (for menuhax) in r/ directory.

--you need ARMIPS.exe somewhere in your path. You can find it here. (speaking of which, @d0k3 , could you add blz.exe? thx!)

There may be other tips I'll add later, and I'll answer questions if I can.
Alright, but can you tell me what blz.exe does?
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
Here's one page I found. Looks like a compression tool, no idea why the payload requires it.
https://github.com/smealum/ninjhax2.x/blob/master/Makefile#L125
Compresses the payload.bin in the Cubic Ninja savegame probably. The absolute maximum filesize is about 45K so saving space is at a premium.

There's some fun stuff in this repo, I urge people to have a look around. (*n*hax maybe? :D)
(I've edited my post too, this upload has the source to blz and other compressors)
 
Last edited by zoogie,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @salazarcosplay, I'm good. Thanks.