Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crystal Isles location multipliers are wrong for the release map #17

Open
hallipr opened this issue Jul 6, 2020 · 2 comments
Open

Crystal Isles location multipliers are wrong for the release map #17

hallipr opened this issue Jul 6, 2020 · 2 comments

Comments

@hallipr
Copy link

hallipr commented Jul 6, 2020

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

@Dia
Copy link

Dia commented Jul 6, 2020

This has already been fixed with the ark.json file: ark-mod/ArkBot#147

@hallipr
Copy link
Author

hallipr commented Jul 6, 2020

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

{ "CrystalIsles" , Tuple.Create(50.0f, 13718.0f, 50.0f, 13718.0f) },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants