It's fairly straightforward, but it requires either
Adobe software or
clever hacking. The
Lightweight Mod Compiler can normally be used to create code mods for the Loader, but it's insufficient in this case because our SWF needs to include
assets (e.g. sprites, sounds) in addition to
scripts.
The script itself is quite simple (see example below). These bulk of the workload here would be audio stuff (i.e. ripping audio tracks, selecting sounds, cropping sound clips, matching audio levels, removing noise, correcting pitch differences) because the coding is trivial.
function initl(l)
{
// Replacing the original SFX with new ones
g.soundControl.gag = new Array();
g.soundControl.gag.push(new gagSFXThatIRippedFromMyFavoritePornClip());
g.soundControl.gag.push(new gagSFXFromAWrestlingVideoGameSubmissionHold());
g.soundControl.gag.push(new gagSFXThatsActuallyAnOutOfContextNoiseMadeByAnAngryWallaby());
// Adding new items while leaving the original sounds intact
g.soundControl.cough.push(new coughSFXThatIRecordedByRetchingInFrontOfAMicrophone());
g.soundControl.cough.push(new coughSFXWhichIsActuallyAHeavilyEditedVersionOfTheWilhelmScream());
g.soundControl.cough.push(new coughSFXWhichICommissionedFromAPopularASMRtist());
}
The advantage of packaging this stuff as a SWF mod is that it allows for combination. Someone could load the "asphyxiated cough" pack and the "masculine moans" pack (e.g. for a yaoi scenario) and the "hyperventilating breath" pack and etc.
fulcrum
is correct, though. ffdec is a very useful tool and fairly easy to work with (once you get past the initial sense of "wtf am I doing?"). The actual file-replacement process is somewhat tedious but it doesn't require any special training.
If people want to share packs of MP3 files then we could setup something akin to the
Audio Dialogue Request thread, with Flash modders volunteering to package the files into usable SWFs. Until then, I would encourage any intereted folks to follow
fulcrum
's example -- try tinkering with ffdec in order to customize your audio experience.
One bit of advice: if people decide to start sharing collections of MP3 files, then please remember to
host the files offsite. For example, you could upload your MP3 files to
mega.nz and then provide a link to your folder (
example). If you do that then staff members won't need to fret about IP rights. But if you attach files to your forum posts then they get uploaded to the Undertow fileserver, which exposes the site to a potential DMCA takedown (assuming that one of your sound clips comes from a copyrighted source).