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

update README.md

This commit is contained in:
Cj 2025-01-12 01:05:21 -05:00
parent 632fe1bb5e
commit 20ae0c532d

View File

@ -1,9 +1,22 @@
# Assembly Tool Command Line # Commands
This is the command line interface for assembly tool. It can be used to de-obfuscate, re-map, and other smaller utilities. - `addmissingproperties` - This command will add missing properties to the provided mapping.json.
It can be placed on the system path and accessed from anywhere. - Param `MappingsPath` - Path to the mapping.json file to be fixed
- Note: This is a development command and should not be used unless you know what you're doing. Always make backups when using this command.
## Commands ---
- `automatch` - This command will Automatically try to generate a mapping object given old type and new type names.
- Param `AssemblyPath` - The absolute path to your assembly, folder must contain all references to be resolved.
- Param `MappingsPath` - Path to your mapping file so it can be updated if a match is found.
- Param `OldTypeName` - Full old type name including namespace `Foo.Bar` for nested classes `Foo.Bar/FooBar`
- Param `NewTypeName` - The name you want the type to be renamed to.
- This command will prompt you to append your created mapping to the mapping file.
- It will then prompt you to run the remap process.
---
- `deobfuscate` - This command will run the de4dot de-obfuscater over the assembly provided. It supports both the - `deobfuscate` - This command will run the de4dot de-obfuscater over the assembly provided. It supports both the
primary game assembly and the launcher assembly. primary game assembly and the launcher assembly.
@ -13,20 +26,9 @@ references needed to be resolved.
--- ---
- `automatch` - This command will Automatically try to generate a mapping object given old type and new type names. - `Dumper` - Generates a dumper zip.
- `AssemblyPath` - The absolute path to your assembly, folder must contain all references to be resolved. - Param `ManagedDirectory` - The absolute path to your Managed folder for EFT, folder must contain all references to
- `MappingsPath` - Path to your mapping file so it can be updated if a match is found. be resolved. Assembly-CSharp-cleaned.dll, mscorlib.dll, FilesChecker.dll
- `OldTypeName` - Full old type name including namespace.
- `NewTypeName` - The name you want the type to be renamed to.
- 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.
--- ---
@ -35,6 +37,15 @@ references needed to be resolved.
--- ---
- `Dumper` - Generates a dumper zip. - `regensig` - regenerates the signature of a mapping if it is failing
- Param `ManagedDirectory` - The absolute path to your Managed folder for EFT, folder must contain all references to - Param `MappingPath` - The absolute path to mapping.json.
be resolved. Assembly-CSharp-cleaned.dll, mscorlib.dll, FilesChecker.dll - Param `AssemblyPath` - The absolute path to the assembly you want to regenerate the signature for.
- Param `NewTypeName` - The new type name as listed in the mapping file.
- Param `OldTypeName` - Full old type name including namespace `Foo.Bar` for nested classes `Foo.Bar/FooBar`
---
- `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.