From 2576043456d84272091cfcdb5e0875af8a6c7ba0 Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 4 Jul 2024 23:06:06 +0200 Subject: [PATCH] Add tag type 50 --- oepl-definitions.h | 2 ++ resources/tagtypes/50.json | 41 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 resources/tagtypes/50.json diff --git a/oepl-definitions.h b/oepl-definitions.h index 1ca5e303a..7800778c9 100755 --- a/oepl-definitions.h +++ b/oepl-definitions.h @@ -57,6 +57,8 @@ #define SOLUM_M3_BW_58 0x42 #define SOLUM_M3_PEGHOOK_BWR_13 0x43 +// Types using modchip +#define MODCHIP_HD150_BWR_58 0x50 // Hanshow Nebular types #define HS_NEBULAR_BWY_35 0x60 diff --git a/resources/tagtypes/50.json b/resources/tagtypes/50.json new file mode 100644 index 000000000..42ae5cbd3 --- /dev/null +++ b/resources/tagtypes/50.json @@ -0,0 +1,41 @@ +{ + "version": 2, + "name": "HD150 5.83\" BWR", + "width": 648, + "height": 480, + "rotatebuffer": 0, + "bpp": 2, + "colortable": { + "white": [ 255, 255, 255 ], + "black": [ 0, 0, 0 ], + "red": [ 255, 0, 0 ] + }, + "shortlut": 0, + "zlib_compression": "2", + "options": [ ], + "contentids": [ 22, 23, 1, 4, 5, 8, 9, 7, 19, 10, 11 ], + "usetemplate": 1, + "template": { + "1": { + "weekday": [ 300, 0, "Signika-SB.ttf", 110 ], + "month": [ 300, 310, "Signika-SB.ttf", 110 ], + "day": [ 300, 75, "Signika-SB.ttf", 250 ] + }, + "10": { + "title": [ 300, 10, "fonts/bahnschrift30" ], + "pos": [ 300, 50 ] + }, + "9": { + "title": [ 6, 0, "Signika-SB.ttf", 32 ], + "items": 6, + "line": [ 9, 40, "calibrib16.vlw" ], + "desc": [ 2, 8, "REFSAN12.vlw", 1.2 ] + }, + "11": { + "rotate": 0, + "mode": 1, + "days": 7, + "gridparam": [ 7, 17, 30, "calibrib16.vlw", "tahoma9.vlw", 14 ] + } + } +}