Homebrew Is it possible to have DS games boot straight from home menu?

Absestos

Well-Known Member
OP
Newcomer
Joined
Jun 24, 2017
Messages
73
Trophies
0
Website
www.aftnet.net
XP
288
Country
Italy
I have my 3DS setup with TwilightMenu to load DS dumps from my MicroSD, and after seeing how Ultimate injector allows generating CIAs that behave 100% like native 3DS apps (install via FBI, launch via tile on home screen, uninstall via settings/data management), I am wondering if it would be possible to somehow do the same for DS dumps.

A it is TwilightMenu can be invoked from the main menu via the CIA, but my understanding is that it's not a standard app since
- It causes the 3DS to reboot in DS mode
- Makes it run the BOOT.nds file from the root of the microSD
- That code eventually loads TwilightMenu

But still, would it not be possible to generate CIAs for DS games? One could:

- Pack the nds dump itself as part of the CIA archive
- On install, the nds dump gets extracted to the SD
- When launching the installed CIA some code writes a small config file to a known location in the SD, with the path of the dump file to run
- BOOT.nds could read the config file and run the dump

As for why one would want to do this, I think it would be nicer to have all one's games in the main menu
 
  • Like
Reactions: Julie_Pilgrim

Shadow#1

Wii, 3DS Softmod & Dumpster Diving Expert
Member
Joined
Nov 21, 2005
Messages
12,341
Trophies
2
XP
7,981
Country
United States
I have my 3DS setup with TwilightMenu to load DS dumps from my MicroSD, and after seeing how Ultimate injector allows generating CIAs that behave 100% like native 3DS apps (install via FBI, launch via tile on home screen, uninstall via settings/data management), I am wondering if it would be possible to somehow do the same for DS dumps.

A it is TwilightMenu can be invoked from the main menu via the CIA, but my understanding is that it's not a standard app since
- It causes the 3DS to reboot in DS mode
- Makes it run the BOOT.nds file from the root of the microSD
- That code eventually loads TwilightMenu

But still, would it not be possible to generate CIAs for DS games? One could:

- Pack the nds dump itself as part of the CIA archive
- On install, the nds dump gets extracted to the SD
- When launching the installed CIA some code writes a small config file to a known location in the SD, with the path of the dump file to run
- BOOT.nds could read the config file and run the dump

As for why one would want to do this, I think it would be nicer to have all one's games in the main menu
Not possible
 

RickFryMcFly

Active Member
Newcomer
Joined
Sep 15, 2020
Messages
33
Trophies
0
Age
34
XP
219
Country
United States
I have my 3DS setup with TwilightMenu to load DS dumps from my MicroSD, and after seeing how Ultimate injector allows generating CIAs that behave 100% like native 3DS apps (install via FBI, launch via tile on home screen, uninstall via settings/data management), I am wondering if it would be possible to somehow do the same for DS dumps.

A it is TwilightMenu can be invoked from the main menu via the CIA, but my understanding is that it's not a standard app since
- It causes the 3DS to reboot in DS mode
- Makes it run the BOOT.nds file from the root of the microSD
- That code eventually loads TwilightMenu

But still, would it not be possible to generate CIAs for DS games? One could:

- Pack the nds dump itself as part of the CIA archive
- On install, the nds dump gets extracted to the SD
- When launching the installed CIA some code writes a small config file to a known location in the SD, with the path of the dump file to run
- BOOT.nds could read the config file and run the dump

As for why one would want to do this, I think it would be nicer to have all one's games in the main menu
Just make sure if you do go the flash cart route, to get one without a time bomb. I have the R4I gold and it works great.
 

Viri

Well-Known Member
Member
Joined
Sep 13, 2009
Messages
4,190
Trophies
2
XP
6,731
Country
United States
You can, I got mine to load from the Home menu, I forgot how I did it. I think it was with a forwarder.
 
Last edited by Viri,

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,103
Country
United States
yes, there are ds forwarders. the twl nand is limited though as you can install a max of 40. I'm not sure, but I think you might need a flash cart for that, since it asks which flash cart you're using. there's a java app that will create them for you. it's on the board somewhere.
 
  • Like
Reactions: Julie_Pilgrim
D

Deleted User

Guest
yes, there are ds forwarders. the twl nand is limited though as you can install a max of 40. I'm not sure, but I think you might need a flash cart for that, since it asks which flash cart you're using. there's a java app that will create them for you. it's on the board somewhere.
You don’t need a flash cart to use forwarders
 
  • Like
Reactions: RocketRobz

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,103
Country
United States
some games don't work. golden sun for the ds for example unless using a flash cart. twilight menu++ will tell you if a game is incompatible, so it must have some sort of whitelist.
 
  • Like
Reactions: Ryccardo

Absestos

Well-Known Member
OP
Newcomer
Joined
Jun 24, 2017
Messages
73
Trophies
0
Website
www.aftnet.net
XP
288
Country
Italy
Forwarders are closer to what I had in mind and a definite step up in usability, but I am curious: *why* do some games only work via flashcards, technically?

And also, would it technically be possible to create a forwarder that includes the nds rom? Like what happens with Virtual Console injector.

I'm not complaining about the status quo or asking that my idea to be taken up and worked on, just curious about the tech.
 

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,664
Trophies
1
Age
28
Location
Imola
XP
6,867
Country
Italy
*why* do some games only work via flashcards, technically?
A flashcard, ideally, accurately emulates an original game card (this is the case for the orange sky3ds, for example) and so is functionally 100% the same as the original

Most if not all DS flashcards are not exactly that way, in part because they expand on that concept (like DLDI), in part because many of them do apply patches to original game backups (save types, support for excessively slow storage, etc) but still the good flashcard & kernel combos, like Wood and whatever the DSTwo uses, achieve remarkable accuracy and excellent compatibility at simulating original DS cards;

with DS-mode software virtualization, as is the case with nds-bootstrap (or with any other DS-mode addon for a DS title, such as a cheat engine or debugger), first and foremost you have this added software (which consumes memory and processing power) that is there and the game developers did not account for, so perfect compatibility is not even necessarily possible in theory, while accuracy is obviously much lower since it has to apply major mods to make slot-1 reads point to a file on SD (which in turn requires more code to be accessed)

tldr - nds-bootstrap is more invasive, with respect to the game's operation, than any slot-1 flashcard

would it technically be possible to create a forwarder that includes the nds rom?
Probably yes, but 1- there is a size limit for DSiWare, 2- the capacity of twlnand would be too low for more than a few games (or 0 games depending on the exact titles), 3- why the hell are you playing DS/i titles on a disgusting 3DS screen anyway?! :D
 

Absestos

Well-Known Member
OP
Newcomer
Joined
Jun 24, 2017
Messages
73
Trophies
0
Website
www.aftnet.net
XP
288
Country
Italy
A flashcard, ideally, accurately emulates an original game card (this is the case for the orange sky3ds, for example) and so is functionally 100% the same as the original

Most if not all DS flashcards are not exactly that way, in part because they expand on that concept (like DLDI), in part because many of them do apply patches to original game backups (save types, support for excessively slow storage, etc) but still the good flashcard & kernel combos, like Wood and whatever the DSTwo uses, achieve remarkable accuracy and excellent compatibility at simulating original DS cards;

with DS-mode software virtualization, as is the case with nds-bootstrap (or with any other DS-mode addon for a DS title, such as a cheat engine or debugger), first and foremost you have this added software (which consumes memory and processing power) that is there and the game developers did not account for, so perfect compatibility is not even necessarily possible in theory, while accuracy is obviously much lower since it has to apply major mods to make slot-1 reads point to a file on SD (which in turn requires more code to be accessed)

tldr - nds-bootstrap is more invasive, with respect to the game's operation, than any slot-1 flashcard


Probably yes, but 1- there is a size limit for DSiWare, 2- the capacity of twlnand would be too low for more than a few games (or 0 games depending on the exact titles), 3- why the hell are you playing DS/i titles on a disgusting 3DS screen anyway?! :D

Thank you so much for writing that! My Google skills seem to fail me when it comes to finding these kind of technical details (if I'm lucky I end up on some other GBAtemp thread where people go more in depth than usual - otherwise noise).

Three questions more if I may:

- Why would twlnand size be an issue when twilight menu loads the rom from the SD card?
- You say "make slot 1 reads" as if the games were doing fopen() and similar... is that what happens? I always thought those carts were like GB/GBA - just a big chunk of data to be memory mapped
- The 3DS screen is bad sure, but isn't it still better than the original DS's?
 
  • Like
Reactions: Julie_Pilgrim

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,490
Trophies
3
Age
24
XP
20,781
Country
United States
Thank you so much for writing that! My Google skills seem to fail me when it comes to finding these kind of technical details (if I'm lucky I end up on some other GBAtemp thread where people go more in depth than usual - otherwise noise).

Three questions more if I may:

- Why would twlnand size be an issue when twilight menu loads the rom from the SD card?
- You say "make slot 1 reads" as if the games were doing fopen() and similar... is that what happens? I always thought those carts were like GB/GBA - just a big chunk of data to be memory mapped
- The 3DS screen is bad sure, but isn't it still better than the original DS's?
  1. That's only if you want the ROM on TWLNAND itself.
  2. Yes, that's true. Maximum ROM size is 512MB.
  3. Yes, only if you want to use widescreen.
 
  • Like
Reactions: Julie_Pilgrim

Vulpes-Vulpeos

Well-Known Member
Member
Joined
Feb 1, 2018
Messages
188
Trophies
1
XP
2,462
Country
Ukraine
@Robz8 is it possible to do this?
And also, would it technically be possible to create a forwarder that includes the nds rom? Like what happens with Virtual Console injector.
It will be great to have such "injects".

Or, at least, is it possible to create barebone version of TWLmenu++ for 3ds? Only 1 theme (DSi menu theme), no splashes, no emulators, no ap cheats, no widescreen. Nothing, except ds games.
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,490
Trophies
3
Age
24
XP
20,781
Country
United States
@Robz8 is it possible to do this?

It will be great to have such "injects".
Maybe with DS ROMs around 4MB, but with no saving.
For big ROMs, we'd have to fix the current 3DS TWLNAND init code in GodMode9i first, so that we can read the TWLNAND contents.
For saving, it would still have to be done on the SD card, as writing to TWLNAND in DSi mode is unsafe.
Or, at least, is it possible to create barebone version of TWLmenu++ for 3ds? Only 1 theme (DSi menu theme), no splashes, no emulators, no ap cheats, no widescreen. Nothing, except ds games.
That's possible, but it's currently exclusive to nightlies to make updating faster when testing nightly builds.
 
Last edited by RocketRobz,
  • Like
Reactions: Vulpes-Vulpeos

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    The snack that smiles back, Ballsack!
    BakerMan @ BakerMan: well, after a day of pain, i'm gonna catch some zs