Homebrew Trying to get back in the loop but having issues.

ikithme

Well-Known Member
OP
Member
Joined
Mar 28, 2015
Messages
166
Trophies
0
XP
315
Country
United States
So its been since April 2015 since I've had the desire to pull out my N3DS and do stuff with it again, and I'm trying to get back in to the loop but I'm running in to issues, probably stuff I forgot.

My end goal right now is to get Xenoblade Chronicles in to a CIA, however a lot has changed and I'm having trouble figuring stuff out. I've tried getting decrypt9 working with the launcher hack using the old cubic ninja exploit to launch laucher.dat files, but I always get a black screen, then I see stuff about brahma and homebrew launchers and I'm just plain stuck, I have no clue where to start. I've kept reading on how to compile brahma but have had no luck with it.

Is there any guide on how to get what I need done? I could dl a cia file as my end all, but I'd rather learn how to do it myself since I have the cart sitting in front of me and I like learning new things.
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
So its been since April 2015 since I've had the desire to pull out my N3DS and do stuff with it again, and I'm trying to get back in to the loop but I'm running in to issues, probably stuff I forgot.

My end goal right now is to get Xenoblade Chronicles in to a CIA, however a lot has changed and I'm having trouble figuring stuff out. I've tried getting decrypt9 working with the launcher hack using the old cubic ninja exploit to launch laucher.dat files, but I always get a black screen, then I see stuff about brahma and homebrew launchers and I'm just plain stuck, I have no clue where to start. I've kept reading on how to compile brahma but have had no luck with it.

Is there any guide on how to get what I need done? I could dl a cia file as my end all, but I'd rather learn how to do it myself since I have the cart sitting in front of me and I like learning new things.
The new and improved Decrypt9 is your friend! :) https://gbatemp.net/threads/download-decrypt9-wip-3dsx-launcher-dat.388831/
If you have any issues with it please post in that thread so we can see the issue and try help. :)
 

ikithme

Well-Known Member
OP
Member
Joined
Mar 28, 2015
Messages
166
Trophies
0
XP
315
Country
United States

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Actually that's the issue I'm having, I pop launcher.dat on to my SD card and I get a black screen every time after hitting QR Code on cubic ninja.

Running N3DS 9.0 sysnand and 10.4 gateway emunand.
Have you updated your ninjhax to 2.5? May be the issue if you haven't. (Not sure how the current builds go with ninjhax 1.1 to be honest)
And which QR are you referring to?
 

vb_encryption_vb

That hardmod guy....
Member
Joined
Nov 21, 2015
Messages
1,995
Trophies
2
Age
41
Location
Acworth, GA
XP
1,941
Country
United States
Actually that's the issue I'm having, I pop launcher.dat on to my SD card and I get a black screen every time after hitting QR Code on cubic ninja.

Running N3DS 9.0 sysnand and 10.4 gateway emunand.

You do have the cubic ninja cartridge I assume? If so you have the homebrew starter pack on there as well?
 

ikithme

Well-Known Member
OP
Member
Joined
Mar 28, 2015
Messages
166
Trophies
0
XP
315
Country
United States
Have you updated your ninjhax to 2.5? May be the issue if you haven't. (Not sure how the current builds go with ninjhax 1.1 to be honest)
And which QR are you referring to?

In CubicNinja you hit Create then hit QR code, and it exploits in to the Launcher.dat, unless I'm wrong x.x it's been so long since I've done any of this. How do I update ninjhax to 2.5...

You do have the cubic ninja cartridge I assume? If so you have the homebrew starter pack on there as well?

I have the cubicninja cart but I use it to load the gateway menu.

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

Just use HBL (BrowserHax or what ever Exploit works for you) and load the 3dsx file

How do I go about doing this from my current state outlined in the above posts, this I guess is where I'm getting stuck, running a NEW3DS I'm not exactly sure where to start on getting this part working.
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country

vb_encryption_vb

That hardmod guy....
Member
Joined
Nov 21, 2015
Messages
1,995
Trophies
2
Age
41
Location
Acworth, GA
XP
1,941
Country
United States
In CubicNinja you hit Create then hit QR code, and it exploits in to the Launcher.dat, unless I'm wrong x.x it's been so long since I've done any of this. How do I update ninjhax to 2.5...



I have the cubicninja cart but I use it to load the gateway menu.

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



How do I go about doing this from my current state outlined in the above posts, this I guess is where I'm getting stuck, running a NEW3DS I'm not exactly sure where to start on getting this part working.
If trying to install CFW

https://gbatemp.net/threads/tutorial-how-to-install-a-cfw-on-a-9-0-9-2-n3ds-without-cn-oot.398394/
 

ikithme

Well-Known Member
OP
Member
Joined
Mar 28, 2015
Messages
166
Trophies
0
XP
315
Country
United States
I'm getting the:
Code:
Parsing NCSD in file "CAFE - Xenoblade Chronicles USA.3ds":

Traceback (most recent call last):
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_tgen.py", line 284, in <module>
    result = parseNCSD(fh)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_tgen.py", line 138, in parseNCSD
    result = parseNCCH(fh, header.offset_sizeTable[i].offset * mediaUnitSize, i, reverseCtypeArray(header.titleId), 0)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_tgen.py", line 185, in parseNCCH
    data = data + parseNCCHSection(header, ncchSection.exheader, 0, 0, 1, tab)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_tgen.py", line 227, in parseNCCHSection
    titleId = struct.unpack('<Q',(bytearray(header.programId[:8])))[0]
struct.error: unpack requires a string argument of length 8

Issue, I'm using the newest script that came with decrypt9 unless theres a newer one out there I'm supposed to use?
 
Last edited by ikithme,

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
I'm getting the:
Code:
Parsing NCSD in file "CAFE - Xenoblade Chronicles USA.3ds":

Traceback (most recent call last):
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_tgen.py", line 284, in <module>
    result = parseNCSD(fh)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_tgen.py", line 138, in parseNCSD
    result = parseNCCH(fh, header.offset_sizeTable[i].offset * mediaUnitSize, i, reverseCtypeArray(header.titleId), 0)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_tgen.py", line 185, in parseNCCH
    data = data + parseNCCHSection(header, ncchSection.exheader, 0, 0, 1, tab)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_tgen.py", line 227, in parseNCCHSection
    titleId = struct.unpack('<Q',(bytearray(header.programId[:8])))[0]
struct.error: unpack requires a string argument of length 8

Issue, I'm using the newest script that came with decrypt9 unless theres a newer one out there I'm supposed to use?
1. Spaces are bad. Unless surrounded by quotes i guess :P
2. What python version are you using? And which D9 version? I'm guessing one of the versions from the link i posted earlier.
 

ikithme

Well-Known Member
OP
Member
Joined
Mar 28, 2015
Messages
166
Trophies
0
XP
315
Country
United States
1. Spaces are bad. Unless surrounded by quotes i guess :P
2. What python version are you using? And which D9 version? I'm guessing one of the versions from the link i posted earlier.

Spaces are in quotes using python 2.7 and yeah the d9 that you linked above.

Edit: Same issue without spaces :\
 

ikithme

Well-Known Member
OP
Member
Joined
Mar 28, 2015
Messages
166
Trophies
0
XP
315
Country
United States
Ah i see the problem... using the wrong script :P
You're using ncchinfo_tgen.py when you should be using ncchinfo_gen.py :)

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

No love for the UI D9 version? :(

Code:
ncchinfo_gen.py cafe.3ds

Parsing NCSD in file "cafe.3ds":
  Parsing Main NCCH
    NCCH Offset: 00004000
    Product code: KTR-P-CAFE
    Partition number: 0
    KeyY: 18EB339D74ACC1CF27A228D116890B11
    Title ID: 000400000F700100
    Format version: 2
    Uses 7.x NCCH crypto

Traceback (most recent call last):
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_gen.py", line 284, in <module>
    result = parseNCSD(fh)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_gen.py", line 138, in parseNCSD
    result = parseNCCH(fh, header.offset_sizeTable[i].offset * mediaUnitSize, i, reverseCtypeArray(header.titleId), 0)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_gen.py", line 185, in parseNCCH
    data = data + parseNCCHSection(header, ncchSection.exheader, 0, 0, 1, tab)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_gen.py", line 227, in parseNCCHSection
    titleId = struct.unpack('<Q',(bytearray(header.programId[:8])))[0]
struct.error: unpack requires a string argument of length 8

Same output from non tgen
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Code:
ncchinfo_gen.py cafe.3ds

Parsing NCSD in file "cafe.3ds":
  Parsing Main NCCH
    NCCH Offset: 00004000
    Product code: KTR-P-CAFE
    Partition number: 0
    KeyY: 18EB339D74ACC1CF27A228D116890B11
    Title ID: 000400000F700100
    Format version: 2
    Uses 7.x NCCH crypto

Traceback (most recent call last):
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_gen.py", line 284, in <module>
    result = parseNCSD(fh)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_gen.py", line 138, in parseNCSD
    result = parseNCCH(fh, header.offset_sizeTable[i].offset * mediaUnitSize, i, reverseCtypeArray(header.titleId), 0)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_gen.py", line 185, in parseNCCH
    data = data + parseNCCHSection(header, ncchSection.exheader, 0, 0, 1, tab)
  File "D:\Users\mearle\Downloads\Compressed\Decrypt9WIP-20160118-224111\scripts\ncchinfo_gen.py", line 227, in parseNCCHSection
    titleId = struct.unpack('<Q',(bytearray(header.programId[:8])))[0]
struct.error: unpack requires a string argument of length 8

Same output from non tgen
Weird... these python scripts need to be done away with imo. haha (i can't think of a way to replace them though)...
Investigating...

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

Just as a test, try just drag n drop the game onto the script and see what happens, rather than running from cmd.
 

ikithme

Well-Known Member
OP
Member
Joined
Mar 28, 2015
Messages
166
Trophies
0
XP
315
Country
United States
Weird... these python scripts need to be done away with imo. haha (i can't think of a way to replace them though)...
Investigating...

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

Just as a test, try just drag n drop the game onto the script and see what happens, rather than running from cmd.

Dragging and dropping does not yield any results, cmd comes up but then goes away almost instantly, no ncchinfo file.
 
Last edited by ikithme,

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Dragging and dropping does not yield any results, cmd comes up but then goes away almost instantly, no ncchinfo file.
I've had this problem before a long while ago and i can't for the life of me remember what the hell the problem was... argh!
I just tested the script myself (with the same game but EUR version) no issue. hmm

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

Are you sure the backup is good? (process of elimination time)...

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

Something else worth trying (i guess) is this.... the script converted to exe with py2exe so everything it needs is self contained. (it's not malicious, i swear.)
 

Attachments

  • ncchinfo_gen.zip
    1.9 MB · Views: 170

ikithme

Well-Known Member
OP
Member
Joined
Mar 28, 2015
Messages
166
Trophies
0
XP
315
Country
United States
I've had this problem before a long while ago and i can't for the life of me remember what the hell the problem was... argh!
I just tested the script myself (with the same game but EUR version) no issue. hmm

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

Are you sure the backup is good? (process of elimination time)...

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

Something else worth trying (i guess) is this.... the script converted to exe with py2exe so everything it needs is self contained. (it's not malicious, i swear.)

Backup is good, able to load the 3ds file from gateway and it launches with no errors.

I tried your zip file however I cannot extract it, gives me an error. :\ Not sure why.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: