-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #416 from wbonbon/master
version up
- Loading branch information
Showing
11 changed files
with
167 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v10.3.8 | ||
v10.3.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters