Skip to content

Commit

Permalink
Refactor project layout.
Browse files Browse the repository at this point in the history
- Name & Infomation
  * Rename Custom to VirtoolsScriptDeobfuscation for a clear meaning.
  * Re-create resources file (rc file). And fill author property and etc.
- Compile & Link
  * Cleanup useless, outdated, and mystery Win32 spcified compile & link options.
  * Use WIN32_LEAN_AND_MEAN and NOMINMAX macro to replace the undef of min and max.
  * Add some preprocessor macro to disable the shitty VC++ warning of standard lib functions.
  * Remove the ugly reference of OutputDebugStringA. Use the more formal one.
- Project Configurations
  * Remove all useless configurations for vcxproj file. Only keep 2 configurations, Debug and Release.
  * Create a sln file for convenient editing.
  * Remove useless res folder.
  * Use props file to make project more portable. Users now can specify their own SDK path via props file and do not need change vcxproj file anymore.
  • Loading branch information
yyc12345 committed Mar 27, 2023
1 parent 4f2f259 commit 9828d3d
Show file tree
Hide file tree
Showing 21 changed files with 348 additions and 896 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# IGNORE USER SDK PROPS FILE
VirtoolsScriptDeobfuscation.props

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
Expand Down
4 changes: 2 additions & 2 deletions BBDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ CKObjectDeclaration *FillBBDecoderDecl()
od->SetType(CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x37543829, 0xf0c3b39));
od->SetAuthorGuid(VIRTOOLS_GUID);
od->SetAuthorName("Custom");
od->SetAuthorName("BearKidsTeam");
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateBBDecoderProto);
od->SetCompatibleClassId(CKCID_BEOBJECT);
od->SetCategory("Custom/Misc");
od->SetCategory("Custom/VirtoolsScriptDeobfuscation");
return od;
}

Expand Down
Loading

0 comments on commit 9828d3d

Please sign in to comment.