Fix #316 (Move hitsounds to Global folder)
This commit is contained in:
parent
ec3ff3d332
commit
57d7d05cdb
@ -806,7 +806,8 @@ namespace TJAPlayer3
|
||||
ReloadSkin();
|
||||
tReadSkinConfig();
|
||||
|
||||
hsHitSoundsInformations = new CHitSounds(Path(@"Sounds\HitSounds\HitSounds.json"));
|
||||
//hsHitSoundsInformations = new CHitSounds(Path(@"Sounds\HitSounds\HitSounds.json"));
|
||||
hsHitSoundsInformations = new CHitSounds(@"Global\HitSounds\HitSounds.json");
|
||||
}
|
||||
|
||||
public void ReloadSkin()
|
||||
|
@ -303,10 +303,15 @@ namespace TJAPlayer3
|
||||
|
||||
var hs = TJAPlayer3.Skin.hsHitSoundsInformations;
|
||||
|
||||
this.soundRed[i] = TJAPlayer3.Sound管理.tサウンドを生成する(CSkin.Path(hs.don[actual]), ESoundGroup.SoundEffect);
|
||||
this.soundBlue[i] = TJAPlayer3.Sound管理.tサウンドを生成する(CSkin.Path(hs.ka[actual]), ESoundGroup.SoundEffect);
|
||||
this.soundAdlib[i] = TJAPlayer3.Sound管理.tサウンドを生成する(CSkin.Path(hs.adlib[actual]), ESoundGroup.SoundEffect);
|
||||
this.soundClap[i] = TJAPlayer3.Sound管理.tサウンドを生成する(CSkin.Path(hs.clap[actual]), ESoundGroup.SoundEffect);
|
||||
//this.soundRed[i] = TJAPlayer3.Sound管理.tサウンドを生成する(CSkin.Path(hs.don[actual]), ESoundGroup.SoundEffect);
|
||||
//this.soundBlue[i] = TJAPlayer3.Sound管理.tサウンドを生成する(CSkin.Path(hs.ka[actual]), ESoundGroup.SoundEffect);
|
||||
//this.soundAdlib[i] = TJAPlayer3.Sound管理.tサウンドを生成する(CSkin.Path(hs.adlib[actual]), ESoundGroup.SoundEffect);
|
||||
//this.soundClap[i] = TJAPlayer3.Sound管理.tサウンドを生成する(CSkin.Path(hs.clap[actual]), ESoundGroup.SoundEffect);
|
||||
|
||||
this.soundRed[i] = TJAPlayer3.Sound管理.tサウンドを生成する((@"Global\HitSounds\" + hs.don[actual]), ESoundGroup.SoundEffect);
|
||||
this.soundBlue[i] = TJAPlayer3.Sound管理.tサウンドを生成する((@"Global\HitSounds\" + hs.ka[actual]), ESoundGroup.SoundEffect);
|
||||
this.soundAdlib[i] = TJAPlayer3.Sound管理.tサウンドを生成する((@"Global\HitSounds\" + hs.adlib[actual]), ESoundGroup.SoundEffect);
|
||||
this.soundClap[i] = TJAPlayer3.Sound管理.tサウンドを生成する((@"Global\HitSounds\" + hs.clap[actual]), ESoundGroup.SoundEffect);
|
||||
|
||||
int _panning = TJAPlayer3.ConfigIni.nPanning[TJAPlayer3.ConfigIni.nPlayerCount - 1][i];
|
||||
this.soundRed[i].n位置 = _panning;
|
||||
|
BIN
Test/Global/HitSounds/Electro/Adlib.wav
Normal file
BIN
Test/Global/HitSounds/Electro/Adlib.wav
Normal file
Binary file not shown.
BIN
Test/Global/HitSounds/Electro/clap.wav
Normal file
BIN
Test/Global/HitSounds/Electro/clap.wav
Normal file
Binary file not shown.
BIN
Test/Global/HitSounds/Electro/dong.wav
Normal file
BIN
Test/Global/HitSounds/Electro/dong.wav
Normal file
Binary file not shown.
BIN
Test/Global/HitSounds/Electro/ka.wav
Normal file
BIN
Test/Global/HitSounds/Electro/ka.wav
Normal file
Binary file not shown.
22
Test/Global/HitSounds/HitSounds.json
Normal file
22
Test/Global/HitSounds/HitSounds.json
Normal file
@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"name": "Taiko",
|
||||
"path": "Taiko\\",
|
||||
"format": "OGG",
|
||||
},
|
||||
{
|
||||
"name": "Electro",
|
||||
"path": "Electro\\",
|
||||
"format": "WAV",
|
||||
},
|
||||
{
|
||||
"name": "Konga",
|
||||
"path": "Konga\\",
|
||||
"format": "WAV",
|
||||
},
|
||||
{
|
||||
"name": "None",
|
||||
"path": "None\\",
|
||||
"format": "WAV",
|
||||
},
|
||||
]
|
BIN
Test/Global/HitSounds/Konga/Adlib.wav
Normal file
BIN
Test/Global/HitSounds/Konga/Adlib.wav
Normal file
Binary file not shown.
BIN
Test/Global/HitSounds/Konga/clap.wav
Normal file
BIN
Test/Global/HitSounds/Konga/clap.wav
Normal file
Binary file not shown.
BIN
Test/Global/HitSounds/Konga/dong.wav
Normal file
BIN
Test/Global/HitSounds/Konga/dong.wav
Normal file
Binary file not shown.
BIN
Test/Global/HitSounds/Konga/ka.wav
Normal file
BIN
Test/Global/HitSounds/Konga/ka.wav
Normal file
Binary file not shown.
BIN
Test/Global/HitSounds/Taiko/Adlib.ogg
Normal file
BIN
Test/Global/HitSounds/Taiko/Adlib.ogg
Normal file
Binary file not shown.
BIN
Test/Global/HitSounds/Taiko/clap.ogg
Normal file
BIN
Test/Global/HitSounds/Taiko/clap.ogg
Normal file
Binary file not shown.
BIN
Test/Global/HitSounds/Taiko/dong.ogg
Normal file
BIN
Test/Global/HitSounds/Taiko/dong.ogg
Normal file
Binary file not shown.
BIN
Test/Global/HitSounds/Taiko/ka.ogg
Normal file
BIN
Test/Global/HitSounds/Taiko/ka.ogg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user