ppsspp icon indicating copy to clipboard operation
ppsspp copied to clipboard

FlatOut Head On: BGM skips after few seconds (Atrac3+)

Open viti95 opened this issue 11 years ago • 57 comments

The BGM jumps to the next song after few seconds, seems to be a not implemented function in ffmpeg (channel unit expansion).

Edit: i'm using PPSSPP v0.9.9-34-gb7ac539

2014-07-31 22_56_17-ppsspp debug console

viti95 avatar Jul 31 '14 21:07 viti95

I confirm this issue. Happens for me too.

Pulfer avatar Nov 07 '14 12:11 Pulfer

Still happens with PPSSPP 1.0.

Pulfer avatar Feb 02 '15 06:02 Pulfer

Still happens with PPSSPP 1.0.1.

Pulfer avatar Feb 28 '15 03:02 Pulfer

Would be interesting to know if #8105 helps this. If it doesn't, I suspect it could be the same issue as #3650.

-[Unknown]

unknownbrackets avatar Oct 31 '15 04:10 unknownbrackets

Doesn't help, the game still tries to decode bad data and skips to the next track.

hrydgard avatar Oct 31 '15 12:10 hrydgard

Still happens with PPSSPP 1.2.1.

Pulfer avatar Feb 20 '16 04:02 Pulfer

using v1.3-697-gdfae4b6 still happens here is a JPCSP trace log of all the SceAtrac functions rename txt to zip jpcsptracelog.txt

benderscruffy avatar Feb 21 '17 07:02 benderscruffy

ppsspp 1.4 same error

suelo50 avatar May 07 '17 16:05 suelo50

Yuppers !!! I'am having the same problem with the ppsspp gold the audio tracks for the game Flatout head on keeps skipping

metalmike666 avatar Aug 15 '17 03:08 metalmike666

what if we search for the music startup settings in the game files. after understanding, we would create special settings for this game only. setting could also be triggered by identifying ULES00968 (EUR) I dont know code for USA

marosis avatar Nov 14 '17 12:11 marosis

Problem seems to be that the game tries to decode garbage data as audio because streaming isn't working correctly, there's nothing to easily patch.

For now, the only workaround might be to turn down the music to 0 in the game and play something else in the background.

hrydgard avatar Nov 14 '17 13:11 hrydgard

v1.5.4-933-g386c9d4fc still present

benderscruffy avatar Apr 27 '18 02:04 benderscruffy

A bit old issue. But tested on latest Windows build...error persist on Flatout HeadOn:

image image

ppmeis avatar Sep 24 '18 20:09 ppmeis

Last Version is 1.8.0! Problem not fixed =( image

fatglist avatar Mar 25 '19 12:03 fatglist

Still presents with 1.9.2.

Pulfer avatar Oct 04 '19 06:10 Pulfer

Can confirm, it's also present in 1.9.3-251-ga9302c49f.

Abbanon avatar Feb 08 '20 19:02 Abbanon

Tell me what is a unsupported feature in ATRAC Audio for this game? And Why this feature unsupported in ffmpeg?

Panderner avatar Mar 10 '20 11:03 Panderner

I think it's more likely that something is wrong with audio buffering and it's reading garbage data as ATRAC. But hard to be sure...

hrydgard avatar Mar 10 '20 12:03 hrydgard

it still present on 1.10.0?

crazyrexz avatar Jun 28 '20 03:06 crazyrexz

it still present on 1.10.0?

@crazyrexz yes still present in 1.10

Panderner avatar Jun 28 '20 04:06 Panderner

still present in v1.10.3-1330-g73da378ef
log: https://gist.github.com/sum2012/6b2d14acbf02c87085adcd0a5d252ebd

sum2012 avatar Dec 19 '20 16:12 sum2012

The issue has persisted since 2014. Why the hell hasn't it been fixed yet? You'd think that the issue would have been resolved by now. I'm no programing genius but there is no reason for the issue to be present for 6 fucking years. Are the developers ignoring this or are they struggling to fix it?

mamcocob64 avatar Jul 15 '21 21:07 mamcocob64

still present as of v1.13.1, should be marked as future prio?

meowthed avatar Aug 24 '22 03:08 meowthed

@meowthed Done,I try again to fix this game (at least hack) EDIT: I fail

sum2012 avatar Aug 24 '22 11:08 sum2012

Could be possible to make some further investigation or is this more about game itself, or psp firmware thingy? (What about disassemble code of the game?)

marosis avatar Oct 02 '22 18:10 marosis

But that's really mad idea

marosis avatar Oct 02 '22 18:10 marosis

@marosis PPSSPP is HLE emulator,don't need disassemble, The issue is Atrac sound. Try change some code in https://github.com/hrydgard/ppsspp/blob/master/Core/HLE/sceAtrac.cpp edit:You need reference the game's log https://gist.github.com/sum2012/619f606dea6b275f1d39f347dda8d3aa edit2: The Atrac sound stop in 08:33:234 FMOD Streame I[ME]: HW\MediaEngine.cpp:87 FF: Frame data doesn't match channel configuration! 08:33:234 FMOD Streame E[ME]: HLE\sceAtrac.cpp:604 avcodec_decode_audio4: Error decoding audio -1094995529 / bebbb1b7

sum2012 avatar Oct 02 '22 22:10 sum2012

Tested in latest build. Same issues.

ppmeis avatar Dec 17 '22 21:12 ppmeis

Could be possible to make some further investigation or is this more about game itself, or psp firmware thingy? (What about disassemble code of the game?)

That its a problem from the emulator, the PPSSPP can't load the data of the game soundtrack correctly. This bug is bothering anyone who has been playing since 2014, no one can find a solution, I never knew if it is possible to fix it or not and to make matters worse the game does not have a customizable soundtrack like in EA and Gran Turismo 2009 games, which would help a lot to avoid this problem .

NightWolf2014 avatar Jan 09 '23 20:01 NightWolf2014

Update log to v1.14.4-253-g03f64a021-windows-amd64 https://gist.github.com/sum2012/99b885bd4bc36927c98ab990692d727a

Hope someone can code to dump the ppsspp's atrac sound stream back to file to debug the issue

sum2012 avatar Jan 21 '23 21:01 sum2012

Yeah, still a issue in the latest revision, hope someday this get fixed...

jussimir avatar Mar 06 '23 14:03 jussimir

September 2023, the problem with the music is still present. I play on Recalbox. I hope this will be fixed this year?

Goodfeat avatar Sep 12 '23 08:09 Goodfeat