From 7a631021c9eb6f9cb955704da490f1047c799b28 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sun, 6 Apr 2025 02:01:24 +0200 Subject: [PATCH 1/5] =?UTF-8?q?=E2=9C=A8=20wiiu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PKGBUILD | 12 ++++++++++++ root/usr/share/applications/Game Title.desktop | 9 +++++++++ setup.sh | 7 +++++++ 3 files changed, 28 insertions(+) create mode 100644 PKGBUILD create mode 100644 root/usr/share/applications/Game Title.desktop create mode 100644 setup.sh diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..74caa65 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,12 @@ +pkgname=game.title +pkgver=1.0 +pkgrel=1 +pkgdesc="" +arch=('x86_64') +depends=('cemu') +source=() +sha256sums=() + +package() { + rsync -vzrp ../root/ "$pkgdir/" +} diff --git a/root/usr/share/applications/Game Title.desktop b/root/usr/share/applications/Game Title.desktop new file mode 100644 index 0000000..d8e63f6 --- /dev/null +++ b/root/usr/share/applications/Game Title.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name= +Comment= +Exec=cemu -f -g "/games/rom/wiiu/game.title.wua" +Icon=/usr/share/icons/game.title/icon1.ico +StartupNotify=true +Terminal=false +Type=Application +Categories=Game; diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..02638c1 --- /dev/null +++ b/setup.sh @@ -0,0 +1,7 @@ +safe_title=$(python3 -c "print(\"$name\".replace(\" \", \".\").lower())") +mv -v "root/usr/share/applications/Game Title.desktop" "root/usr/share/applications/$name.desktop" +mkdir -p root/games/rom/wiiu +mkdir -p root/usr/share/icons/$safe_title +sd "game.title" "$safe_title" "root/usr/share/applications/$name.desktop" +sd "game.title" "$safe_title" PKGBUILD +rm setup.sh \ No newline at end of file From e00cf90def33d1e930e91aa5d74837bf6826376b Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sun, 6 Apr 2025 02:02:06 +0200 Subject: [PATCH 2/5] =?UTF-8?q?=E2=9C=A8=20wiiu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bootstrap.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bootstrap.toml b/bootstrap.toml index 796db0d..616df95 100644 --- a/bootstrap.toml +++ b/bootstrap.toml @@ -1,5 +1,5 @@ [ask] -platform = { kind = "selection", prompt = "Game Platform", options = ["wine"] } +platform = { kind = "selection", prompt = "Game Platform", options = ["wine", "wiiu"] } name = { kind = "text", prompt = "Game Name?" } desc = { kind = "text", prompt = "Game Description?" } @@ -15,6 +15,10 @@ to_var = "desc" when = { var = "platform", eq = "wine"} branch = "wine" +[[actions.branch]] +when = { var = "platform", eq = "wiiu"} +branch = "wiiu" + [[actions.script]] script = "setup.sh" expose = ["name", "desc"] From 5f80622d6b1ab0ac1347236c12539fdcb1b9caad Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sun, 6 Apr 2025 02:04:13 +0200 Subject: [PATCH 3/5] =?UTF-8?q?=E2=9C=A8=20more=20platforms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bootstrap.toml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/bootstrap.toml b/bootstrap.toml index 616df95..7b04bbc 100644 --- a/bootstrap.toml +++ b/bootstrap.toml @@ -1,5 +1,5 @@ [ask] -platform = { kind = "selection", prompt = "Game Platform", options = ["wine", "wiiu"] } +platform = { kind = "selection", prompt = "Game Platform", options = ["wine", "wiiu", "3ds", "gamecube", "gba", "ps2", "ps3", "switch"] } name = { kind = "text", prompt = "Game Name?" } desc = { kind = "text", prompt = "Game Description?" } @@ -19,6 +19,31 @@ branch = "wine" when = { var = "platform", eq = "wiiu"} branch = "wiiu" + +[[actions.branch]] +when = { var = "platform", eq = "3ds"} +branch = "3ds" + +[[actions.branch]] +when = { var = "platform", eq = "gamecube"} +branch = "gamecube" + +[[actions.branch]] +when = { var = "platform", eq = "gba"} +branch = "gba" + +[[actions.branch]] +when = { var = "platform", eq = "ps2"} +branch = "ps2" + +[[actions.branch]] +when = { var = "platform", eq = "ps3"} +branch = "ps3" + +[[actions.branch]] +when = { var = "platform", eq = "switch"} +branch = "switch" + [[actions.script]] script = "setup.sh" expose = ["name", "desc"] From ca0f42c326d13ee644ab03a3eec3b6ee4fab3253 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sat, 12 Apr 2025 15:25:33 +0200 Subject: [PATCH 4/5] add order --- bootstrap.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap.toml b/bootstrap.toml index 7b04bbc..9412618 100644 --- a/bootstrap.toml +++ b/bootstrap.toml @@ -1,7 +1,7 @@ [ask] -platform = { kind = "selection", prompt = "Game Platform", options = ["wine", "wiiu", "3ds", "gamecube", "gba", "ps2", "ps3", "switch"] } -name = { kind = "text", prompt = "Game Name?" } -desc = { kind = "text", prompt = "Game Description?" } +platform = { kind = "selection", prompt = "Game Platform", options = ["wine", "wiiu", "3ds", "gamecube", "gba", "ps2", "ps3", "switch"], order = 1 } +name = { kind = "text", prompt = "Game Name?", order = 2 } +desc = { kind = "text", prompt = "Game Description?", order = 3 } [[actions.replace]] from = "" From 76bf17e1abb0b2ea1972a5989b43005797811a64 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Tue, 15 Apr 2025 19:40:36 +0200 Subject: [PATCH 5/5] =?UTF-8?q?=E2=9C=A8=20n64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bootstrap.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bootstrap.toml b/bootstrap.toml index 9412618..2a171c1 100644 --- a/bootstrap.toml +++ b/bootstrap.toml @@ -1,5 +1,5 @@ [ask] -platform = { kind = "selection", prompt = "Game Platform", options = ["wine", "wiiu", "3ds", "gamecube", "gba", "ps2", "ps3", "switch"], order = 1 } +platform = { kind = "selection", prompt = "Game Platform", options = ["wine", "wiiu", "3ds", "gamecube", "gba", "ps2", "ps3", "switch", "n64"], order = 1 } name = { kind = "text", prompt = "Game Name?", order = 2 } desc = { kind = "text", prompt = "Game Description?", order = 3 } @@ -19,6 +19,9 @@ branch = "wine" when = { var = "platform", eq = "wiiu"} branch = "wiiu" +[[actions.branch]] +when = { var = "platform", eq = "n64"} +branch = "n64" [[actions.branch]] when = { var = "platform", eq = "3ds"}