diff --git a/source/@MasterVersion.txt b/source/@MasterVersion.txt index efcdd868..457562cf 100644 --- a/source/@MasterVersion.txt +++ b/source/@MasterVersion.txt @@ -1 +1 @@ -v10.3.8 +v10.3.9 diff --git a/source/ACT.Hojoring.Common/ACT.Hojoring.Common.csproj b/source/ACT.Hojoring.Common/ACT.Hojoring.Common.csproj index fa9fbcaf..3a9f812e 100644 --- a/source/ACT.Hojoring.Common/ACT.Hojoring.Common.csproj +++ b/source/ACT.Hojoring.Common/ACT.Hojoring.Common.csproj @@ -59,6 +59,11 @@ + + + Always + + Code diff --git a/source/ACT.Hojoring.Common/Version.cs b/source/ACT.Hojoring.Common/Version.cs index ff560dee..b13c6d84 100644 --- a/source/ACT.Hojoring.Common/Version.cs +++ b/source/ACT.Hojoring.Common/Version.cs @@ -1,4 +1,4 @@ using System.Reflection; -[assembly: AssemblyVersion("10.3.0.8")] -[assembly: AssemblyFileVersion("10.3.0.8")] +[assembly: AssemblyVersion("10.3.0.9")] +[assembly: AssemblyFileVersion("10.3.0.9")] diff --git a/source/ACT.Hojoring.Common/split.ps1 b/source/ACT.Hojoring.Common/split.ps1 new file mode 100644 index 00000000..6d7bf3af --- /dev/null +++ b/source/ACT.Hojoring.Common/split.ps1 @@ -0,0 +1,63 @@ +param ( + [string]$inputFile +) + +try { + # 入力ファイルの内容を読み込み + $content = Get-Content -Path $inputFile + + # フラグの初期化 + $copying = $false + $outputFile = "" + + # 行ごとに処理 + foreach ($line in $content) { + if ($line -match "00:0039::戦闘開始!") { + $copying = $true + + $fileName = $inputFile.Substring(10, 10) + "_" + $line.Substring(1, 2) + $line.Substring(4, 2) + $line.Substring(7, 2) + ".log" + $outputFile = ".\" + $fileName + + Write-Host $outputFile + Write-Host $line + + if (Test-Path -Path $outputFile) { + Clear-Content -Path $outputFile + } + } + if ($copying -and -not ($line -match "\[DEBUG\]$")) { + Add-Content -Path $outputFile -Value $line + } + if ($copying -and $line -match "00:0038::Hojoring>WIPEOUT") { + $copying = $false + $newFileName = $outputFile.Replace(".log", "_false_.log") + Rename-Item -Path $outputFile -NewName $newFileName + } + if ($copying -and $line -match "ブラックキャットを倒した。") { + $copying = $false + $newFileName = $outputFile.Replace(".log", "_true_.log") + Rename-Item -Path $outputFile -NewName $newFileName + } + if ($copying -and $line -match "ハニー・B・ラブリーを倒した。") { + $copying = $false + $newFileName = $outputFile.Replace(".log", "_true_.log") + Rename-Item -Path $outputFile -NewName $newFileName + } + if ($copying -and $line -match "ブルートボンバーを倒した。") { + $copying = $false + $newFileName = $outputFile.Replace(".log", "_true_.log") + Rename-Item -Path $outputFile -NewName $newFileName + } + if ($copying -and $line -match "ウィケッドサンダーを倒した。") { + $copying = $false + $newFileName = $outputFile.Replace(".log", "_true_.log") + Rename-Item -Path $outputFile -NewName $newFileName + } + } +} catch { + Write-Error "エラーが発生しました: $_" + Pause + exit 1 +} + +Pause diff --git a/source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/Config/Views/TimelineManagerView.xaml b/source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/Config/Views/TimelineManagerView.xaml index 458b142d..8d5deef8 100644 --- a/source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/Config/Views/TimelineManagerView.xaml +++ b/source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/Config/Views/TimelineManagerView.xaml @@ -113,6 +113,7 @@