Qowyn / ark-tools

Tools to work with the binary files of ark. Extract information, manipulate them or write them from scratch.
MIT License
70 stars 25 forks source link

Version 8 unknown #21

Closed Letoric closed 7 years ago

Letoric commented 7 years ago

Hi Qowyn. Looks like the new release of Ark came with a new version of save files. Have fun sir! :)

If you need some sent, let me know.

TyrelSackett commented 7 years ago

same. happy to send anything needed to help as well.

java.lang.UnsupportedOperationException: Found unknown Version 8 at qowyn.ark.ArkSavegame.readBinaryHeader(ArkSavegame.java:178) at qowyn.ark.ArkSavegame.readBinary(ArkSavegame.java:140) at qowyn.ark.ArkSavegame.(ArkSavegame.java:90) at qowyn.ark.tools.CreatureListCommands.listImpl(CreatureListCommands.java:109) at qowyn.ark.tools.CreatureListCommands.wild(CreatureListCommands.java:67) at qowyn.ark.tools.App.main(App.java:117)

van-dell commented 7 years ago

Same. I get @TyrelSackett's error when doing the wild command, for tamed it's 62 instead of 67:

java.lang.UnsupportedOperationException: Found unknown Version 8 at qowyn.ark.ArkSavegame.readBinaryHeader(ArkSavegame.java:178) at qowyn.ark.ArkSavegame.readBinary(ArkSavegame.java:140) at qowyn.ark.ArkSavegame.(ArkSavegame.java:90) at qowyn.ark.tools.CreatureListCommands.listImpl(CreatureListCommands.java:109) at qowyn.ark.tools.CreatureListCommands.tamed(CreatureListCommands.java:62) at qowyn.ark.tools.App.main(App.java:117)

b13n3rd commented 7 years ago

Apart from the fact, that ark-tools does not know how to handle version 8 there seems to be little to no problem parsing the version savegames. I changed the code so version 8 is treated like version 7 and until now, i could not discover any bugs / problem.

Until qowyn provides an official solution, i provide a hotfixed build: https://ark.bienerd.de/pages/ark-tools-hotfix.html and created a pull request, stating the changes https://github.com/Qowyn/ark-savegame-toolkit/pull/4.

I think we should continue to provide problems / bugs / differences to version 7 to support.

SwissBorn2Frag commented 7 years ago

@b13n3rd Your download is detected by Chrome as suspect.

b13n3rd commented 7 years ago

@SwissBorn2Frag thank you for pointing out. Of course, the file is clean. I guess, chrome flags the file because of ark-tools.exe & ark-tools.jar contents. A note and virustotal scan was added to my page.

SwissBorn2Frag commented 7 years ago

Thanks. Your fix works :)

van-dell commented 7 years ago

@b13n3rd Thanks, works like a charm!

TyrelSackett commented 7 years ago

well now we have version 9. Thanks Wildcard! @b13n3rd any way to fix for version 9??

SwissBorn2Frag commented 7 years ago

@b13n3rd Can you please fix it again? :) Can you maybe add something like if(version >= "8") to automatically fix it for further versions?

Qowyn commented 7 years ago

Should be completely fixed with the 0.6.0 release