Download

Unreal4 Hexadecimal to Actual ARK Location Data

So, my buddy and I are trying to make a web plugin for ARK that displays players positions on a map (on the web) by reading their positions on the TheIsland.ark file. We can’t quite figure out the formula for turning the hexadecimal X and Y values into actual positions used in-game. This is what we have for X as of now:

00 00 80 BF =-1
00 00 00 00 =0
00 00 80 3F =1
00 00 00 40 =2
00 00 40 40 =3
00 00 80 40 =4
00 00 A0 40 =5
00 00 C0 40 =6
00 00 E0 40 =7
00 00 00 41 =8
00 00 10 40 =9
00 00 20 41 =10
00 00 30 41 =11
00 00 40 41 =12

00 00 A0 41 =20
00 00 A8 41 =21
00 00 B0 41 =22
00 00 B8 41 =23
00 00 C0 41 =24
00 00 C8 41 =25

00 00 F0 41 =30

00 00 20 42 =40

1A 4C B7 42 =100

Obviously we don’t have time to count up to 32000 as some X and Y coordinates are that big. If anyone has any kind of formula or conversion for hexadecimal to ARK location would be awesome.

Thank you all for your time.

Constantly reading the binary map data could prove difficult to keep up with. Format can change at anytime which would throw off your offsets for reading data. The coordinates of the map get higher than 32000 btw. Also hex to decimal is pretty straight forward, try googling for it to learn more. I applaud you wanting to make a web map view but you might want to look into other ways of getting the player position data, maybe inside a mod itself.

If you’re also wanting to convert from unreal units in the world to lat lon check out an example like http://jdimensional.com/ark-map/ to get idea of bounds and how it translates in that respect.