Giter Club home page Giter Club logo

ark-tools's People

Contributors

qowyn avatar zokradonh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ark-tools's Issues

[Bug] BufferUnderflowException

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)

v257 tools Invalid

java.lang.NullPointerException at qowyn.ark.ArkProfile.toJson(ArkProfile.java:151) at qowyn.ark.tools.ConvertingCommands.profileToJson(Converting Commands.java:90) at qowyn.ark.tools.App.main(App.java:114)

v259 changed some things which broke some things :)

java.lang.UnsupportedOperationException: Found unknown Version 7
java.lang.UnsupportedOperationException: Found unknown Version 7 at qowyn.ark.ArkSavegame.readBinaryHeader(ArkSav
egame.java:167)

    at qowyn.ark.ArkSavegame.readBinaryHeader(ArkSavegame.java:167) at qowyn.ark.ArkSavegame.readBinary(ArkSavegame.

java:138)

    at qowyn.ark.ArkSavegame.readBinary(ArkSavegame.java:138)       at qowyn.ark.ArkSavegame.<init>(ArkSavegame.java

:88)

    at qowyn.ark.ArkSavegame.<init>(ArkSavegame.java:88)    at qowyn.ark.tools.CreatureListCommands.listImpl(Creatur

eListCommands.java:109)

    at qowyn.ark.tools.CreatureListCommands.listImpl(CreatureListCommands.java:109) at qowyn.ark.tools.CreatureListC

ommands.wild(CreatureListCommands.java:67)

    at qowyn.ark.tools.CreatureListCommands.tamed(CreatureListCommands.java:62)     at qowyn.ark.tools.App.main(App.

java:117)

    at qowyn.ark.tools.App.main(App.java:117)

REQ: Custom Exporting

Would it be possible to export a list of dinos by race and specific data-fields (HP, STAM, etc) to a file. For example, if i wanted to export all of the argents, their base stats, level, and location, it would export a csv i could open in excel instead of a json file. Sometimes your only looking for specific data and not a huge file.

out of memory error

i ran this command ark-tools.exe tamed TheIsland.ark dinos and got an out of memory error, i updated java and over wrote the files with the latest version

Exception in thread "main" java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Unknown Source)
at java.nio.DirectByteBuffer.(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at qowyn.ark.ArkSavegame.(ArkSavegame.java:68)
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:114)

Java Buffer Overflow

Hi
I'm at work at the moment, so dont have full access to the error messages, but once I get home I will append to this.
There appears to be an issue with the island save files, looks like since a couple of days ago wc updated something and now when using the wild command, this is extracting empty json files.
I have this working fine for ragna rok, so currently this is isolated to the island only.

I will post full messages from my error logs when I get home this evening,

regards
Phill

Fertilized Eggs Lose Info

Two things.

If you export fertilized eggs and then, after cleaning out the junk items, import it into a localprofile it erases the mutation count and destroys its genealogy.

Second, if you import eggs into a 'cluster' file, it sets the eggs to expire in 0 seconds.

Coordinates extracted from Ragnarok save game not accurate

I'm using ark-tools to extract tamed dino coordinates from various save games. It works well on The Island, The Center and Scorched Earth.

But on my Ragnarok save games (using the official DLC), the exported lat/lon coordinates are weird. None of the coordinates match the dino positions, and many coordinates even have negative values.

Is there anything I could be doing wrong? Is Ragnarok special or is it maybe needed to build in support for new maps in ark-tools?

PlayerLocaldata.arkprofile dino gray

sorry but once i created the json file of my PlayerLocaldata.arkprofile file, how do I, export the dino that are written them and then integrate them into the server?

"wandering" of tamed dinos?

hi there.
we use the export of dinos to offer better admin support on lost dinos and dino stats. any chance to get a note of the dino's "wandering" state?

that's the current export command:
java -Xmx8192m -jar ark-tools.jar tamed --include-untameable --statistics --write-all-fields

cheers

Cluster info not working for me

Hello Qowyn. I'm not able to get the cluster information to update for me. Can you guide me on what I'm doing wrong by chance? It's coming back with a 'potentially corrupt character data' error. I deleted the character file, and then re-uploaded an item, and it came back with the same error.

Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer

Hi

I just got this error on a m2j

Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at qowyn.ark.ArkArchive.getString(ArkArchive.java:198)
at qowyn.ark.properties.PropertyStr.(PropertyStr.java:26)
at qowyn.ark.properties.PropertyRegistry.readBinary(PropertyRegistry.java:62)
at qowyn.ark.GameObject.loadProperties(GameObject.java:375)
at qowyn.ark.ArkSavegame.readBinaryObjectPropertiesImpl(ArkSavegame.java:340)
at qowyn.ark.ArkSavegame.lambda$readBinaryObjectProperties$5(ArkSavegame.java:326)
at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.IntPipeline$Head.forEach(Unknown Source)
at qowyn.ark.ArkSavegame.readBinaryObjectProperties(ArkSavegame.java:326)
at qowyn.ark.ArkSavegame.readBinary(ArkSavegame.java:169)
at qowyn.ark.FileFormatBase.readBinary(FileFormatBase.java:31)
at qowyn.ark.tools.ConvertingCommands.toJson(ConvertingCommands.java:89)
at qowyn.ark.tools.ConvertingCommands.mapToJson(ConvertingCommands.java:24)
at qowyn.ark.tools.App.main(App.java:125)

thanks

Could not be used?

[root@localhost ~]# java -jar ark-tools.jar players /root/Saved/TheIsland.ark /root/bak/ java.lang.NullPointerException at org.glassfish.json.UnicodeDetectingInputStream.fillBuf(UnicodeDetectingInputStream.java:90) at org.glassfish.json.UnicodeDetectingInputStream.detectEncoding(UnicodeDetectingInputStream.java:129) at org.glassfish.json.UnicodeDetectingInputStream.<init>(UnicodeDetectingInputStream.java:76) at org.glassfish.json.JsonParserImpl.<init>(JsonParserImpl.java:76) at org.glassfish.json.JsonReaderImpl.<init>(JsonReaderImpl.java:68) at org.glassfish.json.JsonProviderImpl.createReader(JsonProviderImpl.java:131) at javax.json.Json.createReader(Json.java:220) at qowyn.ark.tools.CommonFunctions.readJson(CommonFunctions.java:110) at qowyn.ark.tools.CommonFunctions.readJsonRelative(CommonFunctions.java:123) at qowyn.ark.tools.DataManager.loadData(DataManager.java:33) at qowyn.ark.tools.PlayerListCommands.players(PlayerListCommands.java:81) at qowyn.ark.tools.App.main(App.java:114)

Tribes no problem

Gender now missing from tamed dinos

Gender used to be something you could extract for tamed dinos, but now it's not included. It's still there for wild dinos (e.g. "female":true).

Version 8 unknown

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.

RIP ark-tools? (new save format)

it seems like ark recently updated its save format and I can't even do a m2j anymore, I know this tool hasn't been updated for years but is there any chance this tool could catch up with the new save format @Qowyn

thank you

Version 7 unknown

I recently tried to export tamed dino data and got the error regarding Version 7 being unsupported, so I came and got your latest stable release (0.5.3) and that fixed the issue.

Now I'm trying to do the feed command and I'm getting:

./ark-tools.sh feed /home/steam/ragnarok/ShooterGame/Saved/SavedArks/Ragnarok.ark /home/steam/ragnarok/ShooterGame/Saved/SavedArks/Ragnarok.tempfed
java.lang.UnsupportedOperationException: Version 7 is unknown and cannot be written in binary form
        at qowyn.ark.ArkSavegame.calculateHeaderSize(ArkSavegame.java:477)
        at qowyn.ark.ArkSavegame.writeBinary(ArkSavegame.java:319)
        at qowyn.ark.tools.EditingCommands.feed(EditingCommands.java:101)
        at qowyn.ark.tools.App.main(App.java:117)

may we get demolish timestamps?

we use the tool to extract the tribe with full structure data to offer better support to players and to fulfill our server rules in terms of building and such. yet we face a strong problem: people mess around with campfires and torches.

so it really would be nice to have both, the created_at and the demolish_at timestamp (meaning the hh:mm:ss until manual demolish allowed) in the structure records. you may add that to dinos as well, mostly because people mess around with rafts as well.

thanks a lot :)

cheers

NullPointerException when converting ragnarok.json to ragnarok.ark

I got the following error messages:

A:\ARKServer\ARKTools\ark-tools>ark-tools j2m ragnarokOM.json ragnarokOM.ark
java.lang.NullPointerException
at qowyn.ark.properties.PropertyBase.(PropertyBase.java:36)
at qowyn.ark.properties.PropertyUnknown.(PropertyUnknown.java:23)
at qowyn.ark.properties.PropertyRegistry.readJson(PropertyRegistry.java:68)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Iterator.forEachRemaining(Unknown Source)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.collect(Unknown Source)
at qowyn.ark.structs.StructPropertyList.(StructPropertyList.java:44)
at qowyn.ark.structs.StructRegistry.readJson(StructRegistry.java:59)
at qowyn.ark.arrays.ArkArrayStruct.(ArkArrayStruct.java:65)
at qowyn.ark.arrays.ArkArrayRegistry.readJson(ArkArrayRegistry.java:52)
at qowyn.ark.properties.PropertyArray.(PropertyArray.java:59)
at qowyn.ark.properties.PropertyRegistry.readJson(PropertyRegistry.java:68)
at qowyn.ark.GameObject.readJson(GameObject.java:207)
at qowyn.ark.GameObject.(GameObject.java:73)
at qowyn.ark.ArkSavegame.readJsonObjects(ArkSavegame.java:747)
at qowyn.ark.ArkSavegame.readJson(ArkSavegame.java:679)
at qowyn.ark.tools.ConvertingCommands.fromJson(ConvertingCommands.java:121)
at qowyn.ark.tools.ConvertingCommands.jsonToMap(ConvertingCommands.java:28)
at qowyn.ark.tools.App.main(App.java:125)

I got these messages when trying to convert a ragnarok.json savegame with mods back to .ark. And I got the very same error message when I trying to convert a ragnarok.json savegame without any mods back to .ark. So the mods aren't the problem. I tried first with jre 1.8.0_251 and then with jdk 14.0.1. Very same error messages. So the java version isn't the problem either.

Unfortunately I have near zero programming experience myself. Would someone maybe look into this and update the ark-tools? Please? :D

Add output of TamedIneffectivenessModifier

Is it possible to add the taming effectiveness modifier? The modifier is important for the final creature stat calculation (mainly damage) in addition to wild and tamed leveling. Or is it already there and I cannot find it?

I think of some lines here in SharedWriters.java:writeCreatureInfo()

Float tamedEffectivenessModifier = 1 - status.getPropertyValue("TamedIneffectivenessModifier", Float.class);
if (tamedEffectivenessModifier != null) {
  generator.write("tamedEffectivenessModifier", tamedEffectivenessModifier);
} else if (writeAllProperties) {
  generator.write("tamedEffectivenessModifier", 0);
}

Float imprintingQuality = status.getPropertyValue("DinoImprintingQuality", Float.class);
[...]

Note: The modifier seems to be saved inverted like the property name suggests. I did not test this.

Exception in thread "main" java.lang.NullPointerException

Hi Qowyn,

Thanks for all the effort you put into this.
I'm having a problem with this working with my server save file. It worked fine with an SP save with two tamed dinos.

Server file size is 225 MB. There's a few mods installed, but none of them modify dinos in any way. Here they are: http://steamcommunity.com/profiles/76561198053278697/myworkshopfiles/?browsefilter=myfavorites

D:\Downloads\ark-tools>java -jar ark-tools.jar tamed TheIsland.ark dinos Exception in thread "main" java.lang.NullPointerException at qowyn.ark.properties.PropertyReader.readProperty(PropertyReader.java:45) at qowyn.ark.structs.StructPropertyList.<init>(StructPropertyList.java:27) at qowyn.ark.arrays.ArkArrayStruct.<init>(ArkArrayStruct.java:26) at qowyn.ark.arrays.ArkArrayReader.read(ArkArrayReader.java:32) at qowyn.ark.properties.PropertyArray.<init>(PropertyArray.java:23) at qowyn.ark.properties.PropertyReader.readProperty(PropertyReader.java:59) at qowyn.ark.GameObject.loadProperties(GameObject.java:335) at qowyn.ark.ArkSavegame.readBinaryObjectProperties(ArkSavegame.java:222) at qowyn.ark.ArkSavegame.readBinary(ArkSavegame.java:129) at qowyn.ark.ArkSavegame.<init>(ArkSavegame.java:60) at qowyn.ark.ArkSavegame.<init>(ArkSavegame.java:46) at qowyn.ark.tools.AnimalListCommands.tamed(AnimalListCommands.java:78) at qowyn.ark.tools.App.main(App.java:30)

Also posted this in the survivetheark.com thread

Extract Wild Dino Level?

Currently looking for the wild level of dinos with this tool has not been successful. I feel as though this can be assumed from the RequiredTameAffinity, but I'd probably need some information about that specific dinosaur type (Spino). Wondering if there is something I'm missing?

{
	'id': 149125,
	'uuid': 'd3790cea-44b6-ad95-7713-e6a7620a5ceb',
	'class': 'Spino_Character_BP_C',
	'names': ['Spino_Character_BP_C_361'],
	'location': {
		'x': 22960.11,
		'y': 193279.66,
		'z': -14471.428,
		'yaw': -174.56764
	},
	'properties': [{
			'name': 'bServerInitializedDino',
			'type': 'BoolProperty',
			'value': True
		}, {
			'name': 'ColorSetIndices',
			'type': 'ByteProperty',
			'value': 24
		}, {
			'name': 'ColorSetIndices',
			'type': 'ByteProperty',
			'index': 1,
			'value': 19
		}, {
			'name': 'ColorSetIndices',
			'type': 'ByteProperty',
			'index': 2,
			'value': 26
		}, {
			'name': 'ColorSetIndices',
			'type': 'ByteProperty',
			'index': 4,
			'value': 19
		}, {
			'name': 'ColorSetIndices',
			'type': 'ByteProperty',
			'index': 5,
			'value': 21
		}, {
			'name': 'RequiredTameAffinity',
			'type': 'FloatProperty',
			'value': 5450.0
		}, {
			'name': 'DinoID1',
			'type': 'UInt32Property',
			'value': 19515963
		}, {
			'name': 'DinoID2',
			'type': 'UInt32Property',
			'value': 492158214
		}, {
			'name': 'UntamedPoopTimeCache',
			'type': 'FloatProperty',
			'value': 683.6919
		}, {
			'name': 'LastEggSpawnChanceTime',
			'type': 'DoubleProperty',
			'value': 1212865.779094547
		}, {
			'name': 'OriginalNPCVolumeName',
			'type': 'NameProperty',
			'value': 'NPCZoneVolume_71'
		}, {
			'name': 'LastInAllyRangeTime',
			'type': 'DoubleProperty',
			'value': 1212865.779094547
		}, {
			'name': 'NonDedicatedFreezeDinoPhysicsIfLevelUnloaded',
			'type': 'NameProperty',
			'value': 'TheIsland'
		}, {
			'name': 'MyCharacterStatusComponent',
			'type': 'ObjectProperty',
			'size': 8,
			'value': 149126
		}, {
			'name': 'LastEnterStasisTime',
			'type': 'DoubleProperty',
			'value': 1562275.75
		}, {
			'name': 'TargetingTeam',
			'type': 'IntProperty',
			'value': 7
		}, {
			'name': 'Instigator',
			'type': 'ObjectProperty',
			'size': 8,
			'value': 149125
		}, {
			'name': 'OriginalCreationTime',
			'type': 'DoubleProperty',
			'value': 1212865.779094547
		}
	],
	'extra': None
}

Trying to debug a spawning issue

There's an ARK bug that's been around for at least 2 years whereby if you harvest a node (rock, crystal, metal, etc) and logout in Single Player, you'll never see that node again no matter what you try (e.g. respawn timer, radius, etc). I've been able to solidly reproduce the issue on a fresh map with a fresh player and have been searching for a work-around for some days since clearly they have no intention of fixing this bug. There are many "solutions" on the forums and such that don't cause lost nodes to reproduce, even the more drastic measures. The only solution I've found is to delete the map file (TheIsland.ark, for example) and start fresh. Of course you lose everything else in the process.
I'm hoping that perhaps your library could be used to find missing nodes and reactivate them somehow. Or perhaps simply your knowledge of the saved file format would help point me in the right direction.

Repro:

  1. Harvest a rock node
  2. Logout
  3. Login
  4. Harvest the other rocks in the area
  5. Wait until all the rocks are respawned (accelerate, change respawn timers if you wish to speed this up)

Result: All the rocks but the one you harvested before logging out will respawn. The one rock that was missing when your game saved will never come back.

jm2 NullPointerExecption if s+ flex pipe/cables are on the map

If you use the m2j command, edit the map and then use j2m on a map that has S+ flex pipes or flex cables the tool crashes with a NullPointerException. (Looks like they use a custom struct without names)

I haven't tested the flex pipes/cables added to standard Ark with the Homestead update, but I'd guess they have the same issue.

Removing any flex pipes/cables before you use the m2j command works.

Development of these tools has stopped so this is more of a announcement and work around to any one else who comes across this problem.

Hibernation state reading crash

Since the latest patch, the tools no longer work. I have been using it for years to export data for display on a website. It appears as though the project is now abandoned. I hope that is not the case because this is a great tool for many uses. Below is the error you get no matter what you try to do.

java.lang.UnsupportedOperationException
at qowyn.ark.ArkSavegame.readBinaryHibernation(ArkSavegame.java:387)
at qowyn.ark.ArkSavegame.readBinary(ArkSavegame.java:172)
at qowyn.ark.FileFormatBase.readBinary(FileFormatBase.java:30)
at qowyn.ark.ArkSavegame.<init>(ArkSavegame.java:87)
at qowyn.ark.tools.EditingCommands.exportThing(EditingCommands.java:145)
at qowyn.ark.tools.App.main(App.java:125)

I have updated my JRE to the latest and no change, so I am assuming that this is a change to the save format.

Ragnarok map Found potentially corrupt

java -jar /home/ark-tools.jar players /root/ark/Ragnarok.ark arkdata/player

Found potentially corrupt ArkProfile: /root/ark/76561198101707000.arkprofile
Found potentially corrupt ArkProfile: /root/ark/76561198397897000.arkprofile
Found potentially corrupt ArkProfile: /root/ark/76561198385226800.arkprofile
Found potentially corrupt ArkProfile: /root/ark/76561198337175100.arkprofile

Unknown extended data for ...

I was running this command on windows, no output in the op folder generated.
The file is 414MB maybe it is too big?

$ ./ark-tools.exe tribes valguero/Valguero_P.ark op/ --structures --pretty -p -v
Need to load map, this may take some time...
Unknown extended data for PlayerPawnTest_Male_C with length 16 at 0xUnknown extended data for PlayerPawnTest_Female_C with length 472 at 0x16e0cec5 in D:\Downloads\ar
ktest\valguero\Valguero_P.ark
Unknown extended data for Ragnarok_Wyvern_Override_Ice_C with length 8 at 0x16e160cd in D:\Downloads\arktest\valguero\Valguero_P.ark
134928cb in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for Ragnarok_Wyvern_Override_Ice_C with length 8 at 0x16e53204 in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for Polar_Bear_C with length 8 at 0xf2351f9 in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for PlayerPawnTest_Male_C with length 16 at 0x16f3ed96 in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for PlayerPawnTest_Male_C with length 472 at 0x16f4dcfa in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for PlayerPawnTest_Male_C with length 16 at 0x16fa5624 in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for PlayerPawnTest_Female_C with length 472 at 0x170292b5 in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for PlayerPawnTest_Female_C with length 16 at 0x17040aab in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for PlayerPawnTest_Male_C with length 16 at 0x170a138f in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for PlayerPawnTest_Male_C with length 472 at 0x170cba74 in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for PlayerPawnTest_Female_C with length 472 at 0x170d40f7 in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for Raft_BP_C with length 8 at 0xa9d5d61 in D:\Downloads\arktest\valguero\Valguero_P.ark
Unknown extended data for Ragnarok_Wyvern_Override_Ice_C with length 8 at 0x13b42520 in D:\Downloads\arktest\valguero\Valguero_P.ark
....

Ark Data Decoding

Hello,
Can anyone tell my how Ark encodes the save data. I cannot find any information about this topic online. And what structure is the encoded data is it an array, an object or another data type.

Possibility to locate "dropped" wyvern eggs?

Hello!

For over a year now certain wyvern nests have been bugged on our Scorched Earth server because of players dropping the wyvern eggs they looted in mid air. The eggs won't de-spawn by themselves and so the nests won't get new eggs.

The only solution is to pick-up the eggs that are scattered across the map. Insanely difficult to find. I think it would be possible to locate them using the ARK-tools, but I haven't been successful yet.

Can anybody come up with a command that would export the location of dropped wyvern eggs?

I would like to thank you in advance.

Mitfrey

Out of heap space

Hi, here is the output.

`D:\at>ark-tools.exe tamed TheCenter.ark t.txt
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at qowyn.ark.properties.PropertyRegistry.readProperty(PropertyRegistry.j
ava:61)
at qowyn.ark.GameObject.loadProperties(GameObject.java:336)
at qowyn.ark.ArkSavegame.readBinaryObjectPropertiesImpl(ArkSavegame.java
:246)
at qowyn.ark.ArkSavegame.lambda$readBinaryObjectProperties$4(ArkSavegame
.java:240)
at qowyn.ark.ArkSavegame$$Lambda$16/9727497.accept(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfInt.accept(ForEachOps.java:20
5)
at java.util.stream.IntPipeline$9$1.accept(IntPipeline.java:344)
at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams
.java:110)
at java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)

    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.ja

va:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.j
ava:151)
at java.util.stream.ForEachOps$ForEachOp$OfInt.evaluateSequential(ForEac
hOps.java:189)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)

    at java.util.stream.IntPipeline.forEach(IntPipeline.java:404)
    at qowyn.ark.ArkSavegame.readBinaryObjectProperties(ArkSavegame.java:240

)
at qowyn.ark.ArkSavegame.readBinary(ArkSavegame.java:138)
at qowyn.ark.ArkSavegame.(ArkSavegame.java:69)
at qowyn.ark.tools.AnimalListCommands.listImpl(AnimalListCommands.java:8
2)
at qowyn.ark.tools.AnimalListCommands.tamed(AnimalListCommands.java:54)
at qowyn.ark.tools.App$$Lambda$2/17290025.accept(Unknown Source)
at qowyn.ark.tools.App.main(App.java:52)

D:\at>`

It might be a pc issue, running on my work pc, win7 32bit so will try it at home on a real pc tonight.

Unknown Profile Version 3

I have been attempting to access my PlayerLocalData in an attempt to determine why I am unable to download a Wyvern from the obelisk. However when running ark-tools I get the following stack trace.

Y:\ARK Backups\ARK Tools>ark-tools l2j PlayerLocalData.arkprofile PlayerLocalData.json
java.lang.UnsupportedOperationException: Unknown Profile Version 3
at qowyn.ark.ArkLocalProfile.readBinary(ArkLocalProfile.java:73)
at qowyn.ark.ArkLocalProfile.(ArkLocalProfile.java:61)
at qowyn.ark.ArkLocalProfile.(ArkLocalProfile.java:39)
at qowyn.ark.tools.ConvertingCommands.localProfileToJson(ConvertingCommands.java:238)
at qowyn.ark.tools.App.main(App.java:114)

Nothing in your changelog suggests that this is no longer possible, so I've attached my profile for analysis.

PlayerLocalData.zip

How to use custom Cryopods data

When I'm using the JSON in order to see the stats and colours of all my creatures, I can see that the filled Cryopods have some custom data which is a byte array. Is there any documentation on the structure of that byte array? I would like to parse it and do something with the data, but I'm not sure what the structure is

New issue dumping player data

image

Let me know if you need data files, but it's consistent across 5 servers. This occurs when using the --positions option.

SE Moth and Pteranodon data mixed up/unnecessary in ark_data.json

Hello!

I noticed this in ark_data.json:

{
"package":"/Game/ScorchedEarth/Dinos/Moth/Moth_Character_BP_Base",
"blueprint":"Moth_Character_BP_Base",
"class":"Moth_Character_BP_Base_C",
"name":"Pteranodon"
},
{
"package":"/Game/ScorchedEarth/Dinos/Moth/Moth_Character_BP",
"blueprint":"Moth_Character_BP",
"class":"Moth_Character_BP_C",
"name":"Lymantria"
},

Ptera's don't exists on SE. Either the name of the first part is incorrect or it can be removed altogether, correct?

What is this "SAVE"?

I want to use an .ark map file to read some stats and parse the jsons.
But I have no idea what that SAVE parameter ist.
Usage: ark-tools tribes SAVE DIRECTORY [OPTIONS]
And the DIRECTORY? I asume I need to create that first?

Unknown Cloud Inventory Version 4

When I try to run c2j (cloudToJson - Converts cloud data to .json) it returns the error message below. I believe this is related to the other version changes that Wildcard has made to save files. While I'm sure this will be fixed when you do get around to it, thought I'd point it out anyway...

java.lang.UnsupportedOperationException: Unknown Cloud Inventory Version 4
        at qowyn.ark.ArkCloudInventory.readBinary(ArkCloudInventory.java:65)
        at qowyn.ark.ArkCloudInventory.<init>(ArkCloudInventory.java:53)
        at qowyn.ark.ArkCloudInventory.<init>(ArkCloudInventory.java:31)
        at qowyn.ark.tools.ConvertingCommands.cloudToJson(ConvertingCommands.java:188)
        at qowyn.ark.tools.App.main(App.java:117)

Java Stack trace

Howdy Qowyn. Thanks for all the work on these tools. Wanted to pass a long a stack trace I received recently. Not sure when this crept in. Tool was working perfectly for me with 260.x but I hadn't used it at all since and we're on 263.0 now.

$ ./ark-tools.sh m2j TheIsland.ark out.json This may take some time... java.lang.NullPointerException: Cannot invoke add(null) while building JsonArray. at org.glassfish.json.JsonArrayBuilderImpl.validateValue(JsonArrayBuilderImpl.java:154) at org.glassfish.json.JsonArrayBuilderImpl.add(JsonArrayBuilderImpl.java:74) at java.util.ArrayList.forEach(Unknown Source) at qowyn.ark.arrays.ArkArrayString.toJson(ArkArrayString.java:61) at qowyn.ark.arrays.ArkArrayString.toJson(ArkArrayString.java:1) at qowyn.ark.properties.PropertyArray.serializeValue(PropertyArray.java:86) at qowyn.ark.properties.PropertyBase.toJson(PropertyBase.java:131) at qowyn.ark.properties.PropertyBase.toJson(PropertyBase.java:1) at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) at java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.util.stream.ReferencePipeline.forEach(Unknown Source) at qowyn.ark.structs.StructPropertyList.toJson(StructPropertyList.java:68) at qowyn.ark.structs.StructPropertyList.toJson(StructPropertyList.java:1) at qowyn.ark.arrays.ArkArrayStruct.lambda$1(ArkArrayStruct.java:92) at java.util.ArrayList.forEach(Unknown Source) at qowyn.ark.arrays.ArkArrayStruct.toJson(ArkArrayStruct.java:92) at qowyn.ark.arrays.ArkArrayStruct.toJson(ArkArrayStruct.java:1) at qowyn.ark.properties.PropertyArray.serializeValue(PropertyArray.java:86) at qowyn.ark.properties.PropertyBase.toJson(PropertyBase.java:131) at qowyn.ark.properties.PropertyBase.toJson(PropertyBase.java:1) at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) at java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.util.stream.ReferencePipeline.forEach(Unknown Source) at qowyn.ark.GameObject.toJson(GameObject.java:250) at qowyn.ark.ArkSavegame.lambda$24(ArkSavegame.java:659) at com.lmax.disruptor.RingBuffer.translateAndPublish(RingBuffer.java:947) at com.lmax.disruptor.RingBuffer.publishEvent(RingBuffer.java:451) at qowyn.ark.ArkSavegame.lambda$18(ArkSavegame.java:659) at java.util.ArrayList.forEach(Unknown Source) at qowyn.ark.ArkSavegame.writeJson(ArkSavegame.java:659) at qowyn.ark.tools.ConvertingCommands.lambda$mapToJson$0(ConvertingCommands.java:36) at qowyn.ark.tools.CommonFunctions.writeJson(CommonFunctions.java:108) at qowyn.ark.tools.CommonFunctions.writeJson(CommonFunctions.java:115) at qowyn.ark.tools.ConvertingCommands.mapToJson(ConvertingCommands.java:36) at qowyn.ark.tools.App.main(App.java:120) Suppressed: javax.json.stream.JsonGenerationException: Generating incomplete JSON at org.glassfish.json.JsonGeneratorImpl.close(JsonGeneratorImpl.java:509) at qowyn.ark.tools.CommonFunctions.writeJson(CommonFunctions.java:109) ... 3 more

SSL Cert and updateData

Can you maybe add an option which makes java ignore the cert / trust every cert? Like "--without-strict-ssl"

I guess the issue I'm having is on my side, but this strict cert handling of applications annoyes me so often:

java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at qowyn.ark.tools.UpdateCommands.updateData(UpdateCommands.java:104) at qowyn.ark.tools.App.main(App.java:117)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.