Abrot
This commit is contained in:
@@ -23,7 +23,8 @@
|
||||
</LinearGradientBrush>
|
||||
</TextBox.Background>
|
||||
</TextBox>
|
||||
<Button x:Name="apply" Content="Apply" HorizontalAlignment="Left" Height="25" Margin="349.2,220,0,0" VerticalAlignment="Top" Width="90
|
||||
<Button x:Name="apply" Content="Commit
|
||||
" HorizontalAlignment="Left" Height="25" Margin="349.2,220,0,0" VerticalAlignment="Top" Width="90
|
||||
" Click="Button_Click" Grid.Column="1">
|
||||
<Button.Background>
|
||||
<ImageBrush ImageSource="04.jpg"/>
|
||||
|
||||
@@ -17,6 +17,7 @@ using System.Runtime.InteropServices;
|
||||
using System.Windows.Threading;
|
||||
using System.Messaging;
|
||||
using System.Windows.Interop;
|
||||
using System.Activities;
|
||||
|
||||
namespace cs2_chs
|
||||
{
|
||||
@@ -49,8 +50,12 @@ namespace cs2_chs
|
||||
|
||||
[DllImport("Kernel32.dll", EntryPoint = "WaitForSingleObject")]
|
||||
public extern static int WaitForSingleObject(uint hHandle, uint dwMilliseconds);
|
||||
|
||||
|
||||
[DllImport("cs2_patch.dll", EntryPoint = "InjectSelfTo")]
|
||||
public static extern uint pStart([MarshalAs(UnmanagedType.LPStr)] string path);
|
||||
|
||||
|
||||
[DllImport("cs2_patch.dll", EntryPoint = "CreateDataExport")]
|
||||
public static extern void CreateData([MarshalAs(UnmanagedType.LPWStr)] string src,[MarshalAs(UnmanagedType.LPWStr)] string path);
|
||||
[DllImport("Kernel32.dll", EntryPoint = "TerminateProcess")]
|
||||
|
||||
@@ -69,6 +69,7 @@
|
||||
<HintPath>..\packages\Microsoft.IdentityModel.Logging.5.6.0\lib\net461\Microsoft.IdentityModel.Logging.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Activities" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Messaging" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F04B42CA40D1146EA344AEDB60ADCFC400A88DF0B94E1795A45B0787A037611F"
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9C0A69ED616F64906BBA693AC0D9DF77D16D80985CEA89DB342BEC5391CE52FD"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
@@ -57,7 +57,7 @@ namespace cs2_chs {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 32 "..\..\..\MainWindow.xaml"
|
||||
#line 33 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.ProgressBar PBS;
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace cs2_chs {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 41 "..\..\..\MainWindow.xaml"
|
||||
#line 42 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SRC_OUTPUT;
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace cs2_chs {
|
||||
case 3:
|
||||
this.apply = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 27 "..\..\..\MainWindow.xaml"
|
||||
#line 28 "..\..\..\MainWindow.xaml"
|
||||
this.apply.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
|
||||
|
||||
#line default
|
||||
@@ -157,13 +157,13 @@ namespace cs2_chs {
|
||||
return;
|
||||
case 5:
|
||||
|
||||
#line 33 "..\..\..\MainWindow.xaml"
|
||||
#line 34 "..\..\..\MainWindow.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 33 "..\..\..\MainWindow.xaml"
|
||||
#line 34 "..\..\..\MainWindow.xaml"
|
||||
((System.Windows.Controls.Button)(target)).MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_MouseRightButtonUp);
|
||||
|
||||
#line default
|
||||
@@ -172,7 +172,7 @@ namespace cs2_chs {
|
||||
case 6:
|
||||
this.SRC_OUTPUT = ((System.Windows.Controls.TextBox)(target));
|
||||
|
||||
#line 41 "..\..\..\MainWindow.xaml"
|
||||
#line 42 "..\..\..\MainWindow.xaml"
|
||||
this.SRC_OUTPUT.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.SRC_OUTPUT_MouseRightButtonUp);
|
||||
|
||||
#line default
|
||||
@@ -180,13 +180,13 @@ namespace cs2_chs {
|
||||
return;
|
||||
case 7:
|
||||
|
||||
#line 65 "..\..\..\MainWindow.xaml"
|
||||
#line 66 "..\..\..\MainWindow.xaml"
|
||||
((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_ShowMainWindow_CanExecute);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 66 "..\..\..\MainWindow.xaml"
|
||||
#line 67 "..\..\..\MainWindow.xaml"
|
||||
((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_ShowMainWindow_Executed);
|
||||
|
||||
#line default
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F04B42CA40D1146EA344AEDB60ADCFC400A88DF0B94E1795A45B0787A037611F"
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9C0A69ED616F64906BBA693AC0D9DF77D16D80985CEA89DB342BEC5391CE52FD"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
@@ -57,7 +57,7 @@ namespace cs2_chs {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 32 "..\..\..\MainWindow.xaml"
|
||||
#line 33 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.ProgressBar PBS;
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace cs2_chs {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 41 "..\..\..\MainWindow.xaml"
|
||||
#line 42 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SRC_OUTPUT;
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace cs2_chs {
|
||||
case 3:
|
||||
this.apply = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 27 "..\..\..\MainWindow.xaml"
|
||||
#line 28 "..\..\..\MainWindow.xaml"
|
||||
this.apply.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
|
||||
|
||||
#line default
|
||||
@@ -157,13 +157,13 @@ namespace cs2_chs {
|
||||
return;
|
||||
case 5:
|
||||
|
||||
#line 33 "..\..\..\MainWindow.xaml"
|
||||
#line 34 "..\..\..\MainWindow.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 33 "..\..\..\MainWindow.xaml"
|
||||
#line 34 "..\..\..\MainWindow.xaml"
|
||||
((System.Windows.Controls.Button)(target)).MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_MouseRightButtonUp);
|
||||
|
||||
#line default
|
||||
@@ -172,7 +172,7 @@ namespace cs2_chs {
|
||||
case 6:
|
||||
this.SRC_OUTPUT = ((System.Windows.Controls.TextBox)(target));
|
||||
|
||||
#line 41 "..\..\..\MainWindow.xaml"
|
||||
#line 42 "..\..\..\MainWindow.xaml"
|
||||
this.SRC_OUTPUT.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.SRC_OUTPUT_MouseRightButtonUp);
|
||||
|
||||
#line default
|
||||
@@ -180,13 +180,13 @@ namespace cs2_chs {
|
||||
return;
|
||||
case 7:
|
||||
|
||||
#line 65 "..\..\..\MainWindow.xaml"
|
||||
#line 66 "..\..\..\MainWindow.xaml"
|
||||
((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_ShowMainWindow_CanExecute);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 66 "..\..\..\MainWindow.xaml"
|
||||
#line 67 "..\..\..\MainWindow.xaml"
|
||||
((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_ShowMainWindow_Executed);
|
||||
|
||||
#line default
|
||||
|
||||
@@ -1 +1 @@
|
||||
2be805b5b109991f8cd375e426d41b98980631b6
|
||||
13037deefd7b2bcb290d940d5795e4320ac588ef
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -13,7 +13,7 @@ D:\VSProject\cs2\cs2_united\cs2_chs\App.xaml
|
||||
360698734
|
||||
|
||||
10-2131267635
|
||||
171117567902
|
||||
18-1702095681
|
||||
Advance.xaml;MainWindow.xaml;TextView.xaml;
|
||||
|
||||
False
|
||||
|
||||
@@ -13,7 +13,7 @@ D:\VSProject\cs2\cs2_united\cs2_chs\App.xaml
|
||||
360698734
|
||||
|
||||
111053777973
|
||||
171117567902
|
||||
18-1702095681
|
||||
Advance.xaml;MainWindow.xaml;TextView.xaml;
|
||||
|
||||
True
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
|
||||
FD:\VSProject\cs2\cs2_united\cs2_chs\App.xaml;;
|
||||
FD:\VSProject\cs2\cs2_united\cs2_chs\Advance.xaml;;
|
||||
FD:\VSProject\cs2\cs2_united\cs2_chs\MainWindow.xaml;;
|
||||
FD:\VSProject\cs2\cs2_united\cs2_chs\TextView.xaml;;
|
||||
|
||||
@@ -14,7 +14,7 @@ struct ExportParam {
|
||||
WCHAR data[1024];
|
||||
WCHAR src[1024];
|
||||
};
|
||||
DWORD CreateDataExportEx(LPVOID data)
|
||||
int CreateDataExportEx(LPVOID data)
|
||||
{
|
||||
|
||||
ExportParam* bData = (ExportParam*)data;
|
||||
@@ -26,12 +26,12 @@ DWORD CreateDataExportEx(LPVOID data)
|
||||
if (nID == -1) {
|
||||
MessageBox(0, L"the ID value seems not available,therefore this action has been refused", L"error", MB_ICONERROR | MB_MODEMASK);
|
||||
saveProcess = 1.0;
|
||||
return 1;
|
||||
return -1;
|
||||
}
|
||||
if (nID - lasger > 1) {
|
||||
MessageBox(0, L"the ID value seems not available,therefore this action has been refused", L"error", MB_ICONERROR | MB_MODEMASK);
|
||||
saveProcess = 1.0;
|
||||
return 1;
|
||||
return -1;
|
||||
}
|
||||
if (!GetDataByID(nID, sjp, scn)) {
|
||||
|
||||
@@ -77,8 +77,7 @@ DWORD CreateDataExportEx(LPVOID data)
|
||||
createData.CnBass = _Data->Size();
|
||||
_Data->Push(bData->data, 2 * (lstrlenW(bData->data) + 1));
|
||||
_Index->Push(&createData);
|
||||
_Index->Save();
|
||||
_Data->Save();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -90,13 +89,13 @@ DWORD CreateDataExportEx(LPVOID data)
|
||||
createData.CnBass = _Data->Size();
|
||||
_Data->Push(scn, 2 * (lstrlenW(scn) + 1));
|
||||
_Index->Push(&createData);
|
||||
_Index->Save();
|
||||
_Data->Save();
|
||||
|
||||
}
|
||||
saveProcess = (double)p / (double)(lasger);
|
||||
p++;
|
||||
}
|
||||
|
||||
_Index->Save();
|
||||
_Data->Save();
|
||||
delete _Index;
|
||||
delete _Data;
|
||||
delete Index;
|
||||
@@ -115,8 +114,8 @@ DWORD CreateDataExportEx(LPVOID data)
|
||||
}
|
||||
}
|
||||
else {
|
||||
WCHAR sjp[3096];
|
||||
WCHAR scn[3096];
|
||||
WCHAR sjp[1024];
|
||||
WCHAR scn[1024];
|
||||
int lasger = GEtLargestID();
|
||||
int jkID;
|
||||
|
||||
@@ -164,8 +163,7 @@ DWORD CreateDataExportEx(LPVOID data)
|
||||
createData.CnBass = _Data->Size();
|
||||
_Data->Push(bData->data, 2 * (lstrlenW(bData->data) + 1));
|
||||
_Index->Push(&createData);
|
||||
_Index->Save();
|
||||
_Data->Save();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -177,13 +175,13 @@ DWORD CreateDataExportEx(LPVOID data)
|
||||
createData.CnBass = _Data->Size();
|
||||
_Data->Push(scn, 2 * (lstrlenW(scn) + 1));
|
||||
_Index->Push(&createData);
|
||||
_Index->Save();
|
||||
_Data->Save();
|
||||
|
||||
}
|
||||
saveProcess = (double)p / (double)(lasger);
|
||||
p++;
|
||||
}
|
||||
|
||||
_Index->Save();
|
||||
_Data->Save();
|
||||
delete _Index;
|
||||
delete _Data;
|
||||
delete Index;
|
||||
|
||||
@@ -6,4 +6,4 @@ BOOL CreateDataByID(int ID, LPCWSTR jpBuff, int ljp, LPCWSTR cnBuffer, int lcn);
|
||||
BOOL GetDataByJP(int* ID, LPCWSTR jpBuff, LPWSTR cnBuffer);
|
||||
BOOL GetDataByID(int ID, LPWSTR jpBuff, LPWSTR cnBuffer);
|
||||
int GEtLargestID();
|
||||
extern "C" DLLAPI DWORD CreateDataExportEx(LPVOID path);
|
||||
extern "C" DLLAPI int CreateDataExportEx(LPVOID path);
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,10 +1,10 @@
|
||||
D:\Visual Studio\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(453,5): warning MSB8004: Output 目录未以斜杠结尾。 此生成实例将添加斜杠,因为必须有这个斜杠才能正确计算 Output 目录。
|
||||
BuildIn.cpp
|
||||
dllmain.cpp
|
||||
Replace.cpp
|
||||
D:\VSProject\cs2\cs2_united\cs2_patch\Replace.cpp(74,23): warning C4018: “<”: 有符号/无符号不匹配
|
||||
正在创建库 C:\Users\14980\Desktop\Tran_Tools\aikotoba\cs2_patch.lib 和对象 C:\Users\14980\Desktop\Tran_Tools\aikotoba\cs2_patch.exp
|
||||
正在生成代码
|
||||
4 of 169 functions ( 2.4%) were compiled, the rest were copied from previous compilation.
|
||||
1 functions were new in current compilation
|
||||
2 of 169 functions ( 1.2%) were compiled, the rest were copied from previous compilation.
|
||||
0 functions were new in current compilation
|
||||
0 functions had inline decision re-evaluated but remain unchanged
|
||||
已完成代码的生成
|
||||
cs2_patch.vcxproj -> C:\Users\14980\Desktop\Tran_Tools\aikotoba\cs2_patch.dll
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
#include "pch.h"
|
||||
#include "pch.h"
|
||||
#include "Replace.h"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user