Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Run-Time Assembly Transformation (AKA CoreMods) #4108

Draft
wants to merge 16 commits into
base: 1.4.4
Choose a base branch
from

Conversation

MutantWafflez
Copy link
Contributor

@MutantWafflez MutantWafflez commented Mar 14, 2024

What is the new feature?

Allows modders to make drastic changes to the tML assembly (or other mods assemblies), beyond what MonoMod's IL Hooks and Method Detours provide.

More detail and original idea can be read at #2393 .

Why should this be part of tModLoader?

There are some limitations of IL Editing and Detours that cannot be solved without direct modification of assemblies, notably in the form of adding/removing fields/types/etc. from the assembly.

Are there alternative designs?

There are many possible implementations, with discussion being done in the tML discord.

Sample usage for the new feature

TODO

ExampleMod updates

TODO

@MutantWafflez MutantWafflez changed the title Run-Time Assembly Transformation (AKA CoreMods) [WIP] Run-Time Assembly Transformation (AKA CoreMods) Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants