EmuNewz Network
Predecoding sound files - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: Predecoding sound files (/showthread.php?tid=148327)



Predecoding sound files - dilwyn - 06-18-2013

Howdy,

I've been using at3tool for my sound decoding. However, decoding many short voice clips on the fly is making the game do a quick skip before every sound clip as it decodes the next. If I restart the game after it has decoded those, performance obviously gets a whole lot better.

Is there a way that I can predecode all the music in the game files to the tmp folder with the filenames jpcsp would expect so that the emulator doesn't have to decode everything as it goes?

Thanks in advance.


RE: Predecoding sound files - DragonNeos - 06-18-2013

I'm not sure if this is what you were looking for, but have you already tried the option "Extract media files to tmp folder" from the Media tab of JPCSP Configuration?


RE: Predecoding sound files - dilwyn - 06-18-2013

Yes, but the first time I run through, the emulator still has to decode the audio it hasn't seen before. What I'm aspiring to is to decode ALL of the media files in an ISO, then play without having to decode on the fly.


RE: Predecoding sound files - serio - 06-18-2013

until either hykem returns with at3+ ffmpeg implementation or gid implements optional support for the open source at3+ codec (the one ppsspp started using recently. it works much better than at3tool or atrac3plus2wav, but there's a suspicion it was made with sony's decompiled code which is illegal, and so, no emulator will bundle it the same way none of them bundle the exe tools), that's unavoidable.

there's no way to get all the sounds either, especially for games that keep them compressed inside an archive. they need to be extracted and then renamed to the correct format.


RE: Predecoding sound files - dilwyn - 06-18-2013

Oh, that's a bummer. Thanks for responding regardless.