边缘世界 RimWorld

边缘世界 RimWorld

Configurable Shelf Capacity
Kostr184 8 月 22 日 上午 1:19
A guide to fixing a mod while LupineWitch being lazy
Two parts, settings and harmony.log.txt on desktop

1 - Changing shelf capacity
Open in explorer this path
%LOCALAPPDATA%Low\Ludeon Studios\RimWorld by Ludeon Studios\Config
Find ConfigurableShelfCapacityMod, open it with notepad
Change first two <li>XX</li> under <values> line. Do not change third value from 1, it will break hoppers.


2 - Removing harmony.log.txt
LupineWitch forgot to disable debug mode. Let's fix it:
Download dnspy Dll Editor. It is a portable program on github.
Put
LupineWitch.ConfigurableShelfCapacity.dll
from mod's folder in dnspy dll editor
Open mod, then select
ConfigurableShelfCapacity
Find line Harmony.DEBUG = true, click RMB on this line, select "change IL instruction"
Right above
bool ['0harmony]HarmonyLib.Harmony::DEBUG
click on ldc.i4.1
Select ldc.i4.0 in this menu. Press OK. Press CTRL+SHIFT+S.


I have no idea how did Kupie removed "null" strings to make ingame settings work, it seems impossible to me.
最后由 Kostr184 编辑于; 8 月 22 日 上午 4:16
< >
正在显示第 1 - 3 条,共 3 条留言
laurent.mialon 8 月 27 日 上午 2:19 
for first part you can also launch the game in 1.5 version and change the settings there
Mr. Meeseeks 10 月 14 日 上午 11:01 
Could you maybe release your version as some sort of temporal fix? These steps are a bit much for me but awesome that you managed to fix it
Kostr184 10 月 27 日 下午 10:00 
引用自 Mr. Meeseeks
Could you maybe release your version as some sort of temporal fix? These steps are a bit much for me but awesome that you managed to fix it
https://www.mediafire.com/file/dhow8cofpqjlg6x/LupineWitch.ConfigurableShelfCapacity.dll/file
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50