hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
10.79k stars 2.12k forks source link

Twisted Metal: Head-On no sfx #10933

Open Godavatar opened 6 years ago

Godavatar commented 6 years ago

I know this was fixed in 1.5.4, but for some reason there no sounds in game except music and cars special weapons. I tried to change every setting in case this helps, but issue still exist. I am using the last build (9.15).

unknownbrackets commented 6 years ago

If you go back to 1.5.4, does it work? Or is it not working for you there?

Assuming it does work, can you find the git build where it stopped working? The trick is to go by halves: we're 918 changes away from 1.5.4 currently. So if you try v1.5.4-484-g22e28e218, and it works there, you know it was broken AFTER 484, so go halfway up from there. Otherwise, you know it was already broken at 484 and you should try halfway lower.

Doing it this way would take 8-10 tries to narrow it down to which change broke it. Then we can figure out what was wrong with that change.

-[Unknown]

Godavatar commented 6 years ago

So, i tried game on 1.5.4 and, oddly, sfx didnt work. Again tried to change some settings and it didnt help. So i guess later versions dont change much and have same issue in them.

unknownbrackets commented 5 years ago

We did make a change in recent git that affected some ways games mix music. Has anything changed here?

-[Unknown]

Ghaleon777 commented 5 years ago

We did make a change in recent git that affected some ways games mix music. Has anything changed here?

-[Unknown]

No, i tested right now with the newest build and the issue its still there, no fx sound.

TAbdiukov commented 4 years ago

Can confirm that as per v1.8.0, the issue still persists

If that's of any help, it seems like if you get the game to play as few sounds as possible, the effects appear (such as the engine running), but once there are too many effects, most of the effects cease to play

Edit: and yes, sadly nothing too exciting in the debug console

unknownbrackets commented 4 years ago

Maybe this is related to the voice timing thing changed in a recent git build. v1.8.0 is about 5 months of changes behind the latest git build.

-[Unknown]

Ghaleon777 commented 4 years ago

This problem was always on PPSSPP, i tested older builds (1.5, 1.6, ect) and the issue is always there, i could get it work sometimes, but 70% of the times there is no fx sound. Hope this can be fixed, i love this game.

Panderner commented 4 years ago

Same Happens on v1.9.3-906-ge8b737226 but there's no error messages for sound effects

Panderner commented 4 years ago

i've turned off the music and set the effect volume max still no SFX in-game

Panderner commented 3 years ago

in Latest build, story mode and challenge mode can hear Sound effects but endurance mode doesn't hear sound effects.

unknownbrackets commented 3 years ago

Is that a change from a previous build? If so, it might help to know what fixed SFX in some modes, in case it's related.

-[Unknown]

ghost commented 2 years ago

Godavatar try this game again using the latest ppsspp build from buildbot.

hrydgard commented 2 years ago

Don't think this one is related to the MP3 stuff unfortunately.

TAbdiukov commented 2 years ago

@Gamemulatorer

Godavatar try this game again using the latest ppsspp build from buildbot.

Tried the game on

The issue still persists

albrechtjess commented 2 years ago

So I recently got a large PSP memory card to install games to and this problem is currently happening on my PSP too so not sure if it's an issue with loading the files from flash memory and not a UMD or what.

hrydgard commented 2 years ago

Wow that's interesting. Maybe there's some issue with how the game handles free space reporting, not expecting modern sizes, but that affecting sound effects is sure very weird..

albrechtjess commented 2 years ago

I know thug2 remix does something similar where it thinks there's not enough space and has a pop up about it even though there's 24gb free. I know at the time there was only 2gb cards so it may be a limitation that was never patched since they were launch titles.

On Wed, Mar 30, 2022, 12:14 AM Henrik Rydgård @.***> wrote:

Wow that's interesting. Maybe there's some issue with how the game handles free space reporting, not expecting modern sizes, but that affecting sound effects is sure very weird..

— Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/10933#issuecomment-1082712987, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZILF5LRFTKIMP5MHZY2A3VCP5OVANCNFSM4E3KXFOQ . You are receiving this because you commented.Message ID: @.***>

unknownbrackets commented 2 years ago

Could someone check if putting the game under [ReportSmallMemStick] or [MemstickFixedFree] in compat.ini changes anything?

It might also be worth investigating where it checks free space, which would typically be a GETSIZES or SIZE savedata dialog call or code 0x02425818 in sceIoDevctl.

-[Unknown]

TAbdiukov commented 2 years ago

Could someone check if putting the game under [ReportSmallMemStick] or [MemstickFixedFree] in compat.ini changes anything?

@unknownbrackets Nope, no changes whatsoever

It might also be worth investigating where it checks free space, which would typically be a GETSIZES or SIZE savedata dialog call or code 0x02425818 in sceIoDevctl.

Havent tried this

chrisstonehill commented 1 year ago

Just found the same problem on a Retroid Pocket 2+ with v1.12.3 of PPSSPP. Wondering if the just released 1.13.1 will help. Same problem in another game, Unbound Saga...a brief moment of sfx and music when the game begins...then just music from then on. Anyone found a solution?

kvg198x commented 1 year ago

v1.13.2-2369-gb06ea9784 both music and sound fx play on my PC does anyone still have problems with this game ??

On v1.14 android; the problem still persists! Also, the 60fps cheat disables the player camera meaning it doesn't follow the car and remains in a fixed position.

Edit: I've seen lots of posts about this looking for a solution, ranging back to 2018. However, it appears to be an issue that resurfaces over time. Using 1.12.3 fixes the issue.

Edit 2: strangely enough, the sound is no longer working on 1.12.3. It's like it only works sometimes.

TAbdiukov commented 5 months ago

JFYI, PPSSPP v1.17 - issue is still present

JoaoVicthor commented 4 weeks ago

Just saw the following fix in a reddit thread. It fixes the issue for me.

Game Settings ---> System ---> I/O timing method and select "Simulate UMD delays".

Restart the game.
hrydgard commented 4 weeks ago

@JoaoVicthor Great find! I'll make sure we always enable it for this game.

TAbdiukov commented 4 weeks ago

I'm confirming that the fix works -- awesome job!

hrydgard commented 2 weeks ago

Turns out, not very surprisingly, that this only partially fixes the problem. "open" on Discord reports that on the second level, some sounds disappear again.

Given the symptoms, it's very likely that the game itself has a synchronization bug, making it dependent on the exact time some operation takes in relation to some other operation happening at the same time. Unfortunately the timings of various things on the PSP (including UMD accesses, even with delays) are not very accurately emulated by PPSSPP, leading to this type of problem, and the fix not really fixing things completely...

chrisstonehill commented 2 weeks ago

I found a difference if I had Skip buffer effects on or not. With it off, when I did a save state at the start of the 2nd level...and thus a thumbnail showing me where I was...when starting from the Save State another time, sound effects were gone again. BUT, if I turned Skip buffer effects on and saved at the start of the 2nd level, a completely new play session...just a black thumbnail in the save state menu...but sound effects maintained 👍👍👍

On Thu, 20 Jun 2024, 09:15 Henrik Rydgård, @.***> wrote:

Turns out, not very surprisingly, that this only partially fixes the problem. "open" on Discord reports that on the second level, some sounds disappear again.

Given the symptoms, it's very likely that the game itself has a synchronization bug, making it dependent on the exact time some operation takes in relation to some other operation happening at the same time. Unfortunately the timings of various things on the PSP (including UMD accesses, even with delays) are not very accurately emulated by PPSSPP, leading to this type of problem, and the fix not really fixing things completely...

— Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/10933#issuecomment-2179979622, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXAGFC6M54YBGWUI7WZMO6DZIJ6PNAVCNFSM4E3KXFO2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJXHE4TOOJWGIZA . You are receiving this because you commented.Message ID: @.***>

hrydgard commented 2 weeks ago

Hm, I doubt skip buffer effects actually affected it, more likely to be random...

chrisstonehill commented 2 weeks ago

OK...thanks for clarification. Whether it is on or not has interesting consequences to Ultimate Ghosts and Goblins. Works with both, but some situations result in lots of slowdown...when it is off, I think.

...and of course some games you have to have it...off?...in order to display anything, right?

On Thu, 20 Jun 2024, 11:04 Henrik Rydgård, @.***> wrote:

Hm, I doubt skip buffer effects actually affected it, more likely to be random...

— Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/10933#issuecomment-2180182582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXAGFCYWZHOBLTEALX7NOO3ZIKLIJAVCNFSM4E3KXFO2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJYGAYTQMRVHAZA . You are receiving this because you commented.Message ID: @.***>

chrisstonehill commented 2 weeks ago

...such as Street Fighter Alpha 3 MAX

On Thu, 20 Jun 2024, 11:18 Christopher Stonehill, @.***> wrote:

OK...thanks for clarification. Whether it is on or not has interesting consequences to Ultimate Ghosts and Goblins. Works with both, but some situations result in lots of slowdown...when it is off, I think.

...and of course some games you have to have it...off?...in order to display anything, right?

On Thu, 20 Jun 2024, 11:04 Henrik Rydgård, @.***> wrote:

Hm, I doubt skip buffer effects actually affected it, more likely to be random...

— Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/10933#issuecomment-2180182582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXAGFCYWZHOBLTEALX7NOO3ZIKLIJAVCNFSM4E3KXFO2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJYGAYTQMRVHAZA . You are receiving this because you commented.Message ID: @.***>