WIP [Release] Neopop-SDL for Switch

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by nop90, Mar 19, 2018.

  1. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    neopop.

    Neo Geo Pocket and Neo Geo Pocket Color emulator.

    This is a preview release, I just compiled the emulator with my SDL lib making only minor tweaks, so there is a lot of work left for oprimizing everything.

    Config save is missing and saving state seems to not overwrite a previous savestate. Also there ara some options to map to Switch controls.

    This emulator miss a gui for loading roms, so I made a quck hack of the Homebrew loader to turn it in a rom forwarder. This is a planned feature for the official HBL, so in the future probably the forwarder will be removed.

    In the release package I added an Homebrew rom (bomeberman from Thor, that is a menber of the Retroguru Team too), so to make testing the emulator easy. To install everything simply decompress the content of the zip archive in the root of the sd card.

    if you want You can add other roms in the /roms/neogeopocket folder.

    Everything is untested on a real switch, so I'm releasing this alpha version to receive feedbacks. If the forwarder doesn't launch a rom correctly, you can always move the neopop.nro in a folder named /switch/neopop and run it directly; this way, when launched without parameters, it will try to load a file named rom.ngc from the /roms/neogeopocket folder. I already added a copy of bomberman named rom.ngc in the rom folder.

    Note: Exiting the emulator will crash the launcher. I'm working on it.


    Source code isn't available yet.

    The nros for the emulator and the forwarder are released on github (http://github.com/Nop90-Switch/neopop-SDL/releases/)

    Changelog

    Ver. 0.2 (21 March 2018)
    • Some bugs fixed
    Ver. 0.1 (19 March 2018)
    • Preview version
    Controls

    Keypad - directions
    A - A button
    B - B button
    X - Option button
    Y - Pause emulator
    MINUS - Exit the emulator
    RR - Save game state
    RL - Load game state
    L - Toggle fullscreen

    Screenshots

    Forwarder. neopop.
     
    Last edited by nop90, Mar 21, 2018
  2. KiiWii

    KiiWii Contributor

    pip Contributor
    17
    Nov 17, 2008
    United Kingdom
    Outstanding, thank you @nop90 !
     
  3. pwsincd

    pwsincd Garage Flower

    Member
    11
    GBAtemp Patron
    pwsincd is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 4, 2011
    Manchester UK
    omg your a machine .. lol.. anyways .. added this to the appstore for people to try although i removed the included roms...
     
    lordelan likes this.
  4. bennyman123abc

    bennyman123abc GBAtemp Advanced Fan

    Member
    6
    Mar 21, 2013
    United States
    Some City
    ~snip~

    EDIT: Wrong thread..
     
    Last edited by bennyman123abc, Mar 19, 2018
  5. Technicmaster0

    Technicmaster0 GBAtemp Psycho!

    Member
    9
    Oct 22, 2011
    Gambia, The
    It's a homebrew according to nop.
     
  6. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    Any feedback about the forwarder?

    And is the emulator fast enough to play music?
     
  7. pwsincd

    pwsincd Garage Flower

    Member
    11
    GBAtemp Patron
    pwsincd is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 4, 2011
    Manchester UK
    the rom is ?
     
  8. Technicmaster0

    Technicmaster0 GBAtemp Psycho!

    Member
    9
    Oct 22, 2011
    Gambia, The
    "In the release package I added an Homebrew rom (bomeberman from Thor, that is a menber of the Retroguru Team too)"
     
  9. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    I have a report of the forwarder crashing launching a rom.

    Don't know if the problem is on the forwarder side or on the emulator side, so I made a simple test program to check the arguments passed to the emulator.

    I added it in the release page on github (and attached here too): subtitute the neopop.nro with the one in neopop_testarg.zip, than launch a rom and tell me the output on the screen (if there is no crash).

    Thanks
     

    Attached Files:

  10. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    updated the package on github:
    • fixed a bug on arguments passed by the forwarder
    • disabled sound in the emulator
    I need tester for the emularor, write a PM for infos on what needs testing.
     
  11. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    17
    May 27, 2016
    United States
    New York
    Is neo geo a popular emulator? I can't even find a working one for pc. Most ones I try crash the game at random almost as no one cares to develop anymore :wtf:
     
  12. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    Not Neo geo, but Neo geo pocket.
     
  13. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    thanks to @asper support now I know the forwarder is working correctly.

    The emulator still crashes on a real switch, but nor on RyujiNX, so it will be hard to fix. I'll try to do my best.

    Hope to find a Switch 3.0 soon.
     
  14. gdkchan

    gdkchan GBAtemp Regular

    Member
    4
    Jul 8, 2015
    Brazil
    You need to enable memory checks to get those crashes. It's disabled by default because running with those checks is very slow.
    https://github.com/gdkchan/Ryujinx/blob/master/Ryujinx/Ui/Program.cs#L15

    I should probably add a command line option to enable it too.

    Edit: Went ahead and added a "Enable_Memory_Checks" on the .conf file.
     
    Last edited by gdkchan, Mar 20, 2018
    asper and Natehaxx like this.
  15. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    Thanks. this will be a big help. I'm going to download the new build
     
  16. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    17
    May 27, 2016
    United States
    New York
    Is this the one in color? I tried playing sonic pocket adventure on some pc emulators, and they just crash at random. :blink:
     
  17. gdkchan

    gdkchan GBAtemp Regular

    Member
    4
    Jul 8, 2015
    Brazil
    Seems to crash inside the "system_graphics_init" function. Not sure at which line exactly yet.
     
  18. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    Now I'm very tired (it's about midnight here in Italy) but tomorrow I'll trace rhe error.
     
  19. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    11
    Jan 11, 2014
    Italy
    Rome
    Released a new version that should solve the crash at startup.
     
  20. justinbug2

    justinbug2 GBAtemp Advanced Fan

    Member
    5
    Jun 9, 2015
    United States
    this work on 5.x?
     
Loading...