tModLoader

tModLoader

83 ratings
Mod Extractor
2
   
Award
Favorite
Favorited
Unfavorite
Mod Features: Utilities
Mod Side: Client
tModLoader Version: 1.4.3, 1.4.4
Language: English
File Size
Posted
Updated
124.767 KB
8 Nov, 2022 @ 6:41pm
19 Dec, 2023 @ 3:34pm
10 Change Notes ( view )

Subscribe to download
Mod Extractor

In 1 collection by Destructor_Ben
Destructor_Ben's Mods
2 items
Description
Mod Extractor allows any mod to have it's code and resources extracted.

Copyright Notice
Do not use this mod to pirate other peoples mods. Nobody like having their hard work stolen, and the people in modding community know each other very well so a copied mod will be easily spotted and taken down.

Features
  • Forces mods to have their code extracted
  • Forces mods to have their resources extracted

Some mods in tModLoader have the code and resources hidden when they are extracted, which can be annoying for modders wanting to add cross-mod support or people wanting to use mods as a learning resource.

This mod allows any mod to have its code and resources extracted. If you want to test this, you can try it on this mod, since it has been set to hide its code and resources when extracted. Another mod this can be tested on is Calamity, since it hides it's resources when extracted. There is also a config for toggling whether code and resources should be extracted.

To extract a mod, download it and open it's mod info menu and click the extract button. After a mod is extracted, you can find its resources and the dll containing the code in the following folder:
C:\Users\{username}\Documents\My Games\Terraria\tModLoader\ModReader\{modname}
The dll is also located in the following folder:
C:\Users\{username}\Documents\My Games\Terraria\tModLoader\ModSources\ModAssemblies
The extracted mod doesn't actually contain the .cs files containing the source code, only the compiled dll, which can be opened in a program like dnSpy to view the C# code.

Contact
If you find any bugs or have any suggestions, please let me know on the mod's Steam Page, Github Repository[github.com] or Discord Server[discord.gg]

Support

Please consider rating and favouriting the mod on Steam, starring the Github Repository[github.com] and joining the Discord Server[discord.gg] if you would like to support this mod.

More Tools Like This
tModUnpacker[github.com] is a similar tool which works for 1.3 mods as well (thanks to AwesomeSavage777 for pointing this out), though it may be buggier, however I haven't tested it myself.
Originally posted by tModLoader:
Developed By Destructor_Ben
46 Comments
Combo_pyro_main 11 hours ago 
thx
i am a piece of bread 27 Feb @ 8:56pm 
oh, if that's the case then yea it gets the dll
Destructor_Ben  [author] 27 Feb @ 4:49pm 
Do you have the config option for it enabled? Also it extracts the DLL not C# source files
i am a piece of bread 27 Feb @ 3:38am 
extracting doesn't get me a mod's code, only the textures
Destructor_Ben  [author] 31 Dec, 2024 @ 2:36pm 
I think tModUnpacker works for 1.3
billyredhair 31 Dec, 2024 @ 9:50am 
I would love a 1.3 version, it would be awesome for third parties to port abandoned 1.3 mods to 1.4
yeah 23 Aug, 2024 @ 1:10am 
me extracting this mod
Destructor_Ben  [author] 27 Jun, 2024 @ 3:49am 
this mod isn't needed much anymore, tML has made it so all mods can have their code extracted, the only use case for this is for resources like textures to be extracted
Destructor_Ben  [author] 25 May, 2024 @ 5:13pm 
uh oh, ill have to look into it.
Lilyy 25 May, 2024 @ 12:53pm 
oops actually it doesn't work anymore unfortunately