Skip to content

Instantly share code, notes, and snippets.

@TTSKarlsson
TTSKarlsson / main.lua
Created June 24, 2026 10:28
G1R Compass UI Patched 1.1.12
local MOD_NAME = "[G1R_CompassUI]"
local VERSION = "1.0.12"
local SCRIPT_DIR = (debug.getinfo(1, "S").source or ""):match("^@?(.*[\\/])") or ""
local SCRIPT_SEP = string.find(SCRIPT_DIR, "\\", 1, true) and "\\" or "/"
local DEBUG_LOG = SCRIPT_DIR .. ".." .. SCRIPT_SEP .. "compass_debug.log"
local CONFIG = {
startupDelayMs = 12000,
retryDelayMs = 3000,
postLoadDelayMs = 3000,
[printer:FLSun Super Racer]
bed_custom_model =
bed_custom_texture =
bed_shape = 129.505x11.3302,128.025x22.5742,125.57x33.6464,122.16x44.4626,117.82x54.9403,112.583x64.9999,106.49x74.5649,99.5857x83.5623,91.9238x91.9238,83.5623x99.5857,74.5649x106.49,65x112.583,54.9403x117.82,44.4626x122.16,33.6464x125.57,22.5742x128.025,11.3302x129.505,7.9602e-15x130,-11.3302x129.505,-22.5742x128.025,-33.6464x125.57,-44.4626x122.16,-54.9403x117.82,-64.9999x112.583,-74.5649x106.49,-83.5623x99.5857,-91.9238x91.9238,-99.5857x83.5623,-106.49x74.5649,-112.583x65,-117.82x54.9403,-122.16x44.4626,-125.57x33.6464,-128.025x22.5742,-129.505x11.3302,-130x1.59204e-14,-129.505x-11.3302,-128.025x-22.5742,-125.57x-33.6464,-122.16x-44.4626,-117.82x-54.9403,-112.583x-65,-106.49x-74.5649,-99.5857x-83.5623,-91.9238x-91.9238,-83.5623x-99.5857,-74.5649x-106.49,-65x-112.583,-54.9403x-117.82,-44.4626x-122.16,-33.6464x-125.57,-22.5742x-128.025,-11.3302x-129.505,-2.38806e-14x-130,11.3302x-129.505,22.5742x-128.025,33.6464x-125.57,44.4626x-122.16,54.94