ArkSavegameToolkitNet icon indicating copy to clipboard operation
ArkSavegameToolkitNet copied to clipboard

Crystal Isles location multipliers are wrong for the release map

Open hallipr opened this issue 4 years ago • 2 comments

Lat 0, Long 0 is at X -850000, Y -780000 Lat 1, Long 1 is at X -833000, Y -764000

X Scale (Longitude Divisor) is 17000 Y Scale (Latitude Divisor) is 16000

X 0, Y 0 is at Lat 48.75, Long 50

Also, using TPCoords to set Lat and Long, then checking X and Y with CopyCoordinatesToClipboard seems to be the most accurate way to map the two coordinate systems. It seems odd to then translate the accurate, integer x and y diffs and scale into derived, floating point latitude and longitude shifts in the source. The X/Y shift is just your ccc output at "TPCoords 0 0 40000" The X/Y scale is the diff in x and y between 0,0 and 1,1

Crystal Isles 0 0 Crystal Isles 1 1

hallipr avatar Jul 06 '20 10:07 hallipr

This has already been fixed with the ark.json file: https://github.com/ark-mod/ArkBot/pull/147

Dia avatar Jul 06 '20 12:07 Dia

ArkBot uses the ark.json file, but arksavegametoolkitnet doesn't. Currently, it still relies on the internal dictionary in ArkLocation for conversion

https://github.com/ark-mod/ArkSavegameToolkitNet/blob/b2257ce7bc630ae8707806bd28ebda5f11db0d21/ArkSavegameToolkitNet.Domain/ArkLocation.cs#L28

hallipr avatar Jul 06 '20 15:07 hallipr