ark-tools icon indicating copy to clipboard operation
ark-tools copied to clipboard

[Bug] BufferUnderflowException

Open DrZed opened this issue 7 years ago • 0 comments

I was getting an OutOfMemory exception until I allocated 7GB for my save, then it finally did this.

I'm trying to fix my pteranodon, it messed up during save and crashed and when I loaded it back up the stamina was 300 instead of over 1000 that I had put point into.

My save is TheIsland.zip

The command I executed is java -jar -Xmx7168m -Xms7168m ark-tools.jar s2j F:\Games\Steam\steamapps\common\ARK\ShooterGame\Saved\SavedArksLocal\TheIsland.ark save.json

java.nio.BufferUnderflowException at java.nio.DirectCharBufferU.get(Unknown Source) at qowyn.ark.ArkArchive.getString(ArkArchive.java:194) at qowyn.ark.ArkSavFile.readBinary(ArkSavFile.java:46) at qowyn.ark.FileFormatBase.readBinary(FileFormatBase.java:30) at qowyn.ark.tools.ConvertingCommands.toJson(ConvertingCommands.java:89) at qowyn.ark.tools.ConvertingCommands.savToJson(ConvertingCommands.java:64) at qowyn.ark.tools.App.main(App.java:125)

DrZed avatar Jan 18 '18 22:01 DrZed