-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
When using ts-map with ETS2 1.47 some of the map overlays are incorrectly assigned. It looks like SCS has changed the bit positions/definitions of the map overlay flags (core_map_version: 898). In the values below byte 3 is on the left and byte 0 is on the right.
Here is how the flags were defined prior to 1.47:
0x0000_0001 = Hide for zoom level 0
0x0000_0002 = Hide for zoom level 1
0x0000_0004 = Hide for zoom level 2
0x0000_0008 = Hide for zoom level 3
0x0000_0010 = Hide for zoom level 4
0x0000_0020 = Hide for zoom level 5
0x0000_0040 = Hide for zoom level 6
0x0000_0080 = Hide for zoom level 7
0x0000_FF00 = DLC guard field
0x0001_0000 = Parking type
0x0002_0000 = City name type
0x0004_0000 = User text type
0x0008_0000 = Secret overlay
0x0010_0000 = Landmark type
And here is how the flags appear to be defined starting with 1.47:
0x0000_0007 = Type field:
0x0000_0000 = Road
0x0000_0001 = Parking
0x0000_0002 = City name
0x0000_0003 = User text
0x0000_0004 = Landmark
0x0000_FF00 = DLC guard field
0x0001_0000 = Secret overlay
0x0002_0000 = Hide for zoom level 0
0x0004_0000 = Hide for zoom level 1
0x0008_0000 = Hide for zoom level 2
0x0010_0000 = Hide for zoom level 3
0x0020_0000 = Hide for zoom level 4
0x0040_0000 = Hide for zoom level 5
0x0080_0000 = Hide for zoom level 6
0x0100_0000 = Hide for zoom level 7
(Values obtained through experimentation and observation)
Metadata
Metadata
Assignees
Labels
No labels