NP2kai/README.md

282 lines
6.6 KiB
Markdown
Raw Normal View History

2017-08-16 21:27:10 +00:00
Neko Project II 0.86 kai rev.9
2017-06-21 09:17:35 +00:00
===
2017-08-22 05:15:54 +00:00
Aug 22, 2017
2017-06-21 09:17:35 +00:00
2017-06-24 14:44:47 +00:00
Build SDL2 port
2017-06-21 09:17:35 +00:00
---
2017-06-21 09:35:56 +00:00
Install SDL2.
2017-06-21 09:27:42 +00:00
2017-06-21 09:34:57 +00:00
$ sudo apt-get install libsdl2-dev libsdl2-ttf-dev
2017-06-21 09:23:04 +00:00
2017-06-21 09:35:56 +00:00
Build.
2017-06-21 09:27:42 +00:00
2017-06-21 09:34:57 +00:00
$ cd NP2_SDL2/sdl2
2017-07-08 14:20:57 +00:00
$ make -j4 -f Makefile.unix
2017-06-21 09:23:04 +00:00
2017-06-21 09:17:35 +00:00
or
2017-06-21 09:23:04 +00:00
2017-07-08 14:20:57 +00:00
$ make -j4 -f Makefile21.unix
2017-06-21 09:23:04 +00:00
2017-07-04 04:35:28 +00:00
'np2' or 'np21' binary is outputed in NP2kai/sdl2
2017-06-21 09:17:35 +00:00
2017-07-07 04:39:36 +00:00
BIOS files locate in same directory executable file.
2017-06-24 14:44:47 +00:00
Build X11 port
---
Install SDL2.
$ sudo apt-get install libsdl2-dev libsdl2-ttf-dev
Build.
2017-07-04 04:35:28 +00:00
$ cd NP2kai/x11
2017-06-24 14:44:47 +00:00
$ ./autogen.sh
$ ./configure
$ make
or
$ ./configure --enable-ia32
2017-07-08 14:20:57 +00:00
$ make -j4
2017-06-24 14:44:47 +00:00
2017-07-04 04:35:28 +00:00
'np2' or 'np21' binary is outputed in NP2kai/x11
2017-06-24 14:44:47 +00:00
2017-07-07 04:39:36 +00:00
BIOS files locate in same directory executable file.
2017-07-08 15:07:22 +00:00
NP2 menu is opened when F11 key or mouse middle button.
2017-07-07 14:03:03 +00:00
NP2 menu can FDD/HDD swap.
2017-07-10 02:14:53 +00:00
Build libretro port (Linux)
2017-06-28 04:24:12 +00:00
---
Build.
2017-08-20 23:39:58 +00:00
$ cd NP2kai
2017-07-08 14:20:57 +00:00
$ make -j4
2017-06-28 04:24:12 +00:00
2017-08-21 11:23:58 +00:00
'NP2kai_libretro.so' binary is outputed in NP2kai
2017-06-28 04:24:12 +00:00
2017-07-10 02:14:53 +00:00
Build libretro port (Windows)
---
2017-07-10 16:21:27 +00:00
Build by MSYS2 x86_64. (Reference follow URL)
https://bot.libretro.com/docs/compilation/windows/
2017-07-10 02:14:53 +00:00
2017-08-21 04:40:42 +00:00
$ cd NP2kai
2017-07-10 02:14:53 +00:00
$ make -j4
2017-08-21 11:23:58 +00:00
'NP2kai_libretro.dll' binary is outputed in NP2kai
2017-07-10 02:14:53 +00:00
2017-07-17 04:44:35 +00:00
about libretro port
---
BIOS files locate in "np2" directory at BIOS directory (configured by RetroArch).
Configure file (np2.cfg) is made in "np2" BIOS directory.
2017-07-10 02:14:53 +00:00
2017-07-17 03:40:08 +00:00
NP2 menu is opened when F12 key or mouse middle button or joypad L2 button.
2017-07-10 02:14:53 +00:00
NP2 menu can FDD/HDD swap.
2017-07-17 04:44:35 +00:00
2017-07-10 02:14:53 +00:00
Mouse is cuptured (hidden/show toggle) by F11 key.
2017-07-17 04:44:35 +00:00
2017-08-03 15:14:08 +00:00
Mouse cursor is able to move with joypad when Joy2Mouse mode.
Switch Joy2Mouse mode in config.
2017-07-17 05:13:45 +00:00
D-UP/DOWN/LEFT/RIGHT: mouse move
B button: left click
2017-07-17 04:44:35 +00:00
A button: right click
2017-07-07 04:39:36 +00:00
2017-08-03 15:14:08 +00:00
Keyboard is able to control with joypad when Joy2Key mode.
Switch Joy2Key mode in config.
D-UP/DOWN/LEFT/RIGHT: allow key
B button: Z key
2017-08-03 15:16:26 +00:00
A button: X key
2017-08-03 15:14:08 +00:00
X button: Space key
2017-08-03 15:16:26 +00:00
Y button: left Ctrl key
L button: Backspace key
R button: right Shift key
Select button: Escape key
2017-08-03 15:14:08 +00:00
Start button: Return key
2017-07-31 18:47:49 +00:00
If you use 104 western keyboard,
to input underscore(_), press Shift+right Ctrl.
2017-07-07 04:39:36 +00:00
BIOS files
---
* bios.rom
* FONT.ROM (big letter)
* itf.rom
2017-08-16 21:27:10 +00:00
* sound.rom
2017-08-02 20:45:19 +00:00
* (bios9821.rom or d8000.rom But I never see good dump file.)
2017-07-07 04:39:36 +00:00
* 2608_bd.wav
* 2608_sd.wav
* 2608_top.wav
* 2608_hh.wav
* 2608_tom.wav
* 2608_rim.wav
2017-07-07 14:03:03 +00:00
Setting to RetroPie
---
2017-07-29 16:27:53 +00:00
Install Japanese font. (umefont need SDL2 port only)
2017-07-09 01:32:16 +00:00
2017-07-29 16:27:53 +00:00
$ sudo apt-get install fonts-droid fonts-horai-umefont
2017-07-09 01:32:16 +00:00
2017-07-29 16:25:28 +00:00
Locate libretro & SDL2 port files.
2017-07-07 14:03:03 +00:00
2017-07-08 05:37:34 +00:00
$ sudo mkdir /opt/retropie/libretrocores/lr-np2
$ sudo cp np2_libretro.so /opt/retropie/libretrocores/lr-np2/
2017-07-08 23:30:58 +00:00
$ sudo mkdir /opt/retropie/emulators/np2
$ sudo cp np2_libretro.so /opt/retropie/emulators/np2/
$ sudo touch /opt/retropie/emulators/np2/np2.cfg
2017-07-08 23:36:46 +00:00
$ sudo chmod 666 /opt/retropie/emulators/np2/np2.cfg
2017-07-07 14:03:03 +00:00
2017-07-29 16:25:28 +00:00
Write & locate retroarch.cfg.
2017-07-07 14:03:03 +00:00
2017-07-29 16:25:28 +00:00
$ sudo vi /opt/retropie/configs/pc98/retroarch.cfg
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
input_remapping_directory = "/opt/retropie/configs/pc98/"
#include "/opt/retropie/configs/all/retroarch.cfg"
Locate BIOS files.
BIOS files locate in "˜/RetroPie/BIOS/np2/" directory.
2017-07-08 23:30:58 +00:00
and "/opt/retropie/emulators/np2/" too.
2017-07-07 14:03:03 +00:00
2017-07-29 16:25:28 +00:00
Make shortcut to Japanese font. (SDL2 port only)
2017-07-09 01:32:16 +00:00
$ sudo ln -s /usr/share/fonts/truetype/horai-umefont/ume-ugo4.ttf /opt/retropie/emulators/np2/default.ttf
2017-07-29 16:25:28 +00:00
Add "carbon-mod". (Japanese nize)
2017-07-07 14:03:03 +00:00
$ git clone https://github.com/eagle0wl/es-theme-carbon.git
$ sudo cp -r ./es-theme-carbon /etc/emulationstation/themes/carbon-mod
2017-07-29 16:25:28 +00:00
Add to "/etc/emulationstation/es_systems.cfg" writing.
2017-07-07 14:03:03 +00:00
$ sudo nano /etc/emulationstation/es_systems.cfg
2017-07-08 14:20:57 +00:00
...
2017-07-07 14:03:03 +00:00
</system>
<system>
<name>pc98</name>
<fullname>PC-98</fullname>
<path>/home/pi/RetroPie/roms/pc98</path>
<extension>.d88 .88d .d98 .98d .fdi .xdf .hdm .dup .2hd .tfd .nfd .hd4 .hd5 .hd9 .fdd .h01 .hdb .ddb .dd6 .dcp .dcu .flp .bin .fim .D88 .88D .D98 .98D .FDI .XDF .HDM .DUP .2HD .TFD .NFD .HD4 .HD5 .HD9 .FDD .H01 .HDB .DDB .DD6 .DCP .DCU .FLP .BIN .FIM .thd .nhd .hdi .vhd .sln .THD .NHD .HDI .VHD .SLN</extension>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ pc98 %ROM%</command>
<platform>pc98</platform>
<theme>pc98</theme>
<directlaunch/>
</system>
<system>
2017-07-08 14:20:57 +00:00
...
2017-07-07 14:03:03 +00:00
2017-07-29 16:25:28 +00:00
Add to "/opt/retropie/configs/pc98/emulators.cfg" writing.
2017-07-07 14:03:03 +00:00
$ cd /opt/retropie/configs
$ sudo mkdir pc98
$ cd pc98
$ sudo nano emulators.cfg
2017-07-08 23:30:58 +00:00
np2="/opt/retropie/emulators/np2/np21 %ROM%"
2017-07-07 14:03:03 +00:00
lr-np2="/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-np2/np2_libretro.so --config /opt/retropie/configs/pc98/retroarch.cfg %ROM%"
2017-07-08 23:30:58 +00:00
default="lr-np2"
2017-07-07 14:03:03 +00:00
2017-07-29 16:25:28 +00:00
Launch ES and set "CARBON-MOD" to "THEME-SET".
Point of tuning performance NP2kai
---
2017-07-29 16:28:49 +00:00
* CPU clock
2017-07-29 16:25:28 +00:00
Change "CPU Clock Multiplyer".
2017-07-29 16:28:49 +00:00
* Memory size
2017-07-29 16:25:28 +00:00
Change "RAM Size".
2017-08-04 00:45:23 +00:00
* Sound device
2017-08-04 00:45:53 +00:00
26K: for old games.
2017-08-04 00:45:23 +00:00
86: for newer games.
2017-08-16 21:31:33 +00:00
* Sound Generator
2017-08-17 03:56:36 +00:00
Default: default sound generator.
fmgen: fmgen sound generator.
2017-08-16 21:27:10 +00:00
2017-07-29 16:25:28 +00:00
Don't forget restart core.
2017-07-07 14:03:03 +00:00
2017-07-24 13:50:32 +00:00
About network
---
From rev.7 we can use network.
NIC is follow spec.
MELCO LGY-98
IRQ:6
I/O:0x00D0
2017-06-21 09:17:35 +00:00
Release
---
2017-08-22 05:15:54 +00:00
* Aug 22, 2017
- Merge 私家
Merged
2017-08-22 05:19:08 +00:00
*AMD-98 Joyport
*S98V3
*Otomi x2
*V30 patch
*VAEG fix
2017-08-22 05:15:54 +00:00
Couldn't merged
2017-08-22 05:19:08 +00:00
*CSM voice
*LittleOrchestra
*MultimediaOrchestra
*SB16
*WaveRec
2017-08-20 23:39:58 +00:00
* Aug 21, 2017
- Apply libretro-super build
2017-08-16 21:27:10 +00:00
* Aug 17, 2017 (rev.9)
- Apply fmgen
2017-08-02 20:45:19 +00:00
* Aug 3, 2017 (rev.8)
- Apply HRTIMER
- [libretro] input underscore(_) for western keyboard
2017-08-03 16:53:48 +00:00
- [libretro] Add Joy2Key (thanks Tetsuya79)
2017-07-24 13:41:06 +00:00
* Jul 24, 2017 (rev.7)
- Apply network
2017-07-18 10:19:44 +00:00
* Jul 18, 2017 (rev.6)
2017-07-17 03:40:08 +00:00
* Jul 17, 2017
- Apply HOSTDRV
2017-08-03 15:14:08 +00:00
- [libretro] Add Joy2Mouse mode (switch at config menu)
2017-07-04 04:35:28 +00:00
* Jul 4, 2017
- rename to 'kai'
2017-06-28 04:24:12 +00:00
* Jun 28, 2017
- [libretro] Applicate to libretro port
2017-06-21 14:42:31 +00:00
* Jun 21, 2017
- [X11] Applicate to X11 port
2017-07-18 10:19:44 +00:00
* Jun 20, 2017 (rev.6 beta)
2017-06-21 09:17:35 +00:00
- [NP21] fix for VGA
* Jun 19, 2017
- [NP21] fix IA-32
- more memory size available
* Jun 18, 2017
- more avilable FDD/HDD/CD-ROM image
- [NP21] FPU (fpemul_dosbox.c is GPL licence, others is MIT licence)
* Jun 12, 2017
- COM
- MIDI
- JOYSTICK
- IDE (can't use CD-ROM yet)
- SDL_Keycode -&gt; SDL_Scancode
- Save BMP
- State Save
* Jun 4, 2017
- [NP21] お察しください
* Jun 1, 2017
- First release
Reference
---
* http://www.yui.ne.jp/np2
* https://github.com/irori/np2pi/wiki/NP2-for-Raspberry-Pi
* http://eagle0wl.hatenadiary.jp/entry/2016/10/07/213830
* https://sites.google.com/site/np21win/home
2017-07-04 04:35:28 +00:00
* https://github.com/meepingsnesroms/libretro-meowPC98
2017-06-21 09:17:35 +00:00