Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest Update Breaks the Map #35

Open
Kydoimos97 opened this issue Jun 21, 2022 · 14 comments
Open

Latest Update Breaks the Map #35

Kydoimos97 opened this issue Jun 21, 2022 · 14 comments

Comments

@Kydoimos97
Copy link

The map doesn't work anymore after patch 0.209.9

@hhliow
Copy link

hhliow commented Jun 21, 2022

The error message I'm seeing:
[Error : Unity Log] MissingMethodException: string World.GetWorldSavePath()
Stack trace:
ValheimPerformanceOptimizations.Patches.MinimapGenerationPatch.MinimapTextureFilePath () (at <40fc3883eb9f407fbb84228c4cd9c237>:0)
ValheimPerformanceOptimizations.Patches.MinimapGenerationPatch.Prefix (Minimap __instance) (at <40fc3883eb9f407fbb84228c4cd9c237>:0)
(wrapper dynamic-method) Minimap.DMDMinimap::GenerateWorldMap(Minimap)
Minimap.Update () (at <10b1b9e30d104f7cb009be7e57f128dc>:0)

@UncleFive1
Copy link

can confirm map is broken with the latest patch

@ontrigger
Copy link
Owner

ontrigger commented Jun 25, 2022

If you really need VPO, here's an untested, in-dev version. Use at your own risk: vpo-dev.zip
It has some small new optimizations, but don't expect a performance increase, as I had to disable some other features due to bugs

@hhliow
Copy link

hhliow commented Jun 26, 2022

Many thanks!

@nivajaa
Copy link

nivajaa commented Jul 3, 2022

anyone knows how i can fix my map, that broke due to the latest update?, if its even possible?

@jdeneef
Copy link

jdeneef commented Jul 3, 2022

the vpo-dev.zip as from previous post is working for me. Still some minor glitches but overall working nicely including the map

@Hartez98
Copy link

anyone knows how i can fix my map, that broke due to the latest update?, if its even possible?

Struggling with the same

@jdeneef
Copy link

jdeneef commented Jul 12, 2022

check the vpo-dev.zip posted above by ontrigger, you need to drop those files in the Valheim directory, info is in the file. Note that it is more than just the plugin file, also other files. I don't recall the directory, but please check the file. Worked for me.

@iron-bro
Copy link

iron-bro commented Aug 10, 2022

so how do we restore old map data including pins? this mod caused my map to stop working and when I disabled VPO in vortex it started working again but my entire map was 'Undiscovered' and I lost all of my previous pins too

@N-Prime
Copy link

N-Prime commented Sep 3, 2022

On the Linux version of the game, the dev version results in extremely slow performance (takes several minutes to load, get 1 frame every few seconds once loaded).

The only way to restore map data I found was to restore the charactername.fch file from backup (which I fortunately had).

If this mod isn't going to be updated, it should probably be unlisted from mod sites since it can result in losing map data.

@digital-pet
Copy link

I'm not seeing any performance hits on Linux, could it be a mod conflict?

@N-Prime
Copy link

N-Prime commented Sep 11, 2022

I tried disabling all other mods (using r2modman if this makes a difference) and I'm still getting the slowdown.

The exact steps I use:

Install Valheim PerformanceOptimizations
Download the dev version from:
https://github.com/ontrigger/ValheimPerformanceOptimizations/files/8984879/vpo-dev.zip

Unzip in downloads folder

Copy the 3 dll files from:
Downloads/vpo-dev/valheim_Data/Managed/
to
/SteamLibrary/steamapps/common/Valheim/valheim_Data/Managed/

Rename the existing (old) ValheimPerformanceOptimizations.dll in
~/.config/r2modmanPlus-local/Valheim/profiles/Default/BepInEx/plugins/ontrigger-ValheimPerformanceOptimizations/
to
ValheimPerformanceOptimizations.dll.orig

Copy the ValheimPerformanceOptimizations.dll file from:
/vpo-dev/BepInEx/plugins/ValheimPerformanceOptimizations/
to
~/.config/r2modmanPlus-local/Valheim/profiles/Default/BepInEx/plugins/ontrigger-ValheimPerformanceOptimizations/

Run the game with mods enabled (all other mods disabled except for BepInExPack_Valheim and ValheimPerformanceOptimizations).

In case it was related to the folder name in BepInEx/plugins/ I also tried:

Creating a new folder with the path:
~/.config/r2modmanPlus-local/Valheim/profiles/Default/BepInEx/plugins/ValheimPerformanceOptimizations/

Copying all files from:
~/.config/r2modmanPlus-local/Valheim/profiles/Default/BepInEx/plugins/ontrigger-ValheimPerformanceOptimizations/
to
~/.config/r2modmanPlus-local/Valheim/profiles/Default/BepInEx/plugins/ValheimPerformanceOptimizations/

Renaming the existing (old) ValheimPerformanceOptimizations.dll in
~/.config/r2modmanPlus-local/Valheim/profiles/Default/BepInEx/plugins/ValheimPerformanceOptimizations/
to
ValheimPerformanceOptimizations.dll.orig

Copy the ValheimPerformanceOptimizations.dll file from:
/vpo-dev/BepInEx/plugins/ValheimPerformanceOptimizations/
to
~/.config/r2modmanPlus-local/Valheim/profiles/Default/BepInEx/plugins/ValheimPerformanceOptimizations/

Disabling ValheimPerformanceOptimizations in r2modman - this disables the version the mod manager downloaded (.old is appended to all filenames in the ontrigger-ValheimPerformanceOptimizations folder) but (I believe) leaves the version I created in the ValheimPerformanceOptimizations folder to be loaded normally. To verify this, I started the game with mods enabled and it says 2 plugins were loaded. If I move the ValheimPerformanceOptimizations folder out of the plugins folder and load the game, it says only 1 plugin is loaded (I assume BepInEx).

Ran the game with mods enabled (all mods disabled except for BepInEx).

I got the slowdown in both cases.

@jdeneef
Copy link

jdeneef commented Sep 12, 2022

I'm just using bepinex and this mod (no r2modman etc). This mod is still giving me a lot of performance improvements on linux (but also some issues/artefacts but not to disturbing ;-). Your setup does not show obvious flaws, sorry. Possibly start from fresh install ..

@vasyavasya7628
Copy link

ontrigger, you made the best mod. Its hugely increase performance. Good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests