Homebrew [RELEASE] TWLTool - DSi downgrading, save injection, etc multitool

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,214
Country
New Zealand
In theory, could slightly modified DS software (official or homebrew) be run from the SD or NAND? [ninja'd]
No. DSiware is built with a specific sdk setting that means it will only work from the sd, DS software will only work from the cart (unless patched).

Patching DS software to work from the SD will most likely never work because the SD is only accessable from the arm7, 99% of cart reads are done from the arm9 so you'd need to ask the arm7 to read the data which would introduce a massive slow down if it worked at all,
 

Hiccup

Well-Known Member
Member
Joined
Nov 21, 2009
Messages
1,000
Trophies
1
XP
1,806
Country
Still don't really understand why DSiWare can read its data from NAND, but DS software can't be converted into DSiWare.
 

Hiccup

Well-Known Member
Member
Joined
Nov 21, 2009
Messages
1,000
Trophies
1
XP
1,806
Country
I think he was implying that you would need to reorganize the ported-to-dsiware ds software's code a lot if you wanted it to be able to access the SD (and NAND?). Just moving the card reading code from arm9 to arm7 would be too much on top of the arm7 code that is already there, for the software to run smoothly.

Is that correct?
 

WulfyStylez

SALT/Bemani Princess
OP
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,877
Country
United States
I think he was implying that you would need to reorganize the ported-to-dsiware ds software's code a lot if you wanted it to be able to access the SD (and NAND?). Just moving the card reading code from arm9 to arm7 would be too much on top of the arm7 code that is already there, for the software to run smoothly.

Is that correct?
It would be a wildly colossal project on a per-game basis to port anything to use SD/NAND instead of gamecard, especially without the game's original source. On 3DS/Wii U/etc games you can fairly easily redirect calls to always-present libraries to target the SD card. DS games run on bare metal with the SDK libs compiled into the final binary. Games with pre-TWL SDKs obviously won't have any SD code in them at all, and I assume (no clue on this tbh since I don't have TWL SDK) that SD stuff is only compiled when a binary explicitly needs it.

This is on top of the ARM9 vs ARM7 stuff, too. Even if you had some sorta stub that easily hooked into SDK gamecard reading code, it probably wouldn't work well due to that. Plus you might run into game timing issues depending on how tick count-type stuff is handled due to the increased clock speed.
 

WulfyStylez

SALT/Bemani Princess
OP
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,877
Country
United States
Would DSiWare -> DS software have issues too?
DSiWare seems to be able to run over cart read commands instead of SD automatically if it's launched that way, though almost all games won't be able to make it past an error screen when they try to access NAND. The Four Swords port seems to be the only DSiWare to actually be able to both run off carts and save to EEPROM if NAND fails.
There's like no way you'd be able to backport to plain DS, though. Remember the DSi clocks the ARM9 twice as fast and has 4x the ram.
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,214
Country
New Zealand
Theres also the problem where the NAND/SD is disabled for DS mode. DSi mode changes how the touchscreen and wifi work so would require a fair amount of changes to work... Most later DS games are based off the TWLSDK so they stand a better chance of this being possible but again that arm9 to arm7 communication for cart reads would kill performance and likely cause all sorts of weird timing bugs.
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
Now how do you install Sudokuhax without a hardware mod in the first place?
What if you already have it? :P

I'm not saying nand dumping is some sort of magic elixir that makes dsi hacking easy, but it is nice having a choice between software/hardware dumping.
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
Anybody here with a DSi nand mod (and backup) want to test software NAND restore?
Need a way to run dsiware-hax homebrew. PM me.
 
Last edited by zoogie,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...