0
0
mirror of https://github.com/sp-tarkov/assembly-tool.git synced 2025-02-13 03:10:45 -05:00

Update doc

This commit is contained in:
Cj 2025-01-01 22:48:18 -05:00
parent c87e0e0c3a
commit c9fcf4e5ca
2 changed files with 13 additions and 2 deletions

View File

@ -7,10 +7,10 @@ using ReCodeItLib.Utils;
namespace ReCodeItCLI.Commands; 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 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; } public required string AssemblyPath { get; init; }
[CommandParameter(1, IsRequired = true, Description = "Full old type name including namespace")] [CommandParameter(1, IsRequired = true, Description = "Full old type name including namespace")]

View File

@ -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. - `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 `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. - Param `AssemblyPath` - The absolute path to the dll generated from the `deobfuscate` command.