[Scummvm-tracker] [ScummVM :: Bugs] #14265: PJGAMES: Add audio modding support for Pajama Sam: Games to Play on Any Day
ScummVM :: Bugs
trac at scummvm.org
Mon Aug 7 06:20:06 UTC 2023
#14265: PJGAMES: Add audio modding support for Pajama Sam: Games to Play on Any Day
----------------------------+----------------------------
Reporter: SomeRandomHEFan | Owner: (none)
Type: feature request | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: | Game:
----------------------------+----------------------------
Comment (by AndywinXp):
Replying to [comment:5 SomeRandomHEFan]:
> Good to hear that progress is being made in that department. I'd
appreciate if this resulted in the addition of audio modding support for
this game.
>
> The files are not packaged in any way. My implementations involve the
music files and sound effects being in a "sound" directory and having
names corresponding to their internal IDs. Voice clips are in a "speech"
directory and have names that I believe correspond to their location in
the .HE2 file. However, there are other ways to make ScummVM accept files.
IIRC, you can also put them in the game data's root directory and give
them names like "soundXXXX" or "speechXXXX." Not quite sure I got all the
details right, though.
>
> ScummVM should accept any files in the formats FLAC, WAV, MP3 and OGG, I
believe. The specific files used in the Bandcamp releases should be in
either mono or stereo, have sample rates of either 44100 Hz or 48000 Hz
and a bit depth of either 16 or 24. Some have plenty of metadata,
including embedded album images, while others don't.
>
> Does that information suffice? Let me know if I can offer any more help.
Thanks, for now this will suffice; because of the highly variable sample
rates and because of the multiple audio compression types, I'll probably
have to generate a dedicated code path for these audio files to play,
which skips the original the software mixer. I'll see what I can do.
Thanks, I'm sure I will have more questions as I go forward.
> Is there any chance that your work could also add support for replacing
the MIDI music in HE's earliest releases, as explained at #14266?
It's not impossible, I'll see what I can do!
> Also, is #7150 one of the bugs you expect to be fixed through this? That
would be great.
Absolutely; the rule of thumb is: if you can hear something on the
original exe, that's what you will hear on the reimplementation as well.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14265#comment:6>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list