lr-NP2Kai: A PC-9801 libretro core
-
Repository: https://github.com/AZO234/NP2kai
Build with the commands
cd np2kai/sdl2
andmake -j4
The resulting core isnp2kai_libretro.so
, located innp2kai/sdl2
.You will need to copy the following BIOS files into
/home/pi/RetroPie/BIOS/np2kai
:2608_bd.wav 2608_hh.wav 2608_rim.wav 2608_sd.wav 2608_tom.wav 2608_top.wav bios.rom FONT.ROM sound.rom
I've only tested one game so far, Lotus Land Story, and it runs slowly but is still fairly playable.
-
Update: I figured out how to write setup scripts! Here's the script for you to copy into a .sh file:
#!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. # # See the LICENSE.md file at the top-level directory of this distribution and # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md # rp_module_id="lr-np2kai" rp_module_desc="PC98 emu - Modified Neko Project II port to libretro" rp_module_help="ROM Extensions: .d88 .d98 .88d .98d .fdi .xdf .hdm .dup .2hd .tfd .hdi .thd .nhd .hdd\n\nCopy your pc98 games to to $romdir/pc98\n\nCopy bios files 2608_bd.wav, 2608_hh.wav, 2608_rim.wav, 2608_sd.wav, 2608_tom.wav 2608_top.wav, bios.rom, FONT.ROM and sound.rom to $biosdir/np2" rp_module_section="exp" function sources_lr-np2kai() { gitPullOrClone "$md_build" https://github.com/AZO234/NP2kai.git } function build_lr-np2kai() { cd ./sdl2 make -j4 md_ret_require="$md_build/sdl2/np2kai_libretro.so" } function install_lr-np2kai() { md_ret_files=( 'sdl2/np2kai_libretro.so' ) } function configure_lr-np2kai() { mkRomDir "pc98" ensureSystemretroconfig "pc98" addEmulator 1 "$md_id" "pc98" "$md_inst/np2kai_libretro.so" addSystem "pc98" }
-
Second Update: The above setup script is no longer needed, as lr-np2kai is now officially a part of RetroPie! Simply go to the Experimental menu in RetroPie Setup, and select
lr-np2kai
. More info can be found here.Enjoy!
-
WOAW great news :)
I love this system and already made my game pack :p
Have you try it to know if this emulator works fine ?
Thanks -
@darknior I've tested on the Pi 3 non-overclocked; it's ever-so-slightly too slow to run most of the games you'd probably want to run (Flame Zapper, Touhou, etc.), but you can somewhat remedy this by messing with the CPU multiplier in the options (somewhere between 4x and 8x with a 2Mhz base clock works out best).
-
Wow that's awesome :) Hopefully, there will be future builds with better performance.
Btw... How can you map controller inputs to keyboard inputs? The first two Touhou Games don't support a Joypad.
-
@wihaedud I don't think that's a thing yet unfortunately, however this is apparently going to be fixed in the next RetroArch update.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.