Homebrew *hax 2.5 source code released!

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,875
Country
Germany
well first, I decided to add the / anyway and got something like this:
Code:
arm-none-eabi-gcc -Wall -std=c99 -march=armv6 -mthumb -Os -fpie -I"/c/Users/Ian/
Desktop/ninjhax2x/libctru/-fpic/include" -I/c/devkitPro/libnds/include -c source
/font.c -o build/font.o
source/font.c:1:23: fatal error: ctr/types.h: No such file or directory
compilation terminated.
make[1]: *** [build/font.o] Error 1
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/app_code'
make: *** [app_code/app_code.bin] Error 2
"/c/Users/Ian/Desktop/ninjhax2x/libctru/-fpic/include"

I'm using 3.5.1 with this. I chose 3 since the original https://github.com/smealum/ninjhax mentions 3.
Is something wrong with the ARMIPS.exe in the 3DS Tools Collection?
 

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,005
Trophies
2
XP
7,298
Country
United States
Is something wrong with the ARMIPS.exe in the 3DS Tools Collection?
the build in the repo wasn't able to be used for building ninjhax 2.x (specific error message) compared to the one zoogie gave me earlier in this post. it was also much more smaller (106 KB to 264 KB).

the one in the repo had a date of "Apr 1 2013 10:09:41", while zoogie's one had "Apr 26 2014 04:24:30".

that's all I can give right now since I don't know how @zoogie got his build.
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,506
Trophies
2
XP
14,438
Country
Micronesia, Federated States of
the build in the repo wasn't able to be used for building ninjhax 2.x (specific error message) compared to the one zoogie gave me earlier in this post. it was also much more smaller (106 KB to 264 KB).

the one in the repo had a date of "Apr 1 2013 10:09:41", while zoogie's one had "Apr 26 2014 04:24:30".

that's all I can give right now since I don't know how @zoogie got his build.
Yeah, I get the same "equation" error as you when I use that small build. @d0k3 it might be a good idea to replace it with the one in my attachment. (and I forgot where I got it or if I even built it :P)
 

leonmagnus99

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
3,704
Trophies
2
Age
32
Location
Seinegald
XP
2,840
Country
Iraq
noobish question incoming, is this related to menuhax guys?

i basically love that hax , mm it is menuhax(themehax) that allows us the AutoBoot yes?
and is this an updated version again ?

i will defintely update it when it comes out.
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,506
Trophies
2
XP
14,438
Country
Micronesia, Federated States of
noobish question incoming, is this related to menuhax guys?

i basically love that hax , mm it is menuhax(themehax) that allows us the AutoBoot yes?
and is this an updated version again ?

i will defintely update it when it comes out.
Yes, you can build ropbins that work with menuhax with this repo.
No, this is the current 2.5.
 
  • Like
Reactions: leonmagnus99

nIxx

Well-Known Member
Member
Joined
Sep 30, 2007
Messages
1,544
Trophies
0
Location
Germany
Website
Visit site
XP
337
Country
Gambia, The
With github, does it let you download old commits? If so someone might be able to get somthing working

Sure you just git clone the repo as usuall and then use, within the downloaded directory, git checkout "commit version".
On github under commits you can just click on the "<>" to get the old files
 
Last edited by nIxx,

RedHat

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
360
Country
United States
So I am trying to compile the source for ninjahax and the make just "fails"... I am using Ubuntu (native linux, not through windows) with a freshly installed devkit pro (So I don't think that is the issue). I attached my make log to this post, and I just redirected both stdout and stderr to that file, so it should have everything.

I have absolutely no idea where to begin :unsure: (am I missing a file?)

command:
Code:
[email protected]:~/Git/ninjhax2.x$ python scripts/buildVersion.py 10.3.0-28U

last stack trace:
Code:
make[1]: Entering directory '/home/redhat/Git/ninjhax2.x/menu_payload'
ARMIPS Assembler v0.7d (Jun 20 2015 04:42:07) by Kingcom
ARMIPS Assembler v0.7d (Jun 20 2015 04:42:07) by Kingcom
ARMIPS Assembler v0.7d (Jun 20 2015 04:42:07) by Kingcom
Makefile:34: recipe for target 'menu_ropbin.bin' failed
make[1]: Leaving directory '/home/redhat/Git/ninjhax2.x/menu_payload'
Makefile:141: recipe for target 'menu_payload/menu_payload_regionfree.bin' failed

Makefile:
Code:
33: %.bin: %.s
34:     @armips $<
 

Attachments

  • log.txt
    15.3 KB · Views: 221

RedHat

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
360
Country
United States
Well, I fixed a problem, ran into another. The old problem was that my old binary would only return error code 1 no matter what you did with it. So I compiled it myself. I'm going to post my solution here in the hope that it helps someone.

How I got armips:
Code:
$ git clone --recursive https://github.com/Kingcom/armips.git
$ cd armips/
$ cmake ./
$ make
$ cp armips /opt/devkitpro/devkitARM/bin/armips

Not too hard, amirite? All I have to do now is figure out what "blz.exe" is and compile it for liunix. Does anyone know where I can get blz?
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,506
Trophies
2
XP
14,438
Country
Micronesia, Federated States of
Well, I fixed a problem, ran into another. The old problem was that my old binary would only return error code 1 no matter what you did with it. So I compiled it myself. I'm going to post my solution here in the hope that it helps someone.

How I got armips:
Code:
$ git clone --recursive https://github.com/Kingcom/armips.git
$ cd armips/
$ cmake ./
$ make
$ cp armips /opt/devkitpro/devkitARM/bin/armips

Not too hard, amirite? All I have to do now is figure out what "blz.exe" is and compile it for liunix. Does anyone know where I can get blz?
You know, this thread really isn't too long to read. :P
http://gbatemp.net/threads/hax-2-5-source-code-released.409366/page-2#post-5957906
 

RedHat

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
360
Country
United States
Last edited by RedHat,
  • Like
Reactions: zoogie

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,506
Trophies
2
XP
14,438
Country
Micronesia, Federated States of
  • Like
Reactions: ihaveahax

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,005
Trophies
2
XP
7,298
Country
United States
  • Like
Reactions: zoogie
General chit-chat
Help Users
    AncientBoi @ AncientBoi: ty @Veho :)