Neko Project II kai (PC-9801) core (different nekop2, meowPC98)

Ok solved my issue. I had two optional BIOS files in RetroArch/system/np2kai folder namely “bios9821.rom” and “d8000.rom”. Removing these files allowed me to run .d88 and .fdi files.

These BIOS files were listed as optional in libretro docs here > https://docs.libretro.com/library/neko_project_ii_kai/. Its possible I got a bad file dump.

Anyways thanks again @AZO234.

2 Likes

@RetroFans
I fixed Android ARM 32bit calculate problem.
I posted pull request. Please try it.

Ok solved my issue. I had two optional BIOS files in RetroArch/system/np2kai folder namely “bios9821.rom” and “d8000.rom”. Removing these files allowed me to run .d88 and .fdi files.

You’re kidding! I’ve had this problem for what seems like an eternity, and never would’ve imagined this to be the cause! Removing ‘d8000.rom’ did it for me! Thanks!

Interestingly enough, all games used to run fine a couple of versions ago, even with these files present.

1 Like

I fixed mouse off feature.(Disabling touchpad tap) Please merge!

1 Like

Is there a key code table or any instructions for editing the lrjoybtn setting?

Hey everyone,

how can I get CD games running with this (bin/cue files)? I read the instructions, but I don’t understand this part:

How to use CD drive with MS-DOS 6.2?

Write follow to CONFIG.SYS.

    LASTDRIVE=Z
    DEVICE=A:¥DOS¥NECCDD.SYS /D:CD_101

And write follow to AUTOEXEC.BAT.

    A:¥DOS¥MSCDEX.EXE /D:CD_101 /L:Q

Then, you’ll can use CD drive as Q drive.

Don’t worry about that. Simply run CD games by creating a runnable .cmd file which looks like this:

np2kai "path-to-gamefile-if-available" "path-to-cd"

You’re gonna have to figure out whether the CD path should point to the .cue or .bin since I can’t remember at the present moment.

Thank you vry much for your answer! Just to make sure I understand that correctly. If I have a cd file, the cmd file should contain::

np2kai “D:\Downloads\NEC - PC-98 series 1g1r\Alone in the Dark 2 (Japan)\Alone in the Dark 2 (Japan).cue”

If so, is there a way to use relative paths in order to make this setup portable or if I decide to move the roms to a different hard drive?

Absolutely. Given that you keep the .cmd in the same folder as the game file, you need only specify the file name. In your case:

np2kai "Alone in the Dark 2 (Japan).cue"

So I just tried launching a cmd file within LaunchBox and also directly with Retroarch. Unfortunately it didn’t work. The core launches, but I’m stuck with a black screen.

The cmd file contains: np2kai “Alone in the Dark 2 (Japan).cue”

it’s located in the same directory as the .cue and .bin files.

Any suggestions?

Sorry, at that point I’d try running the .bin instead if you haven’t already. You’re certain the game doesn’t require an .hdi or similar?

Yes I already tried running the .bin file (Alonie in the Dark has 80 bin files, so I’m not even sure which one to run, but I also tried DOOM which has only one bin file).

No I’m not surre if I require a .hdi file. All I have is a few CD based games in cue/bin format. I don’t have any .hdi files.

I also tried running the core and open the cue/bin files from the core’s own internal GUI. But that didn’t work either.

I couldn’t find the source code of NPTH but could find some hints

-> As far as I understand it, the NP2 source code NPTH is compiled from was changed in a way that every time the emulator uses some basic PC98 routine for text output it will call the WinAPi strlen function with the string which shall be outputted which can then be hooked by every text hooker tool. http://fullmotionvideo.free.fr/phpBB3/viewtopic.php?f=1&t=1556&hilit=npth

-> NPTH takes the output string and uses it with the lstrlenA-function https://vndb.org/t5395.415

but NPTH is too old version. I would appreciate it if you could porting it according to the latest version of the NP2kai .I want to enjoy translating pc98 games Thank you

Could you make it possible for text hooking like NPTH?

http://fullmotionvideo.free.fr/phpBB3/viewtopic.php?f=1&t=1498&hilit=npth https://www.acgwolf.com/viewthread.php?tid=50043 NPTH`s information are here.

Did you try NP2’s menu(not RetroArch’s) -> ‘Option’ -> ‘Fontrom hook’?
Then text will output to ‘hook_fontrom.txt’ file in BIOS directory.
(It often miss to text taking. Incompletely. Recommend retake to good.)

Text output function is only to file now. But it make to some streams, it’s funny.

I didn’t know about NPTH! Thanks.

With Ref to issue #136. Some old games are showing graphical distortions, they show multiple images superimposed on each other. By changing “DIPswtch = 3e f3 7b” to “DIPswtch = 3e 73 7b” in np2kai.cfg games which had distorted images work correctly BUT many other games (mostly old) then start showing graphical distortions (e.g. Xevious).

Is it possible to make botth sets of game work at same time? Or create an option in Retroarch NP2Kai menu where we could select one dipswitch and save it for specifc games?

Ok, so worked on the priblem a little bit more and its definately due to GDC. Some games work well with GDC set to 5.0 MHz others with GDC set to 2.5 MHz. So one set will break whenever GDC is modified. It would be really helpful if we could get another GDC option in np2kai Retroarch options menu which allows to set GDC to either 2.5 MHz or 5.0 MHz. Creating a "game override: would allow both sets of games to work.

1 Like

What are the debugger/reverse engineering options for PC-98 using Neko Project II kai?

I’d like to extract 3D course data from T&E SOFT golf games. It seems to be compressed on disk. Example file: https://file.io/ZGtQyFWBUVv6 (16 KB)

This is hole 1 from Eight Lakes GC:

Is it possible to create some sort of ahk or command to insert a floppy after a set amount of time. For example, some games don’t allowPC98 to boot if the floppy is inserted. Instead, you need to boot to DOS from the hard disk and THEN insert the floppy disk. The problem is, I want to streamline the experience and avoid having to require knowing the name of the rom and scrolling through the directory to find it when inserting the disk.

I wholeheartedly support this need!