PureDark / VRisingPerfMod

C# source code for the upscaler mod
6 stars 5 forks source link

GLOOMROT UPDATE COMPATIBLITY? #7

Open leomaniaplayz opened 1 year ago

leomaniaplayz commented 1 year ago

Does this work with the latest gloomrot update?

Also when you say install like any other mod can you be more specific, because certain mods install differently and in different folders, so do you mean just put the .DLLs files into the bepinex plugins folder on the client side?

RoseIlanga commented 12 months ago

As far as I know, it should just go in the BepInEx/plugins directory, yeah. And the current release doesn't work with Gloomrot, but I've compiled the latest version with the Gloomrot updates from the repository myself. Haven't tested it yet, though.

PweSol commented 11 months ago

As far as I know, it should just go in the BepInEx/plugins directory, yeah. And the current release doesn't work with Gloomrot, but I've compiled the latest version with the Gloomrot updates from the repository myself. Haven't tested it yet, though.

I compiled it with your changes and it works to an extend. DLSS seems to works, FSR2 definitely works, XeSS doesn't work and crashes to desktop. This is the log for it that I get:

Repeat 2 times:
--------------------------------
   at PureDark.VRising.PerfMod.Upscale.UpscaleFlat.SimpleInit(Int32, PureDark.VRising.PerfMod.Upscale.UpscaleMethod, PureDark.VRising.PerfMod.Upscale.UpscaleProfile, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, PureDark.VRising.PerfMod.Upscale.DXGI_FORMAT)
--------------------------------
   at PureDark.VRising.PerfMod.Upscale.UpscaleFlat.Setup()
   at PureDark.VRising.PerfMod.Upscale.UpscaleFlat+<DelayEnableUpscale>d__36.MoveNext()
   at PureDark.VRising.PerfMod.MISC.MelonCoroutines.ProcessNextOfCoroutine(System.Collections.IEnumerator)
   at PureDark.VRising.PerfMod.MISC.MelonCoroutines.Process()
   at PureDark.VRising.PerfMod.MISC.MelonCoroutineCallbacks.Update()
   at DynamicClass.Trampoline_VoidThisPureDark.VRising.PerfMod.MISC.MelonCoroutineCallbacksUpdate(IntPtr, Il2CppInterop.Runtime.Runtime.Il2CppMethodInfo*)
   at DynamicClass.Invoker_VoidThis(IntPtr, Il2CppInterop.Runtime.Runtime.Il2CppMethodInfo*, IntPtr, IntPtr*)

The mod loads fine at startup it seems but I also get this error in BepInEx:

[Error  :   BepInEx] Error loading [VRisingPerformanceMod 1.1.0]: System.OverflowException: Arithmetic operation resulted in an overflow.
   at System.IntPtr.op_Explicit(IntPtr value)
   at PureDark.VRising.PerfMod.PerformancePlugin.LoadAllDlls()
   at PureDark.VRising.PerfMod.PerformancePlugin.Init()
   at PureDark.VRising.PerfMod.PerformancePlugin.Load()
   at BepInEx.Unity.IL2CPP.IL2CPPChainloader.LoadPlugin(PluginInfo pluginInfo, Assembly pluginAssembly) in /home/runner/work/BepInEx/BepInEx/Runtimes/Unity/BepInEx.Unity.IL2CPP/IL2CPPChainloader.cs:line 134
   at BepInEx.Bootstrap.BaseChainloader`1.LoadPlugins(IList`1 plugins) in /home/runner/work/BepInEx/BepInEx/BepInEx.Core/Bootstrap/BaseChainloader.cs:line 411
PweSol commented 11 months ago

So it turns out the latest official mod release is missing igxess.dll which is supposed to be required for the included XeSS 1.1 version to work. However adding the appropriate dll version doesn't fix the crash. What does work though is updating XeSS straight to its latest 1.2 version.

If anyone wants to try the mod with the changes made by the awesome people here, you can get it here.

sevawk commented 11 months ago

So it turns out the latest official mod release is missing igxess.dll which is supposed to be required for the included XeSS 1.1 version to work. However adding the appropriate dll version doesn't fix the crash. What does work though is updating XeSS straight to its latest 1.2 version.

If anyone wants to try the mod with the changes made by the awesome people here, you can get it here.

I have been looking for months for this and I'm so glad there's kind people like you all that have updated the mod! Thank you so much! WOOT! For those of you who want to add this mod manually to Thunderstore mod manager, go into settings and scroll down and you'll see an ADD LOCAL MOD option. Enjoy! God bless you all!