Skip to content

Commit

Permalink
fix program crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Aixile committed Mar 30, 2018
1 parent a404302 commit 41a3a6a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
Binary file modified .vs/Etupirka/v14/.suo
Binary file not shown.
3 changes: 3 additions & 0 deletions Etupirka/Etupirka.csproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@
<FallbackCulture>en-US</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<StartAction>Program</StartAction>
</PropertyGroup>
</Project>
11 changes: 9 additions & 2 deletions Etupirka/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,17 @@ private void UpdateStatus(int time=0)
int calcID;
Utility.GetWindowThreadProcessId(actWin, out calcID);
var currentProc = Process.GetProcessById(calcID);
if (System.IO.Path.GetFileName(currentProc.MainModule.FileName) == "main.bin") //SoftDenchi DRM
try
{
calcID = Utility.ParentProcessUtilities.GetParentProcess(calcID).Id;
if (System.IO.Path.GetFileName(currentProc.MainModule.FileName) == "main.bin") //SoftDenchi DRM
{
calcID = Utility.ParentProcessUtilities.GetParentProcess(calcID).Id;
}
}
catch(Exception e) {
Console.WriteLine(e);
}

System.Console.WriteLine(calcID);
bool play_flag = false;

Expand Down
6 changes: 3 additions & 3 deletions Etupirka/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.5.6")]
[assembly: AssemblyFileVersion("0.5.6")]
[assembly: AssemblyInformationalVersion("0.5.6")]
[assembly: AssemblyVersion("0.5.7")]
[assembly: AssemblyFileVersion("0.5.7")]
[assembly: AssemblyInformationalVersion("0.5.7")]
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@

[Github](https://github.com/Aixile/Etupirka/releases "https://github.com/Aixile/Etupirka/releases")

#### 0.5.7
不具合修正:クラッシュ

#### 0.5.6
不具合修正:ソフト電池DRMに関するバグ
不具合修正:ソフト電池DRMサポート
機能追加:EditDistanceでゲーム名を予測する

## 使い方
Expand Down

0 comments on commit 41a3a6a

Please sign in to comment.