0
0
mirror of https://github.com/sp-tarkov/assembly-tool.git synced 2025-02-12 17:30:43 -05:00
assembly-tool/README.md

52 lines
2.5 KiB
Markdown
Raw Normal View History

2025-01-12 01:05:21 -05:00
# Commands
2024-06-14 19:17:29 -04:00
2025-01-12 01:05:21 -05:00
- `addmissingproperties` - This command will add missing properties to the provided mapping.json.
- 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.
2024-06-22 14:10:11 -04:00
2025-01-12 01:05:21 -05:00
---
- `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.
---
2024-06-22 14:10:11 -04:00
2025-01-11 01:34:50 -05:00
- `deobfuscate` - This command will run the de4dot de-obfuscater over the assembly provided. It supports both the
primary game assembly and the launcher assembly.
- Param `AssemblyPath` - The absolute path to your obfuscated assembly or exe file, the folder must contain all
references needed to be resolved.
- Param `IsLauncher` - Is the target the EFT launcher?
2024-06-14 19:17:29 -04:00
2025-01-11 01:34:50 -05:00
---
2024-06-14 19:17:29 -04:00
2025-01-12 01:05:21 -05:00
- `Dumper` - Generates a dumper zip.
- Param `ManagedDirectory` - The absolute path to your Managed folder for EFT, folder must contain all references to
be resolved. Assembly-CSharp-cleaned.dll, mscorlib.dll, FilesChecker.dll
2024-06-19 07:25:09 -04:00
2025-01-11 01:34:50 -05:00
---
2025-01-12 01:05:21 -05:00
- `GenRefCountList` - Generates a print out of the most used classes. Useful to prioritize remap targets.
- Param `AssemblyPath` - The absolute path to your de-obfuscated and remapped dll.
2025-01-11 01:34:50 -05:00
---
2025-01-12 01:05:21 -05:00
- `regensig` - regenerates the signature of a mapping if it is failing
- Param `MappingPath` - The absolute path to mapping.json.
- 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`
2025-01-11 01:34:50 -05:00
---
2025-01-12 01:05:21 -05:00
- `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.