Tutorial  Updated

How to use NitroHax3DS (Including Managing Cheats File Size)

NitroHax3DS is a tool to apply cheat codes to NTR (NDS) games on the 3DS. This tutorial guides you on how to install, add cheats, and how to deal with the 2,500kb (2.5mb) cheats.xml file size limit. This tutorial does not show you the general usage of NitroHax, as the homebrew GUI generally takes care of that for you.

Requirements
  • A 3DS with Luma 6.1.2 or newer using boot9strap is the recommended setup for your 3DS and for any homebrew.
    If you are still on arm9loaderhax, pasta cfw, or anything alike, then try updating your hacks to boot9strap.
  • NitroHax3DS 0.99.NTR (Final ver?) CIA file, Do not use the DSi release downloads.
  • FBI 2.6.1 (Final) for installing NitroHax3DS CIA file.
  • Revolution 4 Cheat Code Editor (R4CCE) for managing the cheats.xml cheats and therefore the file size.
  • An Action Replay XML file (cheats.xml), e.g., DeadSkullzJr Repo (right click -> save link as), CodeJunkies EU, CodeJunkies US
NitroHax3DS Installation and Usage

Please follow the instructions on the NitroHax3DS readme for general Installation and Usage Instructions.

Lowering the cheats.xml file size

While NitroHax3DS has no actual cheats.xml file size limit, it should NOT exceed 2.5MB, nor should it really even get close to that size. NitroHax3DS loads the cheats.xml to RAM and the 3DS only has 4MB of RAM. This means you would potentially run out of ram, or leave too little amount of RAM available for the game or system to work sufficiently.

To be on the safe side I recommend lowering the cheats.xml file size to be less than 1.5MB in size. The lower it is, the better. You should only have cheat codes for games you want to use, and only have cheat codes you plan to actually use. White screens and crashes may be caused by the cheats.xml being too large (even if it's around 1.5MB).
  1. Open R4CCE, click `File` -> `Open` -> And open the cheats.xml file.
  2. Remove all cheats for games you do not have and/or want to use, the more you can remove the better.
  3. Once you have the cheats.xml lowered as much as you can, Put it on the root of your 3DS SD Card.
F.A.Q

Q: I get a white screen when booting from Nitro but not when I boot normally;
A: The game may be unsupported, or the cheat code may be incompatible with your specific ROM region.

Q: I'm encountering a problem that happens even if I disable all cheats, yet doesn't happen if I play without NitroHax3DS;
A: It might be a NitroHax3DS problem. If you feel strongly that it could be a NitroHax3DS bug, report it on the GitHub Issues page and not here.

Q: Do DSi Enhanced Games work? What about DSi Exclusive Games?
A: No! [source] Sadly DSi Enhanced Games are not supported! This is due to NitroHax using an incredibly outdated Cart loader code that is not compatible with TWL game cartridges. This means both DSi Enhanced and DSi Exclusive games are not supported. E.g., Pokemon SoulSilver/HeartGold (DSi Enhanced), and Face Training (DSi Exclusive).

Got a question not here? Post it below.
 
Last edited by PRAGMA,

OCD3DS

Member
Newcomer
Joined
Aug 23, 2016
Messages
13
Trophies
0
Age
25
XP
73
Country
United States
Could somebody post a download link to the raw cheats.xml (nothing deleted) from Action Replay DSi Code Manager? I can't use the program (mac) so I need this file for Nitrohax to have codes to work with.
 

herolarcio

The difference is night and day.
Member
Joined
Oct 26, 2015
Messages
208
Trophies
0
Age
25
Location
My room
XP
196
Country
United States
Perhaps thats why, You dont actually have A9LH so it doesn't open the full potential of Luma,
Example: You have an android phone, You root it (LUMA), You now have extra abilities and can use root only stuff, But if you flash a Custom ROM (A9LH) you now have more potential.
Though as stated before people WITH a9lh have the same problem. Maybe it's an o3DS thing?
 

Skyshadow101

The Sky Is The Limit!
Member
Joined
May 22, 2016
Messages
941
Trophies
0
Location
The Underground
XP
417
Country
United States
Can somebody help me? I have gotten nitrohax to boot. And I put in mario kart ds because I wanted to test it out. When I press start game though, it freezes that this screen,
0be40c8ae1dde736bbb36432a02f0c34.jpg


And it wont get past it. I have that .cxi file I got off that chaos site. I had to manually create the sysmodules folder since luma wouldn't create it automatically, and I put the .cxi file into it. I'm on 6.0.1 dev version of luma.

Please help![emoji30] [emoji30]

Sent from my Browser on a New 3DS XL with A9LH
 
Last edited by Skyshadow101,

SimplyFedorable

Evangelion Geek
Member
Joined
Apr 7, 2016
Messages
575
Trophies
0
Location
melee hell
XP
511
Country
United States
Can somebody help me? I have gotten nitrohax to boot. And I put in mario kart ds because I wanted to test it out. When I press start game though, it freezes that this screen,
0be40c8ae1dde736bbb36432a02f0c34.jpg


And it wont get past it. I have that .cxi file I got off that chaos site. I had to manually create the sysmodules folder since luma wouldn't create it automatically, and I put the .cxi file into it. I'm on 6.0.1 dev version of luma.

Please help![emoji30] [emoji30]

Sent from my Browser on a New 3DS XL with A9LH
just make your own, I had no issues and it takes 10 minutes max.
 

Skyshadow101

The Sky Is The Limit!
Member
Joined
May 22, 2016
Messages
941
Trophies
0
Location
The Underground
XP
417
Country
United States
I installed python and devkitpro. (Through the guide.) And I restarted my pc. Now when I start the .cmd, it gives me errors, as if I never installed python. Here is the error.
Code:
C:\Users\jcs31_000\Desktop\twl_firm_patcher-master>mkdir temp\
A subdirectory or file temp\ already exists.

C:\Users\jcs31_000\Desktop\twl_firm_patcher-master>cp input\firmware_twl.bin tem
p\

C:\Users\jcs31_000\Desktop\twl_firm_patcher-master>cd scripts

C:\Users\jcs31_000\Desktop\twl_firm_patcher-master\scripts>patch_dev_launcher_n3
ds.cmd

FIRM:
Signature:              23554CBAE167F105BF1D8ED30937A1003C74F53F583B60791E84B684
151ED3FE
                        97DE72F874BCC63009F9C56608A80DF1B17CA1ABDFAD0E3E946FB78B
C8981056
                        8075FC1A98B4AE0C59A6B25579883B39E9DDE473600D2B358CE4258F
61552513
                        A1EA331D81AAF7976BBC2B45A5F2BC4E2B675DEBC10C0D84ED355478
8233FDAA
                        1E6DF48A452DD9A68CD5718C1C85DFBED7A3D057C942CE9C8148C2C8
D91EB4C7
                        84F134D8D5131656643A5FD10F4CDF64500E44B03E7DC4ECB8E346BE
3B0FC810
                        9F7EF7F8967E78E1FD12DAE66B0D37A662518AD83AF7DD76389B8725
628C1292
                        BCC747E34A513F207C12249A72673C9A426AA7890A024751590F0B71
DA63B5AA

Entrypoint ARM9:        0x080570A4
Entrypoint ARM11:       0x1FFAC01C

Section 0
Type:                  ARM11
Address:               0x18000000
Offset:                0x00000200
Size:                  0x0013BA00
Hash:                  0F05C5F360838B9DC8443FB3064D30C7B29BA6D8A3128AED65CC1200
AEAFFBDE
Section 1
Type:                  ARM11
Address:               0x1FF96000
Offset:                0x0013BC00
Size:                  0x00015000
Hash:                  071040BBCFC0BDC42FF20739C324141DC7F5FD01FEC6AF8E70C60250
5C0CE0DC
Section 2
Type:                  ARM11
Address:               0x1FFAB000
Offset:                0x00150C00
Size:                  0x00003000
Hash:                  8FCF83AA0060541AFC167834C379C6E2853253F7357B111D12566F8E
485401E8
Section 3
Type:                  ARM9
Address:               0x08006000
Offset:                0x00153C00
Size:                  0x00051A00
Hash:                  AA4CD86381C45372DB9B98ECE39D9B0FA3DE195607217C719D588E08
6E7D4EEC
Saving section 0 to firm/firm_0_18000000.bin...
Saving section 1 to firm/firm_1_1FF96000.bin...
Saving section 2 to firm/firm_2_1FFAB000.bin...
Saving section 3 to firm/firm_3_08006000.bin...
Press any key to continue . . .
save: twlBg.ncch.header
save: twlBg.exheader.bin
save: twlBg.exefs
save: twlBg.exefs.header
save: twlBg_original_exefs/code.bin
'python' is not recognized as an internal or external command,
operable program or batch file.
TWLTool v1.1
  by WulfyStylez
  Special thanks to CaitSith2

Input filename invalid!Nintendo DS rom tool 1.50.3 - Dec 12 2015
by Rafael Vuijk, Dave Murphy, Alexei Karpenko
9i (null), 7i (null), unitcode 0
'python' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the file specified.
TWLTool v1.1
  by WulfyStylez
  Special thanks to CaitSith2

Input filename invalid!A subdirectory or file twlBg_patched_exefs already exists
.
'python' is not recognized as an internal or external command,
operable program or batch file.
load: twlBg.exefs.header
ERROR: open file twlBg_patched_exefs/code.bin failed

ERROR: create file failed

load: twlBg.ncch.header
load: twlBg.exheader.bin
load: twlBg_patched.exefs
Press any key to continue . . .

Please help me! I really want to use nitrohax!
 
Last edited by Skyshadow101,

SimplyFedorable

Evangelion Geek
Member
Joined
Apr 7, 2016
Messages
575
Trophies
0
Location
melee hell
XP
511
Country
United States
I installed python and devkitpro. (Through the guide.) And I restarted my pc. Now when I start the .cmd, it gives me errors, as if I never installed python. Here is the error.
Code:
C:\Users\jcs31_000\Desktop\twl_firm_patcher-master>mkdir temp\
A subdirectory or file temp\ already exists.

C:\Users\jcs31_000\Desktop\twl_firm_patcher-master>cp input\firmware_twl.bin tem
p\

C:\Users\jcs31_000\Desktop\twl_firm_patcher-master>cd scripts

C:\Users\jcs31_000\Desktop\twl_firm_patcher-master\scripts>patch_dev_launcher_n3
ds.cmd

FIRM:
Signature:              23554CBAE167F105BF1D8ED30937A1003C74F53F583B60791E84B684
151ED3FE
                        97DE72F874BCC63009F9C56608A80DF1B17CA1ABDFAD0E3E946FB78B
C8981056
                        8075FC1A98B4AE0C59A6B25579883B39E9DDE473600D2B358CE4258F
61552513
                        A1EA331D81AAF7976BBC2B45A5F2BC4E2B675DEBC10C0D84ED355478
8233FDAA
                        1E6DF48A452DD9A68CD5718C1C85DFBED7A3D057C942CE9C8148C2C8
D91EB4C7
                        84F134D8D5131656643A5FD10F4CDF64500E44B03E7DC4ECB8E346BE
3B0FC810
                        9F7EF7F8967E78E1FD12DAE66B0D37A662518AD83AF7DD76389B8725
628C1292
                        BCC747E34A513F207C12249A72673C9A426AA7890A024751590F0B71
DA63B5AA

Entrypoint ARM9:        0x080570A4
Entrypoint ARM11:       0x1FFAC01C

Section 0
Type:                  ARM11
Address:               0x18000000
Offset:                0x00000200
Size:                  0x0013BA00
Hash:                  0F05C5F360838B9DC8443FB3064D30C7B29BA6D8A3128AED65CC1200
AEAFFBDE
Section 1
Type:                  ARM11
Address:               0x1FF96000
Offset:                0x0013BC00
Size:                  0x00015000
Hash:                  071040BBCFC0BDC42FF20739C324141DC7F5FD01FEC6AF8E70C60250
5C0CE0DC
Section 2
Type:                  ARM11
Address:               0x1FFAB000
Offset:                0x00150C00
Size:                  0x00003000
Hash:                  8FCF83AA0060541AFC167834C379C6E2853253F7357B111D12566F8E
485401E8
Section 3
Type:                  ARM9
Address:               0x08006000
Offset:                0x00153C00
Size:                  0x00051A00
Hash:                  AA4CD86381C45372DB9B98ECE39D9B0FA3DE195607217C719D588E08
6E7D4EEC
Saving section 0 to firm/firm_0_18000000.bin...
Saving section 1 to firm/firm_1_1FF96000.bin...
Saving section 2 to firm/firm_2_1FFAB000.bin...
Saving section 3 to firm/firm_3_08006000.bin...
Press any key to continue . . .
save: twlBg.ncch.header
save: twlBg.exheader.bin
save: twlBg.exefs
save: twlBg.exefs.header
save: twlBg_original_exefs/code.bin
'python' is not recognized as an internal or external command,
operable program or batch file.
TWLTool v1.1
  by WulfyStylez
  Special thanks to CaitSith2

Input filename invalid!Nintendo DS rom tool 1.50.3 - Dec 12 2015
by Rafael Vuijk, Dave Murphy, Alexei Karpenko
9i (null), 7i (null), unitcode 0
'python' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the file specified.
TWLTool v1.1
  by WulfyStylez
  Special thanks to CaitSith2

Input filename invalid!A subdirectory or file twlBg_patched_exefs already exists
.
'python' is not recognized as an internal or external command,
operable program or batch file.
load: twlBg.exefs.header
ERROR: open file twlBg_patched_exefs/code.bin failed

ERROR: create file failed

load: twlBg.ncch.header
load: twlBg.exheader.bin
load: twlBg_patched.exefs
Press any key to continue . . .

Please help me! I really want to use nitrohax!
try re-installing python and go into powershell if you are on windows. Copy and paste this
Code:
[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27", "User")
After that, do all the extra steps you had to do for python inn this guide.
 

Skyshadow101

The Sky Is The Limit!
Member
Joined
May 22, 2016
Messages
941
Trophies
0
Location
The Underground
XP
417
Country
United States
try re-installing python and go into powershell if you are on windows. Copy and paste this
Code:
[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27", "User")
After that, do all the extra steps you had to do for python inn this guide.
Did what you said, except the powershell thing since I don't know what that is, and it worked! Thanks! Compiled flawlessly and now games will load!

Sent from my Browser on a New 3DS XL with A9LH
 

PRAGMA

Well-Known Member
OP
Member
Joined
Dec 29, 2015
Messages
2,258
Trophies
1
Location
Ireland
Website
github.com
XP
5,036
Country
Ireland
and I can also Confirm That Animal Crossing works and that Wario Ware DIY doesent work at all.
Ok - Whats wrong with Wario Ware DIY? Doesnt boot?

--------------------- MERGED ---------------------------

Could somebody post a download link to the raw cheats.xml (nothing deleted) from Action Replay DSi Code Manager? I can't use the program (mac) so I need this file for Nitrohax to have codes to work with.
EU Codes: https://mega.nz/#!2VNUWSaB!uPbDTRho7bWQCNXtG6mwXywtX-B7lYDI22WaWflhAQM
US Codes: https://mega.nz/#!DRlURZAb!Ub2Kq86vCBy6WaMnqttD_182W5w_z_Pf_9_uCPHcL7w
(Download both as Nitrohax works with codes no matter what region)

For some people(including me) we cant compile it, we always get the "cp" error no matter what :c
Yup. That's why I got it at that chaos site.

Sent from my Browser on a New 3DS XL with A9LH
Well if you guys read the Bottom of the OP you would have your answer.
 

Posghetti

Un-official ReVeluv Leader
Member
Joined
Mar 15, 2016
Messages
1,141
Trophies
0
Location
Michigan
XP
782
Country
United States
Pokemon Black/White
- stuck loading (doesn't even get to white screen)

Mario & Luigi: Bowser's Inside Story
- white screen of death
 

adikoyzgaming

New Member
Newbie
Joined
Mar 2, 2016
Messages
4
Trophies
0
Age
25
Location
Cebu City
Website
www.facebook.com
XP
58
Country
I'm having the power down error when launching Nitrohax 0.94.NTR :sad::sad:
- I'm on the latest Luma3ds hourly/nightly
- my cxi is 1,268kb, twlBg.cxi ,located at luma folder
-my cheats.xml size is 56kb

EDIT: solved it by installing nitrohax in the sysnand and emunand :D
 
Last edited by adikoyzgaming,

Skyshadow101

The Sky Is The Limit!
Member
Joined
May 22, 2016
Messages
941
Trophies
0
Location
The Underground
XP
417
Country
United States
Ok - Whats wrong with Wario Ware DIY? Doesnt boot?

--------------------- MERGED ---------------------------


EU Codes: https://mega.nz/#!2VNUWSaB!uPbDTRho7bWQCNXtG6mwXywtX-B7lYDI22WaWflhAQM
US Codes: https://mega.nz/#!DRlURZAb!Ub2Kq86vCBy6WaMnqttD_182W5w_z_Pf_9_uCPHcL7w
(Download both as Nitrohax works with codes no matter what region)



Well if you guys read the Bottom of the OP you would have your answer.
I fixed it. I reinstalled python again and restarted my pc. Compiled just fine!

Sent from my Browser on a New 3DS XL with A9LH
 

Skyshadow101

The Sky Is The Limit!
Member
Joined
May 22, 2016
Messages
941
Trophies
0
Location
The Underground
XP
417
Country
United States
Games you can add to the list-

Drawn To Life: The Next Chapter - Works

Drawn To Life: Collection - Doesn't Boot, stuck at white screen.

Monster Jam: Urban Assault - Doesn't Boot, stuck at white Screen.

Spongebob's Boating Bash - Doesn't Boot, stuck at white screen.

Six Flags Fun Park - Works

Moshi Monsters Moshling Zoo - Doesn't work, stuck at white screen.

Nintendogs: Lab and Friends- Works




Sent from my Browser on a New 3DS XL with A9LH
 
Last edited by Skyshadow101,
  • Like
Reactions: PRAGMA

PRAGMA

Well-Known Member
OP
Member
Joined
Dec 29, 2015
Messages
2,258
Trophies
1
Location
Ireland
Website
github.com
XP
5,036
Country
Ireland
Games you can add to the list-

Drawn To Life: The Next Chapter - Works

Drawn To Life: Collection - Doesn't Boot, stuck at white screen.

Monster Jam: Urban Assault - Doesn't Boot, stuck at white Screen.

Spongebob's Boating Bash - Doesn't Boot, stuck at white screen.

Six Flags Fun Park - Works

Moshi Monsters Moshling Zoo - Doesn't work, stuck at white screen.

Nintendogs: Lab and Friends- Works




Sent from my Browser on a New 3DS XL with A9LH
Awesome addition to the lists!
:D Thanks
 

kedest

Well-Known Member
Member
Joined
Feb 6, 2007
Messages
3,289
Trophies
0
Website
Visit site
XP
534
Country
Netherlands
This whole manual patching process, is that something that will always be necessary to get this running?
Or might Luma be able to do this 'on the fly' in a later version, the same way it's already applying the patches for gba cia's for example?
 

PRAGMA

Well-Known Member
OP
Member
Joined
Dec 29, 2015
Messages
2,258
Trophies
1
Location
Ireland
Website
github.com
XP
5,036
Country
Ireland
This whole manual patching process, is that something that will always be necessary to get this running?
Or might Luma be able to do this 'on the fly' in a later version, the same way it's already applying the patches for gba cia's for example?
I dont think Luma will ever be able to do this due to Python being needed
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: It will actually make it worse