Adding modding folder with a hacked build.

This commit is contained in:
ml
2026-09-26 08:53:08 +02:00
parent cdb960dc71
commit c91080aba7
755 changed files with 50424 additions and 0 deletions
@@ -0,0 +1,18 @@
package movie
import (
"bytes"
"github.com/inkyblackness/hacked/ss1/content/audio"
"github.com/inkyblackness/hacked/ss1/content/text"
)
// ContainSoundData packs a sound data into a container and encodes it.
func ContainSoundData(soundData audio.L8) []byte {
var container Container
container.Audio.Sound = soundData
buffer := bytes.NewBuffer(nil)
_ = Write(buffer, container, text.DefaultCodepage())
return buffer.Bytes()
}