Neko Project II
is an emulator for the PC-98x1 series of computers created by Yui. Although the official np21 variant has been able to play Touhou games since its introduction in 2004, it was only recently that the viability of the emulator was properly investigated, partly due to the appearance of unofficial builds such as the kai and fmgen builds. With better emulation than Anex86 and better performance than T98-Next, it is the recommended emulator for playing all of the PC-98 Touhou games (except possibly HRtP due to minor flickering).
It is also notable for having a native Linux/Mac OS X port in the form of Xnp2.
Following is a guide to configuring Neko Project II for emulating the PC-98 Touhou games (last updated 2015-05-22). Installation
* Download the emulator. Currently the recommended version is the fmgen version; this link should guarantee that you have the latest build.
Select the first entry in the list labelled np2fmgen.7z, the password should be 9801.
** As of 2015-05-22 the latest version is the 2015-05-16 build
, password 9801.
* Extract anywhere. If you can't open .7z files, download 7-Zip.
* Download the YM2608 samples from this link
if you don't already have them, and extract them into the same folder as your np2 install.Configuration
These are the essentials to get Touhou game emulation to the standard of Anex86 or T98-Next. Optional stuff will be covered later.
* Start np21nt.exe (np21.exe is designed for Windows 9x computers, although it'll often work just as well on later Windows). Do not use the other .exe files, np2sx(nt) results in graphical glitches, while Touhou does not work with np2(nt) at all.
* Go to Emulate --> Configure. Change the CPU clock multiplier from x4 to x32 or higher (MS may require x40 or above for some areas), reduce the sound buffer to 100ms (you can go lower if you want, but I personally leave it at 100), check QFM, and increase the sampling rate to at least 44K.
* Enter the system setup menu by selecting Emulate --> Reset while holding End until the screen appears. Select the second option, then change GDC clock from 5MHz to 2.5MHz. This is required for PoDD to work properly.
** Alternatively, go into the .ini file and change DIPswtch to DIPswtch=3e f3 6b.Usage
* Harddisk --> IDE #0 (SASI #0 on the official build) --> Open..., select the HDI file, then Emulate --> Reset.Optional stuff and miscellany
: Add STATSAVE=true into np21(nt).ini, making sure that it is in the [NekoProject21] section. This causes a Stat menu to appear. Savestates range from 0 to 9.
* Alternate FM cores
: Full explanation pending (I'll get to it eventually...), see fsvgm777's post, new link is here (2013-12-21, password is fmdll)
or see the readme in most recent fmgen
: Screen menu, also Alt+Enter (this key combination can be disabled).
: The emulator generates a usable font automatically from a system font; this should be sufficient for casual purposes (Neko's font handling is much better than Anex's). To replace it with a different font, go to Emulate --> Font and browse for the file (Anex86's .bmp font files and T98-Next's font.rom will both work; the latter is recommended), or simply place font.rom (font.bmp) in the same folder as your install.
* Keyboard shortcuts
: Replace the zeroes in the Function=... with relevant codes (see Function.txt for details). For example, to set Home (0x24) as a shortcut for a screenshot (IDM_BMPSAVE, 40701, 0x9efd) replace a group of 00 00 00 00 with 00 24 fd 9e.
For a slightly more detailed guide on configuring Neko Project II, refer to Tokugawa Corp's FAQ.
Note that it was written for the official version so some info may be out of date relative to the newest unofficial builds.
* Screen size
: Click on the cat icon at the top left corner of the window. You will have the option to change between six preset window sizes.
* Running at over 100% speed ("90FPS")
: The most recent builds have introduced the option to change the emulation speed, with a new menu under Emulate --> Speed. However, by default 150% speed, the most common used by Touhou players, is not included. To fix this, add the line CPUSMENU=25,50,75,100,150,200,400,800 (add other speeds if you want, note that the line should be at most 8 entries) into np21(nt).ini.
* Skipping the boot sequence
: Introduced in the 2014-03-13 build, add the line BOOTSKIP=3 to skip the boot sound and memory check.
* Debug features
: Add the line I286SAVE=true into np21(nt).ini. Click on the cat icon to access a few debug features, including a memory viewer and disassembler (albeit crappy ones).
* Making LLS lag less
: If you're having problems with LLS running significantly slower than the other games, check to see if you have HIMEM.SYS and EMM386.EXE. If so, drop the contents of this archive
into the root of your LLS disk (replacing the existing config.sys). If you don't have DiskExplorer to do so...DiskExplorerhttp://hp.vector.co.jp/authors/VA013937/editdisk/index_e.html
is the link for the most recent English version (1.69 English, 2010-04-10). This program allows you to copy files to and from disk images such as .hdi files, making it a very useful tool for anyone using them.Xnp2
There is a port of Neko Project II for Linux and Mac OS X called Xnp2. Last I checked it seems to have some sound problems, requiring a rather large sound buffer to avoid stuttering; should you be annoyed by this, np2fmgen runs perfectly in Wine.
The program needs to be compiled from source. Grab the latest version from here
and extract to a folder. To install dependencies:
[code]$ sudo aptitude install build-essential nasm checkinstall libsdl1.2-dev libsdl-mixer1.2-dev libgtk2.0-dev libxxf86vm-dev
replacing aptitude with your package manager if necessary.
To compile, change to the source folder, then:
[code][code]$ ./configure --enable-ia32
[code]Make sure the --enable-ia32 flag is supplied.
Otherwise, the i386 instructions will be missing and the games will not run (same as running np2.exe on fmgen). After this, follow the settings above to configure the system, but you may have to set the sound buffer up to 200ms or more to avoid stuttering; this may result in audio lag.
For archival purposes, below is the original post that I made:
So I'm trying out the Neko Project II fmgen, a version of Neko Project II that is being worked on by an anonymous poster in 2ch (which I first discovered in this thread, with the original 2ch thread located here).
The purpose of this thread is twofold: firstly, to spread awareness of this emulator to this site. Secondly, PoDD is utterly broken on this.
Firstly, after the splash screen:
The solution was to click Emulate->Reset while holding down the End key on the keyboard so that BIOS appears, select the second option and set the GDC to 2.5 MHz. This got the game running.
Then, actual gameplay results in this:
Thus, I would like to ask that someone look into this further so that we can make the most of this new emulator.