Compare commits

...
Sign in to create a new pull request.

1 commit
main ... ps3

Author SHA1 Message Date
de90920006
ps3 2025-04-06 02:08:30 +02:00
3 changed files with 28 additions and 0 deletions

12
PKGBUILD Normal file
View file

@ -0,0 +1,12 @@
pkgname=game.title
pkgver=1.0
pkgrel=1
pkgdesc="<GAME_DESC>"
arch=('x86_64')
depends=('rpcs3')
source=()
sha256sums=()
package() {
rsync -vzrp ../root/ "$pkgdir/"
}

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Name=<GAME_TITLE>
Comment=<GAME_DESC>
Exec=rpcs3 --no-gui --fullscreen "/games/rom/ps3/game.title/PS3_GAME"
Icon=/usr/share/icons/game.title/icon1.ico
StartupNotify=true
Terminal=false
Type=Application
Categories=Game;

7
setup.sh Normal file
View file

@ -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/ps3/$safe_title
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