Files
SpaghettiKart/docs/custom-audio.md
T
Lywx 13814868ed Implemented new audio driver for sequence replacement (#478)
* [WIP] Added custom driver and implemented sequence replacement

* Implemented hmas effect system and wip replace system

* Added load from o2r

* Implemented sequence replacement

* Added looping point support

* Added reduced volume when pausing

* Fixed audio reset and added fade out

* Fixed music when retrying

* Fixed star music

* Parsed more info, not just loops

* Fixed linux compilation

* add doc

* Update docs/custom-audio.md

* Update docs/modding.md

---------

Co-authored-by: coco875 <59367621+coco875@users.noreply.github.com>
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2025-07-21 12:48:53 -06:00

619 B

Custom Audio

To replace a sequences you should only create a zip file with sequences to replace at the same path as mk64.o2r. Only wav, mp3, ogg and flac are supported.

Example:

You want to change sound/sequences/main_menu then you just need to create a zip file with the following structure:

textures_pack.zip
└── sound
    └── sequences
        └── main_menu.mp3

Future plans

  • Make name more meaningful and uniform. (example: change seq_16). You can suggest name or make a PR to help rename them/organise them.
  • Support samples.
  • Create a tool to convert sequences and samples.