Homebrew WIP [Release] Neopop-SDL for Switch

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
2,984
Country
Italy
neopop.png

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.png neopop.png
 
Last edited by nop90,

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
2,984
Country
Italy
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
 

Attachments

  • neopop_testarg.zip
    92.9 KB · Views: 124

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
2,984
Country
Italy
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.
 

nop90

Well-Known Member
OP
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
2,984
Country
Italy
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.
 

gdkchan

Well-Known Member
Member
Joined
Jul 8, 2015
Messages
181
Trophies
0
Age
24
XP
405
Country
Brazil
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.
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,
General chit-chat
Help Users
  • No one is chatting at the moment.
    KenniesNewName @ KenniesNewName: https://youtube.com/shorts/0PLynroGlRs?feature=share