Porting DS homebrew to 3DS?

Discussion in '3DS - Flashcards & Custom Firmwares' started by nastys, Dec 8, 2014.

  1. nastys
    OP

    nastys ナースティス

    Member
    1,487
    864
    Aug 5, 2014
    Italy
    Earth
    I'd like to port DScent to 3DS to run it at 60 FPS in 3D and high resolution. How much code do I need to change to make it run in 3DS mode with Ninjax?
     
    Woodbin and Margen67 like this.
  2. MikeBeaver

    MikeBeaver Member

    Newcomer
    16
    4
    May 4, 2008
    I'd probably imagne a fair bit of work, from what I understand, Ninjhax allows access to ARM 11, guessing that to get the 3DS into DS Emulation mode, you would need access to both cores, someone with more knowledge may tell me I am wrong, but am pretty sure that you would need full system access to enable DS mode .
     
  3. nastys
    OP

    nastys ナースティス

    Member
    1,487
    864
    Aug 5, 2014
    Italy
    Earth
    I don't want to emulate it, I want to port it to 3DS mode natively.
     
    Margen67 likes this.
  4. xantoz

    xantoz Advanced Member

    Newcomer
    73
    57
    Nov 28, 2014
    Should probably be fairly easy provided it doesn't use any kind of JIT. Considering we have projects like GameYOB whcih started out as DS homebrew etc. Both DS and 3DS homebrew use devkitpro. The problem might be depending on how much DS-specific GFX code there is in there since the GPUs are wildly different.
     
    nastys likes this.
  5. nastys
    OP

    nastys ナースティス

    Member
    1,487
    864
    Aug 5, 2014
    Italy
    Earth
    I'm not sure but I think it's entirely software-rendered.
     
  6. Author

    Author ****NEWS**FLASH**** 1 /̵͇̿̿/'̿-̅-̅-̅''

    Member
    458
    419
    Aug 30, 2014
    GBAtemp
    you can do it
    it is possible
    you know, as the saying goes "everything is a dildo if you're brave enough"
     
  7. sj33

    sj33 GBAtemp Addict

    Member
    2,714
    1,717
    Oct 22, 2013
    Japan
    Both GameYob and blargSnes started out as DS projects (lolSnes in the case of the latter).
     
  8. sj33

    sj33 GBAtemp Addict

    Member
    2,714
    1,717
    Oct 22, 2013
    Japan
    DELETED - double post
     
  9. nastys
    OP

    nastys ナースティス

    Member
    1,487
    864
    Aug 5, 2014
    Italy
    Earth
    Do I need to replace file system related code to use a new library, or should I leave it using libogc?
     
  10. ichichfly

    ichichfly GBAtemp Advanced Fan

    Member
    618
    159
    Sep 23, 2009
    Gambia, The
    as far as I know the 3DS libs have standard file access so I think you don't need to change that. You may need to change the other stuff
     
    filfat likes this.
  11. nastys
    OP

    nastys ナースティス

    Member
    1,487
    864
    Aug 5, 2014
    Italy
    Earth
    DScent is too buggy to be ported. Maybe I will try to port some other homebrew.
     
  12. sj33

    sj33 GBAtemp Addict

    Member
    2,714
    1,717
    Oct 22, 2013
    Japan
    Is Quake 2 DS portable? I ask because it one was one the few homebrew that not so many people could use because it relies on the Slot-2 RAM expansion thus is limited to the original DS/DS Lite owners who have the expansion. No way to play it on a DSi/DSi XL.