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
|
public class Data
|
||||||
{
|
{
|
||||||
|
[JsonProperty("saveId")]
|
||||||
|
public long SaveId = 0;
|
||||||
|
|
||||||
[JsonProperty("name")]
|
[JsonProperty("name")]
|
||||||
public string Name = "プレイヤー1";
|
public string Name = "プレイヤー1";
|
||||||
|
|
||||||
|
@ -1095,6 +1095,7 @@ namespace TJAPlayer3
|
|||||||
public double db再生速度;
|
public double db再生速度;
|
||||||
public string GENRE;
|
public string GENRE;
|
||||||
public string MAKER;
|
public string MAKER;
|
||||||
|
public string[] NOTESDESIGNER = new string[(int)Difficulty.Total] { "", "", "", "", "", "", "" };
|
||||||
public bool EXPLICIT;
|
public bool EXPLICIT;
|
||||||
public string SELECTBG;
|
public string SELECTBG;
|
||||||
public Eジャンル eジャンル;
|
public Eジャンル eジャンル;
|
||||||
@ -7357,6 +7358,10 @@ namespace TJAPlayer3
|
|||||||
this.LEVEL.Taiko = (int)level;
|
this.LEVEL.Taiko = (int)level;
|
||||||
this.LEVELtaiko[this.n参照中の難易度] = (int)level;
|
this.LEVELtaiko[this.n参照中の難易度] = (int)level;
|
||||||
}
|
}
|
||||||
|
else if (strCommandName.StartsWith("NOTESDESIGNER"))
|
||||||
|
{
|
||||||
|
this.NOTESDESIGNER[this.n参照中の難易度] = strCommandParam;
|
||||||
|
}
|
||||||
else if (strCommandName.Equals("LIFE"))
|
else if (strCommandName.Equals("LIFE"))
|
||||||
{
|
{
|
||||||
// LIFE here
|
// LIFE here
|
||||||
|
@ -72,7 +72,8 @@ namespace TJAPlayer3
|
|||||||
public Dan_C[] Dan_C;
|
public Dan_C[] Dan_C;
|
||||||
public string strサブタイトル = "";
|
public string strサブタイトル = "";
|
||||||
public string strMaker = "";
|
public string strMaker = "";
|
||||||
public CDTX.ESide nSide = CDTX.ESide.eEx;
|
public string[] strNotesDesigner = new string[(int)Difficulty.Total] { "", "", "", "", "", "", "" };
|
||||||
|
public CDTX.ESide nSide = CDTX.ESide.eEx;
|
||||||
public bool bExplicit = false;
|
public bool bExplicit = false;
|
||||||
public bool bMovie = false;
|
public bool bMovie = false;
|
||||||
public string strBreadcrumbs = ""; // #27060 2011.2.27 yyagi; MUSIC BOXのパンくずリスト (曲リスト構造内の絶対位置捕捉のために使う)
|
public string strBreadcrumbs = ""; // #27060 2011.2.27 yyagi; MUSIC BOXのパンくずリスト (曲リスト構造内の絶対位置捕捉のために使う)
|
||||||
|
@ -222,6 +222,9 @@ namespace TJAPlayer3
|
|||||||
c曲リストノード.strサブタイトル = dtx.SUBTITLE;
|
c曲リストノード.strサブタイトル = dtx.SUBTITLE;
|
||||||
c曲リストノード.strジャンル = dtx.GENRE;
|
c曲リストノード.strジャンル = dtx.GENRE;
|
||||||
c曲リストノード.strMaker = dtx.MAKER;
|
c曲リストノード.strMaker = dtx.MAKER;
|
||||||
|
|
||||||
|
c曲リストノード.strNotesDesigner = dtx.NOTESDESIGNER.Select(x => x.Equals("") ? c曲リストノード.strMaker : x).ToArray();
|
||||||
|
|
||||||
c曲リストノード.nSide = dtx.SIDE;
|
c曲リストノード.nSide = dtx.SIDE;
|
||||||
c曲リストノード.bExplicit = dtx.EXPLICIT;
|
c曲リストノード.bExplicit = dtx.EXPLICIT;
|
||||||
c曲リストノード.bMovie = !string.IsNullOrEmpty(dtx.strBGVIDEO_PATH);
|
c曲リストノード.bMovie = !string.IsNullOrEmpty(dtx.strBGVIDEO_PATH);
|
||||||
@ -415,7 +418,8 @@ namespace TJAPlayer3
|
|||||||
c曲リストノード.strタイトル = dtx.TITLE;
|
c曲リストノード.strタイトル = dtx.TITLE;
|
||||||
c曲リストノード.strサブタイトル = dtx.SUBTITLE;
|
c曲リストノード.strサブタイトル = dtx.SUBTITLE;
|
||||||
c曲リストノード.strMaker = dtx.MAKER;
|
c曲リストノード.strMaker = dtx.MAKER;
|
||||||
c曲リストノード.nSide = dtx.SIDE;
|
c曲リストノード.strNotesDesigner = dtx.NOTESDESIGNER.Select(x => x.Equals("") ? c曲リストノード.strMaker : x).ToArray();
|
||||||
|
c曲リストノード.nSide = dtx.SIDE;
|
||||||
c曲リストノード.bExplicit = dtx.EXPLICIT;
|
c曲リストノード.bExplicit = dtx.EXPLICIT;
|
||||||
c曲リストノード.bMovie = !string.IsNullOrEmpty(dtx.strBGVIDEO_PATH);
|
c曲リストノード.bMovie = !string.IsNullOrEmpty(dtx.strBGVIDEO_PATH);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user