Confuseme / MuscleTrainer

MuscleTrainer by Confuseme for Dream Emulator
4 stars 0 forks source link

Natural world map not matching real world coordinates #1

Open Confuseme opened 9 years ago

Confuseme commented 9 years ago

The edges of the map don't quite match up with the edges of the in-game world. The part of the map where your location is tracked, is slightly smaller than the image itself.

To solve this, the actual positions on the game map must be matched against the xy coordinates. The C# method to patch is RedrawMapCrosshair(int map, int x, int y).

Confuseme commented 9 years ago

Adjusted the offset and scale with commit 446f80e. The numbers were taken from the attached stats. You can help by filling the stats if you want better map coordinates. This is an LibreOffice hybrid pdf file so you can open it with LibreOffice calc if you want to edit the original file.

map cartography.pdf

Closing this issue since the result is good and since the exact map offset is difficult to tell without trying.

Confuseme commented 8 years ago

We should try and re-adjust the coordinates to these findings.

From http://dreamemulator.wikia.com/wiki/Thread:5283#61 2016-07-13 Linking System Device wrote: @Confuseme I don't know if you're still interested, but I've found some good approximations of the maximum and minimum coordinates rendered in the map of MusceTrainer. Y = -390.093 is about the minimum y displayed on the map. Y = 311.627 is about the maximum y displayed on the map. X = 334.655 is about the maximum x displayed on the map. X = -336.534 is about the minimum x displayed on the map.