pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

[BUG] Ar Tonelico 2 - Music not playing during scenes

Open GirlsCantKissGirls opened this issue 3 years ago • 46 comments

Describe the bug

Game : Ar tonelico II: Melody of Metafalica https://wiki.pcsx2.net/Ar_tonelico_II:_Melody_of_Metafalica

During certain conversation topics between the girls at inns there is supposed to be a certain song that plays. For whatever reason the song refuses to play for me. Somebody else has told me that the music plays for them during the scenes so I copied all of their settings identically and it still did not work.

This timestamp is what is supposed to happen. https://youtu.be/-egoBt9RImg?t=1584

This timestamp is what happens in the emulator. https://youtu.be/6OMXUE_9Wg4?t=166

To Reproduce Just play the game normally and view the events and it will happen.

This memory card has a save for anybody to test easily.

https://mega.nz/file/6IkRhQ7C#ZtW7ncrO-12FZmxDhX27QwKUCwLA6m3kHEx_72TSleQ

It is save # 2 on the list. When you load in, talk to the shop keeper, select rest, and then select any of the girls to start a conversation, then select the topic. After that first conversation is over the two girls will start talking to each other and the music is supposed to play like the video I posted above.

Expected behavior For the music to play properly.

GS Settings I've tried open gl, dx11, and software and it's all the same. Resolution was set to native on all 3 with default settings,

Emulation Settings I tried all kinds of settings and even tried the safe preset setting and got no luck.

System Info (please complete the following information):

  • PCSX2 Revision: v1.7.0-dev-1298-gb7dfb2c29 ( I have also tried 1.4 , 1.5 , 1.6 and they all don't work )
  • OS: Windows 10
  • CPU: AMD Ryzen 3700x
  • GPU: GTX 1070

GirlsCantKissGirls avatar Jun 29 '21 02:06 GirlsCantKissGirls

did you turn on the cdvd speed hack?

Squall-Leonhart avatar Jul 07 '21 18:07 Squall-Leonhart

Just tested it, it didn't do anything.

GirlsCantKissGirls avatar Jul 07 '21 23:07 GirlsCantKissGirls

I believe your disk image is damaged.

Squall-Leonhart avatar Jul 08 '21 12:07 Squall-Leonhart

I don't believe that is the case. Have you tested it yourself to see if it works properly for you?

GirlsCantKissGirls avatar Jul 09 '21 03:07 GirlsCantKissGirls

Was able to reproduce it on my system, though I'm not discounting the possibility of my copy of the iso being damaged in exactly the same way, since while I think I grabbed my original rip, I could have grabbed a patched copy instead (since at some point, I ran an undub/translation patch on it).

I'll probably try running it directly from the original disc at some point, to see if that makes a difference, but it's too hot over by that computer right now for me to spend more time over there right now...

arcum42 avatar Jul 10 '21 04:07 arcum42

i've got reproductions on all 3 game regions

interpreters don't change the behavior changing the sync type in SPU2 doesn't change it disabled game fixes don't change anything speed hacks on/off don't change anything. Boot from bios (of the appropriate region) doesn't change anything.

SPU2 Logging doesn't reveal anything (probably need a debug build for more logging)

I've seen mention on the forum that character portraits and dialogs had issues in the past where some amount of corruption would present, there could be something getting skipped that cues the changing of the music track.

https://forums.pcsx2.net/Thread-Audio-problem-with-Ar-tonelico-2-SLUS-21788-New-one?highlight=ar+tonelico+2

Squall-Leonhart avatar Jul 10 '21 12:07 Squall-Leonhart

Of course, this could be ISO related, some games are known to require a CUE file, some work better as MDF.

Squall-Leonhart avatar Jul 10 '21 12:07 Squall-Leonhart

Did a little more testing, because I thought I remembered this working properly. It works in 0.9.6 using the linuz iso cdvd plugin. It's broken in 0.9.8, either with built-in iso support or that plugin.

arcum42 avatar Jul 10 '21 13:07 arcum42

0.9.6 - 0.9.8 is a lot of changes, but it narrows it down to the cores

Squall-Leonhart avatar Jul 10 '21 14:07 Squall-Leonhart

Took a quick peek at this and I don't think i suspect the SPU at least. Game seems to use ADMA for all music streaming and it's just streaming out silence during the reported scene.

Ziemas avatar Jul 10 '21 17:07 Ziemas

The prime suspects are the VU's, and VIF recompiler between those two builds,

MicroVU was implemented right in between them, @arcum42 does the issue replicate under 0.9.8 if you use SuperVU instead?

Squall-Leonhart avatar Jul 10 '21 17:07 Squall-Leonhart

I find it highly unlikely that the VIF or VU's (which only deal with graphics/physics) are going to be responsible for audio problems, if it is, I'll be very shocked.

refractionpcsx2 avatar Jul 10 '21 17:07 refractionpcsx2

I find it highly unlikely that the VIF or VU's (which only deal with graphics/physics) are going to be responsible for audio problems, if it is, I'll be very shocked.

VU1 was used for DTS audio in NHL2002, but that might be thoroughly unique in that regards.

There can be graphical and timing triggers for audio cues in console games, seen a few cases of that on the N64 where entire lines of verbal dialog get skipped when the video is scrolled too far - but in that case the next sample is loaded early instead of skipping or streaming silence.

Squall-Leonhart avatar Jul 10 '21 17:07 Squall-Leonhart

Sounds elaborate, especially for a game as simple as Ar Tonelico, but ok.

refractionpcsx2 avatar Jul 10 '21 18:07 refractionpcsx2

I can't reproduce issue, music just works for me on latest dev build. Edit: Ok, my bad. Music fail at that board near end of conversation.

ghost avatar Jul 10 '21 18:07 ghost

I can't reproduce it working under 0.9.6 @arcum42

@kozarovv issue is that the music is supposed to transition instead of going silent in the 2 part rest conversation

Squall-Leonhart avatar Jul 10 '21 18:07 Squall-Leonhart

That's unexpected, but.. Turn off autogamefixes, and try again.

ghost avatar Jul 10 '21 18:07 ghost

wait, a gamefix is breaking it?

refractionpcsx2 avatar Jul 10 '21 18:07 refractionpcsx2

wait, a gamefix is breaking it?

Doubt it, already tried that direction, and i still can't reproduce the music transitioning under 0.9.6 XD

Squall-Leonhart avatar Jul 10 '21 18:07 Squall-Leonhart

Yes. Nearest rounding for FPU (also positive) make music stops there.

ghost avatar Jul 10 '21 18:07 ghost

I have gamefixes turned off, went as far as renaming the file and the emulator is using the default chop/zero, music still stops.

Squall-Leonhart avatar Jul 10 '21 18:07 Squall-Leonhart

Disabling gamefixes makes it work for me as well.

Ziemas avatar Jul 10 '21 19:07 Ziemas

Can confirm, disabling game fixes makes it work

refractionpcsx2 avatar Jul 10 '21 19:07 refractionpcsx2

Can confirm, turning off automatic gamefixes under either 0.9.8 or the current version fixes the issue in my tests. (Current under Linux, 0.9.6/0.9.8 under Windows.)

arcum42 avatar Jul 10 '21 19:07 arcum42

Disabling works for NTSC, PAL still loses music. PAL also loses music on 0.9.6 though - could be the modified save?

Squall-Leonhart avatar Jul 10 '21 19:07 Squall-Leonhart

Don't know, I don't have a legit save for PAL that I can check with, going to that Inn with any of the saves on that memcard don't seem to trigger that event

refractionpcsx2 avatar Jul 10 '21 19:07 refractionpcsx2

memory8 (deathlandia tests).zip

i replaced the GAMEFILE of the SLES save in this memcard with the one from SLUS, it loads exactly the same location as SLUS but the event loses music still.

Squall-Leonhart avatar Jul 10 '21 19:07 Squall-Leonhart

I need to hunt down a native save at this location and test.

Squall-Leonhart avatar Jul 10 '21 19:07 Squall-Leonhart

well if you find one, please share it here.

refractionpcsx2 avatar Jul 10 '21 19:07 refractionpcsx2

Guess i'll be playing Ar Tonelico 2. xD

Will report back!

Squall-Leonhart avatar Jul 10 '21 19:07 Squall-Leonhart