From 4d643943b95d424442614aab05eef3b783138917 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Sun, 9 Aug 2026 22:47:15 -0700 Subject: [PATCH 1/3] rpgmaker: Update NW.js to 114 --- flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml b/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml index 5d89c32..9441280 100644 --- a/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml +++ b/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml @@ -10,8 +10,8 @@ modules: buildsystem: "simple" sources: - type: "archive" - url: "https://dl.nwjs.io/v0.100.1/nwjs-v0.100.1-linux-x64.tar.gz" - sha256: "12a2c448be3355d07316f84f8177dc23049534d05520ccb549d0aee9e354f7a4" + url: "https://dl.nwjs.io/v0.114.1/nwjs-v0.114.1-linux-x64.tar.gz" + sha256: "35e53de9b37edf8a0cd77068d74728bcd470ae6569f88a4a15b97d27647635db" only_arches: - x86_64 build-commands: From 211a712e296121824025a2cc1900e49461d13ec4 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Sun, 9 Aug 2026 22:48:58 -0700 Subject: [PATCH 2/3] rpgmaker: Add experimental support for aarch64 NW.js now provides aarch64 binaries, so I've added that to the build platform. No idea if it actually works though. --- .../data/com.github.dcbaker.flatpaker.RPGM.Platform.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml b/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml index 9441280..4b2f96d 100644 --- a/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml +++ b/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml @@ -14,6 +14,11 @@ modules: sha256: "35e53de9b37edf8a0cd77068d74728bcd470ae6569f88a4a15b97d27647635db" only_arches: - x86_64 + - type: "archive" + url: "https://dl.nwjs.io/v0.114.1/nwjs-v0.114.1-linux-arm64.tar.gz" + sha256: "40befc36553e189151a3d89481da2aa02b1d250df447f57020e142e1953090ff" + only_arches: + - aarch64 build-commands: - "mkdir /usr/lib/nwjs" - "mv * /usr/lib/nwjs/" From f9e9601a4463258db17a27873201275dc15e733f Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 12 Aug 2026 22:26:26 +0000 Subject: [PATCH 3/3] impl/rpgmaker: Switch ozone platform to 'auto"' This should allow x11 fallback, but I don't have a system to test that with. So, while the socket is enabled, it's untested. --- flatpaker/impl/rpgmaker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flatpaker/impl/rpgmaker.py b/flatpaker/impl/rpgmaker.py index 62e4bbb..5bfab54 100644 --- a/flatpaker/impl/rpgmaker.py +++ b/flatpaker/impl/rpgmaker.py @@ -47,7 +47,7 @@ def write_rules(description: Description, workdir: pathlib.Path, appid: str, des ]) game_sh_contents = [ - 'exec /usr/lib/nwjs/nw /app/lib/game/ --enable-features=UseOzonePlatform --ozone-platform=wayland "$@"' + 'exec /usr/lib/nwjs/nw /app/lib/game/ --enable-features=UseOzonePlatform --ozone-platform=auto "$@"' ] # TODO: typing requires more thought @@ -77,6 +77,7 @@ def write_rules(description: Description, workdir: pathlib.Path, appid: str, des 'finish-args': [ '--socket=pulseaudio', '--socket=wayland', + '--socket=fallback-x11', '--device=dri', ], 'modules': modules,