Commit graph

18 commits

Author SHA1 Message Date
Lucaskyy
fc64bbc32a
Minor things 2022-03-19 22:53:05 +01:00
Lucaskyy
e5f9a42ee6
Convert typed Object & Array types to Object types
Commit name is a bit superfluous, but it means that types such as "Ljava/lang/String;" get converted to "Ljava/lang/Object;". This is so we don't need to know the mappings, which are random in YT's code.

This is done in MethodResolver's "convertObject" and "convertObjects" for arrays.

Also changed ExtraTypes.ArrayAny to Object instead of String, that was a mistake. (which caused the test to pass at first)
2022-03-19 22:34:41 +01:00
Lucaskyy
f9327a2043
executePatches -> applyPatches, made logback a test dep 2022-03-19 21:58:31 +01:00
Lucaskyy
6bd4d80c47
Cache classes with their path & add ScanData for PatchData 2022-03-19 21:30:13 +01:00
Lucaskyy
ae5007ebd1
Fix tests (stupid mistake) & add logging 2022-03-19 19:47:12 +01:00
Lucaskyy
a9e7f19d51
Refactor Patcher 2022-03-19 18:35:41 +01:00
Lucaskyy
733fb6a3b8
Update .gitignore 2022-03-19 16:10:05 +01:00
oSumAtrIX
6666c7a4b7
Add: MethodResolver, PatternScanner, SignatureLoader & Cache 2022-03-19 01:37:02 +01:00
Lucaskyy
be18b837ba
Add Jar2ASM & loadJar method 2022-03-18 23:08:41 +01:00
oSumAtrIX
d297a3dbf6
Adding more features to the patcher (unfinished) 2022-03-18 22:10:41 +01:00
Lucaskyy
7b40d53bd3
TIL CodeWithMe is ass! 2022-03-18 21:52:00 +01:00
oSumAtrIX
fc41a84aa1
Add more templates 2022-03-18 20:57:14 +01:00
Lucaskyy
675c409a59
Rework patcher 2022-03-18 20:46:24 +01:00
oSumAtrIX
76008acef6
Restructure patcher 2022-03-17 21:52:44 +01:00
Lucaskyy
8ab86312bf
Refactor code, add YTVersion, ElementType and signatures for 17.03.38
"signatures" package will be moved to Signatures repository soon.
2022-03-17 20:04:06 +01:00
Lucaskyy
6a3e913a3c
Add Sig data class, SigScanner class and Patcher class
SigScanner and Patcher are WIP.
Patcher contains test/debug code.
2022-03-16 22:58:55 +01:00
Sculas
7925496e28
Create README.md 2022-03-16 22:01:29 +01:00
Lucaskyy
de388c75fa
Initial commit 2022-03-16 22:00:41 +01:00