rimworld-blax-slaves/Source/Art
Fabian @ Blax Software 8070103c1d test: run the suite next to an open game
run-tests.ps1 -AllowWhileRunning starts the headless test game even while
RimWorld is open, at below-normal priority, and a lock file keeps two runs
from overlapping. The art README's render commands now work as written
(escaped regex, separate Edge profile, waiting for each screenshot).
2026-11-29 09:19:26 +01:00
..
fonts feat: slaver requests, brand fixes, Workshop art and in-game tests (1.1) 2026-11-28 19:33:08 +01:00
README.md test: run the suite next to an open game 2026-11-29 09:19:26 +01:00
blax-monogram.svg feat: slaver requests, brand fixes, Workshop art and in-game tests (1.1) 2026-11-28 19:33:08 +01:00
icon.html feat: slaver requests, brand fixes, Workshop art and in-game tests (1.1) 2026-11-28 19:33:08 +01:00
monogram-centered.svg feat: slaver requests, brand fixes, Workshop art and in-game tests (1.1) 2026-11-28 19:33:08 +01:00
preview.html feat: slaver requests, brand fixes, Workshop art and in-game tests (1.1) 2026-11-28 19:33:08 +01:00

README.md

Preview art

preview.html renders About/Preview.png (1280x720) and icon.html renders About/ModIcon.png (256x256), in the Blax CI from https://www.blax.at/ui-ci: Blax black #050805, Blax green #19C63C, logo gray #CDCDCD, Geist for headings, Inter for body, Rajdhani only for the "Blax Gaming" wordmark. Fonts are the woff2 files blax.at self-hosts (all SIL Open Font License); icons are lucide.

Render with Edge headless from this folder. The separate profile folder keeps the headless run away from an open Edge window, and | Out-Null waits for each screenshot.

$edge = 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
$here = (Get-Location).Path -replace '\\','/'
$edgeData = "$env:TEMP\blax-art-edge"
& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1280,720 --screenshot="$PWD\..\..\About\Preview.png" "file:///$here/preview.html" | Out-Null
& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=2000 --window-size=256,256 --default-background-color=00000000 --screenshot="$PWD\..\..\About\ModIcon.png" "file:///$here/icon.html" | Out-Null