Homebrew [WIP] 3DeSmume (DS emulator for 3DS)

nl255

Well-Known Member
Member
Joined
Apr 9, 2004
Messages
2,984
Trophies
0
XP
2,523
Country
Well, even if it has access to SD, we can't play DS games installed as cia, because I doubt TWL_FIRM touches the code at all other than copying it to memory and jumping to it. Since DS games access the card slot, and TWL_FIRM kinda just acts as a loader, it's not possible to redirect the card slot to anything else, because that would require HARDWARE MODIFICATION to the system to be even possible at all.


I don't see why it would. Though reverse engineering Max Overload (which is apparently a pure software based setup rather than hardware assisted like other gba slot DS flash carts) and then modifying/rewriting/reimplementing the patching it does so that it redirects reads and writes to the SD card rather than to the gba slot won't be easy I would think that would be the way to attempt something like that.
 
Last edited by nl255,
  • Like
Reactions: Deleted User

Sono

cripple piss
Developer
Joined
Oct 16, 2015
Messages
2,654
Trophies
2
Location
rehabilitation center
XP
8,219
Country
Hungary
We don't even know HOW Nintendo loaded these roms- but supposively it was possible with the factory TWL or AGB firm

  1. set parameters in memory
  2. do a firmlaunch
  3. TWL_FIRM checks if the title you want to boot is there (can be SD, NAND, or GAMECART)
  4. TWL_FIRM checks the ROM header of the title for various settings and stuff
  5. TWL_FIRM loads the ARM9 and ARM7 binaries from SD/NAND/GAMECART to memory addresses speicified in the ROM header
  6. TWL_FIRM sets registers to set hardware mode required to run DS(i) programs
  7. TWL_FIRM hands control to the binaries by jumping to the addresses specified in the ROM header on both processors
Note: this is just a shortened version on how DS(i) programs boot. also, the actual order may differ a bit

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

I don't see why it would. Though reverse engineering Max Overload (which is apparently a pure software based setup rather than hardware assisted like other gba slot DS flash carts) and then modifying/rewriting/reimplementing the patching it does so that it redirects reads and writes to the SD card rather than to the gba slot won't be easy I would think that would be the way to attempt something like that.

Yes, patching IS an option, but it requires very big amounts of tedious patching :sad:
 
  • Like
Reactions: Deleted User

nl255

Well-Known Member
Member
Joined
Apr 9, 2004
Messages
2,984
Trophies
0
XP
2,523
Country
Yes, patching IS an option, but it requires very big amounts of tedious patching :sad:

I don't see why a patch would have to be manually developed for each game, "all" it would take (not that it would be easy, especially since Max Overload probably has quite a bit of anti-reverse-engineering protection built into it) is for someone to develop a patcher (DSi Overload?) and then it is just a matter of drag and drop. I am guessing there is little to no publicly available information on how exactly the old slot-2 ds carts like the M3 Perfect and Supercard worked, specifically the patching process.
 

jimmyleen

Well-Known Member
Member
Joined
Feb 28, 2016
Messages
1,171
Trophies
0
XP
684
Country
because that would require HARDWARE MODIFICATION to the system to be even possible at all.

Which also means the O3ds & N3ds would be heavier and perhaps more bulky, that is something I would like to stay away from even if it means adding more features.
 

spinal_cord

Knows his stuff
Member
Joined
Jul 21, 2007
Messages
3,196
Trophies
1
Age
42
Location
somewhere
Website
spinalcode.co.uk
XP
2,939
Country
Why not look at an opensource slot-1 cart? Surely it would have all the patching in there for redirecting to the slot-1 micro sd card rather than the SRAM. I would think Reversing software with source code is a million times easier than without. Acecard RPG for example.
 

Pandaxclone2

Pokemon Sprite Artist Hobbyist
Member
Joined
Aug 17, 2015
Messages
1,131
Trophies
0
Location
Earth's Bottle of Death.
XP
2,001
Country
Australia
Why not look at an opensource slot-1 cart? Surely it would have all the patching in there for redirecting to the slot-1 micro sd card rather than the SRAM. I would think Reversing software with source code is a million times easier than without. Acecard RPG for example.

As a matter of fact, shutterbug is actually tinkering around with something similar to this last I checked.
 

MSearles

Well-Known Member
Member
Joined
Jan 4, 2016
Messages
573
Trophies
0
Age
35
XP
2,329
Country
United States
It sounds like this project is dead for the 3DS. I guess we're back at having only one option for the ability to play NDS games on the 3DS; flashcarts.
 

pdapanda

Well-Known Member
Member
Joined
Nov 19, 2014
Messages
728
Trophies
0
Age
31
XP
1,076
Country
Switzerland
I should say, the OP is good at showing POC,but he is not experienced with things except simple porting work.
He left a lot of projects no more than POC. You may not say this one dead,but other projects actually dead.
I hope he can prove my words is wrong,though.
 
  • Like
Reactions: Deleted User

MSearles

Well-Known Member
Member
Joined
Jan 4, 2016
Messages
573
Trophies
0
Age
35
XP
2,329
Country
United States
I'm not currently working on it, but I'm planning on getting this running on the Vita

He says so himself right here. He's not working on this anymore, and is moving his efforts to porting it to the Vita instead. He's ditching this project and moving on to another. In my opinion, this project is dead.
 

Earth97

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
286
Trophies
0
Age
25
XP
387
Country
Italy
Someone wrote, some posts ago, that shutterbug is working on hardware acceleration.
It's a matter of time, I guess.
@MSearles He's not the only one working on this project.

Vita has better hardware, but only one screen. This emulator is going to be quite sight-wearing, isn't it?
 
  • Like
Reactions: Hayleia
General chit-chat
Help Users
    T @ TimeGBAtmep: its fat 32 if that helps