Neko Project

Материал из Touhou Wiki
Версия от 10:07, 6 ноября 2016; Unknwn (обсуждение | вклад) (Новая страница: «'''Neko Project II''' — это эмулятор компьютеров серии PC-98x1, созданный Yui. Хоть оригинальная вер…»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигации Перейти к поиску

Neko Project II — это эмулятор компьютеров серии PC-98x1, созданный Yui. Хоть оригинальная версия np21 была способна запускать игры серии «Touhou Project» с его появления в 2004, лишь относительно недавно работоспособность эмулятора была должным образом исправлена, частично благодаря появлению неофициальных билдов, таких как билды kai и fmgen. С более качественной, чем в Anex86, эмуляцией и лучшей, чем у T98-Next, производительностью, это рекомендованный эмулятор для запуска всех PC-98 Touhou-игр (возможно кроме HRtP из-за небольших мерцаний).

Стоит отметить, что у него имеется порт для Linux/Mac OS X — Xnp2.

Далее следует руководство по настройке Neko Project II для эмуляции всех игр «Touhou Project» эпохи PC-98.

Руководство

Установка

Настройка

Это обязательные пункты, которые следует выполнить, чтобы эмуляция «Touhou» была на уровне Anex86 или T98-Next. Дополнительные пункты будут разобраны позже.

  • Запустите np21nt.exe (np21.exe разработан для компьютеров с Windows 9X), однако он может работать должным образом и на более поздних версиях Windows. Не используйте другие исполняемые .exe файлы: mp2sx(nt) работает с графическими глитчами, и «Тохо» вовсе не работает с np2(nt).
  • В выпадающем меню нажмите Emulate → Configure. Измените множитель процессора (CPU clock multiplier) с x4 на x32 или высше (MS может требовать x40 или больше для некоторых зон), уменьшите Sound buffer до 100ms (при желании можете поставить и меньше, но автор оставляет на 100), установите галочку на QFM и увеличьте Sampling rate как минимум до 44К.
  • Войдите в меню настройки системы, выбрав Emulate → Reset, зажав клавишу End, пока меню не появится на экране. Выберите вторую опцию, затем измените GDC clock с 5MHz на 2.5MHz. Это необходимо для корректной работы PoDD.
    • Можете сделать это другим путём: откройте .ini файл и измените DIPswtch на DIPswtch=3e f3 6b.

Использование

  • Harddisk → IDE #0 (SASI #0 на официальном билде) → Open..., выберите файл *.HDI, затем нажмите Emulate → Reset.


Дополнительно

Optional stuff and miscellany

  • Savestates: 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
  • Fullscreen: Screen menu, also Alt+Enter (this key combination can be disabled).
  • Font: 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...


DiskExplorer

http://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:

 $ 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
$ make

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.