Homebrew Homebrew cia shortcuts?

xtheman

Well-Known Member
OP
Member
Joined
Jan 28, 2016
Messages
5,837
Trophies
0
Location
???
XP
3,790
Country
United States
Hello. I saw a thread that modded the homebrew launcher cia that would boot to gateway. So I was thinking that if you could mod the payload to boot into gateway.3dsx then you could mod to boot into any .3dsx file. This would be useful for those who have romhacks for hans (and know how to make romhack shortcuts to hans in .3dsx), Homebrew that may never get a .cia port, and lots of other things. I could also see this be useful for those with CTRbootmanger and have boot time for 1 second. So would want to know is it possible? Also would it be worth while? (Also if this should go into cfw and flashcarts section then mods please move it)
 

zbw2000

Well-Known Member
Member
Joined
Aug 28, 2014
Messages
351
Trophies
0
XP
226
Country
United States
So basically something like .wad forwarders on the wii. That actually sounds like it would be pretty useful. The only problem I see though is that a payload has to be loaded before a .3dsx can launch. I think that could be solved though by just bundling the payload with the .cia itself.
 
  • Like
Reactions: Derverd

xtheman

Well-Known Member
OP
Member
Joined
Jan 28, 2016
Messages
5,837
Trophies
0
Location
???
XP
3,790
Country
United States
So basically something like .wad forwarders on the wii. That actually sounds like it would be pretty useful. The only problem I see though is that a payload has to be loaded before a .3dsx can launch. I think that could be solved though by just bundling the payload with the .cia itself.
I understand that. But I meant modding the payload so It can boot a file named something other boot.3dsx. Like say I wanted to boot myhomebrew.3dsx or something. The cia homebrew mod for gateway booted gw.3dsx and I would think you could do the same thing.
 

zbw2000

Well-Known Member
Member
Joined
Aug 28, 2014
Messages
351
Trophies
0
XP
226
Country
United States
I understand that. But I meant modding the payload so It can boot a file named something other boot.3dsx. Like say I wanted to boot myhomebrew.3dsx or something. The cia homebrew mod for gateway booted gw.3dsx and I would think you could do the same thing.
I know that with the yellows8 cia homebrew laumcher you can hex edit the payload to boot a different .3dsx file from the root of the sd.
 

xtheman

Well-Known Member
OP
Member
Joined
Jan 28, 2016
Messages
5,837
Trophies
0
Location
???
XP
3,790
Country
United States
I know that with the yellows8 cia homebrew laumcher you can hex edit the payload to boot a different .3dsx file from the root of the sd.
I might be able to do something about that. If only I had the payload for the cia. I would have it on my sd card but i can't access my 3ds right this minute. Are all payloads the same if it is the same system version and region version?
 

Ev1l0rd

(⌐◥▶◀◤) girl - noirscape
Member
Joined
Oct 26, 2015
Messages
2,004
Trophies
1
Location
Site 19
Website
catgirlsin.space
XP
3,441
Country
Netherlands
I know that with the yellows8 cia homebrew laumcher you can hex edit the payload to boot a different .3dsx file from the root of the sd.
The only unfortunate part is that yellows8 downloads the payload from his own server and as a result there are a few restrictions:
  • You have to mod the launcher with each system update, as each update has a different payload.
  • When you hex edit the payload, it has to be the exact same length as the .3dsx for HBL. So nothing longer than four letters.

There is one other thing that is interesting though:
  • lpp-3ds, the lua engine used to make most homebrew, has a .elf file included. I know that there is a way to convert a .elf to a .cia, but I'm not sure how. Also, that .elf is set-up to only use index.lua, so no other files can be included and as such, you will likely need to edit most programs to use files using absolute paths from the SD card, rather than relative ones.
 

xtheman

Well-Known Member
OP
Member
Joined
Jan 28, 2016
Messages
5,837
Trophies
0
Location
???
XP
3,790
Country
United States
  • You have to mod the launcher with each system update, as each update has a different payload.
If you install it to sysnand the you wouldn't be updating as it may mess up your 3ds

  • When you hex edit the payload, it has to be the exact same length as the .3dsx for HBL. So nothing longer than four letters.
That is still a lot of different names you can make.
 

Ev1l0rd

(⌐◥▶◀◤) girl - noirscape
Member
Joined
Oct 26, 2015
Messages
2,004
Trophies
1
Location
Site 19
Website
catgirlsin.space
XP
3,441
Country
Netherlands
If you install it to sysnand the you wouldn't be updating as it may mess up your 3ds

Yeah, but most people use EmuNAND to install the HBL to ;).

That is still a lot of different names you can make.
Agreed. But eventually you will end up with filenames such as: aqwi.3dsx.

Also, the amount of names you can make is 26⁴ = 456976. Which doesn't count capitalization and numbers in it, so the actual number is even more.
 
Last edited by Ev1l0rd,

xtheman

Well-Known Member
OP
Member
Joined
Jan 28, 2016
Messages
5,837
Trophies
0
Location
???
XP
3,790
Country
United States
SO i want to try something out but I don't have access to my 3ds right now. What is the simplest way to test it? (and no i don't want to try citra)
 

xtheman

Well-Known Member
OP
Member
Joined
Jan 28, 2016
Messages
5,837
Trophies
0
Location
???
XP
3,790
Country
United States
Ok so I figured out how to change what the hb launcher cia boots into but i have one problem: Most people (including me) would like the homebrew they will boot into with the cia separate from the main hb launcher cia. So basically I would want to make a cia that boots into a different payload named differently. (So each cia has its own payload that would boot into that homebrew only) I have a good idea on what to try but i'm not %100 about it yet and can't test it yet (Man i really should have my 3ds with me).
 

Derverd

Well-Known Member
Member
Joined
Dec 22, 2014
Messages
172
Trophies
0
Location
Mars?
XP
152
Country
Australia
I've always wanted a tool that creates a .cia and payload with custom .3dsx directory, .3dsx name, unique id and banner. I use the lesshax payload so I currently have yellows original hbl launcher and the gateway one which I use for a homebrew launcher and decrypt9 (I edited the banner of the gateway .cia so it doesn't look crap).

Anyone who can create this should totally do it, their name will be in the songs of men for years to come (I've probably been watching too much Game of Thrones lately, sorry?).
 

xtheman

Well-Known Member
OP
Member
Joined
Jan 28, 2016
Messages
5,837
Trophies
0
Location
???
XP
3,790
Country
United States
I've always wanted a tool that creates a .cia and payload with custom .3dsx directory, .3dsx name, unique id and banner. I use the lesshax payload so I currently have yellows original hbl launcher and the gateway one which I use for a homebrew launcher and decrypt9 (I edited the banner of the gateway .cia so it doesn't look crap).

Anyone who can create this should totally do it, their name will be in the songs of men for years to come (I've probably been watching too much Game of Thrones lately, sorry?).
The main reason I made this post was so i could figure out a few things. I always wanted to develop homebrew but i don't have the time and patience. I figured editing the HB launcher cia was a good way to get started and learn some things. (plus nobody have made anything on how to do that which is a real surprise)
 

Derverd

Well-Known Member
Member
Joined
Dec 22, 2014
Messages
172
Trophies
0
Location
Mars?
XP
152
Country
Australia
The main reason I made this post was so i could figure out a few things. I always wanted to develop homebrew but i don't have the time and patience. I figured editing the HB launcher cia was a good way to get started and learn some things. (plus nobody have made anything on how to do that which is a real surprise)
Search up the source of the .cia hbl, you have to edit the source and compile it, You can't edit the .cia. I think he gave a few pointers on there on what to do.
 

xtheman

Well-Known Member
OP
Member
Joined
Jan 28, 2016
Messages
5,837
Trophies
0
Location
???
XP
3,790
Country
United States
Search up the source of the .cia hbl, you have to edit the source and compile it, You can't edit the .cia. I think he gave a few pointers on there on what to do.
I have it. Actually I figured out how but I don't have a 3ds to test it on right now so its kinda pointless to make a how to if I'm not %100 sure and haven't tested it. (it was actually easier then i thought)
 

xtheman

Well-Known Member
OP
Member
Joined
Jan 28, 2016
Messages
5,837
Trophies
0
Location
???
XP
3,790
Country
United States
I can test if you want? What have you changed?
Just enough B-). But really i have changed what payload hb launcher is looking for and what the payload boots. Pm me your firmware and region. I still have to compile it so it might take a little (I'm not "good" at programming stuff and all that)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: 🫂 +1