Hacking Nds sdat hacking help

MaverickZero

Member
OP
Newcomer
Joined
Sep 20, 2017
Messages
12
Trophies
0
Age
24
XP
66
Country
Germany
I am trying for months now to replace old voice samples with new ones in castlevania PoR by using tinke, however if i replace Richters old clips with the new ones they get either sped up a lot or slowed down, and if i reinsert the edited sdat back into the rom, the game won't play any sounds at all or ones that would completely destroy your ears.
I've read a lot that it could be because the new clips are bigger than the old ones, but even if i only put smaller samples in, it still happens the same.
Is there any option i have to use or something?
Please help, i feel like i literally tried everything.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,795
Trophies
5
XP
28,504
Country
United Kingdom
You bothered to go through the thousands of unnamed files? Impressive.

Sped up or slowed down sounds like the wrong sample rate was used somewhere along the line and the game is trying to play it back at a fixed one it expects*. Bigger or smaller should not have any real bearing on this if the pointers are all handled.

*I don't know what the game, or the given instance for these clips, expects but play back a thing sampled at 44KHz at 22KHz, the former being normal PC sound clip sample rate and the latter being somewhere around what a lot of DS stuff is** to keep file sizes down at a sacrifice to quality, and it will sound like someone is speaking through treacle, do the reverse of that and surprise chipmunk. Either way find out and make sure you are matching. I don't know what tinke has offhand but many of the other tools should be able to tell you thinks (between VGMtrans, vgmtoolbox, crystaltile2 and anything else in that world you should be able to get something done, it will suck*** but you could even go manual if you really wanted).

**I have seen everything from in 2-3KHz jumps from about 7KHz right on up to 44KHz and beyond.

***the game really does have thousands of voice audio clips with no useful naming scheme or order in its SWAR archive -- it is why I made the undub in cheat format rather than figure out what each was and repoint it.
 

MaverickZero

Member
OP
Newcomer
Joined
Sep 20, 2017
Messages
12
Trophies
0
Age
24
XP
66
Country
Germany
Richters voice clips start at 1024, so finding that out is done, i also tried what you said but it didn't seem to work as well.
Richter's original voice clip is at 18KHz, and the new one from Castlevania DXC is 16KHz, so i raised the sample rate to 18KHz there and imported it, not only that the quality became horrible but it also changed nothing.
but maybe you need to know that the voice clip i am talking about right now didn't really have the speeding problem.
That clip rather clips out somewhere in the middle and makes a crashing sound effect.


P.S.
This may be important, but i noticed that by importing one sample, all others are affected by the sound corruption as well, not just the ones i imported.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    chrisrlink @ chrisrlink: hope this isn't too big