diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61a9b7c1..9e30c45c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,6 +65,7 @@ jobs: - en-us - fr-fr - es-es + - zh-cn permissions: contents: write steps: @@ -116,6 +117,11 @@ jobs: with: name: translation-es-es-${{ github.ref_name }} path: release + - name: Download Chinese translations + uses: actions/download-artifact@v4 + with: + name: translation-zh-cn-${{ github.ref_name }} + path: release - name: Create release ${{ github.ref_name }} uses: ncipollo/release-action@v1 with: diff --git a/README.md b/README.md index 845285b8..30b6a0ed 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ To all people who helped along the way: ♦ [mana](https://github.com/manavortex) ♦ [jekky](https://github.com/jac3km4) ♦ [JosephFerano](https://github.com/JosephFerano) +♦ Vanman Zhang ♦ [tobozo](https://github.com/tobozo) ♦ [IslandDancer](https://github.com/IslandDancer) ♦ Auska diff --git a/archives/Addicted.Translations/source/archive/addicted/localization/zh-cn.json b/archives/Addicted.Translations/source/archive/addicted/localization/zh-cn.json new file mode 100644 index 00000000..94a4ab8b Binary files /dev/null and b/archives/Addicted.Translations/source/archive/addicted/localization/zh-cn.json differ diff --git a/archives/Addicted.Translations/source/resources/Addicted.Translations.archive.xl b/archives/Addicted.Translations/source/resources/Addicted.Translations.archive.xl index 31ee15cf..9d502994 100644 --- a/archives/Addicted.Translations/source/resources/Addicted.Translations.archive.xl +++ b/archives/Addicted.Translations/source/resources/Addicted.Translations.archive.xl @@ -3,3 +3,4 @@ localization: en-us: addicted\localization\en-us.json fr-fr: addicted\localization\fr-fr.json es-es: addicted\localization\es-es.json + zh-cn: addicted\localization\zh-cn.json diff --git a/audioware/vanilla/zh-cn/v_q000_f_1927fae1772ef000.Wav b/audioware/vanilla/zh-cn/v_q000_f_1927fae1772ef000.Wav new file mode 100755 index 00000000..f6a61447 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q000_f_1927fae1772ef000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q000_m_1927fae1772ef000.Wav b/audioware/vanilla/zh-cn/v_q000_m_1927fae1772ef000.Wav new file mode 100755 index 00000000..f2a60fe2 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q000_m_1927fae1772ef000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q003_f_178d53e0694b6000.Wav b/audioware/vanilla/zh-cn/v_q003_f_178d53e0694b6000.Wav new file mode 100755 index 00000000..5a3c3d2a Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q003_f_178d53e0694b6000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q003_m_178d53e0694b6000.Wav b/audioware/vanilla/zh-cn/v_q003_m_178d53e0694b6000.Wav new file mode 100755 index 00000000..5f9bf859 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q003_m_178d53e0694b6000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q004_f_168ac1406f29f000.Wav b/audioware/vanilla/zh-cn/v_q004_f_168ac1406f29f000.Wav new file mode 100755 index 00000000..db89f5ed Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q004_f_168ac1406f29f000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q004_m_168ac1406f29f000.Wav b/audioware/vanilla/zh-cn/v_q004_m_168ac1406f29f000.Wav new file mode 100755 index 00000000..542a8296 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q004_m_168ac1406f29f000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q104_f_18545e4c6a4e6000.Wav b/audioware/vanilla/zh-cn/v_q104_f_18545e4c6a4e6000.Wav new file mode 100755 index 00000000..532b2f02 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q104_f_18545e4c6a4e6000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q104_f_18980f710d29f000.Wav b/audioware/vanilla/zh-cn/v_q104_f_18980f710d29f000.Wav new file mode 100755 index 00000000..c4fc6a7f Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q104_f_18980f710d29f000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q104_m_18545e4c6a4e6000.Wav b/audioware/vanilla/zh-cn/v_q104_m_18545e4c6a4e6000.Wav new file mode 100755 index 00000000..b57b50a8 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q104_m_18545e4c6a4e6000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q104_m_18980f710d29f000.Wav b/audioware/vanilla/zh-cn/v_q104_m_18980f710d29f000.Wav new file mode 100755 index 00000000..70089c2a Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q104_m_18980f710d29f000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q113_f_1956c7fde04e1000.Wav b/audioware/vanilla/zh-cn/v_q113_f_1956c7fde04e1000.Wav new file mode 100755 index 00000000..6803ae14 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q113_f_1956c7fde04e1000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q113_m_1956c7fde04e1000.Wav b/audioware/vanilla/zh-cn/v_q113_m_1956c7fde04e1000.Wav new file mode 100755 index 00000000..98b83681 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q113_m_1956c7fde04e1000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q115_f_1752ea11b74e1000.Wav b/audioware/vanilla/zh-cn/v_q115_f_1752ea11b74e1000.Wav new file mode 100755 index 00000000..3f2fcc75 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q115_f_1752ea11b74e1000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_q115_m_1752ea11b74e1000.Wav b/audioware/vanilla/zh-cn/v_q115_m_1752ea11b74e1000.Wav new file mode 100755 index 00000000..eb186b88 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_q115_m_1752ea11b74e1000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_scene_dex_default_f_182ad40c364ea000.Wav b/audioware/vanilla/zh-cn/v_scene_dex_default_f_182ad40c364ea000.Wav new file mode 100755 index 00000000..79cadc53 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_scene_dex_default_f_182ad40c364ea000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_scene_dex_default_m_182ad40c364ea000.Wav b/audioware/vanilla/zh-cn/v_scene_dex_default_m_182ad40c364ea000.Wav new file mode 100755 index 00000000..c04da427 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_scene_dex_default_m_182ad40c364ea000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_scene_mitch_default_f_1b1a38325729f000.Wav b/audioware/vanilla/zh-cn/v_scene_mitch_default_f_1b1a38325729f000.Wav new file mode 100755 index 00000000..93cd83a8 Binary files /dev/null and b/audioware/vanilla/zh-cn/v_scene_mitch_default_f_1b1a38325729f000.Wav differ diff --git a/audioware/vanilla/zh-cn/v_scene_mitch_default_m_1b1a38325729f000.Wav b/audioware/vanilla/zh-cn/v_scene_mitch_default_m_1b1a38325729f000.Wav new file mode 100755 index 00000000..290fad2d Binary files /dev/null and b/audioware/vanilla/zh-cn/v_scene_mitch_default_m_1b1a38325729f000.Wav differ diff --git a/audioware/voices.zh-cn.yml b/audioware/voices.zh-cn.yml new file mode 100644 index 00000000..479fc4fe --- /dev/null +++ b/audioware/voices.zh-cn.yml @@ -0,0 +1,218 @@ +version: 1.0.0 +voices: + ono_hhuh: + fem: + zh-cn: + file: vanilla/zh-cn/v_q113_f_1956c7fde04e1000.Wav + subtitle: 哼? + male: + zh-cn: + file: vanilla/zh-cn/v_q113_m_1956c7fde04e1000.Wav + subtitle: 哼? + ono_huh: + fem: + zh-cn: + file: vanilla/zh-cn/v_q004_f_168ac1406f29f000.Wav + subtitle: 什么? + male: + zh-cn: + file: vanilla/zh-cn/v_q004_m_168ac1406f29f000.Wav + subtitle: 什么? + ono_huhuh: + fem: + zh-cn: + file: vanilla/zh-cn/v_q003_f_178d53e0694b6000.Wav + subtitle: 嗯哼…… + male: + zh-cn: + file: vanilla/zh-cn/v_q003_m_178d53e0694b6000.Wav + subtitle: 嗯哼…… + biomon: + fem: + zh-cn: + file: zh-cn/surprised/fem_v_b.wav + subtitle: Biomon…… + male: + zh-cn: + file: zh-cn/surprised/male_v_b.wav + subtitle: Biomon…… + as_if_I_didnt_know_already: + fem: + zh-cn: + file: zh-cn/disheartened/fem_v_aiidka.wav + subtitle: 好像我不知道似的…… + male: + zh-cn: + file: zh-cn/disheartened/male_v_aiidka.wav + subtitle: 好像我不知道似的…… + come_on_again: + fem: + zh-cn: + file: zh-cn/surprised/fem_v_coa.wav + subtitle: 拜托……还来? + male: + zh-cn: + file: zh-cn/surprised/male_v_coa.wav + subtitle: 拜托……还来? + come_on_biomon_cant_you_give_me_a_break: + fem: + zh-cn: + file: zh-cn/disheartened/fem_v_cobcygmab.wav + subtitle: 拜托biomon,就不能放过我? + male: + zh-cn: + file: zh-cn/disheartened/male_v_cobcygmab.wav + subtitle: 拜托biomon,就不能放过我? + damn_cant_you_just_leave_me_alone: + fem: + zh-cn: + file: zh-cn/disheartened/fem_v_dcyjlma.wav + subtitle: 该死,能别打扰我吗? + male: + zh-cn: + file: zh-cn/disheartened/male_v_dcyjlma.wav + subtitle: 该死,能别打扰我吗? + damn_thats_fucked_up: + fem: + zh-cn: + file: zh-cn/surprised/fem_v_dtfu.wav + subtitle: 见鬼,太操蛋了! + male: + zh-cn: + file: zh-cn/surprised/male_v_dtfu.wav + subtitle: 见鬼,太操蛋了! + dont_you_see_Im_in_trouble: + fem: + zh-cn: + file: zh-cn/pestered/fem_v_dysiit.wav + subtitle: 看不出来我忙着呢吗 + male: + zh-cn: + file: zh-cn/pestered/male_v_dysiit.wav + subtitle: 看不出来我忙着呢吗 + fuck: + fem: + zh-cn: + file: vanilla/zh-cn/v_q115_f_1752ea11b74e1000.wav + subtitle: 操…… + male: + zh-cn: + file: vanilla/zh-cn/v_q115_m_1752ea11b74e1000.wav + subtitle: 操…… + fuck_this_biomon_just_not_right_now: + fem: + zh-cn: + file: zh-cn/pestered/fem_v_ftbnrn.wav + subtitle: 去他妈Biomon!别添乱! + male: + zh-cn: + file: zh-cn/pestered/male_v_ftbnrn.wav + subtitle: 去他妈Biomon!别添乱! + get_this_damn_UI_out_of_my_face: + fem: + zh-cn: + file: zh-cn/pestered/fem_v_gtduioomf.wav + subtitle: 让这界面从我面前消失! + male: + zh-cn: + file: zh-cn/pestered/male_v_gtduioomf.wav + subtitle: 让这界面从我面前消失! + nah_everything_is_all_good: + fem: + zh-cn: + file: vanilla/zh-cn/v_scene_dex_default_f_182ad40c364ea000.Wav + subtitle: 不用,都很好。 + male: + zh-cn: + file: vanilla/zh-cn/v_scene_dex_default_m_182ad40c364ea000.Wav + subtitle: 不用,都很好。 + nah_Im_cool: + fem: + zh-cn: + file: zh-cn/offhanded/fem_v_nic.wav + subtitle: 不用,我没事。 + male: + zh-cn: + file: zh-cn/offhanded/male_v_nic.wav + subtitle: 不用,我没事。 + noo: + fem: + zh-cn: + file: vanilla/zh-cn/v_scene_mitch_default_f_1b1a38325729f000.Wav + subtitle: 哦,我操! + male: + zh-cn: + file: vanilla/zh-cn/v_scene_mitch_default_m_1b1a38325729f000.Wav + subtitle: 哦,我操! + oh_shit: + fem: + zh-cn: + file: vanilla/zh-cn/v_q000_f_1927fae1772ef000.Wav + subtitle: 妈的…… + male: + zh-cn: + file: vanilla/zh-cn/v_q000_m_1927fae1772ef000.Wav + subtitle: 妈的…… + shit: + fem: + zh-cn: + file: vanilla/zh-cn/v_q104_f_18545e4c6a4e6000.Wav + subtitle: 操! + male: + zh-cn: + file: vanilla/zh-cn/v_q104_m_18545e4c6a4e6000.Wav + subtitle: 操! + so_frustrating: + fem: + zh-cn: + file: zh-cn/pestered/fem_v_sf.wav + subtitle: 太烦了! + male: + zh-cn: + file: zh-cn/pestered/male_v_sf.wav + subtitle: 太烦了! + what: + fem: + zh-cn: + file: vanilla/zh-cn/v_q104_f_18980f710d29f000.Wav + subtitle: 怎么…… + male: + zh-cn: + file: vanilla/zh-cn/v_q104_m_18980f710d29f000.Wav + subtitle: 怎么…… + yeah_I_know: + fem: + zh-cn: + file: zh-cn/disheartened/fem_v_yik.wav + subtitle: 对,我明白。 + male: + zh-cn: + file: zh-cn/disheartened/male_v_yik.wav + subtitle: 对,我明白。 + yeah_yeah_yeah_alright: + fem: + zh-cn: + file: zh-cn/offhanded/fem_v_yyya.wav + subtitle: 对对对……好吧。 + male: + zh-cn: + file: zh-cn/offhanded/male_v_yyya.wav + subtitle: 对对对……好吧。 + yeah_yeah_yeah_who_cares: + fem: + zh-cn: + file: zh-cn/offhanded/fem_v_yyywc.wav + subtitle: 好好好……谁在乎呢? + male: + zh-cn: + file: zh-cn/offhanded/male_v_yyywc.wav + subtitle: 好好好……谁在乎呢? + you_tell_me_biomon: + fem: + zh-cn: + file: zh-cn/offhanded/fem_v_ytmb.wav + subtitle: 你说呢?Biomon。 + male: + zh-cn: + file: zh-cn/offhanded/male_v_ytmb.wav + subtitle: 你说呢?Biomon。 diff --git a/audioware/zh-cn/disheartened/fem_v_aiidka.wav b/audioware/zh-cn/disheartened/fem_v_aiidka.wav new file mode 100644 index 00000000..cb99f9f3 Binary files /dev/null and b/audioware/zh-cn/disheartened/fem_v_aiidka.wav differ diff --git a/audioware/zh-cn/disheartened/fem_v_cobcygmab.wav b/audioware/zh-cn/disheartened/fem_v_cobcygmab.wav new file mode 100644 index 00000000..efd10811 Binary files /dev/null and b/audioware/zh-cn/disheartened/fem_v_cobcygmab.wav differ diff --git a/audioware/zh-cn/disheartened/fem_v_dcyjlma.wav b/audioware/zh-cn/disheartened/fem_v_dcyjlma.wav new file mode 100644 index 00000000..a516041c Binary files /dev/null and b/audioware/zh-cn/disheartened/fem_v_dcyjlma.wav differ diff --git a/audioware/zh-cn/disheartened/fem_v_yik.wav b/audioware/zh-cn/disheartened/fem_v_yik.wav new file mode 100644 index 00000000..36427a95 Binary files /dev/null and b/audioware/zh-cn/disheartened/fem_v_yik.wav differ diff --git a/audioware/zh-cn/disheartened/male_v_aiidka.wav b/audioware/zh-cn/disheartened/male_v_aiidka.wav new file mode 100644 index 00000000..18053468 Binary files /dev/null and b/audioware/zh-cn/disheartened/male_v_aiidka.wav differ diff --git a/audioware/zh-cn/disheartened/male_v_cobcygmab.wav b/audioware/zh-cn/disheartened/male_v_cobcygmab.wav new file mode 100644 index 00000000..c00580f3 Binary files /dev/null and b/audioware/zh-cn/disheartened/male_v_cobcygmab.wav differ diff --git a/audioware/zh-cn/disheartened/male_v_dcyjlma.wav b/audioware/zh-cn/disheartened/male_v_dcyjlma.wav new file mode 100644 index 00000000..2503d7c2 Binary files /dev/null and b/audioware/zh-cn/disheartened/male_v_dcyjlma.wav differ diff --git a/audioware/zh-cn/disheartened/male_v_yik.wav b/audioware/zh-cn/disheartened/male_v_yik.wav new file mode 100644 index 00000000..8de41407 Binary files /dev/null and b/audioware/zh-cn/disheartened/male_v_yik.wav differ diff --git a/audioware/zh-cn/offhanded/fem_v_nic.wav b/audioware/zh-cn/offhanded/fem_v_nic.wav new file mode 100644 index 00000000..a1980919 Binary files /dev/null and b/audioware/zh-cn/offhanded/fem_v_nic.wav differ diff --git a/audioware/zh-cn/offhanded/fem_v_ytmb.wav b/audioware/zh-cn/offhanded/fem_v_ytmb.wav new file mode 100644 index 00000000..a85dae3c Binary files /dev/null and b/audioware/zh-cn/offhanded/fem_v_ytmb.wav differ diff --git a/audioware/zh-cn/offhanded/fem_v_yyya.wav b/audioware/zh-cn/offhanded/fem_v_yyya.wav new file mode 100644 index 00000000..75797572 Binary files /dev/null and b/audioware/zh-cn/offhanded/fem_v_yyya.wav differ diff --git a/audioware/zh-cn/offhanded/fem_v_yyywc.wav b/audioware/zh-cn/offhanded/fem_v_yyywc.wav new file mode 100644 index 00000000..5b9e28f1 Binary files /dev/null and b/audioware/zh-cn/offhanded/fem_v_yyywc.wav differ diff --git a/audioware/zh-cn/offhanded/male_v_nic.wav b/audioware/zh-cn/offhanded/male_v_nic.wav new file mode 100644 index 00000000..c64f9c70 Binary files /dev/null and b/audioware/zh-cn/offhanded/male_v_nic.wav differ diff --git a/audioware/zh-cn/offhanded/male_v_ytmb.wav b/audioware/zh-cn/offhanded/male_v_ytmb.wav new file mode 100644 index 00000000..d77ed7aa Binary files /dev/null and b/audioware/zh-cn/offhanded/male_v_ytmb.wav differ diff --git a/audioware/zh-cn/offhanded/male_v_yyya.wav b/audioware/zh-cn/offhanded/male_v_yyya.wav new file mode 100644 index 00000000..fbb51560 Binary files /dev/null and b/audioware/zh-cn/offhanded/male_v_yyya.wav differ diff --git a/audioware/zh-cn/offhanded/male_v_yyywc.wav b/audioware/zh-cn/offhanded/male_v_yyywc.wav new file mode 100644 index 00000000..1eea2877 Binary files /dev/null and b/audioware/zh-cn/offhanded/male_v_yyywc.wav differ diff --git a/audioware/zh-cn/pestered/fem_v_dysiit.wav b/audioware/zh-cn/pestered/fem_v_dysiit.wav new file mode 100644 index 00000000..68f09d08 Binary files /dev/null and b/audioware/zh-cn/pestered/fem_v_dysiit.wav differ diff --git a/audioware/zh-cn/pestered/fem_v_ftbnrn.wav b/audioware/zh-cn/pestered/fem_v_ftbnrn.wav new file mode 100644 index 00000000..4a18c910 Binary files /dev/null and b/audioware/zh-cn/pestered/fem_v_ftbnrn.wav differ diff --git a/audioware/zh-cn/pestered/fem_v_gtduioomf.wav b/audioware/zh-cn/pestered/fem_v_gtduioomf.wav new file mode 100644 index 00000000..5c914be5 Binary files /dev/null and b/audioware/zh-cn/pestered/fem_v_gtduioomf.wav differ diff --git a/audioware/zh-cn/pestered/fem_v_sf.wav b/audioware/zh-cn/pestered/fem_v_sf.wav new file mode 100644 index 00000000..6630aa28 Binary files /dev/null and b/audioware/zh-cn/pestered/fem_v_sf.wav differ diff --git a/audioware/zh-cn/pestered/male_v_dysiit.wav b/audioware/zh-cn/pestered/male_v_dysiit.wav new file mode 100644 index 00000000..2c5b2d41 Binary files /dev/null and b/audioware/zh-cn/pestered/male_v_dysiit.wav differ diff --git a/audioware/zh-cn/pestered/male_v_ftbnrn.wav b/audioware/zh-cn/pestered/male_v_ftbnrn.wav new file mode 100644 index 00000000..7f07e0a2 Binary files /dev/null and b/audioware/zh-cn/pestered/male_v_ftbnrn.wav differ diff --git a/audioware/zh-cn/pestered/male_v_gtduioomf.wav b/audioware/zh-cn/pestered/male_v_gtduioomf.wav new file mode 100644 index 00000000..6cf6b8d1 Binary files /dev/null and b/audioware/zh-cn/pestered/male_v_gtduioomf.wav differ diff --git a/audioware/zh-cn/pestered/male_v_sf.wav b/audioware/zh-cn/pestered/male_v_sf.wav new file mode 100644 index 00000000..925939fa Binary files /dev/null and b/audioware/zh-cn/pestered/male_v_sf.wav differ diff --git a/audioware/zh-cn/surprised/fem_v_b.wav b/audioware/zh-cn/surprised/fem_v_b.wav new file mode 100644 index 00000000..5be7f19d Binary files /dev/null and b/audioware/zh-cn/surprised/fem_v_b.wav differ diff --git a/audioware/zh-cn/surprised/fem_v_coa.wav b/audioware/zh-cn/surprised/fem_v_coa.wav new file mode 100644 index 00000000..b38abedc Binary files /dev/null and b/audioware/zh-cn/surprised/fem_v_coa.wav differ diff --git a/audioware/zh-cn/surprised/fem_v_dtfu.wav b/audioware/zh-cn/surprised/fem_v_dtfu.wav new file mode 100644 index 00000000..b5787ad1 Binary files /dev/null and b/audioware/zh-cn/surprised/fem_v_dtfu.wav differ diff --git a/audioware/zh-cn/surprised/male_v_b.wav b/audioware/zh-cn/surprised/male_v_b.wav new file mode 100644 index 00000000..8d8e784f Binary files /dev/null and b/audioware/zh-cn/surprised/male_v_b.wav differ diff --git a/audioware/zh-cn/surprised/male_v_coa.wav b/audioware/zh-cn/surprised/male_v_coa.wav new file mode 100644 index 00000000..874dc244 Binary files /dev/null and b/audioware/zh-cn/surprised/male_v_coa.wav differ diff --git a/audioware/zh-cn/surprised/male_v_dtfu.wav b/audioware/zh-cn/surprised/male_v_dtfu.wav new file mode 100644 index 00000000..3465d006 Binary files /dev/null and b/audioware/zh-cn/surprised/male_v_dtfu.wav differ diff --git a/justfile b/justfile index b4c8809a..a6df5e70 100644 --- a/justfile +++ b/justfile @@ -62,3 +62,6 @@ default: @cr2w LOCALE='en-us': just recipes/archive/cr2w '{{LOCALE}}' + +@encode LOCALE='en-us' OVERWRITE='false': + just recipes/audioware/encode '{{LOCALE}}' '{{OVERWRITE}}' \ No newline at end of file diff --git a/recipes/audioware/justfile b/recipes/audioware/justfile index 943a3386..204abbe5 100644 --- a/recipes/audioware/justfile +++ b/recipes/audioware/justfile @@ -15,4 +15,20 @@ tree := 'mods' just copy '{{ join(source, "voices." + LOCALE + ".yml") }}' '{{ join(TO, tree, mod, "voices.yml") }}' @uninstall FROM: - just trash '{{ join(FROM, tree, mod) }}' \ No newline at end of file + just trash '{{ join(FROM, tree, mod) }}' + +# encode .mp3 back into .wav +[macos] +@encode LOCALE='en-us' OVERWRITE='false': + folders=('{{ join(source, "vanilla", LOCALE) }}' '{{ join(source, LOCALE, "disheartened") }}' '{{ join(source, LOCALE, "offhanded") }}' '{{ join(source, LOCALE, "pestered") }}' '{{ join(source, LOCALE, "surprised") }}'); \ + for folder in ${folders[@]}; do \ + just encode-folder $folder OVERWRITE='{{OVERWRITE}}'; \ + done + +[macos] +@encode-folder FOLDER OVERWRITE='false': + for file in `ls {{FOLDER}}`; do \ + if [[ ('{{OVERWRITE}}' != 'false' || ! -f '{{ FOLDER }}'/${file%.mp3}.wav) && $file == *.mp3 ]]; then \ + ffmpeg -i '{{ FOLDER }}'/$file -ar 44100 -sample_fmt s16 -y '{{ FOLDER }}'/${file%.mp3}.wav; \ + fi \ + done diff --git a/scripts/Addicted/helpers/Feeling.reds b/scripts/Addicted/helpers/Feeling.reds index 9b7ac20f..e6bdf697 100644 --- a/scripts/Addicted/helpers/Feeling.reds +++ b/scripts/Addicted/helpers/Feeling.reds @@ -68,7 +68,8 @@ public class Feeling { if StrLen(language) == 0 { language = "en-us"; } if NotEquals(language, "en-us") && NotEquals(language, "fr-fr") - && NotEquals(language, "es-es") { return n""; } + && NotEquals(language, "es-es") + && NotEquals(language, "zh-cn") { return n""; } let output: CName; let choices: array;