Music Pipeline Implementation

This commit is contained in:
2026-05-07 08:51:42 +02:00
parent 601e89bece
commit f6bb4fe3d7
7 changed files with 1028 additions and 6 deletions
+6 -1
View File
@@ -19,7 +19,7 @@ var SourceExtensions = []string{
}
var AssetExtensions = []string{
".2da", ".bik", ".bmp", ".dds", ".dwk", ".gr2", ".itp", ".jpg", ".lod", ".lyt", ".mdb", ".mdl", ".mdx", ".mtr", ".plt", ".png", ".pwk", ".set", ".shd", ".tga", ".txi", ".uti", ".vis", ".wav", ".wlk", ".wok", ".xml",
".2da", ".bik", ".bmp", ".bmu", ".dds", ".dwk", ".gr2", ".itp", ".jpg", ".lod", ".lyt", ".mdb", ".mdl", ".mdx", ".mp3", ".mtr", ".ogg", ".plt", ".png", ".pwk", ".set", ".shd", ".tga", ".txi", ".uti", ".vis", ".wav", ".wlk", ".wok", ".xml",
}
type Project struct {
@@ -32,6 +32,7 @@ type Config struct {
Module ModuleConfig `json:"module"`
Paths PathConfig `json:"paths"`
HAKs []HAKConfig `json:"haks"`
Music MusicConfig `json:"music"`
TopData TopDataConfig `json:"topdata"`
Extract ExtractConfig `json:"extract"`
Autogen AutogenConfig `json:"autogen"`
@@ -59,6 +60,10 @@ type HAKConfig struct {
Include []string `json:"include"`
}
type MusicConfig struct {
Prefixes map[string]string `json:"prefixes"`
}
type TopDataConfig struct {
Source string `json:"source"`
Build string `json:"build"`