Filigrani / SkyCoop

Multiplayer for The Long Dark game
MIT License
157 stars 25 forks source link

Cannot Open Up The Game #47

Closed Popcornnnnnrrr closed 1 year ago

Popcornnnnnrrr commented 1 year ago

Mod Version: v10.4 Game Version: v0.0 (not sure, probably the latest one, I've just downloaded the game, and now I can't open up the game) Launcher: Epic Games Store Additional mods installed: No Perspective: Host

Description

I'm experiencing the game keep on closing itself. I saw that on discord in troubleshooting, it says I need to open the game from the epic launcher, but I did what it said, I still can't open the game. I followed the exact instructions on discord and extracted everything in the zip file into the Mods file (as shown in the image below). image

After I open the game using Epic, I see the terminal pops up (first image), and then the MelonLoader logo pops up (second image). After that, the game closes itself. image image

How to reproduce

  1. Open the game from Epic

Expected behavior

Open the game properly.

Logs

Host side log Paste crash between the triple backticks.

Log can be found in game directory "TheLongDark\MelonLoader\Logs", please make sure that you paste CORRECT LOG, every log named with date of session, so please paste log only from session where you exactly had a problem.

If you are the client of a session, please ask your friend host to send you a log file. (Even if only client(s) experienced the problem, a host log is required in any way).

[03:19:30.582] ------------------------------
[03:19:30.583] MelonLoader v0.5.7 Open-Beta
[03:19:30.587] OS: Windows 10
[03:19:30.588] Hash Code: 49999848531024954985654485098975250521005157544948501005510199495356
[03:19:30.588] ------------------------------
[03:19:30.589] Game Type: Il2Cpp
[03:19:30.589] Game Arch: x64
[03:19:30.589] ------------------------------
[03:19:30.589] Core::BasePath = C:\Program Files\Epic Games\TheLongDark
[03:19:30.590] Game::BasePath = C:\Program Files\Epic Games\TheLongDark
[03:19:30.590] Game::DataPath = C:\Program Files\Epic Games\TheLongDark\tld_Data
[03:19:30.590] Game::ApplicationPath = C:\Program Files\Epic Games\TheLongDark\tld.exe

[03:19:30.882] ------------------------------
[03:19:30.882] Game Name: TheLongDark
[03:19:30.883] Game Developer: Hinterland
[03:19:30.885] Unity Version: 2021.3.6f1
[03:19:30.885] Game Version: 2.06
[03:19:30.886] ------------------------------

[03:19:31.109] Preferences Loaded!
[03:19:31.116] [Il2CppUnityTls] Patching mono_unity_get_unitytls_interface...
[03:19:31.117] [Il2CppUnityTls] Patching il2cpp_unity_install_unitytls_interface...
[03:19:31.343] [Il2CppUnityTls] Calling Il2CppInstallUnityTlsInterface...

[03:19:31.361] Loading Plugins from 'C:\Program Files\Epic Games\TheLongDark\Plugins'...
[03:19:31.363] 0 Plugins loaded.

[03:19:32.084] [MelonStartScreen] Initializing...
[03:19:32.116] [MelonStartScreen] Using Start Screen Theme: "Default"
[03:19:33.045] Loading Il2CppAssemblyGenerator...
[03:19:33.074] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[03:19:33.346] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[03:19:33.347] [Il2CppAssemblyGenerator] RemoteAPI.UnhollowerVersion = null
[03:19:33.348] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[03:19:33.349] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[03:19:33.350] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[03:19:33.352] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.8
[03:19:33.353] [Il2CppAssemblyGenerator] Using Il2CppAssemblyUnhollower Version = 0.4.18.0
[03:19:33.354] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2021.3.6
[03:19:33.355] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[03:19:33.357] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[03:19:33.358] [Il2CppAssemblyGenerator] Il2CppAssemblyUnhollower is up to date.
[03:19:33.360] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[03:19:33.361] [Il2CppAssemblyGenerator] Checking GameAssembly...
[03:19:33.972] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.

[03:19:34.004] Loading Mods from 'C:\Program Files\Epic Games\TheLongDark\Mods'...
[03:19:34.005] 0 Mods loaded.

Paste crash between the triple backticks.

Log can be found in game directory "TheLongDark\MelonLoader\Logs", please make sure that you paste CORRECT LOG, every log named with date of session, so please paste log only from session where you exactly had a problem.

If you are the host of the session, please ask your friend(s) client(s) that experienced a problem, to send their logs to you.

Popcornnnnnrrr commented 1 year ago

I've just click the "verify files" option in Epic, now the log file shows:

[03:35:00.887] [MelonStartScreen] Initializing...
[03:35:00.921] [MelonStartScreen] Using Start Screen Theme: "Default"
[03:35:01.898] Loading Il2CppAssemblyGenerator...
[03:35:01.926] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[03:35:02.200] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[03:35:02.202] [Il2CppAssemblyGenerator] RemoteAPI.UnhollowerVersion = null
[03:35:02.203] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[03:35:02.204] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[03:35:02.204] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[03:35:02.206] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.8
[03:35:02.207] [Il2CppAssemblyGenerator] Using Il2CppAssemblyUnhollower Version = 0.4.18.0
[03:35:02.208] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2021.3.6
[03:35:02.208] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[03:35:02.209] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[03:35:02.210] [Il2CppAssemblyGenerator] Il2CppAssemblyUnhollower is up to date.
[03:35:02.211] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[03:35:02.212] [Il2CppAssemblyGenerator] Checking GameAssembly...
[03:35:02.842] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.

[03:35:02.848] Loading Mods from 'C:\Program Files\Epic Games\TheLongDark\Mods'...
[03:35:02.849] ------------------------------
[03:35:02.854] Melon Assembly loaded: '.\Mods\KeyboardUtilities.dll'
[03:35:02.854] SHA256 Hash: 'c1652a5a877ac61c5d62af6b1d70ec0b173fff8315f064919788656c68972202'
[03:35:02.871] Melon Assembly loaded: '.\Mods\SkyCoop.dll'
[03:35:02.872] SHA256 Hash: '633fb6129ca401791c4ad6bab6106a21b4d296ba39558234560c2171960c7af1'
[03:35:02.879] Melon Assembly loaded: '.\Mods\Steamworks.NET.dll'
[03:35:02.879] SHA256 Hash: 'a61778cbce992f1d3ab48577d8c6c1c43778727b6127cdfa8b97eccc353ce6ab'
[03:35:03.771] [ERROR] Failed to load 1 Melon from SkyCoop.dll:
[03:35:03.772] [ERROR] Failed to load Melon 'SkyCoop.MyMod': Failed to create an instance of the Melon.
[03:35:03.776] [ERROR] System.TypeLoadException: Could not load type of field 'SkyCoop.MyMod:m_Panel_SelectRegion' (309) due to: Could not resolve type with token 0100007d (from typeref, class/assembly Panel_SelectRegion, Assembly-CSharp, Version=1.0.8284.19032, Culture=neutral, PublicKeyToken=null) assembly:Assembly-CSharp, Version=1.0.8284.19032, Culture=neutral, PublicKeyToken=null type:Panel_SelectRegion member:(null) signature:<none>

  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00018] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture) [0x00000] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at MelonLoader.MelonAssembly.LoadMelons () [0x000c4] in <6425afb6ac6a429aaf770255d2f7de57>:0 

[03:35:03.786] ------------------------------
[03:35:03.786] KeyboardUtilities v1.3.0
[03:35:03.790] by Sinai, ds5678
[03:35:03.791] Assembly: KeyboardUtilities.dll
[03:35:03.791] ------------------------------
[03:35:03.792] ------------------------------
[03:35:03.792] 1 Mod loaded.
Filigrani commented 1 year ago

You can't use mod on game version 2.06. Mod only works on 2.02, you suppose to downgrade game to 2.02, but you can't do this, because you own EGS version of the game.