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

update command text and readme

This commit is contained in:
Cj 2024-12-31 14:20:44 -05:00
parent 146aac9c83
commit 6c8cfb8d08
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ using ReCodeItLib.ReMapper;
namespace ReCodeItCLI.Commands; namespace ReCodeItCLI.Commands;
[Command("ReMap", Description = "Generates a re-mapped dll provided a mapping file and de-obfuscated dll")] [Command("ReMap", Description = "Generates a re-mapped dll provided a mapping file and dll. If the dll is obfuscated, it will automatically de-obfuscate.")]
public class ReMap : ICommand public class ReMap : ICommand
{ {
private ReMapper _remapper { get; set; } = new(); private ReMapper _remapper { get; set; } = new();
@ -14,7 +14,7 @@ public class ReMap : ICommand
[CommandParameter(0, IsRequired = true, Description = "The absolute path to your mapping.json file, supports .json and .jsonc")] [CommandParameter(0, IsRequired = true, Description = "The absolute path to your mapping.json file, supports .json and .jsonc")]
public required string MappingJsonPath { get; init; } public required string MappingJsonPath { get; init; }
[CommandParameter(1, IsRequired = true, Description = "The absolute path to your de-obfuscated dll, containing all references that it needs to resolve.")] [CommandParameter(1, IsRequired = true, Description = "The absolute path to your dll, containing all references that it needs to resolve.")]
public required string AssemblyPath { get; init; } public required string AssemblyPath { get; init; }
[CommandParameter(2, IsRequired = true, Description = "If true, the re-mapper will publicize all types, methods, and properties")] [CommandParameter(2, IsRequired = true, Description = "If true, the re-mapper will publicize all types, methods, and properties")]

View File

@ -14,9 +14,9 @@ references needed to be resolved.
--- ---
- `remap` - Generates a re-mapped dll when provided with a mapping file and de-obfuscated dll. - `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 *de-obfuscated* dll generated from the `deobfuscate` command. - Param `AssemblyPath` - The absolute path to the dll generated from the `deobfuscate` command.
- Param `Publicize` - if true, the re-mapper will publicize all types, methods, and properties in the assembly. - Param `Publicize` - if true, the re-mapper will publicize all types, methods, and properties in the assembly.
- Param `Rename` - If true, the re-mapper will rename all changed types associated variable names to be the same as - Param `Rename` - If true, the re-mapper will rename all changed types associated variable names to be the same as
the declaring type the declaring type