From adb80d1ff045de651f49f5d0207059be05d2b395 Mon Sep 17 00:00:00 2001 From: Wei He Date: Sat, 11 Jun 2022 02:12:54 +0900 Subject: [PATCH] [bugfix] fix crash by invalid txt (#9) --- patches/01_runes_sound/data/global/excel/sounds.txt.sh | 2 +- wing.mpq/data/global/excel/sounds.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/01_runes_sound/data/global/excel/sounds.txt.sh b/patches/01_runes_sound/data/global/excel/sounds.txt.sh index e42c5e5..c6269b4 100755 --- a/patches/01_runes_sound/data/global/excel/sounds.txt.sh +++ b/patches/01_runes_sound/data/global/excel/sounds.txt.sh @@ -1,4 +1,4 @@ #!/bin/sh cat -echo "high_rune 11385 sfx/items_hd item\high_rune.flac 0 0 0 0 0 255 255 100 100 0 0 0 0 0 0 1 0 0 1 0 90 100 0 0 0 0 0 -1 -1 -1 0 0" +printf "high_rune 11385 sfx/items_hd item\high_rune.flac 0 0 0 0 0 255 255 100 100 0 0 0 0 0 0 1 0 0 1 0 90 100 0 0 0 0 0 -1 -1 -1 0 0" diff --git a/wing.mpq/data/global/excel/sounds.txt b/wing.mpq/data/global/excel/sounds.txt index 3c04485..20f81d6 100644 --- a/wing.mpq/data/global/excel/sounds.txt +++ b/wing.mpq/data/global/excel/sounds.txt @@ -11384,4 +11384,4 @@ worldstonechip_hd3 11381 sfx/ambient/event-3d_hd ambient\event\worldstonechip_h cicada_loop_hd1 11382 sfx/ambient/event-3d_hd ambient\event\cicada_loop_1_hd.flac 0 0 0 1 0 127 179 95 105 3 0 0 50 50 0 0 0 0 3 0 90 20 0 0 0 0 0 -1 -1 -1 0 0 cicada_loop_hd2 11383 sfx/ambient/event-3d_hd ambient\event\cicada_loop_2_hd.flac 0 0 0 1 0 127 179 95 105 0 0 0 50 50 0 0 0 0 3 0 90 20 0 0 0 0 0 -1 -1 -1 0 0 cicada_loop_hd3 11384 sfx/ambient/event-3d_hd ambient\event\cicada_loop_3_hd.flac 0 0 0 1 0 127 179 95 105 0 0 0 50 50 0 0 0 0 3 0 90 20 0 0 0 0 0 -1 -1 -1 0 0 -high_rune 11385 sfx/items_hd item\high_rune.flac 0 0 0 0 0 255 255 100 100 0 0 0 0 0 0 1 0 0 1 0 90 100 0 0 0 0 0 -1 -1 -1 0 0 +high_rune 11385 sfx/items_hd item\high_rune.flac 0 0 0 0 0 255 255 100 100 0 0 0 0 0 0 1 0 0 1 0 90 100 0 0 0 0 0 -1 -1 -1 0 0 \ No newline at end of file