I fixed reported bugs. Please merge pull req.
I released NP2kai rev.22!!
And I start making for rev.23. I hope to better core work, better PC-98 life!
Please merge my pull request. (include more bug fix)
Hello,all touhou games give me divide error,is there way to fix it,thanks.
edit: it only errors on 32bit RA not 64bit,but touhou 2 has no music on both version,the original Neko project core run it fine.
I could see similar work fail worse on Android ARM 32bit.
(Your pic is English patched one?)
But sound was correct.
I tried on Windows x86 32bit, didnât occur this.
I survey more.
I made simple divition error code.
And compiled this code with Turbo C++ 4.0.
The result is this.
Perhaps âDivide errorâ sentence is by DivByZero exception.
Yes, English patched and I forgot to say iâm on Android.
Thank you very much for this emulator @AZO234!
Only problem I have is that I can not run .d88 and most .fdi with np2kai, but if I use Neko Project core the files run smoothly. Is there anything I can do in np2kai to run d88 and fdi?
I am on Windows 8.1.
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.
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.
I fixed mouse off feature.(Disabling touchpad tap) Please merge!
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