Retroarch for 3DS in development

Discussion in '3DS - Homebrew Development and Emulators' started by nosignaldetected, Apr 2, 2015.

  1. nosignaldetected
    OP

    nosignaldetected GBAtemp Regular

    Member
    164
    163
    Dec 1, 2014
    VMM, mooglazer, Idaho and 1 other person like this.
  2. danielps

    danielps Advanced Member

    Newcomer
    73
    109
    Nov 20, 2014
    IMG_20150402_144634_2.jpg You tell me
     
    minexew, Smoker1, cearp and 4 others like this.
  3. nosignaldetected
    OP

    nosignaldetected GBAtemp Regular

    Member
    164
    163
    Dec 1, 2014
    Oh shit!

    Would you care to share your build? Pretty please? I unfortunately have no idea how to compile.
     
  4. danielps

    danielps Advanced Member

    Newcomer
    73
    109
    Nov 20, 2014
    I don't know if I should. I compiled it with the Mednafen VB core and it's very glitchy.
    But it seems to work... sort of...
    IMG_20150402_144946_2.jpg
     
  5. mat128

    mat128 Advanced Member

    Newcomer
    80
    23
    Apr 3, 2011
    Canada
    I wonder when it'll be added to the buildbot.
     
  6. TheBroCode

    TheBroCode GBAtemp Regular

    Member
    167
    34
    Oct 31, 2012
    April Fools?
     
  7. linoma

    linoma Newbie

    Newcomer
    5
    7
    Feb 17, 2015
    Italy
    yeah
     
  8. danielps

    danielps Advanced Member

    Newcomer
    73
    109
    Nov 20, 2014
    That was yesterday...
     
    zfreeman likes this.
  9. ninjanick999

    ninjanick999 Advanced Member

    Newcomer
    96
    51
    Dec 13, 2014
    United States
    What did you do to get it to compile?
     
  10. Sizednochi

    Sizednochi GBAtemp Advanced Fan

    Member
    651
    406
    Dec 16, 2012
    Brazil
  11. Kurt91

    Kurt91 GBAtemp Fan

    Member
    401
    91
    Sep 9, 2012
    United States
    Newport, WA
    Wait, so we're talking full RetroArch emulator, with working cores for NES, SNES, PC Engine, etc. (I'm not going to get greedy and claim PSX or N64, but anything older than that) all potentially working on a 3DS? No April Fools prank or anything?

    If so, then I'm very impressed and can't wait for a way to (eventually) play it. I've been hoping for a full basic emulator suite for my N3DS. I tried using my sister's PSP a while back, but the emulators I tried using were rather buggy, and one actually prevented the system from turning off and we couldn't get it to close. The only way to get it to stop was to just let the battery run itself dead. I also looked into the different emulators for on my DS Lite, but the screen resolution bugged me.
     
    Skull Kiddo likes this.
  12. danielps

    danielps Advanced Member

    Newcomer
    73
    109
    Nov 20, 2014
    First, you need to build the core you want as a static library. For Mednafen VB, I just had to add a new platform (ctr) in the makefile with the flags you'll find in any ctrulib project, plus these two:
    Code:
    -DLSB_FIRST -DBYTE_ORDER=LITTLE_ENDIAN
    You will probably need to change more stuff in order to build other cores, but I'll leave that to you.
    This will output libretro_ctr.a.

    Then just build RetroArch with libretro_ctr.a in the root directory llike this:
    Code:
    make -f Makefile.ctr
     
    ravihpa and zfreeman like this.
  13. Skull Kiddo

    Skull Kiddo Definitely Not A Kid

    Member
    315
    50
    Dec 17, 2014
    My bedroom
    Uhh my PSP, and its a phat, 16 MB only, has emus and they arent THAT buggy. Obv if ure using a N64 emu its going to be slow, but other emus work fine. Even SNES.

    Also, you can always remove the battery instead of waiting for the battery to die...

    About the emu that didnt let you shut off, are you talking about SNESxTYL for the psp? Its supposed to do that, to get better stability.
     
  14. Kazuma77

    Kazuma77 GBAtemp Maniac

    Member
    1,004
    412
    May 11, 2008
    United States
    They're porting RetroArch? Wow. OK, guess it's official. We're about to see some good emulation on the 3DS. It would be nice to see Virtualboy games in true stereoscopy instead of Anaglyph if they can pull it off.
     
  15. danielps

    danielps Advanced Member

    Newcomer
    73
    109
    Nov 20, 2014
    Unfortunately, mednafen's Virtual Boy interpreter is too slow for the 3DS, it runs at <10 fps.
    A dynarec is our only hope, but I've heard it's being worked on... ;)
     
  16. Fatalanus

    Fatalanus GBAtemp Advanced Fan

    Member
    591
    213
    Jan 4, 2015
    Romania
    It seems it's a nice project!
    as it's really early, I guess we will have to wait a long time to see something fully working, but it's amazing. :bow:
     
  17. nosignaldetected
    OP

    nosignaldetected GBAtemp Regular

    Member
    164
    163
    Dec 1, 2014
    Still can't compile this...been trying with the Snes9x, nestopia and genesis GX cores to no luck. Ah well.
     
  18. danielps

    danielps Advanced Member

    Newcomer
    73
    109
    Nov 20, 2014
    That's stange, I just tried with nestopia and it works, although with the same graphical glitches and crashes as before.
    The buttons aren't mapped tough so I couldn't get past SMB's title screen.

    EDIT: Genesis works too and the graphics aren't as corrupted, but Sonic crashes right after the second splash screen.
     
  19. Smoker1

    Smoker1 GBAtemp Maniac

    Member
    1,230
    204
    Feb 17, 2015
    United States
    Carmichael, California
    Seriously cant wait for this :D
     
  20. Smoker1

    Smoker1 GBAtemp Maniac

    Member
    1,230
    204
    Feb 17, 2015
    United States
    Carmichael, California
    Can this be Compiled as a CIA?