runelite / runelite

Open source Old School RuneScape client
https://runelite.net
BSD 2-Clause "Simplified" License
4.77k stars 5.22k forks source link

MapImageDumper: Use world map color blending #17948

Closed MESLewis closed 2 months ago

MESLewis commented 3 months ago

Use full HSL ground blending to produce map images that closely resemble the in game world map and the official world map by Jagex. Also correct the scaling of sprites and tile shapes to match those sources.

Old color blending: old color blending

Jagex world map image: Jagex world map

In game world map: in game

PR color blending: new color blending

samszotkowski commented 2 months ago

Hello, thank you three for getting this merged. I just want to comment a very very small bug regarding sprite placement (which is only halfway even a bug because Jagex's own maps have similar issues):

It appears that certain types of sprites, when they would cross over a horizontal map square boundary, have their northern half drawn on the northern side, then their northern half drawn again on the southern side.

RuneLite (tree cut in half and upper half duplicated): image

In game (tree just cut in half, not duplicated): image

RuneLite + some extra processing that doesn't affect sprites: image

In game minimap, correct location of red dot: image