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

79 Commits

Author SHA1 Message Date
Cj
15af480254 Remove automapper from config, start removal of automapper from gui 2024-12-31 03:28:46 -05:00
Cj
3de6be24ce Fix a bunch of compiler warnings 2024-12-31 03:13:29 -05:00
Cj
c4d81ce4ba Fix method name mangling when prepended with GInterfacexxx. 2024-12-31 02:49:49 -05:00
Cj
0e663099d1 Remove automapper 2024-12-31 00:21:32 -05:00
Cj
1505b01bba Fix some compiler warnings 2024-12-30 23:50:31 -05:00
Cj
65041c3e3b Integrate deobfuscation into remap process 2024-12-30 23:35:02 -05:00
Cj
4e33f48be0 Fix de4dot, change back to .net48, allow to build along side project. Add post build script to create the cli in a build directory in the solution directory 2024-12-30 22:54:38 -05:00
Cj
eab0265b16 remove unused methods 2024-12-30 13:20:44 -05:00
Cj
9939f5ad35 Use de4dot directly, remove now unused de4dot component 2024-12-30 12:52:19 -05:00
77a24319b1 Update de4dot to use dnlib 4.4.0 and x64
Adds the source code used for this modification, this de4dot source code has been cleaned of any things not needed for deobfuscating the tarkov assembly

Co-authored-by: 静穏靄 <170472707+seionmoya@users.noreply.github.com>
2024-12-30 16:01:39 +01:00
Cj
185f8026bc Remove code that resulted in duplicate naming 2024-12-29 13:50:07 -05:00
Cj
b763071384 Clean up logging 2024-12-29 13:38:04 -05:00
Cj
db98a23731 Fix naming bug that resulted in things like ItemItem 2024-11-06 15:47:16 -05:00
Cj
06602ce037 Remove more not needed manual remaps, dynamically remap item templates (different from the item objects) and clean up 2024-11-05 21:16:37 -05:00
Cj
c26df580d2 Remove remaps that are now dynamically generated. 2024-11-05 20:36:12 -05:00
Cj
663148d3ed WIP: Remap classes based on parents in item.json 2024-11-05 20:19:35 -05:00
Cj
f56ec6d0a1 Fix typo 2024-11-05 14:25:54 -05:00
Cj
e9d6b30e88 Add ENomatchReason for events, and properly handle them. 2024-11-05 14:22:28 -05:00
8a350c6818 Feature: Adding Include/Exclude for events. (#13)
Added checking events for the remapping, can include/exclude any events, tested.
Added New GUI option for events. also fixed ExcludeNestedTypes wrongly displayed if no IncludeNestedTypes exists.

Co-authored-by: SlejmUr <slejmur@protonmail.com>
Reviewed-on: SPT/AssemblyTool#13
Co-authored-by: SlejmUr <slejmur@noreply.dev.sp-tarkov.com>
Co-committed-by: SlejmUr <slejmur@noreply.dev.sp-tarkov.com>
2024-11-05 18:21:26 +00:00
Cj
e9b1649d55 Don't unseal classes for the launcher, resolves launcher not starting 2024-11-02 22:08:27 -04:00
Cj
c1a36ee8e3 Publicize and unseal launcher 2024-11-02 21:30:02 -04:00
Cj
5c1842daaa Add additional function to the deobfuscation command 2024-11-02 15:58:08 -04:00
Cj
3ab1c05547 Clear _alreadyGivenNames on each run, Create mapping file if it doesn't exist instead of throwing an exception 2024-08-29 19:35:27 -04:00
Dev
05341a69b2 Renamed output DLLs to improve clarity 2024-08-23 13:24:16 +01:00
Dev
1a759fef19 Handled an edge case where the renaming system has no TypePrimeCandidate 2024-08-21 09:52:32 +01:00
Dev
a2e63dc2e4 Updated remapper to save new updated mappings to new file instead of overwriting existing 2024-08-21 09:50:57 +01:00
Cj
cf064e041b Remove residual code from unused component 2024-08-10 07:31:12 -04:00
Cj
4bab2015f0 Implement proper no match error handling. 2024-08-10 04:58:49 -04:00
Cj
67aae1178b Fix possible null reference 2024-08-09 23:42:34 -04:00
Cj
46fc36169d Remove not needed components from lib/GUI 2024-08-09 21:49:40 -04:00
Cj
e4aa655683 Don't allow remapper to run on obfuscated assemblies 2024-08-09 20:04:11 -04:00
CWX
5f448a7aee fix pathing 2024-08-09 21:55:31 +01:00
CWX
f3d095a0a7 initial start of dumper conversion, moved assets to a Assets folder, updated PB scripts 2024-08-09 21:39:39 +01:00
Cj
f7543672fc Fix DeObfuscate command InvalidCastException + put de4dot in sub dir of data. 2024-08-09 14:35:18 -04:00
Cj
c9337cd98a Make CLI update old type names, remove obsidian folder 2024-07-03 07:03:14 -04:00
Cj
8f1fdeadfd Fix IEffect members not being publicized 2024-07-02 19:01:46 -04:00
Cj
bb3f1249a5 Fix returning before displaying all ambiguous matches 2024-06-29 02:01:49 -04:00
Cj
6e7ac7e59a Better ambiguous match handling 2024-06-28 18:38:03 -04:00
Cj
427db1ce5a Potential fix for publicizer 2024-06-28 18:02:14 -04:00
Cj
95ac115306 Add sanity checks for existing remaps, and ambiguous matches during matching 2024-06-28 17:13:47 -04:00
Cj
8df90f628a Add validation button 2024-06-28 16:17:54 -04:00
Cj
99e64e5e36 Ignore getters and setters for method count 2024-06-28 02:44:41 -04:00
CJ-SPT
d33f1f3c9b
Dnlib refactor
* First compiling build

* fix out path

* fix hollow

* Traditional loops in favor of linq for clarity

* Start refactor

* Refactor part 2

* Rename variable

* Better error reason handling

* Clean up enum

* Refactor part 3

* Use combo boxes in favor of updowns

* Update tooltips

* fix is nested tree view display

* Capitialization

* Refactor part ??

* remove unused methods

* Expanded IsNested Check

* TypeFilter class + Fix CLI bug

* Remove reflection, change IsDerived and IsNested checks

* Remove optional out for IsPublic

* Remove nullable from IsPublic

* fix logger not resetting color

* actually fix it...

* remove redundant if else on IsPublic check

* Add logging to indicate all types have been filtered out

* Default IsPublic to true

* remove duplicate method call

* Refactor logger to be on its own thread

* Multithread remapping and grouped logging for threads

* 5 more filters

* Finish migrating to the new system

* bug fixes

* Add empty string validation to text fields

* re-enable renamer

* restore renamer

* Multi threaded renaming, still broken

* Basis for method renaming

* More renamer work, might get a passing build now?

* Re-enable publicizer

* Rework logging

* re-enable mapping updates

* fix hollow

* Iterate over all types instead of just one to re-link fields

* Add reference list command

---------

Co-authored-by: clodan <clodan@clodan.com>
2024-06-26 14:45:54 -04:00
Cj
4a24c914f6 make method private 2024-06-23 17:27:17 -04:00
Cj
3985129549 Fix null ref 2024-06-23 17:17:27 -04:00
Cj
180a010d82 Fix CLI error and hollower 2024-06-22 16:36:49 -04:00
Cj
88c94d8391 Add De-obfuscator 2024-06-22 12:39:10 -04:00
Cj
141fb6807a Command work + dont panic when settings are not found 2024-06-22 12:12:18 -04:00
Cj
14b273252d cleanup 2024-06-22 02:29:15 -04:00
Cj
fe6145cb08 Fix Nested renaming 2024-06-22 02:28:36 -04:00