+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  PSX sound problem
Pages: [1]
Author Topic: PSX sound problem  (Read 1 times)
Magil
Guest
« on: April 10, 2011, 10:06:37 pm »

The game is Culdcept, psx version.
After I moved the card packages to other places, something odd happened to the sound effects. That is, before a card battle, the names of the two cards will be read. But after the edit, the voice is gone, instead, a random beep or trumpet is played. Shocked

Thing is, I don't know how to debug sound related stuff. Any ideas on how to find the problem?
Gemini
Guest
« Reply #1 on: April 11, 2011, 05:07:35 am »

You're overwriting sound samples with other data before an SPU transfer is about to happen. Solution? Move your stuff somewhere else.
Magil
Guest
« Reply #2 on: April 11, 2011, 08:17:25 pm »

So I need to watch SPU upload? Will check that, thanks.
Gemini
Guest
« Reply #3 on: April 12, 2011, 05:02:32 am »

I forgot the other possibility: you're overwriting other sound data that isn't uploaded to the SPU. Basically, if the game is using VAB or whatever other format, it has to keep somewhere in RAM the information useful for playback (offset, loop point, frequency, pitch, etc...) which is managed by the CPU through memory registers. When that information is corrupted you can expect the SPU to simply work randomly and creating all sorts of nasty playback effects thanks to the CPU sending it junk commands.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC