Homebrew [Discontinued] TWLoader - CTR-mode NDS app

Status
Not open for further replies.

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,467
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,900
Country
United States
TWL Slot-1 Launcher does that and it can also launch any flash cartridge, even on New 3DS, which is quite useful. You could try adding something like that :)

That won't be very useful for many flashcarts. Older flash carts use incompatible arm7 code/ram entry addresses. You'll have to boot them with NTR Launcher instead which TWLoader already uses. It would be better to simply improve NTR Launcher. Unless you can RE TWL_FIRM and find out how it blocks the ram/code space those old cards try to use. Then by all means patch it out and submit it as a push request to Luma. :P
 

MannCo

Well-Known Member
Member
Joined
Nov 23, 2014
Messages
144
Trophies
0
XP
325
Country
United States
Well, I tried clearing the folders and creating the missing ones, and I'm still getting the crashing error :(
Also, tried running a forwarder game from the Homemenu, and now I'm stuck in a white screen after the DSi boot screen. I didn't have this problem with the latest version although I wasn't be able to use the "Add Game" feature (and I updated the app and the files for the R4i SDHC RTS flashcard several times).


Not sure what I'm doing wrong :blush:
 

FrostyDialga

Banned!
Banned
Joined
Dec 28, 2016
Messages
193
Trophies
0
XP
136
Country
That won't be very useful for many flashcarts. Older flash carts use incompatible arm7 code/ram entry addresses. You'll have to boot them with NTR Launcher instead which TWLoader already uses. It would be better to simply improve NTR Launcher. Unless you can RE TWL_FIRM and find out how it blocks the ram/code space those old cards try to use. Then by all means patch it out and submit it as a push request to Luma. :P
I want nitro hax support for pokemon black and white though can it be fixed for dsi games.
 

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
16,669
Trophies
3
Age
25
XP
21,177
Country
United States
Also, tried running a forwarder game from the Homemenu, and now I'm stuck in a white screen after the DSi boot screen. I didn't have this problem with the latest version although I wasn't be able to use the "Add Game" feature (and I updated the app and the files for the R4i SDHC RTS flashcard several times).


Not sure what I'm doing wrong :blush:
The forwarder templates haven't been updated in a while.
 
  • Like
Reactions: MannCo

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,467
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,900
Country
United States
I've been trying to add support for launching DSi-enhanced Slot-1 cartridges directly, since NTR_Launcher (which is used by TWLoader) doesn't support loading the DSi-specific binaries. Here's what I've found so far.
  • We're currently using APT_PrepareToDoApplicationJump(0, 0x0x0004800554574C44ULL, MEDIATYPE_NAND); to start the TWL-side CIA of TWLoader. This works fine.
  • Simply changing it to APT_PrepareToDoApplicationJump(0, 0, MEDIATYPE_GAME_CARD); works for 3DS cards, but reboots to the Home Menu for NTR/TWL.
  • During testing, I accidentally swapped the media type parameter (#3) and the flags parameter (#1). This resulted in the screens shutting off. While holding the power button to shut off, right before it shut off, I saw a flicker of an ARM11 exception from Luma. Turning the system back on, I was greeted with another ARM11 exception before the Luma splash screen loaded. (That's bad.) Leaving the system off for 30-60 seconds and then turning it back on resulted in it booting normally, so I'm guessing my accidental parameter swap was still kept in memory for a while, which was confusing NATIVE_FIRM.
FBI also seems to have the same issue launching NTR/TWL cards (it reboots to Home Menu). DevMenu 11.4 doesn't even try; it says it cannot launch TWL cards.

I'm thinking I might need to get the banner SHA1 HMAC from the DSi header and use NSS:SetTWLBannerHMAC before trying to start the game card. If I can get this working, then the next step is to implement support for animated DSi icons because why not.
[/list]


I believe the reason you can't launch NTR cards directly is that you need a hmac hash key from Home Menu (don't think it's the same one used for logo.bin hash though). I forget the details. :P
 

Sonic Angel Knight

Well-Known Member
Member
Joined
May 27, 2016
Messages
14,409
Trophies
1
Location
New York
XP
12,991
Country
United States

Sonic Angel Knight

Well-Known Member
Member
Joined
May 27, 2016
Messages
14,409
Trophies
1
Location
New York
XP
12,991
Country
United States
Exactly the same, is from the zip pack on github. There is already a ROMS/NDS folder with a Mega man ZX rom in there.

ES File Explorer_20170122_021952.png
 

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
16,669
Trophies
3
Age
25
XP
21,177
Country
United States
Exactly the same, is from the zip pack on github. There is already a ROMS/NDS folder with a Mega man ZX rom in there.

View attachment 75874
Try deleting the ROM_FOLDER and FCROM_FOLDER lines.

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

I'm beginning to think it's not the folders. It must be something int he application itself, or the TWLNAND side cia.
The TWLNAND side CIA can't be the problem.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • realtimesave @ realtimesave:
    jdhello
  • realtimesave @ realtimesave:
    @SylverReZ that guy seriously spent over 2 grand on that hot wheels pc?
    +1
  • RedColoredStars @ RedColoredStars:
    LTT is a noob
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    K3Nv2 @ K3Nv2: Free release can have loopholes where they still make money through ads