From c9fcf4e5ca4bf9d540ae87292e8e1c22e30d2268 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Wed, 1 Jan 2025 22:48:18 -0500 Subject: [PATCH] Update doc --- ReCodeItCLI/Commands/AutoMatcher.cs | 4 ++-- ReCodeItCLI/readme.md | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ReCodeItCLI/Commands/AutoMatcher.cs b/ReCodeItCLI/Commands/AutoMatcher.cs index b2edea2..135b085 100644 --- a/ReCodeItCLI/Commands/AutoMatcher.cs +++ b/ReCodeItCLI/Commands/AutoMatcher.cs @@ -7,10 +7,10 @@ using ReCodeItLib.Utils; namespace ReCodeItCLI.Commands; -[Command("AutoMatch", Description = "Automatically tries to generate a mapping object with the provided arguments.")] +[Command("AutoMatch", Description = "This command will automatically try to generate a mapping object given old type and new type names.")] public class AutoMatchCommand : ICommand { - [CommandParameter(0, IsRequired = true, Description = "The absolute path to your obfuscated assembly or exe file, folder must contain all references to be resolved.")] + [CommandParameter(0, IsRequired = true, Description = "The absolute path to your assembly, folder must contain all references to be resolved.")] public required string AssemblyPath { get; init; } [CommandParameter(1, IsRequired = true, Description = "Full old type name including namespace")] diff --git a/ReCodeItCLI/readme.md b/ReCodeItCLI/readme.md index 49bae89..8f54637 100644 --- a/ReCodeItCLI/readme.md +++ b/ReCodeItCLI/readme.md @@ -14,6 +14,17 @@ references needed to be resolved. --- +- `automatch` - This command will Automatically try to generate a mapping object given old type and new type names. + - `AssemblyPath` - The absolute path to your assembly, folder must contain all references to be resolved. + - `OldTypeName` - Full old type name including namespace + - `NewTypeName` - The name you want the type to be renamed to + - `MappingsPath` - Path to your mapping file so it can be updated if a match is found + +- This command will prompt you to append your created mapping to the mapping file. +- It will then prompt you to run the remap process. + +--- + - `remap` - Generates a re-mapped dll provided a mapping file and dll. If the dll is obfuscated, it will automatically de-obfuscate. - Param `MappingJsonPath` - The absolute path to the `mapping.json` file supports both `json` and `jsonc`. - Param `AssemblyPath` - The absolute path to the dll generated from the `deobfuscate` command.