java -jar valheim-save-tools.jar char.fch char.json -v
INFO Reading from /home/user/GitHub/valheim-save-tools/build/libs/char.fch
WARN Character version 37 encountered, last tested version was 33
WARN Map version 7 encountered, but latest tested map version was 4
WARN Object at 92 with size 8379 was not fully read, 8371 bytes remain
WARN At net.kakoen.valheim.save.archive.character.WorldPlayerData.<init>(WorldPlayerData.java:39)
WARN Object at 4 with size 48184 was not fully read, 39717 bytes remain
WARN At net.kakoen.valheim.save.archive.ValheimCharacter.<init>(ValheimCharacter.java:41)
WARN File not fully read, 68 bytes remain
Exception in thread "main" java.nio.BufferUnderflowException
at java.base/java.nio.ByteBuffer.get(ByteBuffer.java:798)
at java.base/java.nio.ByteBuffer.get(ByteBuffer.java:826)
at net.kakoen.valheim.save.parser.ZPackage.readBytes(ZPackage.java:136)
at net.kakoen.valheim.save.archive.character.MinimapData.<init>(MinimapData.java:38)
at net.kakoen.valheim.save.archive.character.WorldPlayerData.lambda$new$0(WorldPlayerData.java:39)
at net.kakoen.valheim.save.parser.ZPackage.readFixedSizeObject(ZPackage.java:163)
at net.kakoen.valheim.save.parser.ZPackage.readLengthPrefixedObject(ZPackage.java:187)
at net.kakoen.valheim.save.archive.character.WorldPlayerData.<init>(WorldPlayerData.java:39)
at net.kakoen.valheim.save.archive.ValheimCharacter.lambda$new$1(ValheimCharacter.java:58)
at net.kakoen.valheim.save.parser.ZPackage.readFixedSizeObject(ZPackage.java:163)
at net.kakoen.valheim.save.parser.ZPackage.readLengthPrefixedObject(ZPackage.java:187)
at net.kakoen.valheim.save.archive.ValheimCharacter.<init>(ValheimCharacter.java:41)
at net.kakoen.valheim.cli.SaveToolsCLI.readValheimArchive(SaveToolsCLI.java:123)
at net.kakoen.valheim.cli.SaveToolsCLI.main(SaveToolsCLI.java:52)
Can you please update the tool?
Thanks in advance!
Compiled from the latest code with java 17
When trying to convert a char fch to json I got:
Can you please update the tool? Thanks in advance!