tModLoader

tModLoader

87 个评价
Mod Extractor
2
   
奖励
收藏
已收藏
取消收藏
模组功能: 实用辅助
模组端: 客户端
tModLoader版本: 1.4.3, 1.4.4
语言: 英语
文件大小
发表于
更新日期
124.767 KB
2022 年 11 月 8 日 下午 6:41
2023 年 12 月 19 日 下午 3:34
10 项改动说明 ( 查看 )

订阅以下载
Mod Extractor

在 Destructor_Ben 的 1 个合集中
Destructor_Ben's Mods
2 件物品
描述
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.
引用自 tModLoader
Developed By Destructor_Ben
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