1
0
mirror of synced 2025-01-31 03:53:44 +01:00

Parse the NOTESDESIGNER tag and defaults it to MAKER if missing

This commit is contained in:
0auBSQ 2024-06-08 00:24:04 +09:00
parent fe37e0a9a0
commit 02ac8a8ccb
6 changed files with 33 additions and 2 deletions

View 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

Binary file not shown.

View File

@ -192,6 +192,9 @@ namespace TJAPlayer3
public class Data
{
[JsonProperty("saveId")]
public long SaveId = 0;
[JsonProperty("name")]
public string Name = "プレイヤー1";

View File

@ -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

View File

@ -72,7 +72,8 @@ namespace TJAPlayer3
public Dan_C[] Dan_C;
public string strサブタイトル = "";
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 bMovie = false;
public string strBreadcrumbs = ""; // #27060 2011.2.27 yyagi; MUSIC BOXのパンくずリスト (曲リスト構造内の絶対位置捕捉のために使う)

View File

@ -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,7 +418,8 @@ namespace TJAPlayer3
c曲リストード.strタイトル = dtx.TITLE;
c曲リストード.strサブタイトル = dtx.SUBTITLE;
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曲リストード.bMovie = !string.IsNullOrEmpty(dtx.strBGVIDEO_PATH);