边缘世界 RimWorld

边缘世界 RimWorld

391 个评价
RIMMSAssemble
   
奖励
收藏
已收藏
取消收藏
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5
文件大小
发表于
更新日期
3.811 MB
2019 年 6 月 24 日 下午 4:37
2024 年 4 月 30 日 下午 2:29
7 项改动说明 ( 查看 )

订阅以下载
RIMMSAssemble

描述
This mod allows other assembly mods to load referenced assemblies even if their version has changed.

When rimworld releases an update no mod has to be recompiled to work with the new assembly version. This is due to a custom AssemblyResolver, however that resolver does not work for anything other than the main rimworld assembly. This mod corrects the assembly resolving thus increasing stability for mod lists and allows truly independant development between mods.

In order for an assembly to be correctly loaded it must avoid being loaded by the base game. Thus the normal file extension of ".dll" must be changed to ".α︎ss". Now the mod will load the assembly and take over the creation of the mod classes to ensure the load order is kept.

C# solutions can achieve the automatic renaming by adding post build instructions. These (windows) instructions first remove old assemblies and then rename the new assemblies file extension.

  • del *.α︎ss
  • rename "MyAssemblyName.dll" *.α︎ss

For the most part this mod will only be necessary if another mod adds it as dependancy, however it can also be used by manually renaming a mods assembly if the game log reports a ReflectionTypeLoadException error. If that error doesn't happen before any mod is loaded it might be enough to just have this mod present.

Load Order
As early as possible, since only mods below it can be handled correctly.

Disclaimer
Any resources based on or referencing rimworld resources are also subject to rimworlds eula agreement. This includes images, audio but also decompiled sections repeated in this mod. If the origin is unclear it must be assumed that the rimworld eula applies.

Also on github[github.com].
79 条留言
Thetaprime 7 月 13 日 下午 12:52 
1.6 has dropped. I'm sure you heard, but just FYI.
[+DG+] Sir_Castic 2024 年 10 月 4 日 上午 10:56 
delete ass files
Lanoz 2024 年 4 月 30 日 下午 8:46 
Thanks!:luv:
Razuhl  [作者] 2024 年 4 月 30 日 下午 2:35 
@Lanoz Done
Lanoz 2024 年 4 月 29 日 下午 1:14 
For 1.5 perhaps?
Max 2023 年 12 月 26 日 上午 11:28 
So, is this mod still relevant? I've used it a fair bit, but never went through the effort of checking whether it had an impact.
[+DG+] Sir_Castic 2022 年 11 月 11 日 下午 5:41 
*.ass reads as star dot ass and lmao, that's an anus
VelxraTV 2022 年 10 月 21 日 下午 4:52 
thank you!
Razuhl  [作者] 2022 年 10 月 21 日 下午 4:48 
@Velxra done
VelxraTV 2022 年 10 月 21 日 下午 12:19 
Please update to 1.4