tModLoader

tModLoader

Mod Extractor
50 条留言
Destructor_Ben  [作者] 8 月 6 日 下午 4:36 
Mod files should be a .tmod file, are you sure you are doing it properly? You can join the discord server in the description if you need to talk to me.
Hamborger🍉 8 月 6 日 上午 11:44 
i edited a mod file (bak file) but once i tried it. the mod resets back to its original property
Destructor_Ben  [作者] 7 月 24 日 下午 11:07 
It shouldn't be encrypted, but it will be in a DLL, so you will need a tool like dotPeek, ILSpy, or dnSpy to decompile the DLL back into C# code.
Combo_pyro_main 7 月 24 日 上午 11:53 
I'm trying to use this to figure out how to code extra classes, what do i do if the code is encrypted
Combo_pyro_main 7 月 21 日 下午 3:42 
thx
i am a piece of bread 2 月 27 日 下午 8:56 
oh, if that's the case then yea it gets the dll
Destructor_Ben  [作者] 2 月 27 日 下午 4:49 
Do you have the config option for it enabled? Also it extracts the DLL not C# source files
i am a piece of bread 2 月 27 日 上午 3:38 
extracting doesn't get me a mod's code, only the textures
Destructor_Ben  [作者] 2024 年 12 月 31 日 下午 2:36 
I think tModUnpacker works for 1.3
billyredhair 2024 年 12 月 31 日 上午 9:50 
I would love a 1.3 version, it would be awesome for third parties to port abandoned 1.3 mods to 1.4
yeah 2024 年 8 月 23 日 上午 1:10 
me extracting this mod
Destructor_Ben  [作者] 2024 年 6 月 27 日 上午 3:49 
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  [作者] 2024 年 5 月 25 日 下午 5:13 
uh oh, ill have to look into it.
Lilyy 2024 年 5 月 25 日 下午 12:53 
oops actually it doesn't work anymore unfortunately
Lilyy 2024 年 5 月 25 日 下午 12:47 
thank you so much for this!! the fact closed source software even exists is such a joke
alox 2024 年 4 月 17 日 下午 8:34 
ok, thanks :steamthumbsup:
Destructor_Ben  [作者] 2024 年 4 月 17 日 下午 8:26 
I think you can use a texturepack for this. If not, you will need to take the extracted calamity mod, put it into the ModSources folder in the tML folder, edit the build.txt to add [code]noCompile = true[/code], then replace the textures you want to, then build the mod in the mod sources menu in tml. Probably better to ask on the tML discord (https://discord.gg/tmodloader) , since other people have probably done this before
alox 2024 年 4 月 17 日 下午 3:43 
Hello, sorry, I'm new to this and the thing is that I changed some Calamity textures to play with my brother, but now how do I put them into the game? please, It took me a lot to make those textures :(
Destructor_Ben  [作者] 2023 年 12 月 5 日 下午 4:31 
👍🏻
Pannoniæ 2023 年 12 月 5 日 上午 7:09 
Please update the description, Cal only hides the resources now, not the code
Destructor_Ben  [作者] 2023 年 10 月 8 日 下午 4:49 
I'll have to check
Denver 2023 年 10 月 7 日 下午 5:15 
Does this work properly after the october update? Using it to try to fix a mod for myself, and it isn't extracting the code despite the toggle
Doc 2023 年 9 月 18 日 上午 8:41 
"or modders wanting to add cross-mod support or people wanting to use mods as a learning resource." read motherfucker READ
Destructor_Ben  [作者] 2023 年 9 月 7 日 下午 12:31 
Yea
Joker 2023 年 9 月 6 日 下午 3:09 
okay that actually looks like a nightmare to get working after reading through that
Destructor_Ben  [作者] 2023 年 9 月 2 日 下午 4:46 
If you are referring to code that is private or internal for example, then unfortunately no. However, you can use reflection, which is a way to get and use fields, properties, methods, and classes by their names, to get the content instead, though it is difficult to get working sometimes. More info: https://github.com/tModLoader/tModLoader/wiki/Patching-Other-Mods-Using-MonoMod#bonus-example-il-editing-using-only-weak-references-and-reflection , there is also a lot of valuable information in the expert section of the tModLoader wiki.
Joker 2023 年 9 月 2 日 下午 3:10 
calamity for some reason doesnt have a inaccessible due to its protection level
Joker 2023 年 9 月 2 日 下午 2:33 
can it help allow things like protection code to be used out side of said mod (like example fargos soul's bosses downed code which I am trying to create a mod that has alternate bosses to fight over the soul's bosses but it says its protected locked)
Destructor_Ben  [作者] 2023 年 8 月 4 日 下午 3:04 
Yeah, if you extract a mod you can get the .DLL containing the code, then reference that in a new mod to use it’s content. More info here: https://github.com/tModLoader/tModLoader/wiki/Expert-Cross-Mod-Content
Joker 2023 年 8 月 4 日 上午 9:26 
does this allow you to see the mods things like block/item ids to help make a custom texture that replaces said items/blocks or use said items/blocks from another mod. for example a gun that shoots projectiles from another mod?
Destructor_Ben  [作者] 2023 年 7 月 29 日 下午 4:12 
Learning resources + mod compatibility, it says in the description.
cyberjoke 2023 年 7 月 29 日 上午 3:41 
if you dont want people to pirate mods with this tool, then whats the point of using it???
professional clown 2023 年 7 月 14 日 上午 12:58 
@AwesomeSavage77, VirusTotal says this file is a trojan. are you sure it's safe to use?
Destructor_Ben  [作者] 2023 年 6 月 13 日 下午 4:02 
what mod are you using it on and can you send me a zip file of what it extracted + logs on the discord server?
Айри Гуль 2023 年 6 月 13 日 上午 2:47 
but it extracts without code, it's complete nonsense and not a mod
Destructor_Ben  [作者] 2023 年 6 月 11 日 下午 4:44 
you should just have to open a mods info menu then click extract
Айри Гуль 2023 年 6 月 10 日 上午 10:33 
how to use it, I installed the mod and turned it on in the game, what's next?
Magma! 2023 年 5 月 14 日 上午 2:44 
This is illegal lmao remove it
Quankruger 2023 年 5 月 10 日 上午 7:16 
Seems like a pretty cool tool. I hope it can help for more cross mod support on the workshop! Thanks!
Azzy_Asurazariel 2023 年 5 月 6 日 下午 9:14 
Also in terms of fixing mods make sure you post a link to the original mod and explain that yours is "Unofficial with fixes or changes not necessarily approved by mod dev"
AwesomeSavage777 2023 年 4 月 19 日 下午 12:59 
For anyone who cares, I have found an alternative to this mod, which doesn't need to be loaded in the game and works with 1.3 mods: https://github.com/IVogel/tModUnpacker/releases . The one downside is the bugs, but if there is a bug that is a problem with a 1.4 mod, use this mod instead of the program I linked. The program that I linked can also be used to extract dead and long dead mods, so one can revive them, revive some of their content, or just use long lost, highly unknown, or highly sought after code in their new era mods. You will still need to extract the mod's .dll file, and for 1.3 mods, there are 2 .dll files, either one can be extracted, but [mod name]FNA.dll is the better one 95% of the time. XNA.dll should only be extracted for very old mods, when it is the only one.
AwesomeSavage777 2023 年 4 月 19 日 下午 12:58 
DO NOT PLAGIARIZE PEOPLES' CODE FOR OR BY ANY REASON, UNLESS IT IS THE ONLY WAY TO CODE SOMETHING, OR IF THE ORIGINAL CREATOR DOESN'T CARE, AND IF REMAKING A MOD, ASK THE ORIGINAL CREATOR IF YOU CAN DO SO. IF THEY SAY NO, THEN THE ANSWER IS NO, THE EXCEPTION TO THIS IS IF THEY ARE NEARLY IMPOSSIBLE (OR HARDER) TO REACH, OR HAVE LEFT THE TERRARIA COMMUNITY A WHILE AGO. ONLY REVIVE CONTENT IF IT IS/WAS FULLY DISCARDED BY THE ORIGINAL CREATOR, IF THE ORIGINAL CREATOR DOESN'T CARE ABOUT IT, OR IF THE ORIGINAL CREATOR HAS LEFT THE COMMUNITY OR THE INTERNET ENTIRELY.
andro951 2023 年 3 月 23 日 下午 8:52 
Ty for a way to see Calamity code so I can make my mod more compatible. <3
dezelda 2023 年 2 月 5 日 上午 4:18 
you are my hero bro
Destructor_Ben  [作者] 2023 年 1 月 22 日 下午 4:17 
You should just be able to enable the mod, open the mod info menu for Calamity, then click extract. Also, make sure extract code and/or extract resources is enabled in the config.
professional clown 2022 年 12 月 29 日 下午 9:43 
i could use it for the same deeds
Destructor_Ben  [作者] 2022 年 12 月 29 日 下午 1:46 
I don't know about legality, but I know that it wouldn't be considered "ethical" and I would have to take it down if the tML devs asked to, since I'm guessing the reason mods can hide their code is so they aren't copied, though that doesn't make that much of a difference, since you can always reupload the existing mod file. I mainly made this for personal use, but decided to publish it in case anyone else was stuck making something and wanted reference for how to make it (I used Calamity as a reference for how to make fancy swords like the Exoblade.)
professional clown 2022 年 12 月 29 日 上午 3:10 
is this legal?
Destructor_Ben  [作者] 2022 年 11 月 20 日 下午 7:05 
Don't think so, but I only got into tML in 1.4, so I'm not really qualified to talk about it
tanunm 2022 年 11 月 20 日 上午 1:00 
is there a way i can view the hidden contents of a mod that was available in Tmod 1.3