-
Notifications
You must be signed in to change notification settings - Fork 23
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
Error loading from character file: Character version is not compatible #39
Comments
Few questions.
|
The version of the client and the game is most likely the latest ¯_(ツ)_/¯ |
@jensbrak To my knowledge yours was the only version of Loki that supported post-Mistlands update. However, it seems like the Hildir's Request update has broken the character editor again, any chance you'd be willing to fix it since Wufflez seems unavailable? |
I noticed that and started look at the changes. It's more than a few new items, the save format has been quite extensively updated. Nothing advanced but more than the usual tweaks for sure (new stats system and some updates to the skill system too IIRC).
I'll see what I can do. Nothing particular complicated but a little more to test. Not sure if I will extend my branch of the program or the main one. I'll give a heads up here if I get the time to do an update. If no one beats me to it that is. Other than that I've played some more with Unity and dived a little deeper in the Valheim code base (already made my first mod. Nothing worthy a release but it's even more fun to fool around with the code at runtime than with the save files.) |
A little update: just as I had made the changes in (my version of) Loki to make it work with the Hildir update, Valheim was updated once again. And of course it included changes affecting how characters are loaded and saved. I have now updated (again my version of) Loki once again. It seems to work but needs a bit consideration and testing I feel. Why? The main problem is it seems the official Loki version is not actively maintained, or so it seems. My version of Loki might be the latest one updated to be compatible with Valheim as it has changed, but I have no intention of becoming the maintainer of Loki. As Valheim is evolving (with respect to character/player data), it becomes more and more difficult to "just throw in" things into Loki without having to do design choices and more. I'll see if I can redo things but base it on the official Loki code instead of my branch with its own life (sigh). If not, I'll just complicate things even more. I made my branch to toy with Loki, not with the intention to change it in the long run. (Since I've learned loads of stuff about Unity in general and Valheim in particular since I first started to toy with Loki, I now can give pointers for anyone wanting to modify their characters. Each solution with their pros and cons respectively). |
@jensbrak Thanks for your work on this, I totally understand not wanting to take over maintenance of the project. Is there a different tool that you think is preferable for making these modifications, such as an in-game mod? I just tend to like restarting when new content is added, but being able to skip the resource grind a bit makes it more enjoyable. I just found this: https://www.nexusmods.com/valheim/mods/1536/ And an in-game one: https://www.nexusmods.com/valheim/mods/104 Seems to be being actively updated, maybe that's worth recommending over Loki. |
@Ecksters (and anyone else missing a working version of Loki): I have made a custom release of Loki that works with the latest (at the time of writing) version of Valheim (0.217.24, Hildir update). It's available in my fork of Loki and released as Loki version 0.13-beta (aka Phivoc Hildir Update). Please read the release notes of it carefully before downloading and using it. |
Just curious. Would it be of any interest with another update? I didn't stop after releasing the update. Mostly out of curiosity (of the answer to "how hard could it be?") I added some features and while they do work just fine already, it would require some small tidying up if anyone else would be interested. Right now I have a version with:
There are other things that could be added quite easily (like "the rest" of the new stuff in the new save format) but I stopped with the above. After all, I don't use Loki for playing normally - these were just the things that I felt was missing the most. |
Haha, that's awesome, I'm still using it for now, so I certainly wouldn't complain, but you've brought to my attention that there are other tools, so certainly don't feel compelled to keep maintaining it. |
Allrighty then! It's just a matter of cleaning up some test code and make a new release on github with what I already have. I wouldn't have asked if I wasn't ready to do it. After diving in to the rabbit hole of creating mods and reverse engineering unity code and content, I realize how much I appreciate the isolated world of just managing save data. Both are great fun but have their pros and cons respectively :) |
If anyone still use this program, I have just updated my fork to work with Ashlands update (that came today). |
Updated my fork and made a new release with Ashlands support. |
@jensbrak Thanks for the update! I couldn't comment on your release itself, but I've played around with it a bit and no major issues so far. No crashes in game, inventory/skills are as expected, files load just fine, backups work. One small peculiarity - when using the .exe to open, characters load fine into the dropdown, everything works great. When opening the app with the character file (right click the file, open with, choose the .exe) the inventory doesn't load properly: item names are missing and nothing can be changed. Just something odd I stumbled upon. Again, this is great, thank you. |
@DarkJellyfish Just had a look. It is actually my code that is to blame. When separating the item database to a separate file, I made an assumption that seems to be false if starting Loki using "Open with..." (a case I didn't consider). The fix is super easy and will make inventory look as expected. I'll publish that fix at some time! A note though: Loki is NOT built to take "Open with..." into account. In other word, original author did not consider this case either, as far as I can see: If you launch Loki with a right click on a .fch-file, Loki will discard this information. It will instead load ALL files within a predetermined directory. Which likely is the same directory where the file you right clicked on is, making it feel like the right click actually loaded that file into Loki as a result. You can easily verify this: copy an .fch-file to a completely different location (say Desktop), right click and choose Open with. Loki will open a number of files. But look closely in the paths of each file (within Loki - under the title of the save files). The one you right clicked on (on the Desktop) is not there. But likely the original copy of the one you copied. Even this can be fixed but is more work to do. Mainly because the intention of Loki is to open all files within the save dir only. Adding the file being right clicked is easy. But then you also might wanna skip the loading of the files in the save dir. Or combine those results (with the risk of user mixing up the version of the file in the save dir with a specific copy of it elsewhere). Bottom line: design choices affecting usability will have to be made. Implementation is rather easy though. |
In case anyone wonder, yes, I have adjusted Loki to work with the 0.219.13 "The Bog Witch" version (which was released a couple of days ago). Testing the new version of Loki out myself and will make a release if anyone else is still using Loki. |
Updated my fork and made a release that works with The Bog Witch update. |
No description provided.
The text was updated successfully, but these errors were encountered: