【百宝袋MOD】我自己解决了汉化版百宝袋用不了的问题
当时百宝袋和DUMM都装上以后一直显示报错,看日志里是说读取不了0Harmony-1.2.dll或者0Harmony12.dll文件。但是打开游戏根目录根本没发现这两个文件啊,所以我就卸载了DUMM,安装了最新的UMM,发现他是有这两个文件的,于是我就复制粘贴过来了,发现可以用。虽然不知道别人能不能适用,但也可以试试吧,我把这两个文件分享一下。
我自己是Steam最新的版本(2.1.5d)+DLC,所以MOD管理器目录就是\Steam\steamapps\common\Pathfinder Kingmaker\Kingmaker_Data\Managed\UnityModManager
如果是论坛下载的朋友可以在安装游戏和DUMM后,直接在你的游戏目录里找\Pathfinder Kingmaker\Kingmaker_Data\Managed\UnityModManager
谢谢楼主!成功了!终于解决了TT 厉害了,帮了大忙 哇!老哥真的厉害!!果然就解决了!! 好家伙,我的帖子都没人回复沉了,自己顶一下 帮大忙了,感谢! 这必须顶上去
合理,顶一个 厉害了。解决了 谢谢大佬,不小心错过的同伴任务终于有救了! 虽然还是没有解决,但还是感谢楼主 lionkinglx 发表于 2021-6-3 14:32
虽然还是没有解决,但还是感谢楼主
可以截图我看看吗!mod加载日志的截图
求助:
Initialize engine version: 2018.4.10f1 (a0470569e97b)
GfxDevice: creating device client; threaded=1
Direct3D:
Version:Direct3D 11.0
Renderer: NVIDIA GeForce GTX 1660 Ti (ID=0x2182)
Vendor:
VRAM: 5991 MB
Driver: 27.21.14.5671
Begin MonoManager ReloadAssembly
正在注入……
正在初始化数据……
版本:0.23.4.46。
操作系统:Microsoft Windows NT 10.0.22000.0 AMD64。
.Net框架版本:4.0.30319.42000。
Unity引擎版本:2018.4.101。
游戏名称:开拓者:拥王者。
Mods路径:E:\Pathfinder Kingmaker\Mods。
Fallback handler could not load library E:/Pathfinder Kingmaker/Kingmaker_Data/Mono/data-0000023353C820E0.dll
Fallback handler could not load library E:/Pathfinder Kingmaker/Kingmaker_Data/Mono/data-0000023354546B30.dll
注入成功!
- Completed reload, in0.495 seconds
<RI> Initializing input.
<RI> Input initialized.
<RI> Initialized touch support.
UnloadTime: 0.421000 ms
正在解析游戏版本……
已找到游戏版本字符串为“2.1.7b”!
已检测游戏版本为“2.1.7”!
已初始化游戏脚本“PathfinderKingmaker”。
正在解析Mods……
正在解析文件“E:\Pathfinder Kingmaker\Mods\BagOfTricks\Info.json”……
正在排序Mods……
正在加载Mods……
MOD版本“1.16.12.35”已加载!
System.InvalidCastException: Specified cast is not valid.
at Harmony12.PatchInfoSerialization.Deserialize (System.Byte[] bytes) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.PatchProcessor.Patch () in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.<PatchAll>b__9_0 (System.Type type) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.CollectionExtensions.Do (System.Collections.Generic.IEnumerable`1 sequence, System.Action`1 action) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.PatchAll (System.Reflection.Assembly assembly) in <455e5c1456634e14910c281b79c6c325>:0
at BagOfTricks.Main.Load (UnityModManagerNet.UnityModManager+ModEntry modEntry) in <c703f0dce9b545f9b24c9b13d59dc17a>:0
[错误] 尝试调用方法“BagOfTricks.Main.Load”失败!
[异常] TargetInvocationException - Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Specified cast is not valid.
at Harmony12.PatchInfoSerialization.Deserialize (System.Byte[] bytes) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.PatchProcessor.GetPatchInfo (System.Reflection.MethodBase method) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.GetPatchInfo (System.Reflection.MethodBase method) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.UnpatchAll (System.String harmonyID) in <455e5c1456634e14910c281b79c6c325>:0
at BagOfTricks.Main.Load (UnityModManagerNet.UnityModManager+ModEntry modEntry) in <c703f0dce9b545f9b24c9b13d59dc17a>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) in <7ba07f088431485bb722f3b3373e87ee>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) in <7ba07f088431485bb722f3b3373e87ee>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) in <7ba07f088431485bb722f3b3373e87ee>:0
at UnityModManagerNet.UnityModManager+ModEntry.Invoke (System.String namespaceClassnameMethodname, System.Object& result, System.Object[] param, System.Type[] types) in <52f3dda0e76844658333db428745f230>:0
加载入口方法“BagOfTricks.Main.Load”失败!
加载MOD耗时0.57秒!
Mods解析完成!成功加载了0/1的MOD!
DUMM冻结游戏UI模式已开启!
将文件E:\Pathfinder Kingmaker\Kingmaker_Data\Managed\UnityModManager\background.jpg转换为Texture2D对象成功!
AddComponent asking for "DelayToInvoke" which is not a Unity engine type.
(Filename:Line: 71)
已启动协程 UnityModManagerNet.UnityModManager+UI.DoActionsFromMods!
正在检查MOD新版本……
无法访问网站,请检查防火墙或代理设置!
Setting up 10 worker threads for Enlighten.
Thread -> id: 48dc -> priority: 1
Thread -> id: 4b64 -> priority: 1
Thread -> id: 3144 -> priority: 1
Thread -> id: 581c -> priority: 1
Thread -> id: 5c24 -> priority: 1
Thread -> id: 5a08 -> priority: 1
Thread -> id: 4728 -> priority: 1
Thread -> id: 4a84 -> priority: 1
Thread -> id: 4424 -> priority: 1
Thread -> id: 5f48 -> priority: 1
Searching for compatible XInput library...
Found Xinput1_4.dll.
There is no object of type Kingmaker.Utility.CoroutineRunner. Creating new.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
The referenced script on this Behaviour (Game Object '<null>') is missing!
(Filename:Line: 294)
The referenced script on this Behaviour (Game Object '<null>') is missing!
(Filename:Line: 294)
The referenced script on this Behaviour (Game Object '<null>') is missing!
(Filename:Line: 294)
The referenced script on this Behaviour (Game Object '<null>') is missing!
(Filename:Line: 294)
Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object
at Kingmaker.UI.BugReportCanvas.OnEnable () in <07fa1e4d861841b39b8dfaa17d3b26f7>:0
(Filename: <07fa1e4d861841b39b8dfaa17d3b26f7> Line: 0)
The loaded level has a different lightmaps mode than the current one. Current: Directional. Loaded: Non-Directional. Will use: Directional.
(Filename:Line: 258)
https://bbs.3dmgame.com/thread-5909008-1-1.html
页:
[1]