Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE][SLUS_201.51]: Klonoa 2 - Hitting metallic enemies freezes the game when IGR is enabled #566

Closed
2 tasks done
ioncorimenia opened this issue Oct 16, 2021 · 8 comments
Labels
bug game issue for one game or game family

Comments

@ioncorimenia
Copy link

Checks

Describe the issue

Hitting a metallic enemy, such as a Shield Moo or a Spiker, freezes the game. I think it has something to do with the yellow star particle effect that the game tries to play. The crash does not occur when Mode 6 (disable IGR) is enabled. I've attached a save file that starts you off in a level that has this enemy in the very beginning.

Expected behaviour:

working.webm.mov

Displayed behaviour:

freeze.webm.mov

Console model

SCPH-70004

OPL version / revision

Tested on v.1.1.0 & v1.2.0-Beta-1795-409257

In which device(s) have you experienced this issue?

USB, SMB

Context and extra information

Klonoa 2 - Lunatea's Veil, SLUS_201.51, http://redump.org/disc/15050/ (a4a2456c13d61f74438be145bd2bb033)

@daf0x
Copy link

daf0x commented Jan 16, 2022

This is kind-of a known issue I think (search for klonoa + openps2loader on google), this game has not worked well with OPL for a long time now. Your report however prompted me to do some testing of my own again, and I can confirm that klonoa seems to work fine with the following config:

  • OPL v1.2.0 beta
  • SMB (UDMA4)
  • Mode: 3 + 6 (mode 2 not needed, but does indeed seem to help with in-game stutters)
  • ps2rd (cheats) enabled (for wide-screen patch)
  • GSM disabled
  • VMC enabled
  • PADEMU disabled
  • SCHP-39004 console w/ official network adapter and 500GB HDD

However, when using the exact same settings but using HDD instead of SMB, klonoa is still broken on v1.2.0 beta.

B.t.w. in my experience it's very easy to tell if the game will suffer from the crash issue or not immediately at startup. The sound that plays during the cut-scene leading up to the main menu (where klonoa runs down a road and jumps into the title card) will be messed up or missing. It should start with a 'wind' sound (woosh), then the initial notes of the melody, then klonoa shouting 'wahoo!', and concluding with the rest of the melody. If any of that is missing (e.g. the wind may play but the music and klonoa's voice may be missing) it's likely that the game will crash.

The thing that's odd to me though is that (at present, with the 1.2.0 beta) it seems to work fine with SMB, but the exact same config on HDD has problems. Btw, I think it's not that the star effect itself is the problem, but the sound(s) that play(s). Maybe there are too many sound playing 'at once' when you get hit? Probably the issue is that the game / OPL are running low on resources, causing the sound to break and ultimately crashing. But what's odd is that SMB mode works and HDD doesn't, because I would expect that SMB would require more resources than HDD mode. Maintaining a network connection seems more complex and requiring more state (needs to maintain TCP connection, NETBIOS, etc.) than reading a few sectors off a hard disk at a known location...

@almircanella
Copy link

Well, I hope it gets fixed. Indeed on internal hdd fat ps2, sound does not start on the main menu.

@retrofank
Copy link

retrofank commented Feb 18, 2022

For Klonoa 2 internal Sata HDD use 0.9.1 with mode 2&3. The game will run fine then.

This game is broken, since 0.9.2 version.

@skx7
Copy link

skx7 commented Apr 14, 2022

I got it working now with OPL 1.0.0 which should also apply to OPL 1.1.0 and latest 1.2 beta 👯 The game is very picky with the speed (DMA mode). I have a SATA HDD setup and had to enable mode 1 and mode 2, next I started from lowest DMA mode MDMA0 to test if it worked. For my setup and HDD, MDMA2 resulted in perfect sound and the game running fine. All other DMA modes were buggy. Which DMA mode applies for you will depend on your hardware, so you need to fine tune the DMA mode manually.

@AKuHAK AKuHAK changed the title [ISSUE]: Klonoa 2 - Hitting metallic enemies freezes the game when IGR is enabled [ISSUE][SLUS_201.51]: Klonoa 2 - Hitting metallic enemies freezes the game when IGR is enabled May 24, 2022
@AKuHAK AKuHAK added the game issue for one game or game family label May 30, 2022
@10522
Copy link

10522 commented Apr 13, 2023

Klonoa 2 Lunatea's Veil [SLUS_201.51]:

OPL Stable 1.1.0 SMB (Mode 2 & 6) - works well

OPL Beta 1.2.0 2034 SMB (Mode 2 & 6) - works well

OPL DB 914 SMB (Mode 2) - works well

My PS2 model is SCPH-90008. I use redump images and don't use PADEMU, VMC, GSM.

@bitrot-alpha
Copy link

Crashing on internal hard drive resolved with @skx7's fix (MDMA2). Was having intermittent crashes on the carnival levels even with compatibility modes 1, 2, and 6 enabled until I lowered DMA to MDMA2.

@daf0x
Copy link

daf0x commented Jul 22, 2023

I also did a quick test, and the following configuration worked for me both with the proper sound on the pre-main-menu cut scene, as well as to complete the first level while hitting the metallic enemy at the end.

  • OPNPS2LD: v1.2.0 Beta 2018 (c276b43 / DTL_T10000=0 / IGS=1 / PADEMU=1 / RTL=0)
  • HDD: UDMA4
  • Mode: 1 + 6 (mode 2 not tested this time)
  • ps2rd (cheats): enabled (for wide-screen patch)
  • GSM: disabled
  • VMC: enabled
  • PADEMU: enabled (!)
  • SCHP-39004 console w/ official network adapter and 500GB HDD

I also did a quick test with only Mode 1 enabled, and while the pre-main-menu cut scene sound was okay, there was a freeze when hitting the metallic enemy at the end of the first level. So Mode 6 does appear to resolve that.

Compared to what I posted last time I see I had Mode 3 enabled and Mode 1 disabled, but @skx7's fix is more akin to enabling Mode 1. I don't recall Mode 1 making a difference before, although now it does seem to do so. @AKuHAK could you please clarify what the solution was to mark this issue as resolved? Is it to enable Mode 1 + Mode 6, or was there something that was changed/fixed in OPL?

I will have to pick up the game again to test if the MDMA2 really makes a difference, although I am a bit skeptical as this should really already be handled by enabling Mode 1?

@10522
Copy link

10522 commented Apr 21, 2024

@AKuHAK, @rickgaiser

OPL DB 1066 USB - works well
OPL DB 1066 SMB (Mode 2) - works well
OPL DB 1245 USB (Mode 6) - works well
OPL DB 1245 SMB (Mode 2 & 6) - works well

OPL Beta 1.2.0 2082 SMB ISO (Mode 2 & 6) - works well
OPL Beta 1.2.0 2082 SMB ZSO (Mode 2 & 6) - black screen on startup
OPL Beta 1.2.0 2082 USB (Mode 6) - works well (ISO & ZSO)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug game issue for one game or game family
Projects
None yet
Development

No branches or pull requests

8 participants