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
11.38k stars 2.19k forks source link

Digimon Adventure PSP NPJH-50686 sound issue. #6400

Closed LPatamon closed 10 years ago

LPatamon commented 10 years ago

Hello. I just downloaded PPSSPP v0.9.8-1351-g756ad88 and noticed that Digimon Adventure has no sound except for sound effects (sound effects aka attacks sound, when you move on the menus, etc.), but voices and music are lost as you will see on the following video:

https://www.youtube.com/watch?v=UcwrP7JNZH0

This issue started on v0.9.8-1328-g2236b3a which has the following log commit:

"sceAtrac3 minor cleanup: Get rid of mutable globals, add another sanity check with reporting"

Seems the minor cleanup messed up something for this game o.o

Also I noticed that on this game, when we enable the simulate block transfer option and play in full screen (having the rendering resolution in auto) the characters look kinda pixelated or something (put the video in full screen and with the HD quality enabled so you can see what I mean). Nothing serious though since I play it in window mode on the window size x1, but I thought in mention it just in case n.n

Edit (a bit late but better late than sorry n.nU) : Only the Windows x86 version has this problem with the audio, The Windows x64 version (see posts under this one) works fine.

hrydgard commented 10 years ago

Thanks for reporting, that's an unexpected result of that change indeed. I'll see if I can figure it out.

LPatamon commented 10 years ago

No problem. You're doing the hard work making the emulator, so why not give a hand reporting those tiny bugs that appear every now and then when adding new things to it :)

LPatamon commented 10 years ago

Just in case reporting that so far no changes on the sound issue for this game on the builds after v0.9.8-1351-g756ad88

Must be a quite complex issue o.o

daniel229 commented 10 years ago

I don't have the problem,just the volume lower than usual.

LPatamon commented 10 years ago

Odd. I got the issue starting with v0.9.8-1328-g2236b3a

The videos the game has, those one do have sound, I guess because it is a different sound codification on them, but no music or voice when it is inside the game that is not a video.

Actually the issue I only have it on this game. So far the rest of the games I have the sound works correctly

@daniel229 what kind of settings you have for the sound on PPSSPP?

daniel229 commented 10 years ago

Default setting is fine here.

LPatamon commented 10 years ago

@daniel229 But you tested it with Digimon Adventure? Because as I said, I have no problem with other games.

daniel229 commented 10 years ago

Yes,you can check the video here. https://www.youtube.com/watch?v=luN_Amp8TcA

LPatamon commented 10 years ago

@daniel229 Is that a chinese version of the game? the japanese version I have doesn't has the foreign letters like that, and one of the logos before the main menu (the black one with the play letters) doesn't appears on the one I have o.o

Maybe that's the reason why it works for you? that is is a different version?

daniel229 commented 10 years ago

That's the translate based on the Japanese version.

LPatamon commented 10 years ago

@daniel229 Must be the ULJS-00541 or the ULAS-42340 one, or it is a translation from Japanese to Chinese?

Still the one I have is the NPJH-50686 one, so maybe that's where the problem is. I'll search the other two to see if the sound on them plays correctly.

daniel229 commented 10 years ago

Yes,it's NPJH50686,a translation from Japanese to Chinese,The original one is fine for me too. 03

LPatamon commented 10 years ago

@daniel229 it is quite odd that I have that problem. It was working fine for me still on v0.9.8-1326-gb1ae00c, so I don't know what could have happened after the modification made on v0.9.8-1328-g2236b3a.

I even tried a clean install and didn't solved anything and I doubt is my PC since it is a new one and the other games work correctly on PPSSPP sound wise =/

daniel229 commented 10 years ago

Strange,I have no idea. By the way looks like the volume of low level atrac3+ is alway lower than the non-low level's.

LPatamon commented 10 years ago

@daniel229 I just loaded the game with the log console enabled and when it should play the music on the main menu I got the following error

digimonadventurelogerror1

The above screen is when the game enters to the main menu screen (where you select new game, load game or install), the error mentions something about the atrac3 low level and something about not being able to open input.

digimonadventurelogerror2

This one shows the same error after loading my file when the character appears where you last saved the game. No music is heard and no voices on a scene that follows later after moving a bit (is on the Agumon's digivolution to champion mission).

Maybe it only affects certain soundcards? o.o

daniel229 commented 10 years ago

On my side it does not report the red ones. 04

LPatamon commented 10 years ago

@daniel229 Quite odd isn't it? by the way your ppsspp is the windows x86 one or the windows x64 one? maybe that's where the difference is. I use the Windows x86 one (I use 32 bits Windows 7 Ultimate)

daniel229 commented 10 years ago

Mine is Win7 X64

daniel229 commented 10 years ago

Just tested,the 32bit build have the problem.

LPatamon commented 10 years ago

@daniel229 Maybe the problem is there. I mean maybe the issue is only on the Windows x86 one.

daniel229 commented 10 years ago

Nice find.

LPatamon commented 10 years ago

@daniel229 Well now we have a good starting point. the issue is only on the Windows x86 one, now we have to see where is the error that caused the problem.

Guess it was my fault for forgetting to say which windows version I use n.nU

daniel229 commented 10 years ago

That's the 32bit PPSSPP's problem,on win7 X64,32bit PPSSPP reports that error,64bit PPSSPP doesn't.

LPatamon commented 10 years ago

@daniel229 Yeah. and I guess that on the 32bit PPSSPP, when it reported that error you didn't got any music where it should sound right?

It seems the sceAtrac3 minor cleanup: Get rid of mutable globals, add another sanity check with reporting change made on the emulator didn't get along with Windows 32 bits o.o

ppsspp0981326log

Here is a screenshot of PPSSPP v0.9.8-1326-gb1ae00c Windows 32 bit log with this game running. As you can see, no error shows on that version plus the sound works correctly.

unknownbrackets commented 10 years ago

I can reproduce in Grand Knights History on 32-bit... interesting.

https://github.com/hrydgard/ppsspp/commit/2236b3a

-[Unknown]

LPatamon commented 10 years ago

Posting just to thank you. The fix worked like a charm and all is back to normal with PPSSPP 32 bits versión.