tModLoader
Zbyt mało ocen
Terraria Core Patcher
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Cechy Modu: Biblioteka (lib)
Typ synchronizacji Modu: Both
Wersja tModLoadera: 1.4.4
Język: Angielski
Rozmiar pliku
Zamieszczono
Zaktualizowano
86.476 KB
22 lutego 2024 o 13:14
1 lipca 2024 o 10:37
Listy zmian: 4 ( zobacz )

Zasubskrybuj, aby pobrać
Terraria Core Patcher

Opis
A simple mod that allows easy assembly patching for Terraria.
Originally was part of my Infinite world mod, I decided to make this a proper library instead.
This is not beginner friendly; it will require you to know how to do advanced IL editing.

This also will write to your disk the patched assembly as "tModLoader.patched.dll".
Any harm caused by other mods using this mod is not my responsibility, but the responsibility of you and the mods doing the harm.

Once the patching is done, go in your Steam folder and rename "tModLoader.patched.dll" to "tModloader.dll", and check if your change applied properly with ILSpy.
Automatically reloading the game will be added later.

Strongly recommend reading this and practicing IL before using this:
https://github.com/tModLoader/tModLoader/wiki/Expert-IL-Editing

Wiki on how to use this will come soon. For now, check the example provided here:
https://github.com/Dradonhunter11/CorePatcher/blob/master/Examples/ExamplePatch.cs

DO NOTE AFTER USING THIS MOD POST 1.1 YOUR GAME WILL RESTART ONCE THE PATCHING IS DONE, THIS CAN BE TOGGLED

Please note that after using this mod post 1.1, your game will restart once the patching is done. This feature can be toggled.

v.1.0
- Initial release
- ModCorePatch class
- Example patch

v.1.1
- Game reload upon patching (configurable)
- Toggle for example patch
- Added a patch that edit the title at the bottom left corner to indicate if the game was patched

- Added mac and linux support

v.1.2
- Allow dependency injection
Example on how to do dependency injection


Features to come:
- Allow dependency injection (while this is technically possible, "tModLoader.deps.json" still needs to be edited to launch the game properly,
partially implemented just to make the game work).
- Server executable patching
- Make it self removable once the game is closed
Początkowo opublikowane przez tModLoader:
Developed By Dradon
Komentarzy: 5
2bluntz@once 1 czerwca 2024 o 20:48 
bro said using harmony for an FNA game
Extinction 31 maja 2024 o 14:32 
Just a quick question, what is the difference between this and using harmony?
rocksinshoe 9 marca 2024 o 0:55 
great work! hope to see more of that project in the future.
rocksinshoe 6 marca 2024 o 16:34 
"originally part of my infinite world mod" tell us about it