OSDN Git Service

#xxxxx リリース番号を107に変更。
authoryyagi <yyagi.dtxmania@gmail.com>
Sun, 25 Sep 2016 09:39:34 +0000 (17:39 +0800)
committeryyagi <yyagi.dtxmania@gmail.com>
Sun, 25 Sep 2016 09:39:34 +0000 (17:39 +0800)
#xxxxx score.iniファイルにおいて、レーン数が10より多い譜面のAUTO情報の読み込みをスキップするようにした。
#xxxxx 終了処理の改善。

DTXManiaプロジェクト/Properties/AssemblyInfo.cs
DTXManiaプロジェクト/コード/スコア、曲/CScoreIni.cs
DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelectPopupMenu.cs
DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelect曲リスト.cs
DTXManiaプロジェクト/コード/全体/CDTXMania.cs
実行時フォルダ(DTXCreator)/dll/FDK.dll
実行時フォルダ/Coordinates.xml [new file with mode: 0644]
実行時フォルダ/DTXManiaGR.exe
実行時フォルダ/dll/FDK.dll

index 22b9888..367aa87 100644 (file)
@@ -33,8 +33,8 @@ using System.Resources;
 // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を \r
 // 既定値にすることができます:\r
 // [assembly: AssemblyVersion("1.0.*")]\r
-[assembly: AssemblyVersion( "106.0.0.0" )]\r
-[assembly: AssemblyFileVersion( "106.0.0.0" )]\r
+[assembly: AssemblyVersion( "107.0.0.0" )]\r
+[assembly: AssemblyFileVersion( "107.0.0.0" )]\r
 [assembly: NeutralResourcesLanguageAttribute("ja-JP")]\r
 \r
 // このアセンブリは「ライブラリ」である(難読化ツールへの指示)。\r
index d236eee..b25099a 100644 (file)
@@ -587,9 +587,17 @@ namespace DTXMania
                                                        }\r
                                                        else if (item.Equals("AutoPlay"))\r
                                                        {\r
-                                                               for (int i = 0; i < para.Length; i++)\r
+                                                               if ( para.Length > (int) EPad.Max )\r
                                                                {\r
-                                                                       c演奏記録.bAutoPlay[(EPad)i] = C変換.bONorOFF(para[i]);\r
+                                                                       throw new IndexOutOfRangeException( "レーン数が想定より多いscore.iniを読み込みました。XG譜面のscore.iniファイルである可能性があります。" );\r
+                                                                       // Trace.TraceWarning( "レーン数が想定より多いscore.iniを読み込みました。XG譜面のscore.iniファイルである可能性があります。読み込みをスキップします。({0})", iniファイル名 );\r
+                                                               }\r
+                                                               else\r
+                                                               {\r
+                                                                       for ( int i = 0; i < para.Length; i++ )\r
+                                                                       {\r
+                                                                               c演奏記録.bAutoPlay[ (EPad) i ] = C変換.bONorOFF( para[ i ] );\r
+                                                                       }\r
                                                                }\r
                                                        }\r
                                                        else if (item.Equals("GBFlip"))\r
index 17b7033..e743b40 100644 (file)
@@ -169,8 +169,8 @@ namespace DTXMania
                {\r
                        if (!base.b活性化してない)\r
                        {\r
-                               TextureFactory.tテクスチャの解放(ref this.txCursor);\r
-                               TextureFactory.tテクスチャの解放(ref this.txPopupMenuBackground);\r
+                               //TextureFactory.tテクスチャの解放(ref this.txCursor);\r
+                               //TextureFactory.tテクスチャの解放(ref this.txPopupMenuBackground);\r
                                for (int i = 0; i < 4; i++)\r
                                {\r
                                        this.ctキー反復用[i] = null;\r
@@ -199,10 +199,19 @@ namespace DTXMania
 \r
                public override void OnManagedリソースの解放()\r
                {\r
-                       if (!base.b活性化してない)\r
+                       if ( base.b活性化してる )\r
                        {\r
-                               TextureFactory.tテクスチャの解放(ref this.txPopupMenuBackground);\r
-                               TextureFactory.tテクスチャの解放(ref this.txCursor);\r
+                               TextureFactory.tテクスチャの解放( ref this.txPopupMenuBackground );\r
+                               TextureFactory.tテクスチャの解放( ref this.txCursor );\r
+\r
+                               TextureFactory.tテクスチャの解放( ref stqMenuTitle.txName );\r
+                               if ( lciMenuItems != null )\r
+                               {\r
+                                       for ( int i = 0; i < lciMenuItems.Length; i++ )\r
+                                       {\r
+                                               TextureFactory.tテクスチャの解放( ref lciMenuItems[i].txName );\r
+                                       }\r
+                               }\r
                        }\r
                        base.OnManagedリソースの解放();\r
                }\r
index bd79792..a6b2f6f 100644 (file)
@@ -322,11 +322,11 @@ namespace DTXMania
                /// <param name="cs"></param>\r
                public void Refresh(CSongs管理 cs, bool bRemakeSongTitleBar)    // #26070 2012.2.28 yyagi\r
                {\r
-                       //                      this.On非活性化();\r
-\r
                        if (cs != null && cs.list曲ルート.Count > 0)  // 新しい曲リストを検索して、1曲以上あった\r
                        {\r
+                               this.On非活性化();\r
                                CDTXMania.Instance.Songs管理 = cs;\r
+                               this.On活性化();\r
 \r
                                if (this.r現在選択中の曲 != null)      // r現在選択中の曲==null とは、「最初songlist.dbが無かった or 検索したが1曲もない」\r
                                {\r
@@ -349,9 +349,9 @@ namespace DTXMania
                                        return;\r
                                }\r
                        }\r
-                       this.On非活性化();\r
+                       //this.On非活性化();\r
                        this.r現在選択中の曲 = null;\r
-                       this.On活性化();\r
+                       //this.On活性化();\r
                }\r
 \r
 \r
@@ -1292,6 +1292,9 @@ namespace DTXMania
                        for (int i = 0; i < 5; i++)\r
                                song = this.r前の曲(song);\r
 \r
+                       if ( song == null )\r
+                               return;\r
+\r
                        for (int i = 0; i < 13; i++)\r
                        {\r
                                this.stバー情報[i].strタイトル文字列 = song.strタイトル;\r
index 773cc7e..297c110 100644 (file)
@@ -23,7 +23,7 @@ namespace DTXMania
        {\r
                // プロパティ\r
                #region [ properties ]\r
-               public static readonly string VERSION = "106(160822)";\r
+               public static readonly string VERSION = "107(160924)";\r
                public static readonly string SLIMDXDLL = "c_net20x86_Jun2010";\r
                public static readonly string D3DXDLL = "d3dx9_43.dll";     // June 2010\r
                                                                                                                                                                                                                                                                //public static readonly string D3DXDLL = "d3dx9_42.dll";       // February 2010\r
@@ -365,6 +365,10 @@ namespace DTXMania
                                        Trace.TraceInformation("コンパクトモードで起動します。[{0}]", strコンパクトモードファイル);\r
                                }\r
                        }\r
+                       else\r
+                       {\r
+                               Trace.TraceInformation( "通常モードで起動します。" );\r
+                       }\r
                        #endregion\r
 \r
                        #region [ Input管理 の初期化 ]\r
@@ -1990,7 +1994,6 @@ namespace DTXMania
 \r
                public void SaveConfig()\r
                {\r
-\r
                        #region [ Skinパスの絶対パス→相対パス変換 ]\r
                        string _strSystemSkinSubfolderPath = ConfigIni.strSystemSkinSubfolderPath.Value;\r
                        Uri uriRoot = new Uri( System.IO.Path.Combine( this.strEXEのあるフォルダ, "System" + System.IO.Path.DirectorySeparatorChar ) );\r
@@ -2131,6 +2134,11 @@ namespace DTXMania
                                }\r
                                //---------------------\r
                                #endregion\r
+\r
+                               #region [ 選曲ステージの終了処理 ]\r
+                               stage選曲.On非活性化();\r
+                               #endregion\r
+\r
                                #region [ プラグインの終了処理 ]\r
                                //---------------------\r
                                if (this.listプラグイン != null && this.listプラグイン.Count > 0)\r
@@ -2403,7 +2411,12 @@ namespace DTXMania
                                }\r
                                //---------------------\r
                                #endregion\r
-                               Trace.TraceInformation("アプリケーションの終了処理を完了しました。");\r
+                               #region [ DirectXの終了処理 ]\r
+                               //---------------------\r
+                               base.GraphicsDeviceManager.Dispose();\r
+                               //---------------------\r
+                               #endregion\r
+                               Trace.TraceInformation( "アプリケーションの終了処理を完了しました。" );\r
 \r
 \r
                                this.b終了処理完了済み = true;\r
index 8b2a166..1e0e731 100644 (file)
Binary files a/実行時フォルダ(DTXCreator)/dll/FDK.dll and b/実行時フォルダ(DTXCreator)/dll/FDK.dll differ
diff --git a/実行時フォルダ/Coordinates.xml b/実行時フォルダ/Coordinates.xml
new file mode 100644 (file)
index 0000000..79a6f7b
--- /dev/null
@@ -0,0 +1,332 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Coordinates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTXMania">
+  <BarLine>
+    <Bass>
+      <X>1440</X>
+    </Bass>
+    <Drums>
+      <X>619</X>
+    </Drums>
+    <Guitar>
+      <X>78</X>
+    </Guitar>
+  </BarLine>
+  <Combo>
+    <Bass>
+      <X>1584</X>
+      <Y>800</Y>
+    </Bass>
+    <Drums>
+      <X>960</X>
+      <Y>80</Y>
+    </Drums>
+    <Guitar>
+      <X>336</X>
+      <Y>800</Y>
+    </Guitar>
+  </Combo>
+  <Danger>
+    <Max>1856</Max>
+    <Min>0</Min>
+  </Danger>
+  <Debug>
+    <X>1350</X>
+    <Y>128</Y>
+  </Debug>
+  <DrumsPad>
+    <Y>930</Y>
+  </DrumsPad>
+  <DrumsPadOffsetBD>
+    <Y>30</Y>
+  </DrumsPadOffsetBD>
+  <DrumsPadOffsetCY>
+    <Y>15</Y>
+  </DrumsPadOffsetCY>
+  <DrumsPadOffsetFT>
+    <Y>30</Y>
+  </DrumsPadOffsetFT>
+  <DrumsPadOffsetHH>
+    <Y>10</Y>
+  </DrumsPadOffsetHH>
+  <DrumsPadOffsetHT>
+    <Y>0</Y>
+  </DrumsPadOffsetHT>
+  <DrumsPadOffsetLCY>
+    <Y>0</Y>
+  </DrumsPadOffsetLCY>
+  <DrumsPadOffsetLT>
+    <Y>15</Y>
+  </DrumsPadOffsetLT>
+  <DrumsPadOffsetRCY>
+    <X>80</X>
+    <Y>0</Y>
+  </DrumsPadOffsetRCY>
+  <DrumsPadOffsetSD>
+    <Y>22</Y>
+  </DrumsPadOffsetSD>
+  <Gauge>
+    <X>0</X>
+    <Y>1080</Y>
+  </Gauge>
+  <GaugeMax>1080</GaugeMax>
+  <Graph>
+    <Bass>
+      <X>1728</X>
+      <Y>0</Y>
+      <Height>400</Height>
+      <Width>60</Width>
+    </Bass>
+    <Drums>
+      <X>1274</X>
+      <Y>0</Y>
+      <Height>400</Height>
+      <Width>60</Width>
+    </Drums>
+    <Guitar>
+      <X>480</X>
+      <Y>0</Y>
+      <Height>400</Height>
+      <Width>60</Width>
+    </Guitar>
+  </Graph>
+  <HiddenFadeOutFrom>
+    <Bass i:nil="true" />
+    <Drums>
+      <Y>337</Y>
+    </Drums>
+    <Guitar i:nil="true" />
+  </HiddenFadeOutFrom>
+  <HiddenFrom>
+    <Bass>
+      <Y>225</Y>
+    </Bass>
+    <Drums>
+      <Y>225</Y>
+    </Drums>
+    <Guitar>
+      <Y>225</Y>
+    </Guitar>
+  </HiddenFrom>
+  <Judge>
+    <Bass>
+      <X>1584</X>
+      <Y>600</Y>
+    </Bass>
+    <BassDrum>
+      <X>924</X>
+      <Y>420</Y>
+    </BassDrum>
+    <Cymbal>
+      <X>1232</X>
+      <Y>420</Y>
+    </Cymbal>
+    <FloorTom>
+      <X>1154</X>
+      <Y>350</Y>
+    </FloorTom>
+    <Guitar>
+      <X>336</X>
+      <Y>600</Y>
+    </Guitar>
+    <HiHatClose>
+      <X>767</X>
+      <Y>420</Y>
+    </HiHatClose>
+    <HighTom>
+      <X>1010</X>
+      <Y>350</Y>
+    </HighTom>
+    <LeftCymbal>
+      <X>688</X>
+      <Y>350</Y>
+    </LeftCymbal>
+    <LowTom>
+      <X>1082</X>
+      <Y>420</Y>
+    </LowTom>
+    <SnareDrum>
+      <X>839</X>
+      <Y>350</Y>
+    </SnareDrum>
+  </Judge>
+  <JudgeLine>
+    <Bass>
+      <X>1440</X>
+      <Y>138</Y>
+      <Width>216</Width>
+    </Bass>
+    <Drums>
+      <X>646</X>
+      <Y>942</Y>
+      <Width>629</Width>
+    </Drums>
+    <Guitar>
+      <X>192</X>
+      <Y>138</Y>
+      <Width>216</Width>
+    </Guitar>
+  </JudgeLine>
+  <Lane>
+    <BassB>
+      <X>1584</X>
+      <Width>72</Width>
+    </BassB>
+    <BassDrum>
+      <X>875</X>
+      <Width>99</Width>
+    </BassDrum>
+    <BassG>
+      <X>1512</X>
+      <Width>72</Width>
+    </BassG>
+    <BassOpen>
+      <X>1440</X>
+      <Width>72</Width>
+    </BassOpen>
+    <BassR>
+      <X>1440</X>
+      <Width>72</Width>
+    </BassR>
+    <BassWailing>
+      <X>1656</X>
+      <Width>72</Width>
+    </BassWailing>
+    <Cymbal>
+      <X>1190</X>
+      <Width>85</Width>
+    </Cymbal>
+    <FloorTom>
+      <X>1118</X>
+      <Width>72</Width>
+    </FloorTom>
+    <GuitarB>
+      <X>336</X>
+      <Width>72</Width>
+    </GuitarB>
+    <GuitarG>
+      <X>264</X>
+      <Width>72</Width>
+    </GuitarG>
+    <GuitarOpen>
+      <X>192</X>
+      <Width>72</Width>
+    </GuitarOpen>
+    <GuitarR>
+      <X>192</X>
+      <Width>72</Width>
+    </GuitarR>
+    <GuitarWailing>
+      <X>408</X>
+      <Width>72</Width>
+    </GuitarWailing>
+    <HiHatClose>
+      <X>731</X>
+      <Width>72</Width>
+    </HiHatClose>
+    <HiHatOpen>
+      <X>731</X>
+      <Width>72</Width>
+    </HiHatOpen>
+    <HighTom>
+      <X>974</X>
+      <Width>72</Width>
+    </HighTom>
+    <LeftCymbal>
+      <X>646</X>
+      <Width>85</Width>
+    </LeftCymbal>
+    <LowTom>
+      <X>1046</X>
+      <Width>72</Width>
+    </LowTom>
+    <RideCymbal>
+      <X>1190</X>
+      <Width>85</Width>
+    </RideCymbal>
+    <SnareDrum>
+      <X>803</X>
+      <Width>72</Width>
+    </SnareDrum>
+  </Lane>
+  <LaneFlash>
+    <Bass>
+      <Y>0</Y>
+    </Bass>
+    <Drums>
+      <Y>312</Y>
+    </Drums>
+    <Guitar>
+      <Y>0</Y>
+    </Guitar>
+  </LaneFlash>
+  <MovieBGACommon>
+    <X>1153</X>
+    <Y>128</Y>
+    <Height>710</Height>
+    <Width>556</Width>
+  </MovieBGACommon>
+  <MovieBGADrumsOnly>
+    <X>1301</X>
+    <Y>128</Y>
+    <Height>710</Height>
+    <Width>556</Width>
+  </MovieBGADrumsOnly>
+  <MovieBGAGuitarsOnly>
+    <X>682</X>
+    <Y>112</Y>
+    <Height>710</Height>
+    <Width>556</Width>
+  </MovieBGAGuitarsOnly>
+  <Panel>
+    <X>1920</X>
+    <Y>0</Y>
+    <Height>0</Height>
+    <Width>0</Width>
+  </Panel>
+  <Score>
+    <Bass>
+      <X>1548</X>
+      <Y>10</Y>
+    </Bass>
+    <Drums>
+      <X>960</X>
+      <Y>10</Y>
+    </Drums>
+    <Guitar>
+      <X>300</X>
+      <Y>10</Y>
+    </Guitar>
+  </Score>
+  <StatusPanel>
+    <Bass>
+      <X>1395</X>
+      <Y>0</Y>
+    </Bass>
+    <Drums>
+      <X>601</X>
+      <Y>0</Y>
+    </Drums>
+    <Guitar>
+      <X>147</X>
+      <Y>0</Y>
+    </Guitar>
+  </StatusPanel>
+  <SuddenFadeInFrom>
+    <Bass i:nil="true" />
+    <Drums>
+      <Y>562</Y>
+    </Drums>
+    <Guitar i:nil="true" />
+  </SuddenFadeInFrom>
+  <SuddenFrom>
+    <Bass>
+      <Y>450</Y>
+    </Bass>
+    <Drums>
+      <Y>450</Y>
+    </Drums>
+    <Guitar>
+      <Y>450</Y>
+    </Guitar>
+  </SuddenFrom>
+</Coordinates>
\ No newline at end of file
index c6798b1..e267388 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ
index 8b2a166..1e0e731 100644 (file)
Binary files a/実行時フォルダ/dll/FDK.dll and b/実行時フォルダ/dll/FDK.dll differ