Pt-Djefferson / ONIMods

12 stars 8 forks source link

Update direct download #8

Closed SpaceNerden closed 1 year ago

SpaceNerden commented 2 years ago

I noticed that the direct download is not working. I just get a singular .dll (I'm new to ONI modding so this might be intentional, but all mods I've come across where in a folder with 2 yaml files) and when I try to load it with a modified version of the 2 yaml files from #4 (Blueprints.zip), I get this error:

Exception while loading mod Pliers at . System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown. ``` Exception while loading mod Pliers at /home/spacenerden/.config/unity3d/Klei/Oxygen Not Included/mods/Local/Pliers. System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown. at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool) at System.Reflection.Assembly.GetTypes () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x0010c] in <9a51940ff4a74a9dacb23f596a903ca1>:0 at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in :0 at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in :0 at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in :0 at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in :0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <9a51940ff4a74a9dacb23f596a903ca1>:0 at KMod.Mod.Load (KMod.Content content) [0x00000] in <9a51940ff4a74a9dacb23f596a903ca1>:0 at KMod.Manager.Load (KMod.Content content) [0x00000] in <9a51940ff4a74a9dacb23f596a903ca1>:0 at Global.Awake () [0x00000] in <9a51940ff4a74a9dacb23f596a903ca1>:0 at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in :0 at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in :0 at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in :0 at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in :0 at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in :0 at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in :0 at LaunchInitializer.Update () [0x00000] in <9a51940ff4a74a9dacb23f596a903ca1>:0 Build: U42-510972-S ```
Pt-Djefferson commented 2 years ago

updated