Jump to content

Raine 0.95.5 : big cps2 update !


Tux

Recommended Posts

It's an old windows bug, but it was fixed in some sdl version, make sure you are using a recent sdl (latest SDL2.dll date is april 2023, version 2.26.4 in the about dialog). If you still have the bug with the latest sdl, then maybe the bug is fixed only for some graphic drivers and in this case I'll have to take my workaround back. For now I can't reproduce this at all, with wine in linux or directly in win10.

Link to comment
Share on other sites

16 hours ago, Tux said:

It's an old windows bug, but it was fixed in some sdl version, make sure you are using a recent sdl (latest SDL2.dll date is april 2023, version 2.26.4 in the about dialog).

Hello Tux! Thanks for the troubleshooting.

So I had SDL2 version 2.26.2, which is the one currently distributed in the DLL package in the downloads page. I went and downloaded a newer one directly from the SDL GitHub site, version 2.26.5 for Windows x64, but the problem persists unfortunately.

I tried this in both of my systems, one with Windows 8.1 and intel HD graphics, an the other with Windows 10 and an Nvidia GTX 1660Ti graphics card. The last thing I did was to update my Nvidia drivers. I had one from August 2022 and then installed the most recent one from May 30th 2023. The color issue remained sadly.

Is your graphics card from AMD? Perhaps it only happens with intel and Nvidia drivers?

Anyway, I wonder how you couldn't reproduce it there in your Windows setup...

Thank you so much again for your time and attention.

PS: perhaps ffman1985 could also try to reproduce the issue in his setup.

Edited by mer-curious
Link to comment
Share on other sites

3 hours ago, mer-curious said:

Hello Tux! Thanks for the troubleshooting.

So I had SDL2 version 2.26.2, which is the one currently distributed in the DLL package in the downloads page. I went and downloaded a newer one directly from the SDL GitHub site, version 2.26.5 for Windows x64, but the problem persists unfortunately.

I tried this in both of my systems, one with Windows 8.1 and intel HD graphics, an the other with Windows 10 and an Nvidia GTX 1660Ti graphics card. The last thing I did was to update my Nvidia drivers. I had one from August 2022 and then installed the most recent one from May 30th 2023. The color issue remained sadly.

Is your graphics card from AMD? Perhaps it only happens with intel and Nvidia drivers?

Anyway, I wonder how you couldn't reproduce it there in your Windows setup...

Thank you so much again for your time and attention.

PS: perhaps ffman1985 could also try to reproduce the issue in his setup.

It's not such an old bug after verification, it was fixed on feb 2022, you can see the commit here : (I thought it was older) 
https://github.com/zelurker/raine/commit/e5ed04b19393f70144d9cf19f7280eb25072a9a8

Then when I noticed I couldn't reproduce it anymore on my win10 here, I assumed it had been fixed on sdl. It seems there was something else, but I can't guess what. The workaround was disabled 1 year later, in feb 2023, here :
https://github.com/zelurker/raine/commit/d3ae87763

I assure you I absolutely can't reproduce this anymore at all here, the nvidia driver is 531.61 from april 13th.

Well I would have liked to be able to reproduce this, I would have tried to find something better, but I can always re-enable the old workaround, you'll get white crosses instead of green ones in the gui in windows from now on... !

Link to comment
Share on other sites

Ok 0.95.5e posted, no dll inside, you'll have to download the dlls32-0.95 or dlls64-0.95 package again if you install in an empty dir, sdl2 got updated to 2.26.5.

The changes are : a lot of neogeo games which had an horizontal resolution of 304 pixels are back to the normal 320 value, that's the biggest fix in this one. sfz3j which had been removed in 0.95.5d is back since sfa3 doesn't contain the text from japan ! Also removed the japan region for all the sfa3 games and clones. And re-enabled the workaround for some green colors in windows when displaying the green cross in the gui, I can't reproduce anymore this one here, mer-curious is the only one who can for now, more feedback welcome.

I really hope it's the last 0.95.5 version, all this is starting to be annoying !

Link to comment
Share on other sites

Hello Tux! Thanks for this new release.

The green color bug is fixed here and the Samurai Spirits 2 picture is no longer cropped. And of course, I can play SFZ3 again. 😁

 

20 hours ago, Tux said:

I really hope it's the last 0.95.5 version, all this is starting to be annoying !

Yes, but from revision B to E I think we had quite a few interesting tweaks in the program. Gladly everything is working fine now as far as I have tested. So no bug reports for the moment. 🙏

 

20 hours ago, Tux said:

I assure you I absolutely can't reproduce this anymore at all here, the nvidia driver is 531.61 from april 13th.

Yes, this bugs me too, especially because you generally reproduce all the issues I report and also because you have Nvidia drivers there too, so this remains a big mistery...

Perhaps it has something to do with the 64 bit version I use or my raine.cfg file? I always generate a new one for every release and this has already been a source of bugs if I remember correctly...

Anyway, hopefully ffman1985 will have an AMD graphics card in his setup and will eventually tell us if he has this green screen in the games too (up to version 0.95.5d).

Thank you so much again for your fast support and for this release. 👍

Link to comment
Share on other sites

Hello, Tux and mer-curious. I cannot trigger the green screen bug in 0.95.4d when opening the association list with green mark for loop. My PC is windows 11 64bit, and my laptop have an AMD igpu and the intel gtx 1660 ti max q (with a driver in May 2023), I think the AMD igpu is used when raine is operated. Also, I didn't make any change regarding the video except for the full screen.

Edited by ffman1985
Link to comment
Share on other sites

On 6/2/2023 at 12:44 AM, ffman1985 said:

My PC is windows 11 64bit, and my laptop have an AMD igpu and the intel gtx 1660 ti max q (with a driver in May 2023)

Hello ffman1985! Thank you so much for your feedback.

Do you have Windows 11 in both of your setups?

Tux, which Windows 10 version do you have running there?

I'm suspecting it should be a Windows version related issue, since I have Windows 8.1 in a machine and Windows 10 in the other one, but not the latest 10 version released. This is the one I have:

https://en.wikipedia.org/wiki/Windows_10_version_history#Version_21H2_(November_2021_Update)

It's the LTSC version, which only receives security updates from Microsoft, not feature updates. Perhaps this issue with SDL was fixed in a feature update?

Anyway, thank you all for your attention.

Link to comment
Share on other sites

I haven't got the latest one, but still more recent than that, I had to allow an update specifically to be able to update the nvidia driver, I couldn't install the latest version without that, so I guess you don't have the latest nvidia version neither ? It must be the 22h2 if I remember correctly, I disabled windows update after that and I hope to keep it at this level for long.

Well you are lucky it's minor, just a white cross instead of a green one, because supporting such a specific windows version would seem quite crazy. Anyway... !

edit : confirmed after verification, 22h2, installed late in march 23 because I blocked windows update before, and I still blocked an update on this version (I can now update the nvidia driver so it's enough for me).

Edited by Tux
  • Like 1
Link to comment
Share on other sites

Thank you Tux for the information, Tux.

I'm not sure if I should reinstall my whole system with the latest version of Windows just to check this little issue with Raine. I don't even know if this is really the reason, so I'm holding back a little longer. But you said that your Windows 10 upgraded to version 22H2 in March 2023... this doesn't match with the time you noticed the color issue was gone, does it? So maybe it was fixed before this update, or maybe it's not really related to a Windows version...

Anyway, I have a friend with Windows 10 installed in his laptop. I'll see if I can reach him eventually and try Raine there. I'm not sure which version he has though, but it will be worth trying it.

As a side-note, I have found a crash in Raine while playing Samurai Spirits 3 for NGCD. If you let the demo game run for once or twice, the emulator should crash before showing the introduction sequence for a third time.

I don't know if this helps, but I downloaded the game from the Internet Archive, here:

https://archive.org/details/rr-snk-neo-geo-cd

Then I converted the tracks to mp3 and edited the CUE file like this:

FILE "Samurai Shodown 3 - Track 01.bin" BINARY
  TRACK 01 MODE1/2352
    FLAGS DCP
    INDEX 01 00:00:00
    INDEX 02 00:04:00
    INDEX 03 00:08:00
    INDEX 04 00:12:00
    INDEX 05 00:16:00
    INDEX 06 00:20:00
    INDEX 07 00:24:00
    INDEX 08 00:28:00
    INDEX 09 00:32:00
    INDEX 10 00:36:00
    INDEX 11 00:40:00
    INDEX 12 00:44:00
    INDEX 13 00:48:00
    INDEX 14 00:52:00
    INDEX 15 00:56:00
    INDEX 16 01:00:00
    INDEX 17 01:04:00
    INDEX 18 01:08:00
    INDEX 19 01:12:00
    INDEX 20 01:16:00
    INDEX 21 01:20:00
    INDEX 22 01:24:00
    INDEX 23 01:28:00
    INDEX 24 01:32:00
    INDEX 25 01:36:00
    INDEX 26 01:40:00
    INDEX 27 01:44:00
    INDEX 28 01:48:00
    INDEX 29 01:52:00
    INDEX 30 01:56:00
    INDEX 31 02:00:00
    INDEX 32 02:04:00
    INDEX 33 02:08:00
    INDEX 34 02:12:00
    INDEX 35 02:16:00
    INDEX 36 02:20:00
    INDEX 37 02:24:00
    INDEX 38 02:28:00
    INDEX 39 02:32:00
    INDEX 40 02:36:00
    INDEX 41 02:40:00
    INDEX 42 02:44:00
    INDEX 43 02:48:00
    INDEX 44 02:52:00
    INDEX 45 02:56:00
    INDEX 46 03:00:00
    INDEX 47 03:04:00
    INDEX 48 03:08:00
    INDEX 49 03:12:00
    INDEX 50 03:16:00
    INDEX 51 03:20:00
    INDEX 52 03:24:00
    INDEX 53 03:28:00
    INDEX 54 03:32:00
    INDEX 55 03:36:00
    INDEX 56 03:40:00
    INDEX 57 03:44:00
    INDEX 58 03:48:00
    INDEX 59 03:52:00
    INDEX 60 03:56:00
    INDEX 61 04:00:00
    INDEX 62 04:04:00
    INDEX 63 04:08:00
    INDEX 64 04:12:00
    INDEX 65 04:16:00
    INDEX 66 04:20:00
    INDEX 67 04:24:00
    INDEX 68 04:28:00
FILE "Samurai Shodown 3 - Track 02.mp3" MP3
  TRACK 02 AUDIO
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:03:00
FILE "Samurai Shodown 3 - Track 03.mp3" MP3
  TRACK 03 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 04.mp3" MP3
  TRACK 04 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 05.mp3" MP3
  TRACK 05 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 06.mp3" MP3
  TRACK 06 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 07.mp3" MP3
  TRACK 07 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 08.mp3" MP3
  TRACK 08 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 09.mp3" MP3
  TRACK 09 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 10.mp3" MP3
  TRACK 10 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 11.mp3" MP3
  TRACK 11 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 12.mp3" MP3
  TRACK 12 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 13.mp3" MP3
  TRACK 13 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 14.mp3" MP3
  TRACK 14 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 15.mp3" MP3
  TRACK 15 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 16.mp3" MP3
  TRACK 16 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 17.mp3" MP3
  TRACK 17 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 18.mp3" MP3
  TRACK 18 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 19.mp3" MP3
  TRACK 19 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 20.mp3" MP3
  TRACK 20 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 21.mp3" MP3
  TRACK 21 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 22.mp3" MP3
  TRACK 22 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 23.mp3" MP3
  TRACK 23 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 24.mp3" MP3
  TRACK 24 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 25.mp3" MP3
  TRACK 25 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 26.mp3" MP3
  TRACK 26 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 27.mp3" MP3
  TRACK 27 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 28.mp3" MP3
  TRACK 28 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 29.mp3" MP3
  TRACK 29 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 30.mp3" MP3
  TRACK 30 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 31.mp3" MP3
  TRACK 31 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 32.mp3" MP3
  TRACK 32 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 33.mp3" MP3
  TRACK 33 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 34.mp3" MP3
  TRACK 34 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 35.mp3" MP3
  TRACK 35 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 36.mp3" MP3
  TRACK 36 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 37.mp3" MP3
  TRACK 37 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 38.mp3" MP3
  TRACK 38 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 39.mp3" MP3
  TRACK 39 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 40.mp3" MP3
  TRACK 40 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 41.mp3" MP3
  TRACK 41 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 42.mp3" MP3
  TRACK 42 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 43.mp3" MP3
  TRACK 43 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 44.mp3" MP3
  TRACK 44 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 45.mp3" MP3
  TRACK 45 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 46.mp3" MP3
  TRACK 46 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00

I suspect the issue is with the index information in the CUE file for track 2, which is the track for the opening sequence. If I remove the index 00 line it no longer crashes. Also, I need to remove the 3 seconds pre-gap in this track so it synchronizes with the opening sequence. So I have it like this now:

FILE "Samurai Shodown 3 - Track 02.mp3" MP3
  TRACK 02 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00

I'm not sure if there is really something you can do to avoid the crash in Raine or if it is just an unavoidable issue with converting these BIN/WAV tracks to MP3 and having to manually remove the limitations left in the CUE file.

Thanks a lot in advance for your time.

PS:

1- can I also delete all these FLAGS DCP lines from the CUE?

2- I've noticed you forgot to add the emulator version in the window title for when a NGCD game is running. It's currently only showing for the ROMs loaded, not for NGCD games.

Edited by mer-curious
Link to comment
Share on other sites

Well I'll look into this eventually when the temperature will go down a little, not for now.

Yes you can simplify a lot this cue file, I am not sure but I think the index lines are simply ignored for the mp3 files I'll have to double check that, and the flags lines are ignored for sure.

Version is not really important in the window title, there is the nice about dialog for that with its superb color cycling despite what sdl-image did lately !

Yeah I am not sure either it's really the windows version, it's you who proposed the idea and until now I just thought it had been fixed in sdl, not even in the graphics driver. Whatever the issue, it's on your side though. You can forget it for now if you want since we can live with a white cross in windows, but it's definitely a problem on your setup.

Link to comment
Share on other sites

6 hours ago, mer-curious said:

Thank you Tux for the information, Tux.

I'm not sure if I should reinstall my whole system with the latest version of Windows just to check this little issue with Raine. I don't even know if this is really the reason, so I'm holding back a little longer. But you said that your Windows 10 upgraded to version 22H2 in March 2023... this doesn't match with the time you noticed the color issue was gone, does it? So maybe it was fixed before this update, or maybe it's not really related to a Windows version...

Anyway, I have a friend with Windows 10 installed in his laptop. I'll see if I can reach him eventually and try Raine there. I'm not sure which version he has though, but it will be worth trying it.

As a side-note, I have found a crash in Raine while playing Samurai Spirits 3 for NGCD. If you let the demo game run for once or twice, the emulator should crash before showing the introduction sequence for a third time.

I don't know if this helps, but I downloaded the game from the Internet Archive, here:

https://archive.org/details/rr-snk-neo-geo-cd

Then I converted the tracks to mp3 and edited the CUE file like this:

FILE "Samurai Shodown 3 - Track 01.bin" BINARY
  TRACK 01 MODE1/2352
    FLAGS DCP
    INDEX 01 00:00:00
    INDEX 02 00:04:00
    INDEX 03 00:08:00
    INDEX 04 00:12:00
    INDEX 05 00:16:00
    INDEX 06 00:20:00
    INDEX 07 00:24:00
    INDEX 08 00:28:00
    INDEX 09 00:32:00
    INDEX 10 00:36:00
    INDEX 11 00:40:00
    INDEX 12 00:44:00
    INDEX 13 00:48:00
    INDEX 14 00:52:00
    INDEX 15 00:56:00
    INDEX 16 01:00:00
    INDEX 17 01:04:00
    INDEX 18 01:08:00
    INDEX 19 01:12:00
    INDEX 20 01:16:00
    INDEX 21 01:20:00
    INDEX 22 01:24:00
    INDEX 23 01:28:00
    INDEX 24 01:32:00
    INDEX 25 01:36:00
    INDEX 26 01:40:00
    INDEX 27 01:44:00
    INDEX 28 01:48:00
    INDEX 29 01:52:00
    INDEX 30 01:56:00
    INDEX 31 02:00:00
    INDEX 32 02:04:00
    INDEX 33 02:08:00
    INDEX 34 02:12:00
    INDEX 35 02:16:00
    INDEX 36 02:20:00
    INDEX 37 02:24:00
    INDEX 38 02:28:00
    INDEX 39 02:32:00
    INDEX 40 02:36:00
    INDEX 41 02:40:00
    INDEX 42 02:44:00
    INDEX 43 02:48:00
    INDEX 44 02:52:00
    INDEX 45 02:56:00
    INDEX 46 03:00:00
    INDEX 47 03:04:00
    INDEX 48 03:08:00
    INDEX 49 03:12:00
    INDEX 50 03:16:00
    INDEX 51 03:20:00
    INDEX 52 03:24:00
    INDEX 53 03:28:00
    INDEX 54 03:32:00
    INDEX 55 03:36:00
    INDEX 56 03:40:00
    INDEX 57 03:44:00
    INDEX 58 03:48:00
    INDEX 59 03:52:00
    INDEX 60 03:56:00
    INDEX 61 04:00:00
    INDEX 62 04:04:00
    INDEX 63 04:08:00
    INDEX 64 04:12:00
    INDEX 65 04:16:00
    INDEX 66 04:20:00
    INDEX 67 04:24:00
    INDEX 68 04:28:00
FILE "Samurai Shodown 3 - Track 02.mp3" MP3
  TRACK 02 AUDIO
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:03:00
FILE "Samurai Shodown 3 - Track 03.mp3" MP3
  TRACK 03 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 04.mp3" MP3
  TRACK 04 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 05.mp3" MP3
  TRACK 05 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 06.mp3" MP3
  TRACK 06 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 07.mp3" MP3
  TRACK 07 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 08.mp3" MP3
  TRACK 08 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 09.mp3" MP3
  TRACK 09 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 10.mp3" MP3
  TRACK 10 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 11.mp3" MP3
  TRACK 11 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 12.mp3" MP3
  TRACK 12 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 13.mp3" MP3
  TRACK 13 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 14.mp3" MP3
  TRACK 14 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 15.mp3" MP3
  TRACK 15 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 16.mp3" MP3
  TRACK 16 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 17.mp3" MP3
  TRACK 17 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 18.mp3" MP3
  TRACK 18 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 19.mp3" MP3
  TRACK 19 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 20.mp3" MP3
  TRACK 20 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 21.mp3" MP3
  TRACK 21 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 22.mp3" MP3
  TRACK 22 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 23.mp3" MP3
  TRACK 23 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 24.mp3" MP3
  TRACK 24 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 25.mp3" MP3
  TRACK 25 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 26.mp3" MP3
  TRACK 26 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 27.mp3" MP3
  TRACK 27 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 28.mp3" MP3
  TRACK 28 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 29.mp3" MP3
  TRACK 29 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 30.mp3" MP3
  TRACK 30 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 31.mp3" MP3
  TRACK 31 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 32.mp3" MP3
  TRACK 32 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 33.mp3" MP3
  TRACK 33 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 34.mp3" MP3
  TRACK 34 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 35.mp3" MP3
  TRACK 35 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 36.mp3" MP3
  TRACK 36 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 37.mp3" MP3
  TRACK 37 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 38.mp3" MP3
  TRACK 38 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 39.mp3" MP3
  TRACK 39 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 40.mp3" MP3
  TRACK 40 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 41.mp3" MP3
  TRACK 41 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 42.mp3" MP3
  TRACK 42 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 43.mp3" MP3
  TRACK 43 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 44.mp3" MP3
  TRACK 44 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 45.mp3" MP3
  TRACK 45 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00
FILE "Samurai Shodown 3 - Track 46.mp3" MP3
  TRACK 46 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00

I suspect the issue is with the index information in the CUE file for track 2, which is the track for the opening sequence. If I remove the index 00 line it no longer crashes. Also, I need to remove the 3 seconds pre-gap in this track so it synchronizes with the opening sequence. So I have it like this now:

FILE "Samurai Shodown 3 - Track 02.mp3" MP3
  TRACK 02 AUDIO
    FLAGS DCP
    INDEX 01 00:00:00

I'm not sure if there is really something you can do to avoid the crash in Raine or if it is just an unavoidable issue with converting these BIN/WAV tracks to MP3 and having to manually remove the limitations left in the CUE file.

Thanks a lot in advance for your time.

PS:

1- can I also delete all these FLAGS DCP lines from the CUE?

2- I've noticed you forgot to add the emulator version in the window title for when a NGCD game is running. It's currently only showing for the ROMs loaded, not for NGCD games.

Ok it's fixed, ironic find, it's a specific cue file which creates the crash, and from internet archive, I hadn't even noticed they had neocd files. I won't put auto-download from there though because such a format is really a waste of space !

Anyway the indexes are taken into account that's why there was a crash here, that's indeed the index which crashed simply because it tried to seek in the file before loading it... !!! At least the fix was short. I don't plan to release a binary just now for that, this bug has been here for years !

For info to reproduce it, I had an iso + wav files dump and I hadn't even converted the wav to mp3 (lazy... !).
So I just adapted my cue file to look like yours. Then I made a savegame during the demo just before the highscore screen appears. For me it crashed just after the hiscore screen. This way it was very fast to get to the crash, these neocd saves are super efficient ! And finally converting my cue file was not even necessary it would have crashed even with the one I had originally, it's just that nobody left the demo running until now, and for some reason this kind of crash doesn't seem to happen during normal play... !!!

Quite crazy !

But at least it was easy to fix. It's a super old bug here again, from neoraine time, you are super efficient to find bugs currently !

 

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...