Parse the NOTESDESIGNER tag and defaults it to MAKER if missing
This commit is contained in:
parent
fe37e0a9a0
commit
02ac8a8ccb
18
OpenTaiko/Databases/UnlockablesDocumentation.txt
Normal file
18
OpenTaiko/Databases/UnlockablesDocumentation.txt
Normal file
@ -0,0 +1,18 @@
|
||||
== UnlockCondition ==
|
||||
|
||||
* ch : "Coins here", coin requirement, payable within the heya menu, 1 value : [Coin price]
|
||||
* cs : "Coins shop", coin requirement, payable only within the Medal shop selection screen
|
||||
* cm : "Coins menu", coin requirement, payable only within the song select screen (used only for songs)
|
||||
* dp : "Difficulty pass", count of difficulties pass, unlock check during the results screen, condition 3 values : [Difficulty int (0~4), Clear status (0~2), Number of performances], input 1 value [Plays fitting the condition]
|
||||
* lp : "Level pass", count of level pass, unlock check during the results screen, condition 3 values : [Star rating, Clear status (0~2), Number of performances], input 1 value [Plays fitting the condition]
|
||||
* sp : "Song performance", count of a specific song pass, unlock check during the results screen, condition 2 x n values for n songs : [Difficulty int (0~4, if -1 : Any), Clear status (0~2), ...], input 1 value [Count of fullfiled songs], n references for n songs (Song ids)
|
||||
* sg : "Song genre (performance)", count of any song pass within a specific genre folder, unlock check during the results screen, condition 3 x n values for n songs : [Song count, Difficulty int (0~4, if -1 : Any), Clear status (0~2), ...], input 1 value [Count of fullfiled genres], n references for n genres (Genre names)
|
||||
|
||||
|
||||
== UnlockType ==
|
||||
* l : "Less than"
|
||||
* le : "Less or equal"
|
||||
* e : "Equal"
|
||||
* me : "More or equal" (Default)
|
||||
* m : "More than"
|
||||
* d : "Different"
|
BIN
OpenTaiko/Saves.db3
Normal file
BIN
OpenTaiko/Saves.db3
Normal file
Binary file not shown.
@ -192,6 +192,9 @@ namespace TJAPlayer3
|
||||
|
||||
public class Data
|
||||
{
|
||||
[JsonProperty("saveId")]
|
||||
public long SaveId = 0;
|
||||
|
||||
[JsonProperty("name")]
|
||||
public string Name = "プレイヤー1";
|
||||
|
||||
|
@ -1095,6 +1095,7 @@ namespace TJAPlayer3
|
||||
public double db再生速度;
|
||||
public string GENRE;
|
||||
public string MAKER;
|
||||
public string[] NOTESDESIGNER = new string[(int)Difficulty.Total] { "", "", "", "", "", "", "" };
|
||||
public bool EXPLICIT;
|
||||
public string SELECTBG;
|
||||
public Eジャンル eジャンル;
|
||||
@ -7357,6 +7358,10 @@ namespace TJAPlayer3
|
||||
this.LEVEL.Taiko = (int)level;
|
||||
this.LEVELtaiko[this.n参照中の難易度] = (int)level;
|
||||
}
|
||||
else if (strCommandName.StartsWith("NOTESDESIGNER"))
|
||||
{
|
||||
this.NOTESDESIGNER[this.n参照中の難易度] = strCommandParam;
|
||||
}
|
||||
else if (strCommandName.Equals("LIFE"))
|
||||
{
|
||||
// LIFE here
|
||||
|
@ -72,6 +72,7 @@ namespace TJAPlayer3
|
||||
public Dan_C[] Dan_C;
|
||||
public string strサブタイトル = "";
|
||||
public string strMaker = "";
|
||||
public string[] strNotesDesigner = new string[(int)Difficulty.Total] { "", "", "", "", "", "", "" };
|
||||
public CDTX.ESide nSide = CDTX.ESide.eEx;
|
||||
public bool bExplicit = false;
|
||||
public bool bMovie = false;
|
||||
|
@ -222,6 +222,9 @@ namespace TJAPlayer3
|
||||
c曲リストノード.strサブタイトル = dtx.SUBTITLE;
|
||||
c曲リストノード.strジャンル = dtx.GENRE;
|
||||
c曲リストノード.strMaker = dtx.MAKER;
|
||||
|
||||
c曲リストノード.strNotesDesigner = dtx.NOTESDESIGNER.Select(x => x.Equals("") ? c曲リストノード.strMaker : x).ToArray();
|
||||
|
||||
c曲リストノード.nSide = dtx.SIDE;
|
||||
c曲リストノード.bExplicit = dtx.EXPLICIT;
|
||||
c曲リストノード.bMovie = !string.IsNullOrEmpty(dtx.strBGVIDEO_PATH);
|
||||
@ -415,6 +418,7 @@ namespace TJAPlayer3
|
||||
c曲リストノード.strタイトル = dtx.TITLE;
|
||||
c曲リストノード.strサブタイトル = dtx.SUBTITLE;
|
||||
c曲リストノード.strMaker = dtx.MAKER;
|
||||
c曲リストノード.strNotesDesigner = dtx.NOTESDESIGNER.Select(x => x.Equals("") ? c曲リストノード.strMaker : x).ToArray();
|
||||
c曲リストノード.nSide = dtx.SIDE;
|
||||
c曲リストノード.bExplicit = dtx.EXPLICIT;
|
||||
c曲リストノード.bMovie = !string.IsNullOrEmpty(dtx.strBGVIDEO_PATH);
|
||||
|
Loading…
x
Reference in New Issue
Block a user