WIP Development Thread - RetroArch libnx

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by m4xw, May 29, 2018.

  1. m4xw
    OP

    m4xw GBAtemp Advanced Fan

    Member
    8
    May 25, 2018
    Germany
    Status:
    DISCORD:
    https://discord.gg/jTmfAEx

    Finished:
    Downloads (more in the Thread):
    Other Builds (config files might be broken, try to delete it for these if you encounter problems):
    Cores that are broken currently:
    Stuff that anyone can work on:
    • Create a pre-configured Retroarch.cfg
    • Test ROMs
    • Port more Cores (it's easy AF for most!)
    Vsync is disabled by default (for now), if you experience heavy tearing, change it in the cfg!

    Changelog:

    Code:
    Added Overlay (bugged right now)
    Added default config (same folder)
    Analog dpad by default!
    Audio fixes (feedback pls)
    Tearing is known, try setting vsync in the .cfg to true!
    Added HID Input drop fixes
    Added GFX Improvements
    Added Multiplayer Support
    Added Threading Support
    Added Aspectratio/Fullscreen Support
    
    Control Notes:
    Code:
    Retroarch Menu is now L3 + R3 (Left and right analog pressed in)
    Saving states is R
    Loading states is L
    Docked works on non-threaded builds
    

    Install Instructions:

    • Just throw the folder into /switch and go!
    If anyone wants to work on custom overlays, MAKE SURE THEY ARE 1280x720

    Little FAQ (thanks to @CatmanFan)
    • Can we run Nintendo 64 games?/Where's the Nintendo 64 core?
      No. Mupen64Plus/Parallel_N64/GLupeN64 needs hardware acceleration (JIT/GPU), OpenGL and Vulkan implemented before it can be available to the end-user.
    • Can we run PlayStation games?/Where's the PlayStation (PSX) core?
      Beetle-PSX Test Release
      Please note that you will need the PSX BIOS, and that audio is disabled. Loading saves doesn't work, although save states do.
    • Does this cause the battery issue?
      No, this runs on Horizon. You're probably talking about Lakka, which runs on Linux.
    Github Mirror (recommended for forking):
    https://github.com/m4xw/RetroArch_LibNX

    Private Git Repo (most updated, r/o):
    https://git.m4xw.net/Switch/RetroArch

    Anyone who want write access, write me a PM.

    Credits: Reswitched, Libretro

    Thanks to @Proto-Propski (Art), @Melon__Bread (Art, Core Ports), @Starcarr (CI/CD), @DogParty (general stuff), @Kevoot (general stuff), All the Testers (@Phenj, @reminon, @Leonidas87, @SeongGino, @Twistedziefer)

    Hope I didn't miss anyone!
     
    Last edited by m4xw, Jun 21, 2018 at 3:56 PM
  2. CatmanFan

    CatmanFan Top 10 Most Lit Trends

    Member
    6
    Aug 14, 2016
    Morocco
    First of all, do you have a compiled version of your Snes9x core for testing plz?
     
  3. m4xw
    OP

    m4xw GBAtemp Advanced Fan

    Member
    8
    May 25, 2018
    Germany
    <Please look main post for Download Links>
     
    Last edited by m4xw, Jun 7, 2018
    Leonidas87 likes this.
  4. Leonidas87

    Leonidas87 GBAtemp Advanced Fan

    Member
    4
    Jul 15, 2014
    Canada
    Toronto, Ontario
  5. CatmanFan

    CatmanFan Top 10 Most Lit Trends

    Member
    6
    Aug 14, 2016
    Morocco
    For whatever reason here is a (kind of) filler post with the code of the current Makefile files in case, so anyone can probably spot mistakes in here:
    Makefile.switch (GitHub)
    Makefile.switch (GitLab)
     
    Last edited by CatmanFan, May 30, 2018
  6. worm28

    worm28 GBAtemp Advanced Fan

    Member
    3
    Jun 2, 2013
    United States
    It might help to try a known working core.
     
  7. Fadi5555

    Fadi5555 GBAtemp Regular

    Member
    2
    Jan 3, 2018
    United States

    I'm still on 3.0.0 with LibNX support can I try it?
    Also please can you compile it for me as a nro extension?
    To could give you my report.

    I have also two questions please:

    1- is it support xmb?
    2- can we run games with fullscreen? Because all current emulators lack of that.
     
    Last edited by Fadi5555, May 30, 2018
  8. CatmanFan

    CatmanFan Top 10 Most Lit Trends

    Member
    6
    Aug 14, 2016
    Morocco
    1. I don't think so. RetroArch on Switch is still at a very early stage of development, which brings us to
    2. Likely not possible AFAIK.
     
  9. m4xw
    OP

    m4xw GBAtemp Advanced Fan

    Member
    8
    May 25, 2018
    Germany
    The newest Makefile works fine. On 4x etc the version does actually load as well, so code is being executed.

    Edit: Use the develop branch, master is outdated af

    Actually I just nuked the master on Github.
     
    Last edited by m4xw, May 30, 2018
  10. m4xw
    OP

    m4xw GBAtemp Advanced Fan

    Member
    8
    May 25, 2018
    Germany
    Last edited by m4xw, May 30, 2018
  11. Phenj

    Phenj GBAtemp Regular

    Member
    2
    May 22, 2018
    Italy
    Thanks to you for your huge work!
     
  12. Admiral-Purple

    Admiral-Purple Member

    Newcomer
    1
    May 25, 2018
    United States
    Is this one expected to load roms? I'm on 4.1.0, it loads the menu but crashes when I go to load a game. A link to the past is the only game I've tried so far.
     
  13. m4xw
    OP

    m4xw GBAtemp Advanced Fan

    Member
    8
    May 25, 2018
    Germany
    Its expected to do what you say.

    I suspect some cores should work. But I am done for today!

    Audio needs to be fixed too, but thats something really small, I did most stuff, but its too fcking hot
     
    Last edited by m4xw, May 30, 2018
    Centergaming and hippy dave like this.
  14. Admiral-Purple

    Admiral-Purple Member

    Newcomer
    1
    May 25, 2018
    United States
    Okay, still great progress considering before it wouldn't even load. Thank you for your work on this, I'm looking forward to your next updates :)
     
  15. Ty_

    Ty_ GBAtemp Regular

    Member
    2
    May 22, 2018
    United Kingdom
    Awesome work dude, looking forward to the next version
     
    Centergaming likes this.
  16. Phenj

    Phenj GBAtemp Regular

    Member
    2
    May 22, 2018
    Italy
    did someone managed to run roms?
     
  17. m4xw
    OP

    m4xw GBAtemp Advanced Fan

    Member
    8
    May 25, 2018
    Germany
    The furthest I've gotten is "not crash on rom launch", but not like it did run the ROM's :P

    Btw the bug where it would crash with lots of files is fixed too. I can display 800+ Roms in a Folder on the nx version, so thats a transistor bug
     
  18. Phenj

    Phenj GBAtemp Regular

    Member
    2
    May 22, 2018
    Italy
    Well that's something :P
     
  19. Darth Oeron

    Darth Oeron Member

    Newcomer
    1
    Oct 27, 2015
    The only homebrew I managed to work is FBA, every other program crashes which makes me to start the whole hacking injection process again and again. After a while it becomes frustrating. For now, payload.bin is far from being stable and it needs some revision. Despite the early stage beta problems it's exiting to see what's possible and what's comming up. I gave up trying and wanna wait for a more stable version just like Vita's Henkaku.


    Signed on Sega Mega Drive via Tapatalk
     
  20. m4xw
    OP

    m4xw GBAtemp Advanced Fan

    Member
    8
    May 25, 2018
    Germany
    You mean FBA with the libnx port? Else its unrelated.

    This thread is exclusive for this Port, as it is very specific.

    Edit: Your post really makes little sense lol
     
    Last edited by m4xw, May 31, 2018
    Samus20XX likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice