Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 1.25 KB

README.md

File metadata and controls

12 lines (8 loc) · 1.25 KB

Terraprisma

Terraprisma is a bootstrapper for tModLoader designed to allow mass, single-load patching. Terraprisma is designed to run as its own program, which loads mods as necessary, then loads the tModLoader assembly into memory in order to allow patches to be applied. After patching is finished, tModLoader is launched as normal, preserving launch arguments, etc.

Purpose

tModLoader loads mods in a non-permanent state, making them unloadable and flushing away any changes. This means it also loads mods in-game after tModLoader itself starts up. This can pose as an issue for larger projects that need to transform the assembly in ways not possible at runtime. Terraprisma is designed to solve this issue.

Terraprisma is not meant to be used to load content. Only for applying patches. Any applied patches should be designed to maximize compatibilitly and stability. Please use defensive programming.

Building

You will need the .NET 6 SDK in order to build this program.

To test this with a tModLoader build, please copy and rename example.locations.targets to locations.targets in ./src/. After doing this, open it and replace INSERT HERE with the root directory of tModLoader.