AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
254 stars 62 forks source link

Steam Hearts hd image doesn't boot #28

Closed i30817 closed 6 years ago

i30817 commented 6 years ago

The hd image from the pc98 internet archive collection. I dunno if it's made badly or not but it boots in Anex86, so something seems fishy. Different default settings maybe?

AZO234 commented 6 years ago

I don't know that image file. Can you tell me HD image file's hash?

i30817 commented 6 years ago

md5: 52ffbcde843085a4a2b5cc285ce10e84 sha256: d71221b8a6c276530e655d047b53d80fe993aef75c15c880ecfc25b78a8ccf14 crc32: 5538e913 Also obviously, hashes change the first time the hdi is booted.

edit: link no longer works though. Got restriicted meanwhile. It is the neo kobe pc-98 collection, inside the 'Giga.zip'

i30817 commented 6 years ago

You can still download it with a direct link

Remove the link after checking the error I guess

The hdi starts in the autoexec, changes to the dir SH and then executes the file HDSH.BAT with these contents:

unchi
fmp3 -m -2
pcmdrv
shswb a:sh_menu.exe
pcmdrv -r
fmp3 -r
unchi -r


sh_menu and shswb are actually in the SH directory but it was added to the path by AUTOEXEC iirc. It doesn't show a error right after that line but continues to unload the drivers, so something is wrong anyway. I can't read japanese so i can't figure out if there is another obvious error.

I notice that 'A:' is the drive assigned to the HD if a floppy is not inserted, so maybe it wants the floppy too? Doesn't make much sense if annex86 works thou.

AZO234 commented 6 years ago

I tried that hdi file. I didn't see nothing to problem.

On PC-98, if a floppy is not inserted(boot from HD), HD is assigned to 'A:'.

i30817 commented 6 years ago

The title is slightly misguiding, it's not that the image doesn't boot but the game doesn't start (and the same image does start the game in annex68 running on wine).

Did it start the game for you? I'm using the retroarch core version if i didn't mention it yet ( should be no problem because they just shallow clone right?)

I use retroarch -L /usr/lib/x86_64-linux-gnu/libretro/np2kai_libretro.so Steam\ Hearts.hdi to start ofc

AZO234 commented 6 years ago

I start from XMB menu.

i30817 commented 6 years ago

It was the cfg file. I must have changed the DIP switch for another game and forgot all about it.

Man do these games need a config database...

if you're curious, the diff was this:

diff np2.cfg _np2.cfg 
6c6,7
< fontfile = /media/i30817/Huggin/Documents/retroarch/bios/np2/font.bmp
---
> fontfile = /media/i30817/Huggin/Downloads/retroarch/bios/np2/font.bmp
> biospath = /media/i30817/Huggin/Downloads/retroarch/bios/np2/
10,11c11,12
< DIPswtch = 3e f3 7b 
< MEMswtch = 48 05 04 00 01 00 00 6e 
---
> DIPswtch = 3e 73 7b 
> MEMswtch = 48 05 04 00 01 20 00 6e 
13c14,15
< HDD1FILE = b.hdi
---
> ITF_WORK = true
> HDD1FILE = /media/i30817/Huggin/Downloads/anex86e1/b.hdi
21a24
> xspeaker = false
47c50
< GRCG_EGC = 3
---
> GRCG_EGC = 2
51a55,56
> BG_COLOR = 0
> FG_COLOR = ffffff

Several settings removed (and one changed, GRCG_EGC) that i don't remember changing (i at most touched the switches) so it seems that different versions of the core are tweaking newly created configs too. Bios path being gone in the RA core is a good change though. I wish i could move the RA dir without reconfiguring the font path but that ship has sailed on several other places in RA so whatever).