Skip to content

Commit

Permalink
update license, rename help doc and add logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLv-CN committed Jan 22, 2022
1 parent 5ad332f commit 768c7e0
Show file tree
Hide file tree
Showing 9 changed files with 735 additions and 17 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.vs
.vscode
BuildScript
LayOut.txt
DynamicPatcher/output
DynamicPatcher/bin
Expand Down
4 changes: 4 additions & 0 deletions BuildScript/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*
!.gitignore
!BuildProjects.bat
!CopyProjectsDll.bat
7 changes: 7 additions & 0 deletions BuildScript/BuildProjects.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off
chcp 65001
cd %~dp0
dotnet clean ..\DynamicPatcher\Projects\Projects.sln
dotnet build ..\DynamicPatcher\Projects\Projects.sln
call CopyProjectsDll
call CopyToYRAndRun
8 changes: 8 additions & 0 deletions BuildScript/CopyProjectsDll.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@echo off
chcp 65001
cd %~dp0
echo f|xcopy /e /s /y "..\DynamicPatcher\Projects\PatcherYRpp\bin\Debug\PatcherYRpp.dll" "..\DynamicPatcher\output\PatcherYRpp.dll"
echo f|xcopy /e /s /y "..\DynamicPatcher\Projects\PatcherYRpp.Utilities\bin\Debug\PatcherYRpp.Utilities.dll" "..\DynamicPatcher\output\PatcherYRpp.Utilities.dll"
echo f|xcopy /e /s /y "..\DynamicPatcher\Projects\Extension\bin\Debug\Extension.dll" "..\DynamicPatcher\output\Extension.dll"
echo f|xcopy /e /s /y "..\DynamicPatcher\Projects\Extension.FX\bin\Debug\Extension.FX.dll" "..\DynamicPatcher\output\Extension.FX.dll"
echo f|xcopy /e /s /y "..\DynamicPatcher\Kratos食用说明书.ini" "..\DynamicPatcher\output\Kratos食用说明书.ini"
File renamed without changes.
674 changes: 674 additions & 0 deletions DynamicPatcher/LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion DynamicPatcher/Projects/PatcherYRpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public struct YourClass
static public ref DynamicVectorClass<Pointer<TechnoClass>> Array { get => ref DynamicVectorClass<Pointer<TechnoClass>>.GetDynamicVector(ArrayPointer); }

// for xxxTypeClass
static public YRPP.GLOBAL_DVC_ARRAY<YourClass> ABSTRACTTYPE_ARRAY = new YRPP.GLOBAL_DVC_ARRAY<YourClass>(ArrayPointer);
static public YRPP.ABSTRACTTYPE_ARRAY<YourClass> ABSTRACTTYPE_ARRAY = new YRPP.ABSTRACTTYPE_ARRAY<YourClass>(ArrayPointer);

// your member
[FieldOffset(member_offset)] public TMember Member;
Expand Down
38 changes: 23 additions & 15 deletions DynamicPatcher/compiler.config.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
{
"references" : [
"System.dll",
"System.Core.dll",
"System.Data.dll",
"PatcherYRpp.dll",
"Extension.dll"
],
"#preprocessor_symbols" : [
"REALTIME_INI"
],
"show_hidden" : false,
"load_temp_file_in_memory" : false,
"emit_pdb" : true,
"force_compile" : false,
"pack_assembly" : true
"references": [
"System.dll",
"System.Core.dll",
"System.Data.dll",
"System.Runtime.CompilerServices.Unsafe.dll",
"System.Windows.Forms.dll",
"System.Drawing.dll",

"PatcherYRpp.dll",
"PatcherYRpp.Utilities.dll",
"Extension.dll",
"Extension.FX.dll"
],
"#preprocessor_symbols": [
"#REALTIME_INI",
"#FX_ENABLE"
],
"show_hidden": false,
"load_temp_file_in_memory": false,
"emit_pdb": true,
"force_compile": false,
"pack_assembly": true,
"optimization_level": "debug"
}
18 changes: 18 additions & 0 deletions DynamicPatcher/logo
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

____________ _ __ _
| _ \ ___ \ | | / / | |
| | | | |_/ /_____| |/ / _ __ __ _| |_ ___ ___
| | | | __/______| \| '__/ _` | __/ _ \/ __|
| |/ /| | | |\ \ | | (_| | || (_) \__ \
|___/ \_| \_| \_/_| \__,_|\__\___/|___/

______ _ ______ _ ______ _ _
| ___ \ | | | _ \ (_) | ___ \ | | | |
| |_/ /____ _____ _ __ | |__ _ _ | | | |_ _ _ __ __ _ _ __ ___ _ ___| |_/ /_ _| |_ ___| |__ ___ _ __
| __/ _ \ \ /\ / / _ \ '__| | '_ \| | | | | | | | | | | '_ \ / _` | '_ ` _ \| |/ __| __/ _` | __/ __| '_ \ / _ \ '__|
| | | (_) \ V V / __/ | | |_) | |_| | | |/ /| |_| | | | | (_| | | | | | | | (__| | | (_| | || (__| | | | __/ |
\_| \___/ \_/\_/ \___|_| |_.__/ \__, | |___/ \__, |_| |_|\__,_|_| |_| |_|_|\___\_| \__,_|\__\___|_| |_|\___|_|
__/ | __/ |
|___/ |___/ Made by Xkein 2019 中国智造
Build by ChrisLv_CN

0 comments on commit 768c7e0

Please sign in to comment.