diff --git a/Makefile b/Makefile index 0ad27543..b76f6fb0 100644 --- a/Makefile +++ b/Makefile @@ -486,11 +486,12 @@ ifeq ($(TARGET_BITS), 32) _ := $(shell rm -rf sound/samples/sfx_custom_luigi_peach/*.aiff) _ := $(shell rm -rf sound/samples/sfx_custom_wario/*.aiff) _ := $(shell rm -rf sound/samples/sfx_custom_wario_peach/*.aiff) -endif # Copy missing character sounds from mario sound banks _ := $(shell $(PYTHON) $(TOOLS_DIR)/copy_mario_sounds.py) +endif + # Copy missing instrument samples from the music sound banks _ := $(shell $(PYTHON) $(TOOLS_DIR)/copy_extended_sounds.py) diff --git a/sound/samples/sfx_custom_luigi/00.aiff b/sound/samples/sfx_custom_luigi/00.aiff index 35dbf3e8..69e7d4a6 100644 Binary files a/sound/samples/sfx_custom_luigi/00.aiff and b/sound/samples/sfx_custom_luigi/00.aiff differ diff --git a/sound/samples/sfx_custom_luigi/01.aiff b/sound/samples/sfx_custom_luigi/01.aiff index 23c91ff4..8ae36572 100644 Binary files a/sound/samples/sfx_custom_luigi/01.aiff and b/sound/samples/sfx_custom_luigi/01.aiff differ diff --git a/sound/samples/sfx_custom_luigi/02.aiff b/sound/samples/sfx_custom_luigi/02.aiff index fde28d35..f0a85ad3 100644 Binary files a/sound/samples/sfx_custom_luigi/02.aiff and b/sound/samples/sfx_custom_luigi/02.aiff differ diff --git a/sound/samples/sfx_custom_luigi/03.aiff b/sound/samples/sfx_custom_luigi/03.aiff index 4311a327..c6b78f01 100644 Binary files a/sound/samples/sfx_custom_luigi/03.aiff and b/sound/samples/sfx_custom_luigi/03.aiff differ diff --git a/sound/samples/sfx_custom_luigi/04.aiff b/sound/samples/sfx_custom_luigi/04.aiff index 6fcabe25..9112a264 100644 Binary files a/sound/samples/sfx_custom_luigi/04.aiff and b/sound/samples/sfx_custom_luigi/04.aiff differ diff --git a/sound/samples/sfx_custom_luigi/05.aiff b/sound/samples/sfx_custom_luigi/05.aiff index fa484f15..cc04d601 100644 Binary files a/sound/samples/sfx_custom_luigi/05.aiff and b/sound/samples/sfx_custom_luigi/05.aiff differ diff --git a/sound/samples/sfx_custom_luigi/06.aiff b/sound/samples/sfx_custom_luigi/06.aiff index f14d4818..45aadf13 100644 Binary files a/sound/samples/sfx_custom_luigi/06.aiff and b/sound/samples/sfx_custom_luigi/06.aiff differ diff --git a/sound/samples/sfx_custom_luigi/07.aiff b/sound/samples/sfx_custom_luigi/07.aiff index c0d8fe2c..c46b5d76 100644 Binary files a/sound/samples/sfx_custom_luigi/07.aiff and b/sound/samples/sfx_custom_luigi/07.aiff differ diff --git a/sound/samples/sfx_custom_luigi/08.aiff b/sound/samples/sfx_custom_luigi/08.aiff index 67eb2f2c..ddd7464f 100644 Binary files a/sound/samples/sfx_custom_luigi/08.aiff and b/sound/samples/sfx_custom_luigi/08.aiff differ diff --git a/sound/samples/sfx_custom_luigi/09.aiff b/sound/samples/sfx_custom_luigi/09.aiff index 7f68c22c..a4f69d6e 100644 Binary files a/sound/samples/sfx_custom_luigi/09.aiff and b/sound/samples/sfx_custom_luigi/09.aiff differ diff --git a/sound/samples/sfx_custom_luigi/0A.aiff b/sound/samples/sfx_custom_luigi/0A.aiff index 853ea095..d99f5f25 100644 Binary files a/sound/samples/sfx_custom_luigi/0A.aiff and b/sound/samples/sfx_custom_luigi/0A.aiff differ diff --git a/sound/samples/sfx_custom_luigi/0B.aiff b/sound/samples/sfx_custom_luigi/0B.aiff index 1926332f..0b939b03 100644 Binary files a/sound/samples/sfx_custom_luigi/0B.aiff and b/sound/samples/sfx_custom_luigi/0B.aiff differ diff --git a/sound/samples/sfx_custom_luigi/0C.aiff b/sound/samples/sfx_custom_luigi/0C.aiff index 0c63ebd7..153bc241 100644 Binary files a/sound/samples/sfx_custom_luigi/0C.aiff and b/sound/samples/sfx_custom_luigi/0C.aiff differ diff --git a/sound/samples/sfx_custom_luigi/0D.aiff b/sound/samples/sfx_custom_luigi/0D.aiff index 6a1d0228..e205b343 100644 Binary files a/sound/samples/sfx_custom_luigi/0D.aiff and b/sound/samples/sfx_custom_luigi/0D.aiff differ diff --git a/sound/samples/sfx_custom_luigi/0E.aiff b/sound/samples/sfx_custom_luigi/0E.aiff index a6a8f409..f82e5cd9 100644 Binary files a/sound/samples/sfx_custom_luigi/0E.aiff and b/sound/samples/sfx_custom_luigi/0E.aiff differ diff --git a/sound/samples/sfx_custom_luigi/0F.aiff b/sound/samples/sfx_custom_luigi/0F.aiff index cefd9073..332d7b08 100644 Binary files a/sound/samples/sfx_custom_luigi/0F.aiff and b/sound/samples/sfx_custom_luigi/0F.aiff differ diff --git a/sound/samples/sfx_custom_luigi/10.aiff b/sound/samples/sfx_custom_luigi/10.aiff index b36d0a22..c21cce33 100644 Binary files a/sound/samples/sfx_custom_luigi/10.aiff and b/sound/samples/sfx_custom_luigi/10.aiff differ diff --git a/sound/samples/sfx_custom_luigi/11.aiff b/sound/samples/sfx_custom_luigi/11.aiff index 9a21a440..39a04f64 100644 Binary files a/sound/samples/sfx_custom_luigi/11.aiff and b/sound/samples/sfx_custom_luigi/11.aiff differ diff --git a/sound/samples/sfx_custom_luigi/12.aiff b/sound/samples/sfx_custom_luigi/12.aiff index d5371039..0ca289e9 100644 Binary files a/sound/samples/sfx_custom_luigi/12.aiff and b/sound/samples/sfx_custom_luigi/12.aiff differ diff --git a/sound/samples/sfx_custom_luigi/13.aiff b/sound/samples/sfx_custom_luigi/13.aiff index b9d25509..5b8bbaee 100644 Binary files a/sound/samples/sfx_custom_luigi/13.aiff and b/sound/samples/sfx_custom_luigi/13.aiff differ diff --git a/sound/samples/sfx_custom_luigi/14.aiff b/sound/samples/sfx_custom_luigi/14.aiff index 7f822f04..4f560089 100644 Binary files a/sound/samples/sfx_custom_luigi/14.aiff and b/sound/samples/sfx_custom_luigi/14.aiff differ diff --git a/sound/samples/sfx_custom_luigi/15.aiff b/sound/samples/sfx_custom_luigi/15.aiff index 9b7b10ea..825a7def 100644 Binary files a/sound/samples/sfx_custom_luigi/15.aiff and b/sound/samples/sfx_custom_luigi/15.aiff differ diff --git a/sound/samples/sfx_custom_luigi/16.aiff b/sound/samples/sfx_custom_luigi/16.aiff index 3d8dfdb1..4dbc2dc6 100644 Binary files a/sound/samples/sfx_custom_luigi/16.aiff and b/sound/samples/sfx_custom_luigi/16.aiff differ diff --git a/sound/samples/sfx_custom_luigi/17.aiff b/sound/samples/sfx_custom_luigi/17.aiff index 4bf805d4..eb66c223 100644 Binary files a/sound/samples/sfx_custom_luigi/17.aiff and b/sound/samples/sfx_custom_luigi/17.aiff differ diff --git a/sound/samples/sfx_custom_luigi/18.aiff b/sound/samples/sfx_custom_luigi/18.aiff index e5252e58..9aeb459a 100644 Binary files a/sound/samples/sfx_custom_luigi/18.aiff and b/sound/samples/sfx_custom_luigi/18.aiff differ diff --git a/sound/samples/sfx_custom_luigi/19.aiff b/sound/samples/sfx_custom_luigi/19.aiff index d0e032b1..eada883a 100644 Binary files a/sound/samples/sfx_custom_luigi/19.aiff and b/sound/samples/sfx_custom_luigi/19.aiff differ diff --git a/sound/samples/sfx_custom_luigi/1A.aiff b/sound/samples/sfx_custom_luigi/1A.aiff index 13f24b96..878038cd 100644 Binary files a/sound/samples/sfx_custom_luigi/1A.aiff and b/sound/samples/sfx_custom_luigi/1A.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/00.aiff b/sound/samples/sfx_custom_luigi_peach/00.aiff index afebd48a..68089026 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/00.aiff and b/sound/samples/sfx_custom_luigi_peach/00.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/01.aiff b/sound/samples/sfx_custom_luigi_peach/01.aiff index f21499dd..4c77a627 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/01.aiff and b/sound/samples/sfx_custom_luigi_peach/01.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/02.aiff b/sound/samples/sfx_custom_luigi_peach/02.aiff index 5df1b0a2..209f8a89 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/02.aiff and b/sound/samples/sfx_custom_luigi_peach/02.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/03.aiff b/sound/samples/sfx_custom_luigi_peach/03.aiff index 1098051e..6384e85e 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/03.aiff and b/sound/samples/sfx_custom_luigi_peach/03.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/04.aiff b/sound/samples/sfx_custom_luigi_peach/04.aiff index cce7632d..b8a8630f 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/04.aiff and b/sound/samples/sfx_custom_luigi_peach/04.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/05.aiff b/sound/samples/sfx_custom_luigi_peach/05.aiff index 0b94fd0e..ca0a9b85 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/05.aiff and b/sound/samples/sfx_custom_luigi_peach/05.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/06.aiff b/sound/samples/sfx_custom_luigi_peach/06.aiff index c03c34da..b94bb8a8 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/06.aiff and b/sound/samples/sfx_custom_luigi_peach/06.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/07.aiff b/sound/samples/sfx_custom_luigi_peach/07.aiff index 15ecd7f8..cf929d28 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/07.aiff and b/sound/samples/sfx_custom_luigi_peach/07.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/08.aiff b/sound/samples/sfx_custom_luigi_peach/08.aiff index 80840ed2..56af140f 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/08.aiff and b/sound/samples/sfx_custom_luigi_peach/08.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/09.aiff b/sound/samples/sfx_custom_luigi_peach/09.aiff index 7ca10677..c44fec71 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/09.aiff and b/sound/samples/sfx_custom_luigi_peach/09.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/0A.aiff b/sound/samples/sfx_custom_luigi_peach/0A.aiff index 367d4fdf..d000c33f 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/0A.aiff and b/sound/samples/sfx_custom_luigi_peach/0A.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/0B.aiff b/sound/samples/sfx_custom_luigi_peach/0B.aiff index 1cfc02ab..7b70e114 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/0B.aiff and b/sound/samples/sfx_custom_luigi_peach/0B.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/0C.aiff b/sound/samples/sfx_custom_luigi_peach/0C.aiff index 336ec098..8036d2e3 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/0C.aiff and b/sound/samples/sfx_custom_luigi_peach/0C.aiff differ diff --git a/sound/samples/sfx_custom_luigi_peach/0D.aiff b/sound/samples/sfx_custom_luigi_peach/0D.aiff index 1cc07060..f45aa9c7 100644 Binary files a/sound/samples/sfx_custom_luigi_peach/0D.aiff and b/sound/samples/sfx_custom_luigi_peach/0D.aiff differ diff --git a/sound/samples/sfx_custom_wario/00.aiff b/sound/samples/sfx_custom_wario/00.aiff index aaeab8ad..64140de3 100644 Binary files a/sound/samples/sfx_custom_wario/00.aiff and b/sound/samples/sfx_custom_wario/00.aiff differ diff --git a/sound/samples/sfx_custom_wario/01.aiff b/sound/samples/sfx_custom_wario/01.aiff index 079e4941..6cf75262 100644 Binary files a/sound/samples/sfx_custom_wario/01.aiff and b/sound/samples/sfx_custom_wario/01.aiff differ diff --git a/sound/samples/sfx_custom_wario/02.aiff b/sound/samples/sfx_custom_wario/02.aiff index 6962a2cb..d4247366 100644 Binary files a/sound/samples/sfx_custom_wario/02.aiff and b/sound/samples/sfx_custom_wario/02.aiff differ diff --git a/sound/samples/sfx_custom_wario/03.aiff b/sound/samples/sfx_custom_wario/03.aiff index a7b17df6..526951bd 100644 Binary files a/sound/samples/sfx_custom_wario/03.aiff and b/sound/samples/sfx_custom_wario/03.aiff differ diff --git a/sound/samples/sfx_custom_wario/04.aiff b/sound/samples/sfx_custom_wario/04.aiff index dfd1142d..9005015b 100644 Binary files a/sound/samples/sfx_custom_wario/04.aiff and b/sound/samples/sfx_custom_wario/04.aiff differ diff --git a/sound/samples/sfx_custom_wario/05.aiff b/sound/samples/sfx_custom_wario/05.aiff index a5c15a4a..74947ae4 100644 Binary files a/sound/samples/sfx_custom_wario/05.aiff and b/sound/samples/sfx_custom_wario/05.aiff differ diff --git a/sound/samples/sfx_custom_wario/06.aiff b/sound/samples/sfx_custom_wario/06.aiff index 49126f2d..eceb4a1f 100644 Binary files a/sound/samples/sfx_custom_wario/06.aiff and b/sound/samples/sfx_custom_wario/06.aiff differ diff --git a/sound/samples/sfx_custom_wario/07.aiff b/sound/samples/sfx_custom_wario/07.aiff index 1ea4a2cf..2fcd4c25 100644 Binary files a/sound/samples/sfx_custom_wario/07.aiff and b/sound/samples/sfx_custom_wario/07.aiff differ diff --git a/sound/samples/sfx_custom_wario/08.aiff b/sound/samples/sfx_custom_wario/08.aiff index 3c3a5cf0..e2450d37 100644 Binary files a/sound/samples/sfx_custom_wario/08.aiff and b/sound/samples/sfx_custom_wario/08.aiff differ diff --git a/sound/samples/sfx_custom_wario/09.aiff b/sound/samples/sfx_custom_wario/09.aiff index aa5c38f7..c01ff53d 100644 Binary files a/sound/samples/sfx_custom_wario/09.aiff and b/sound/samples/sfx_custom_wario/09.aiff differ diff --git a/sound/samples/sfx_custom_wario/0A.aiff b/sound/samples/sfx_custom_wario/0A.aiff index c28811be..77623ca8 100644 Binary files a/sound/samples/sfx_custom_wario/0A.aiff and b/sound/samples/sfx_custom_wario/0A.aiff differ diff --git a/sound/samples/sfx_custom_wario/0B.aiff b/sound/samples/sfx_custom_wario/0B.aiff index c4a5a159..a0fbb217 100644 Binary files a/sound/samples/sfx_custom_wario/0B.aiff and b/sound/samples/sfx_custom_wario/0B.aiff differ diff --git a/sound/samples/sfx_custom_wario/0C.aiff b/sound/samples/sfx_custom_wario/0C.aiff index c6b9655f..20181421 100644 Binary files a/sound/samples/sfx_custom_wario/0C.aiff and b/sound/samples/sfx_custom_wario/0C.aiff differ diff --git a/sound/samples/sfx_custom_wario/0D.aiff b/sound/samples/sfx_custom_wario/0D.aiff index 088ba470..70ed9d6e 100644 Binary files a/sound/samples/sfx_custom_wario/0D.aiff and b/sound/samples/sfx_custom_wario/0D.aiff differ diff --git a/sound/samples/sfx_custom_wario/0E.aiff b/sound/samples/sfx_custom_wario/0E.aiff index 69c2fed4..ac6ac6c1 100644 Binary files a/sound/samples/sfx_custom_wario/0E.aiff and b/sound/samples/sfx_custom_wario/0E.aiff differ diff --git a/sound/samples/sfx_custom_wario/0F.aiff b/sound/samples/sfx_custom_wario/0F.aiff index 0d526188..630dde18 100644 Binary files a/sound/samples/sfx_custom_wario/0F.aiff and b/sound/samples/sfx_custom_wario/0F.aiff differ diff --git a/sound/samples/sfx_custom_wario/10.aiff b/sound/samples/sfx_custom_wario/10.aiff index 6e42b62d..884e70e4 100644 Binary files a/sound/samples/sfx_custom_wario/10.aiff and b/sound/samples/sfx_custom_wario/10.aiff differ diff --git a/sound/samples/sfx_custom_wario/11.aiff b/sound/samples/sfx_custom_wario/11.aiff index ade06279..55a9e176 100644 Binary files a/sound/samples/sfx_custom_wario/11.aiff and b/sound/samples/sfx_custom_wario/11.aiff differ diff --git a/sound/samples/sfx_custom_wario/12.aiff b/sound/samples/sfx_custom_wario/12.aiff index 9e87501e..89ad647e 100644 Binary files a/sound/samples/sfx_custom_wario/12.aiff and b/sound/samples/sfx_custom_wario/12.aiff differ diff --git a/sound/samples/sfx_custom_wario/13.aiff b/sound/samples/sfx_custom_wario/13.aiff index de874269..0f0f1407 100644 Binary files a/sound/samples/sfx_custom_wario/13.aiff and b/sound/samples/sfx_custom_wario/13.aiff differ diff --git a/sound/samples/sfx_custom_wario/14.aiff b/sound/samples/sfx_custom_wario/14.aiff index 8997f36d..7888c854 100644 Binary files a/sound/samples/sfx_custom_wario/14.aiff and b/sound/samples/sfx_custom_wario/14.aiff differ diff --git a/sound/samples/sfx_custom_wario/15.aiff b/sound/samples/sfx_custom_wario/15.aiff index 74ae529c..38b2c7db 100644 Binary files a/sound/samples/sfx_custom_wario/15.aiff and b/sound/samples/sfx_custom_wario/15.aiff differ diff --git a/sound/samples/sfx_custom_wario/16.aiff b/sound/samples/sfx_custom_wario/16.aiff index 0d858cc4..c3f1d723 100644 Binary files a/sound/samples/sfx_custom_wario/16.aiff and b/sound/samples/sfx_custom_wario/16.aiff differ diff --git a/sound/samples/sfx_custom_wario/17.aiff b/sound/samples/sfx_custom_wario/17.aiff index 79d23ac3..15fd705b 100644 Binary files a/sound/samples/sfx_custom_wario/17.aiff and b/sound/samples/sfx_custom_wario/17.aiff differ diff --git a/sound/samples/sfx_custom_wario/18.aiff b/sound/samples/sfx_custom_wario/18.aiff index 7f899864..11469c83 100644 Binary files a/sound/samples/sfx_custom_wario/18.aiff and b/sound/samples/sfx_custom_wario/18.aiff differ diff --git a/sound/samples/sfx_custom_wario/19.aiff b/sound/samples/sfx_custom_wario/19.aiff index 8a53fa7f..aff91bab 100644 Binary files a/sound/samples/sfx_custom_wario/19.aiff and b/sound/samples/sfx_custom_wario/19.aiff differ diff --git a/sound/samples/sfx_custom_wario/1A.aiff b/sound/samples/sfx_custom_wario/1A.aiff index 8cba71b6..445ee62c 100644 Binary files a/sound/samples/sfx_custom_wario/1A.aiff and b/sound/samples/sfx_custom_wario/1A.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/00.aiff b/sound/samples/sfx_custom_wario_peach/00.aiff index d856a408..86239fa8 100644 Binary files a/sound/samples/sfx_custom_wario_peach/00.aiff and b/sound/samples/sfx_custom_wario_peach/00.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/01.aiff b/sound/samples/sfx_custom_wario_peach/01.aiff index d3103f3f..dd4dea4f 100644 Binary files a/sound/samples/sfx_custom_wario_peach/01.aiff and b/sound/samples/sfx_custom_wario_peach/01.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/02.aiff b/sound/samples/sfx_custom_wario_peach/02.aiff index fa1d6297..c7ac8a9e 100644 Binary files a/sound/samples/sfx_custom_wario_peach/02.aiff and b/sound/samples/sfx_custom_wario_peach/02.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/03.aiff b/sound/samples/sfx_custom_wario_peach/03.aiff index ef3dacd7..4e71b718 100644 Binary files a/sound/samples/sfx_custom_wario_peach/03.aiff and b/sound/samples/sfx_custom_wario_peach/03.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/04.aiff b/sound/samples/sfx_custom_wario_peach/04.aiff index c47eea16..cce9b503 100644 Binary files a/sound/samples/sfx_custom_wario_peach/04.aiff and b/sound/samples/sfx_custom_wario_peach/04.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/05.aiff b/sound/samples/sfx_custom_wario_peach/05.aiff index c1673d5f..aff31b5a 100644 Binary files a/sound/samples/sfx_custom_wario_peach/05.aiff and b/sound/samples/sfx_custom_wario_peach/05.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/06.aiff b/sound/samples/sfx_custom_wario_peach/06.aiff index 6a0bec86..5aad2e7e 100644 Binary files a/sound/samples/sfx_custom_wario_peach/06.aiff and b/sound/samples/sfx_custom_wario_peach/06.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/07.aiff b/sound/samples/sfx_custom_wario_peach/07.aiff index 232b14c8..019d9c4e 100644 Binary files a/sound/samples/sfx_custom_wario_peach/07.aiff and b/sound/samples/sfx_custom_wario_peach/07.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/08.aiff b/sound/samples/sfx_custom_wario_peach/08.aiff index 4e6204fe..f490b3a2 100644 Binary files a/sound/samples/sfx_custom_wario_peach/08.aiff and b/sound/samples/sfx_custom_wario_peach/08.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/09.aiff b/sound/samples/sfx_custom_wario_peach/09.aiff index 3c5939a3..8986cdd2 100644 Binary files a/sound/samples/sfx_custom_wario_peach/09.aiff and b/sound/samples/sfx_custom_wario_peach/09.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/0A.aiff b/sound/samples/sfx_custom_wario_peach/0A.aiff index 4a317a90..b7da8e58 100644 Binary files a/sound/samples/sfx_custom_wario_peach/0A.aiff and b/sound/samples/sfx_custom_wario_peach/0A.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/0B.aiff b/sound/samples/sfx_custom_wario_peach/0B.aiff index f6c825c0..6f38cbc2 100644 Binary files a/sound/samples/sfx_custom_wario_peach/0B.aiff and b/sound/samples/sfx_custom_wario_peach/0B.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/0C.aiff b/sound/samples/sfx_custom_wario_peach/0C.aiff index b99d8e9c..0b082965 100644 Binary files a/sound/samples/sfx_custom_wario_peach/0C.aiff and b/sound/samples/sfx_custom_wario_peach/0C.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/0D.aiff b/sound/samples/sfx_custom_wario_peach/0D.aiff index cc57023c..2d0c16a2 100644 Binary files a/sound/samples/sfx_custom_wario_peach/0D.aiff and b/sound/samples/sfx_custom_wario_peach/0D.aiff differ diff --git a/sound/samples/sfx_custom_wario_peach/17.aiff b/sound/samples/sfx_custom_wario_peach/17.aiff deleted file mode 100644 index f2064720..00000000 Binary files a/sound/samples/sfx_custom_wario_peach/17.aiff and /dev/null differ diff --git a/sound/sound_banks/27_custom_luigi_peach.json b/sound/sound_banks/27_custom_luigi_peach.json index d4e056c7..c65865e3 100644 --- a/sound/sound_banks/27_custom_luigi_peach.json +++ b/sound/sound_banks/27_custom_luigi_peach.json @@ -81,55 +81,55 @@ "sound": "0D" }, "inst14": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "0E" }, "inst15": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "0F" }, "inst16": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "10" }, "inst17": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "11" }, "inst18": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "12" }, "inst19": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "13" }, "inst20": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "14" }, "inst21": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "15" }, "inst22": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "16" diff --git a/sound/sound_banks/29_custom_wario_peach.json b/sound/sound_banks/29_custom_wario_peach.json index bff17438..0a11a83d 100644 --- a/sound/sound_banks/29_custom_wario_peach.json +++ b/sound/sound_banks/29_custom_wario_peach.json @@ -81,55 +81,55 @@ "sound": "0D" }, "inst14": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "0E" }, "inst15": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "0F" }, "inst16": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "10" }, "inst17": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "11" }, "inst18": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "12" }, "inst19": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "13" }, "inst20": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "14" }, "inst21": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "15" }, "inst22": { - "ifdef": ["VERSION_US", "VERSION_EU"], + "ifdef": ["EXTENDED_CHAR_SOUNDS"], "release_rate": 208, "envelope": "envelope0", "sound": "16" diff --git a/tools/append_aiffc_table.py b/tools/append_aiffc_table.py new file mode 100644 index 00000000..36f89292 --- /dev/null +++ b/tools/append_aiffc_table.py @@ -0,0 +1,64 @@ +#!/usr/bin/env python3 +import sys +import os +import time + +# find sound/samples/*custom* -name '*.aiff' | while read filename; do python3 tools/append_aiffc_table.py "$filename"; done + +# Get the filename from the first command line argument +if len(sys.argv) < 2: + print("Usage: {} ".format(sys.argv[0])) + sys.exit(1) +filename = sys.argv[1] + +# check if the binary file contains the string 'VADPCMCODES', and if so print that it was already found and exit +with open(filename, 'rb') as f: + content = f.read() +if b'VADPCMCODES' in content: + print('Already contains a table for ' + filename + '. Exiting.') + sys.exit(0) + +# run the program ./tools/tabledesign on the specified filename and capture the output +import subprocess +command = ['./tools/tabledesign', '-s', '1', filename] +result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) +output = result.stdout.decode('utf-8').strip() + +# split the output by whitespace +words = output.split() + +# calculate header info +size = len(words) * 2 + 18 +unknown = 0x0b +version = 1 + +# append the chunk header +chunk = b'' +chunk += b'APPL' +chunk += size.to_bytes(4, 'big', signed=True) +chunk += b'stoc' +chunk += unknown.to_bytes(1, 'big', signed=False) +chunk += b'VADPCMCODES' +chunk += version.to_bytes(2, 'big', signed=False) + +# convert each word to a signed 16 bit integer and append them to content +for word in words: + value = int(word) + chunk += value.to_bytes(2, 'big', signed=True) + +# find the index of the first instance of 'SSND' +index = content.find(b'SSND') +if index == -1: + print("Couldn't find 'SSND' for ' + filename + '. Aborting.") + sys.exit(1) + +if size != len(chunk) - 8: + print('Failed to generate the correct size for ' + filename) + sys,exit(1) + +# insert the chunk before 'SSND' +content = content[:index] + chunk + content[index:] + +# write the modified content to the binary file +with open(filename, 'wb') as f: + f.write(content)