Homebrew *hax 2.5 source code released!

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
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)
What I'd REALLY love is 8.1 support, 8.1J users could then run sysupdater and go from there...
 
  • Like
Reactions: zoogie

3xkrazy

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
299
Trophies
0
XP
279
Country
United States
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 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.

Hi Zoogie,

Do you have the linux version of blz.exe?
 

Osakasan

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
1,236
Trophies
1
Age
39
XP
3,138
Country
I'm trying to avoid that part of GBATemp, currently.

It's just a matter of time before kernel access is available on 10.3 and up, and I'm willing to be patient.

Dude, seriously, just downgrade, and the get full speed (or as fast as o3DS allows) on 10.3 with CFW on emunand. Everyone wins!
 

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
Ok, source code released but will we have any changements/improvements?
Backporting and local server hosting are two immediate improvements possible. Some people have also complained about the debug text so you could fix that too I guess. You're unlikely to see any major improvements until v3.0 though.

There's also something interesting hidden deep in the commit history too. :ninja:
 

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,069
Trophies
2
XP
7,820
Country
United States
is anyone getting this kind of error? I'm building on top of Windows 8.1 with: python scripts/buildVersion.py "9.5.0-23U"

Code:
C:\Users\Ian\Desktop\ninjhax2x>python scripts/buildVersion.py "9.5.0-23U"
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/PRE5'

make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/PRE5'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/POST5
'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/POST5'

make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/N3DS'

make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/N3DS'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/WEST'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/WEST'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/JPN'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/JPN'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/E'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/E'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/U'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/U'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/J'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/J'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropdb'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropdb'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/WEST'
make[3]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/WEST/cn_initial'
all cleaned up !
make[3]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
WEST/cn_initial'
all cleaned up !
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
WEST'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/JPN'
make[3]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/JPN/cn_initial'
all cleaned up !
make[3]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
JPN/cn_initial'
all cleaned up !
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
JPN'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader'

make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_load
er'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_load
er/WEST'
make[3]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_load
er/WEST/cn_initial'
all cleaned up !
make[3]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_loade
r/WEST/cn_initial'
all cleaned up !
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_loade
r/WEST'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_load
er/JPN'
make[3]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_load
er/JPN/cn_initial'
all cleaned up !
make[3]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_loade
r/JPN/cn_initial'
all cleaned up !
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_loade
r/JPN'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_loade
r'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_secondary_payload
'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_secondary_payload'

make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/menu_payload'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/menu_payload'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/app_bootloader'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/app_bootloader'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/app_code'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/app_code'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropbin_patcher'

all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropbin_patcher'
all cleaned up !
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/POST5
'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/POST5'

make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/WEST'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/WEST'
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/U'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/U'
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropdb'
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropdb'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/WEST'
# probably a bad idea; dependencies won't work well i guess
make -C cn_initial
make[3]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/WEST/cn_initial'
arm-none-eabi-gcc -Wall -std=c99 -march=armv6 -mthumb -mthumb-interwork -Os -I"/
c/Users/Ian/Desktop/ninjhax2x/libctru/include" -I/c/devkitPro/libnds/include -c
source/decomp.c -o build/decomp.o
arm-none-eabi-gcc -Wall -std=c99 -march=armv6 -mthumb -mthumb-interwork -Os -I"/
c/Users/Ian/Desktop/ninjhax2x/libctru/include" -I/c/devkitPro/libnds/include -c
source/font.c -o build/font.o
arm-none-eabi-gcc -Wall -std=c99 -march=armv6 -mthumb -mthumb-interwork -Os -I"/
c/Users/Ian/Desktop/ninjhax2x/libctru/include" -I/c/devkitPro/libnds/include -c
source/main.c -o build/main.o
source/main.c: In function '_main':
source/main.c:252:6: warning: unused variable 'line' [-Wunused-variable]
  int line=10;
      ^
arm-none-eabi-gcc -Wall -std=c99 -march=armv6 -mthumb -mthumb-interwork -Os -I"/
c/Users/Ian/Desktop/ninjhax2x/libctru/include" -I/c/devkitPro/libnds/include -c
source/text.c -o build/text.o
arm-none-eabi-gcc -Wall -std=c99 -march=armv6 -mthumb -mthumb-interwork -Os -I"/
c/Users/Ian/Desktop/ninjhax2x/libctru/include" -I/c/devkitPro/libnds/include -c
source/crt0.s -o build/crt0.o
cd "/c/Users/Ian/Desktop/ninjhax2x/libctru" && make
make[4]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/libctru'
mkdir -p build
mkdir -p lib
arm-none-eabi-gcc-ar rvs lib/"libctru".a build/AC.o build/APT.o build/CFGNOR.o b
uild/CSND.o build/FS.o build/GPU.o build/GSP.o build/GX.o build/HID.o build/HTTP
C.o build/IR.o build/OS.o build/SHDR.o build/SOC.o build/_GSP.o build/gpuResetSe
quence.o build/srv.o build/svc.o
r - build/AC.o
r - build/APT.o
r - build/CFGNOR.o
r - build/CSND.o
r - build/FS.o
r - build/GPU.o
r - build/GSP.o
r - build/GX.o
r - build/HID.o
r - build/HTTPC.o
r - build/IR.o
r - build/OS.o
r - build/SHDR.o
r - build/SOC.o
r - build/_GSP.o
r - build/gpuResetSequence.o
r - build/srv.o
r - build/svc.o
make[4]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/libctru'
arm-none-eabi-ld --script=ccd00.ld -L"/c/devkitPro/devkitARM/arm-none-eabi/lib"
-L"/c/Users/Ian/Desktop/ninjhax2x/libctru/lib" -Map=output.map -o cn_initial.elf
build/decomp.o build/font.o build/main.o build/text.o -g -lm
arm-none-eabi-objcopy -O binary cn_initial.elf cn_initial.bin
make[3]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
WEST/cn_initial'
armips sploit.s
ARMIPS Assembler v0.7d (Apr  1 2013 10:09:41) by Kingcom
../../build/constants.s(8) error: Invalid equation name ("U")_id
Aborting.
make[2]: *** [cn_qr_initial_loader.bin] Error 1
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
WEST'
make[1]: *** [cn_qr_initial_loader.bin.png] Error 2
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader'

make: *** [cn_qr_initial_loader/cn_qr_initial_loader.bin.png] Error 2

C:\Users\Ian\Desktop\ninjhax2x>
the one error I notice is this:
Code:
armips sploit.s
ARMIPS Assembler v0.7d (Apr  1 2013 10:09:41) by Kingcom
../../build/constants.s(8) error: Invalid equation name ("U")_id
Aborting.
"U" would change to "E" if I were to use something like 9.5.0-23E, etc.
 

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
is anyone getting this kind of error? I'm building on top of Windows 8.1 with: python scripts/buildVersion.py "9.5.0-23U"

Code:
C:\Users\Ian\Desktop\ninjhax2x>python scripts/buildVersion.py "9.5.0-23U"
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/PRE5'

make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/PRE5'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/POST5
'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/POST5'

make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/N3DS'

make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/N3DS'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/WEST'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/WEST'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/JPN'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/JPN'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/E'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/E'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/U'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/U'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/J'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/J'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropdb'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropdb'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/WEST'
make[3]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/WEST/cn_initial'
all cleaned up !
make[3]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
WEST/cn_initial'
all cleaned up !
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
WEST'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/JPN'
make[3]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/JPN/cn_initial'
all cleaned up !
make[3]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
JPN/cn_initial'
all cleaned up !
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
JPN'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader'

make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_load
er'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_load
er/WEST'
make[3]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_load
er/WEST/cn_initial'
all cleaned up !
make[3]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_loade
r/WEST/cn_initial'
all cleaned up !
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_loade
r/WEST'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_load
er/JPN'
make[3]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_load
er/JPN/cn_initial'
all cleaned up !
make[3]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_loade
r/JPN/cn_initial'
all cleaned up !
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_loade
r/JPN'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_save_initial_loade
r'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_secondary_payload
'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_secondary_payload'

make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/menu_payload'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/menu_payload'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/app_bootloader'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/app_bootloader'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/app_code'
all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/app_code'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropbin_patcher'

all cleaned up !
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropbin_patcher'
all cleaned up !
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/POST5
'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants/POST5'

make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/firm_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/WEST'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants/WEST'
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/U'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants/U'
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/region_constants'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropdb'
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/menu_ropdb'
make[1]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
'
make[2]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/WEST'
# probably a bad idea; dependencies won't work well i guess
make -C cn_initial
make[3]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader
/WEST/cn_initial'
arm-none-eabi-gcc -Wall -std=c99 -march=armv6 -mthumb -mthumb-interwork -Os -I"/
c/Users/Ian/Desktop/ninjhax2x/libctru/include" -I/c/devkitPro/libnds/include -c
source/decomp.c -o build/decomp.o
arm-none-eabi-gcc -Wall -std=c99 -march=armv6 -mthumb -mthumb-interwork -Os -I"/
c/Users/Ian/Desktop/ninjhax2x/libctru/include" -I/c/devkitPro/libnds/include -c
source/font.c -o build/font.o
arm-none-eabi-gcc -Wall -std=c99 -march=armv6 -mthumb -mthumb-interwork -Os -I"/
c/Users/Ian/Desktop/ninjhax2x/libctru/include" -I/c/devkitPro/libnds/include -c
source/main.c -o build/main.o
source/main.c: In function '_main':
source/main.c:252:6: warning: unused variable 'line' [-Wunused-variable]
  int line=10;
      ^
arm-none-eabi-gcc -Wall -std=c99 -march=armv6 -mthumb -mthumb-interwork -Os -I"/
c/Users/Ian/Desktop/ninjhax2x/libctru/include" -I/c/devkitPro/libnds/include -c
source/text.c -o build/text.o
arm-none-eabi-gcc -Wall -std=c99 -march=armv6 -mthumb -mthumb-interwork -Os -I"/
c/Users/Ian/Desktop/ninjhax2x/libctru/include" -I/c/devkitPro/libnds/include -c
source/crt0.s -o build/crt0.o
cd "/c/Users/Ian/Desktop/ninjhax2x/libctru" && make
make[4]: Entering directory `/c/Users/Ian/Desktop/ninjhax2x/libctru'
mkdir -p build
mkdir -p lib
arm-none-eabi-gcc-ar rvs lib/"libctru".a build/AC.o build/APT.o build/CFGNOR.o b
uild/CSND.o build/FS.o build/GPU.o build/GSP.o build/GX.o build/HID.o build/HTTP
C.o build/IR.o build/OS.o build/SHDR.o build/SOC.o build/_GSP.o build/gpuResetSe
quence.o build/srv.o build/svc.o
r - build/AC.o
r - build/APT.o
r - build/CFGNOR.o
r - build/CSND.o
r - build/FS.o
r - build/GPU.o
r - build/GSP.o
r - build/GX.o
r - build/HID.o
r - build/HTTPC.o
r - build/IR.o
r - build/OS.o
r - build/SHDR.o
r - build/SOC.o
r - build/_GSP.o
r - build/gpuResetSequence.o
r - build/srv.o
r - build/svc.o
make[4]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/libctru'
arm-none-eabi-ld --script=ccd00.ld -L"/c/devkitPro/devkitARM/arm-none-eabi/lib"
-L"/c/Users/Ian/Desktop/ninjhax2x/libctru/lib" -Map=output.map -o cn_initial.elf
build/decomp.o build/font.o build/main.o build/text.o -g -lm
arm-none-eabi-objcopy -O binary cn_initial.elf cn_initial.bin
make[3]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
WEST/cn_initial'
armips sploit.s
ARMIPS Assembler v0.7d (Apr  1 2013 10:09:41) by Kingcom
../../build/constants.s(8) error: Invalid equation name ("U")_id
Aborting.
make[2]: *** [cn_qr_initial_loader.bin] Error 1
make[2]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader/
WEST'
make[1]: *** [cn_qr_initial_loader.bin.png] Error 2
make[1]: Leaving directory `/c/Users/Ian/Desktop/ninjhax2x/cn_qr_initial_loader'

make: *** [cn_qr_initial_loader/cn_qr_initial_loader.bin.png] Error 2

C:\Users\Ian\Desktop\ninjhax2x>
the one error I notice is this:
Code:
armips sploit.s
ARMIPS Assembler v0.7d (Apr  1 2013 10:09:41) by Kingcom
../../build/constants.s(8) error: Invalid equation name ("U")_id
Aborting.
"U" would change to "E" if I were to use something like 9.5.0-23E, etc.
That line is supposed to read
REGION equ ("U")
Those assembly files are generated by python so I suspect it may be a problem of how python is parsing command line arguments.
Try the firmware without quotes.
python scripts/buildVersion.py 9.5.0-23U
or
python scripts/buildAll.py
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: Anybody here?