Homebrew [DS(i)/3DS] TWiLight Menu++ - GUI for DS(i) games, and DS(i) Menu replacement

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
16,593
Trophies
3
Age
24
XP
20,978
Country
United States
v23.1.0: Thanksgiving release

Includes nds-bootstrap v0.51.0

What's new?
  • The DSiWare titles listed in the above nds-bootstrap release page (along with Nintendo DSi + Internet, supported starting with v0.50.2) can now be launched on DS mode flashcards (and as a result, DS/DS lite)!
  • (@Pk11) Some options are now only shown in the per-game settings menu.
    • ARM9 Clock Speed
    • VRAM Mode
    • Run in
    • Card Read DMA
    • Async Card Read
    • SWI Halt Hook
  • (@Pk11) Blacklisted settings from per-game settings are now hidden.
  • Slot-1 per-game settings are now read from sd:/_nds/TWiLightMenu/gamesettings/slot1/.
    • Files must be named as the game's TID (ex. ASME.ini). The TID is shown on the bottom of the card sticker, and is in between NTR/TWL and the 3-letter region code.
  • (@lifehackerhansol) Added N5 autoboot.
  • Updated Pokémon Black & White Versions 1 & 2 (USA/Europe (English), Japan) widescreen codes for DSi mode!
Improvements
  • (@Pk11 and various) Updated translations.
  • Unlaunch fastboot flag is now set for faster booting!
Bug fixes
  • Fixed NoCash's Magic Floor being misdetected as retail ROM.
  • The Slot-1 DSiWare to SD option is now hidden, if flashcard isn't found.
  • (Also a regression) The Slot-1 IR fix has been removed in order for R4i-SDHC flashcards to boot again.
  • Fixed entering System Settings (in TWLMenu++ Settings) causing a white screen.
  • Fixed module params search code, previously causing the SDK version to not be shown in certain ROMs.
  • DSi-based themes: Cached music files are now deleted, when failed to decode.
  • DS Classic Menu: Fixed font missing with Memory Expansion Pak inserted.
 

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
16,593
Trophies
3
Age
24
XP
20,978
Country
United States
There must be some sort of sorcery behind this. It denies everything we have learnt up until now about DSiWares...
Despite them being made to run from TWLNAND, all DSiWare titles contain code to read from Slot-1, which is why they can be directly booted from emulators like NO$GBA, as well as flashcards.

As for getting them to work in (B4)DS mode, known branches to DSi code are patched out, and the heap code is patched to only allocate 4MB of RAM (or 8MB of RAM, for debug units), instead of the DSi's 16MB.
Lastly, the ARM7 binary from a DSi-Enhanced ROM is used in place of the original one, as most DSiWare ROMs contain ARM7 binaries made to run within the DSi WRAM, instead of the regular DS WRAM.
 

Hark0n

Well-Known Member
Member
Joined
Oct 8, 2018
Messages
186
Trophies
0
Age
39
XP
1,763
Country
Germany
Okay... i know i am a dumbass... but what did i do wrong this time?
IMG_20211126_180745.jpg
 

Hark0n

Well-Known Member
Member
Joined
Oct 8, 2018
Messages
186
Trophies
0
Age
39
XP
1,763
Country
Germany

lifehackerhansol

i write working(?) code
Member
Joined
Oct 2, 2021
Messages
468
Trophies
0
XP
1,441
Country
Canada
Okay... i know i am a dumbass... but what did i do wrong this time?View attachment 287104
I read your first post describing your setup and there are a ton of flaws here.

1. The 3DS family consoles can only really handle up to 128GB of storage. The HOME Menu absolutely craps itself if you try to go higher, much less on a 512 GB that I'm surprised you got working at all. The slowdown you saw was literally the hardware crippling to read the SD.
2. SD cards higher than 64GB on a 3DS family console needs to be 64KB allocation unit size, not 32KB.
3. You should be using SD Card Formatter or GUIFormat for this, maybe even both for good measure (easeus sucks): https://dsi.cfw.guide/sd-card-setup.html
4. R4i Gold 3DS Plus works fine on my end, both DSi and 3DS. That error code looks like it failed to read the cart completely? I'd reinstall TWiLight and try again.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
After launching the menu... i am running a R4i Gold 3DS Plus (www.r4ids.cn) Using the
Auto Boot Folder: R4iDSN, R4 Ultra, R4i Gold 3DS Plus, R4i Gold 3DS Deluxe & R4i Gold 3DS RTS
and Flashcard Loader Folder: R4iDSN, R4i Gold RTS (r4ids.cn), R4i Gold 3DS Plus (r4ids.cn)
and i followed this https://wiki.ds-homebrew.com/twilightmenu/installing-flashcard guide.
not sure, but when I installed twilight menu++ to my supercard dstwo, I put the original flashcart firmware files on the micro sd card, then I put the twilight menu stuff for my flashcart and just overwrote whatever files it needed to. there's also the possibility that the cart isn't in all the way. I had this problem on my ds with the last one, so it froze when I exited the games' list. the problem was that the flashcart or micro sd card weren't in all the way, because when I reset the system, it booted the gba ezflash memory pak, which is in my gba slot. I removed the flash cart and micro sd card and reseated them, and no issues.
 

lifehackerhansol

i write working(?) code
Member
Joined
Oct 2, 2021
Messages
468
Trophies
0
XP
1,441
Country
Canada
not sure, but when I installed twilight menu++ to my supercard dstwo, I put the original flashcart firmware files on the micro sd card, then I put the twilight menu stuff for my flashcart and just overwrote whatever files it needed to. there's also the possibility that the cart isn't in all the way. I had this problem on my ds with the last one, so it froze when I exited the games' list. the problem was that the flashcart or micro sd card weren't in all the way, because when I reset the system, it booted the gba ezflash memory pak, which is in my gba slot. I removed the flash cart and micro sd card and reseated them, and no issues.
The autoboots are designed so that you don't need the original kernel at all. So copying the kernel files would be a bit of a waste of space, unless you use the DSTWO's flashcart loader, which is the exact same files as the kernel anyway.
 

Hark0n

Well-Known Member
Member
Joined
Oct 8, 2018
Messages
186
Trophies
0
Age
39
XP
1,763
Country
Germany
I read your first post describing your setup and there are a ton of flaws here.

1. The 3DS family consoles can only really handle up to 128GB of storage. The HOME Menu absolutely craps itself if you try to go higher, much less on a 512 GB that I'm surprised you got working at all. The slowdown you saw was literally the hardware crippling to read the SD.
2. SD cards higher than 64GB on a 3DS family console needs to be 64KB allocation unit size, not 32KB.
3. You should be using SD Card Formatter or GUIFormat for this, maybe even both for good measure (easeus sucks): https://dsi.cfw.guide/sd-card-setup.html
4. R4i Gold 3DS Plus works fine on my end, both DSi and 3DS. That error code looks like it failed to read the cart completely? I'd reinstall TWiLight and try again.
All right, thank you! Never had problems running big cards before only slow on startup, but that was something I was willing to live with!
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
The autoboots are designed so that you don't need the original kernel at all. So copying the kernel files would be a bit of a waste of space, unless you use the DSTWO's flashcart loader, which is the exact same files as the kernel anyway.
well, twilight menu wouldn't boot for me unless I did that, even with the autoboot file.
 

lifehackerhansol

i write working(?) code
Member
Joined
Oct 2, 2021
Messages
468
Trophies
0
XP
1,441
Country
Canada
All right, thank you! Never had problems running big cards before only slow on startup, but that was something I was willing to live with!
If I recall correctly:
On SD cards larger than 128GB (someone reported 200GB working fine. But most reported 256GB was a crapshoot), the HOME menu tends to crash, usually starting with the theme looking corrupt, or titles not loading, or just straight up freezing. VC titles (usually GBA) crash as well.
libfat also doesn't work well with larger SD cards, which is what TWiLight's SD functions use (the only option atm), so expect some anomalies there.
In any case try reinstalling TWiLight on the system.
 
  • Like
Reactions: Tarmfot

lifehackerhansol

i write working(?) code
Member
Joined
Oct 2, 2021
Messages
468
Trophies
0
XP
1,441
Country
Canada
Last edited by lifehackerhansol,
  • Like
Reactions: godreborn

Hark0n

Well-Known Member
Member
Joined
Oct 8, 2018
Messages
186
Trophies
0
Age
39
XP
1,763
Country
Germany
If I recall correctly:
On SD cards larger than 128GB (someone reported 200GB working fine. But most reported 256GB was a crapshoot), the HOME menu tends to crash, usually starting with the theme looking corrupt, or titles not loading, or just straight up freezing. VC titles (usually GBA) crash as well.
libfat also doesn't work well with larger SD cards, which is what TWiLight's SD functions use (the only option atm), so expect some anomalies there.
In any case try reinstalling TWiLight on the system.
I ran 256GB for over a year. Then 400GB for half a year... never had any such problems. :wtf:
 

Hark0n

Well-Known Member
Member
Joined
Oct 8, 2018
Messages
186
Trophies
0
Age
39
XP
1,763
Country
Germany
If I recall correctly:
On SD cards larger than 128GB (someone reported 200GB working fine. But most reported 256GB was a crapshoot), the HOME menu tends to crash, usually starting with the theme looking corrupt, or titles not loading, or just straight up freezing. VC titles (usually GBA) crash as well.
libfat also doesn't work well with larger SD cards, which is what TWiLight's SD functions use (the only option atm), so expect some anomalies there.
In any case try reinstalling TWiLight on the system.
I'll go back to running the R4 Gold with its original kernel then... but thanks anyway!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    AncientBoi @ AncientBoi: :rofl2: