Added remote play clients (#622)

* Added remote play clients

- Fixed bug that deleted cloud scripts when pressing "cancel"
- Updated cloud scripts to reflect changes
- Added steam controller template "EmuDeck - Cloud"
- Updated readme

Note: beta testers will need to delete their cloud.conf, run the cloudServicesManager and update their cloud services.

* Minor fixes

* Added remote play clients

- Fixed bug that deleted cloud scripts when pressing "cancel"
- Updated cloud scripts to reflect changes
- Added steam controller template "EmuDeck - Cloud"
- Updated readme

Note: beta testers will need to delete their cloud.conf, run the cloudServicesManager and update their cloud services.
This commit is contained in:
KingIzzymon 2023-02-11 03:51:54 -05:00 committed by GitHub
parent b826641ebe
commit af9e5a4104
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 1898 additions and 243 deletions

101
README.md
View file

@ -15,43 +15,44 @@ There are two ways of using EmuDeck:
This option gives you all your games presented with their box arts as if they were a regular Steam Game.
EmuDeck has preloaded configurations for Steam Rom Manager for the following systems:
| System | Emulator | Roms format | File Required in the base of Emulation/bios (or special consideration) |
| ------------------------- | --------------------------------------------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Atari 2600 | Retroarch Stella core | .7z .a26 .bin .zip | |
| Atari Lynx | Retroarch Beetle Lynx core | .7z .lnx .bin .zip | |
| Cloud Services | Web Browser | .sh | |
| Final Burn Neo | Retroarch Fbn core | .zip .7z | Bioses will be searched through 3 folders :<br>\* the folder of the current romset<br>\* the Emulation/bios/fbneo/<br>\* the Emulation/bios/ |
| Mame 2003 Plus | Retroarch Mame 2003 Plus core | .zip | |
| Mame 2010 | Retroarch Mame 2010 core | .zip | |
| Mame Current | Retroarch Mame Current core | .zip | |
| Microsoft Xbox | Xemu | .iso (xiso formatted) | Emulation/bios:<br>mcpx\_1.0.bin<br>modified retail "COMPLEX 4627" BIOS<br><br>Emulation/storage/xemu:<br>xbox\_hdd.qcow2 |
| Neo Geo Pocket & Color | Retroarch Beetle NeoPop | .7z .ngp .ngc .bin .zip | |
| Nintendo 3DS | Citra | .3ds .3dsx .app .axf .cci .cxi .elf .cia(FOR INSTALL ONLY) | Title keys required for encrypted rom types |
| Nintendo 64 | Retroarch Mupen64plus-Next | .7z .bin .n64 .ndd .u1 .v64 .z64 .zip | |
| Nintendo DS | Retroarch melonDS core | .7z .nds .zip | bios7.bin<br>bios9.bin<br>firmware.bin |
| Nintendo GameBoy | Retroarch Gambatte core | .7z .gb .dmg .zip | |
| Nintendo GameBoy Advance | Retroarch mGBA core | .7z .gba .zip | |
| Nintendo GameBoy Color | Retroarch Gambatte core | .7z .gb .gbc .dmg .zip | |
| Nintendo GameCube | Dolphin Standalone | .ciso .dol .elf .gcm .gcz .iso .nkit.iso .rvz .wad .wia .wbfs | |
| Nintendo NES | Retroarch Nestopia core | .7z .nes .fds .unf .unif .zip | |
| Nintendo PrimeHack | PrimeHack (Metroid Prime specific) | .ciso .dol .elf .gcm .gcz .iso .json .nkit.iso .rvz .wad .wia .wbfs | |
| Nintendo Switch | Yuzu | .kp .nca .nro .nso .nsp .xci | Title keys required for encrypted rom types<br>firmware installation with valid mii data required for some games |
| Nintendo Wii | Dolphin Standalone | .ciso .dol .elf .gcm .gcz .iso .json .nkit.iso .rvz .wad .wia .wbfs | |
| Nintendo Wii U | Cemu | .rpx .wud .wux .elf .iso .wad | Title keys required for encrypted rom types |
| Sega 32X | Retroarch PicoDrive core | .7z .32x .bin .zip | |
| Sega CD | Retroarch Genesis Plus GX core | .7z .32x .cue .chd .iso .zip | bios\_CD\_E.bin<br>bios\_CD\_U.bin<br>bios\_CD\_J.bin |
| Sega Dreamcast | Retroarch FlyCast Core | .7z .cdi .chd .cue .gdi .m3u | dc/dc\_boot.bin |
| Sega Game Gear | Retroarch Genesis Plus GX core | .7z .gg .zip | |
| Sega Genesis / Mega Drive | Retroarch Genesis Plus GX core | .7z .gen .md .smd .zip | |
| Sega Genesis Widescreen | Retroarch Genesis Plus GX Wide core | .7z .gen .md .smd .zip | |
| Sega Master System | Retroarch Genesis Plus GX core | .7z .gen .sms .zip | |
| Sega Saturn | Retroarch Yabause core | .7z .cue .iso .chd .zip .m3u | sega\_101.bin<br>mpr-17933.bin |
| Sony Playstation | DuckStation Standalone<br>Retroarch Beetle HW | .cue .chd .ecm .iso .m3u .mds .pbp | scph5500.bin<br>scph5501.bin<br>scph5502.bin |
| Sony Playstation 2 | PCSX2 & PCSX2 QT | .bin .chd .cso .dump .gz .img .iso .mdf .nrg | Bios files are required. Here is an example set:<br>SCPH-70004\_BIOS\_V12\_EUR\_200.BIN<br>SCPH-70004\_BIOS\_V12\_EUR\_200.EROM<br>SCPH-70004\_BIOS\_V12\_EUR\_200.ROM1<br>SCPH-70004\_BIOS\_V12\_EUR\_200.ROM2 |
| Sony Playstation 3 | RPCS3 | /PS3\_GAME/USRDIR/eboot.bin | Firmware installation in the Emulator is required. |
| Sony Playstation Portable | PPSSPP Standalone<br>PPSSPP Retroarch core | .7z (RA only) .elf .cso .iso .pbp .prx | The retroarch core requires ppsspp.zip in the bios folder.<br>You can obtain it from within RetroArch's downloader.<br>Standalone PPSSPP does not require anything special. |
| Super Nintendo | Retroarch Snes9x Current core | .7z .bs .fig .sfc .smc .swx .zip | |
| Super Nintendo Widescreen | Retroarch bsnes hd beta Current core | .7z .bs .fig .sfc .smc .swx .zip | |
| System | Emulator | Roms format | File Required in the base of Emulation/bios (or special consideration) |
| ------------------------- | --------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Atari 2600 | Retroarch Stella core | .7z .a26 .bin .zip | |
| Atari Lynx | Retroarch Beetle Lynx core | .7z .lnx .bin .zip | |
| Cloud Services | Web Browser | .sh | cloud/cloud.conf |
| Final Burn Neo | Retroarch Fbn core | .zip .7z | Bioses will be searched through 3 folders :<br>\* the folder of the current romset<br>\* the Emulation/bios/fbneo/<br>\* the Emulation/bios/ |
| Mame 2003 Plus | Retroarch Mame 2003 Plus core | .zip | |
| Mame 2010 | Retroarch Mame 2010 core | .zip | |
| Mame Current | Retroarch Mame Current core | .zip | |
| Microsoft Xbox | Xemu | .iso (xiso formatted) | Emulation/bios:<br>mcpx\_1.0.bin<br>modified retail "COMPLEX 4627" BIOS<br><br>Emulation/storage/xemu:<br>xbox\_hdd.qcow2 |
| Neo Geo Pocket & Color | Retroarch Beetle NeoPop | .7z .ngp .ngc .bin .zip | |
| Nintendo 3DS | Citra | .3ds .3dsx .app .axf .cci .cxi .elf .cia(FOR INSTALL ONLY) | Title keys required for encrypted rom types |
| Nintendo 64 | Retroarch Mupen64plus-Next | .7z .bin .n64 .ndd .u1 .v64 .z64 .zip | |
| Nintendo DS | Retroarch melonDS core | .7z .nds .zip | bios7.bin<br>bios9.bin<br>firmware.bin |
| Nintendo GameBoy | Retroarch Gambatte core | .7z .gb .dmg .zip | |
| Nintendo GameBoy Advance | Retroarch mGBA core | .7z .gba .zip | |
| Nintendo GameBoy Color | Retroarch Gambatte core | .7z .gb .gbc .dmg .zip | |
| Nintendo GameCube | Dolphin Standalone | .ciso .dol .elf .gcm .gcz .iso .nkit.iso .rvz .wad .wia .wbfs | |
| Nintendo NES | Retroarch Nestopia core | .7z .nes .fds .unf .unif .zip | |
| Nintendo PrimeHack | PrimeHack (Metroid Prime specific) | .ciso .dol .elf .gcm .gcz .iso .json .nkit.iso .rvz .wad .wia .wbfs | |
| Nintendo Switch | Yuzu | .kp .nca .nro .nso .nsp .xci | Title keys required for encrypted rom types<br>firmware installation with valid mii data required for some games |
| Nintendo Wii | Dolphin Standalone | .ciso .dol .elf .gcm .gcz .iso .json .nkit.iso .rvz .wad .wia .wbfs | |
| Nintendo Wii U | Cemu | .rpx .wud .wux .elf .iso .wad | Title keys required for encrypted rom types |
| Remote Play Clients | (Chiaki, Moonlight, Parsec) | .sh (flatpak) | |
| Sega 32X | Retroarch PicoDrive core | .7z .32x .bin .zip | |
| Sega CD | Retroarch Genesis Plus GX core | .7z .32x .cue .chd .iso .zip | bios\_CD\_E.bin<br>bios\_CD\_U.bin<br>bios\_CD\_J.bin |
| Sega Dreamcast | Retroarch FlyCast Core | .7z .cdi .chd .cue .gdi .m3u | dc/dc\_boot.bin |
| Sega Game Gear | Retroarch Genesis Plus GX core | .7z .gg .zip | |
| Sega Genesis / Mega Drive | Retroarch Genesis Plus GX core | .7z .gen .md .smd .zip | |
| Sega Genesis Widescreen | Retroarch Genesis Plus GX Wide core | .7z .gen .md .smd .zip | |
| Sega Master System | Retroarch Genesis Plus GX core | .7z .gen .sms .zip | |
| Sega Saturn | Retroarch Yabause core | .7z .cue .iso .chd .zip .m3u | sega\_101.bin<br>mpr-17933.bin |
| Sony Playstation | DuckStation Standalone<br>Retroarch Beetle HW | .cue .chd .ecm .iso .m3u .mds .pbp | scph5500.bin<br>scph5501.bin<br>scph5502.bin |
| Sony Playstation 2 | PCSX2 & PCSX2 QT | .bin .chd .cso .dump .gz .img .iso .mdf .nrg | Bios files are required. Here is an example set:<br>SCPH-70004\_BIOS\_V12\_EUR\_200.BIN<br>SCPH-70004\_BIOS\_V12\_EUR\_200.EROM<br>SCPH-70004\_BIOS\_V12\_EUR\_200.ROM1<br>SCPH-70004\_BIOS\_V12\_EUR\_200.ROM2 |
| Sony Playstation 3 | RPCS3 | /PS3\_GAME/USRDIR/eboot.bin | Firmware installation in the Emulator is required. |
| Sony Playstation Portable | PPSSPP Standalone<br>PPSSPP Retroarch core | .7z (RA only) .elf .cso .iso .pbp .prx | The retroarch core requires ppsspp.zip in the bios folder.<br>You can obtain it from within RetroArch's downloader.<br>Standalone PPSSPP does not require anything special. |
| Super Nintendo | Retroarch Snes9x Current core | .7z .bs .fig .sfc .smc .swx .zip | |
| Super Nintendo Widescreen | Retroarch bsnes hd beta Current core | .7z .bs .fig .sfc .smc .swx .zip | |
| Wonderswan & Color | Retroarch Beetle Cygne core | .7z .pc2 .ws .wsc .zip |
## Using EmulationStation DE
@ -64,20 +65,22 @@ EmuDeck configures EmulationStation DE to use the same rom folders that EmuDeck
We try to use the same hotkeys for every emulator but some of them have their own different hotkeys, shown here:
|  Hotkey | RetroArch | Dolphin | Citra \* | Cemu \* | Yuzu | PCSX2 \* | RPCS3 |
| --------------- | -------------- | -------------- | -------- | -------------- | -------------- | ------------ | ------------ |
| Menu | L3 + R3 | - | - | - | - | - | - |
| Exit | Select + Start | Select + Start | R5 | Select + Start | Select + Start | STEAM Button | STEAM Button |
| Pause/Unpause Emulation | Select + A | Select + A | - | - | Select + A | | - |
| Fast Forward | Select + R2 | Select + R2 | - | - | Select + R2 | Select + R2 | - |
| Load State | Select + L1 | Select + L1 | - | - | - | Select + L1 | - |
| Save State | Select + R1 | Select + R1 | - | - | - | Select + R1 | - |
| Full Screen | - | - | L4 | - | - | - | - |
| Swap Screens | - | - | R4 | R4 | - | - | - |
| Toggle Layout | - | - | L5 | - | - | - | - |
|  Hotkey | RetroArch | Dolphin | Citra\* | Cemu\* | Yuzu | PCSX2\* | RPCS3 | Cloud\* |
| ----------------------- | -------------- | -------------- | -------- | -------------- | -------------- | ------------ | ------------ | -------------- |
| Menu | L3 + R3 | - | - | - | - | - | - | - |
| Exit | Select + Start | Select + Start | R5 | Select + Start | Select + Start | STEAM Button | STEAM Button | Select + Start |
| Pause/Unpause Emulation | Select + A | Select + A | - | - | Select + A | | - | - |
| Fast Forward | Select + R2 | Select + R2 | - | - | Select + R2 | Select + R2 | - | - |
| Load State | Select + L1 | Select + L1 | - | - | - | Select + L1 | - | - |
| Save State | Select + R1 | Select + R1 | - | - | - | Select + R1 | - | - |
| Full Screen | - | - | L4 | - | - | - | - | - |
| Swap Screens | - | - | R4 | R4 | - | - | - | - |
| Toggle Layout | - | - | L5 | - | - | - | - | - |
| Hold Action Set\* | - | - | - | - | - | - | - | L4 |
\* You need to activate Steam Input to get those hotkeys to work https://www.emudeck.com/#steam_input
Note that Nintendo-oriented emulators refer to "A" in the emulated sense (physical Steam Deck "B")
\* You need to activate Steam Input to get those hotkeys to work https://www.emudeck.com/#steam_input
# Developers, developers, developers.

File diff suppressed because it is too large Load diff

View file

@ -999,71 +999,67 @@
}
}
},
{
"parserType": "Glob",
"configTitle": "Cloud Services",
"steamCategory": "${Cloud Services}",
"steamDirectory": "${steamdirglobal}",
"romDirectory": "${romsdirglobal}/cloud",
"executableArgs": "\"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "${romsdirglobal}/cloud",
"titleModifier": "${fuzzyTitle}",
"imageProviders": [
"SteamGridDB"
],
"onlineImageQueries": "${${fuzzyTitle}}",
"imagePool": "${fuzzyTitle}",
"defaultImage": "",
"defaultTallImage": "",
"defaultHeroImage": "",
"defaultLogoImage": "",
"defaultIcon": "/home/deck/.config/EmuDeck/backend/configs/steam-rom-manager/userData/img/default/icon.png",
"localImages": "",
"localTallImages": "",
"localHeroImages": "",
"localLogoImages": "",
"localIcons": "",
"userAccounts": {
"specifiedAccounts": "",
"skipWithMissingDataDir": true,
"useCredentials": true
},
"executable": {
"path": "/bin/bash",
"shortcutPassthrough": false,
"appendArgsToExecutable": true
},
"parserInputs": {
"glob": "**/${title}@(.sh)"
},
"titleFromVariable": {
"limitToGroups": "",
"caseInsensitiveVariables": false,
"skipFileIfVariableWasNotFound": false,
"tryToMatchTitle": false
},
"fuzzyMatch": {
"replaceDiacritics": true,
"removeCharacters": false,
"removeBrackets": true
},
"imageProviderAPIs": {
"SteamGridDB": {
"nsfw": false,
"humor": false,
"styles": [],
"stylesHero": [],
"stylesLogo": [],
"stylesIcon": [],
"imageMotionTypes": [
"static"
]
}
},
"parserId": "164785598905497513",
"version": 10
{
"parserType": "Glob",
"configTitle": "Cloud Services",
"steamCategory": "${Cloud Services}",
"steamDirectory": "${steamdirglobal}",
"romDirectory": "${romsdirglobal}/cloud",
"executableArgs": "/bin/bash \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "${romsdirglobal}/cloud",
"titleModifier": "${fuzzyTitle}",
"imageProviders": ["SteamGridDB"],
"onlineImageQueries": "${${fuzzyTitle}}",
"imagePool": "${fuzzyTitle}",
"defaultImage": "",
"defaultTallImage": "",
"defaultHeroImage": "",
"defaultLogoImage": "",
"defaultIcon": "/home/deck/.config/EmuDeck/backend/configs/steam-rom-manager/userData/img/default/icon.png",
"localImages": "",
"localTallImages": "",
"localHeroImages": "",
"localLogoImages": "",
"localIcons": "",
"userAccounts": {
"specifiedAccounts": "",
"skipWithMissingDataDir": true,
"useCredentials": true
},
"executable": {
"path": "",
"shortcutPassthrough": false,
"appendArgsToExecutable": false
},
"parserInputs": {
"glob": "**/${title}@(.sh)"
},
"titleFromVariable": {
"limitToGroups": "",
"caseInsensitiveVariables": false,
"skipFileIfVariableWasNotFound": false,
"tryToMatchTitle": false
},
"fuzzyMatch": {
"replaceDiacritics": true,
"removeCharacters": false,
"removeBrackets": true
},
"imageProviderAPIs": {
"SteamGridDB": {
"nsfw": false,
"humor": false,
"styles": [],
"stylesHero": [],
"stylesLogo": [],
"stylesIcon": [],
"imageMotionTypes": ["static"]
}
},
"parserId": "164785598905497513",
"version": 10
},
{
"parserType": "Glob",
"configTitle": "Commodore 64 - Retroarch",
@ -2684,6 +2680,67 @@
"parserId": "164770728884890305",
"version": 10
},
{
"parserType": "Glob",
"configTitle": "Remote Play Clients",
"steamCategory": "${Remote Play Clients}",
"steamDirectory": "${steamdirglobal}",
"romDirectory": "${romsdirglobal}/remoteplay",
"executableArgs": "/bin/bash \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "${romsdirglobal}/remoteplay",
"titleModifier": "${fuzzyTitle}",
"imageProviders": ["SteamGridDB"],
"onlineImageQueries": "${${fuzzyTitle}}",
"imagePool": "${fuzzyTitle}",
"defaultImage": "",
"defaultTallImage": "",
"defaultHeroImage": "",
"defaultLogoImage": "",
"defaultIcon": "/home/deck/.config/EmuDeck/backend/configs/steam-rom-manager/userData/img/default/icon.png",
"localImages": "",
"localTallImages": "",
"localHeroImages": "",
"localLogoImages": "",
"localIcons": "",
"userAccounts": {
"specifiedAccounts": "",
"skipWithMissingDataDir": true,
"useCredentials": true
},
"executable": {
"path": "",
"shortcutPassthrough": false,
"appendArgsToExecutable": false
},
"parserInputs": {
"glob": "**/${title}@(.sh)"
},
"titleFromVariable": {
"limitToGroups": "",
"caseInsensitiveVariables": false,
"skipFileIfVariableWasNotFound": false,
"tryToMatchTitle": false
},
"fuzzyMatch": {
"replaceDiacritics": true,
"removeCharacters": false,
"removeBrackets": true
},
"imageProviderAPIs": {
"SteamGridDB": {
"nsfw": false,
"humor": false,
"styles": [],
"stylesHero": [],
"stylesLogo": [],
"stylesIcon": [],
"imageMotionTypes": ["static"]
}
},
"parserId": "164785598905497514",
"version": 10
},
{
"parserType": "Glob",
"configTitle": "Sega 32X - Retroarch - PicoDrive",

View file

@ -0,0 +1,58 @@
#!/bin/bash
# Variables
Chiaki_emuName="Chiaki"
Chiaki_emuType="FlatPak"
Chiaki_emuPath="re.chiaki.Chiaki"
Chiaki_releaseURL=""
# Install
Chiaki_install() {
setMSG "Installing $Moonlight_emuName."
local ID="$Chiaki_emuPath"
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo --user
flatpak install flathub "$ID" -y --user
flatpak override "$ID" --filesystem=host --user
flatpak override "$ID" --share=network --user
cp "${EMUDECKGIT}/tools/remoteplayclients/Chiaki Remote Play Clients.sh" "$romsPath/remoteplay"
chmod +x "$romsPath/remoteplay/Chiaki Remote Play Clients.sh"
Chiaki_addSteamInputProfile
}
# ApplyInitialSettings
Chiaki_init() {
setMSG "Initializing $Chiaki_emuName settings."
configEmuFP "$Chiaki_emuName" "$Chiaki_emuPath" "true"
$Chiaki_addSteamInputProfile
}
# Update flatpak
Chiaki_update() {
setMSG "Updating $Chiaki_emuName settings."
local ID="$Chiaki_emuPath"
flatpak update $ID -y --user
flatpak override $ID --filesystem=host --user
flatpak override $ID --share=network --user
}
# Uninstall
Chiaki_uninstall() {
setMSG "Uninstalling $Chiaki_emuName."
uninstallEmuFP "$Chiaki_emuPath"
}
# Check if installed
Chiaki_IsInstalled() {
if [ "$(flatpak --columns=app list | grep "$Chiaki_emuPath")" == "$Chiaki_emuPath" ]; then
echo true
return 1
else
echo false
return 0
fi
}
# Import steam profile
Chiaki_addSteamInputProfile() {
rsync -r "$EMUDECKGIT/configs/steam-input/emudeck_chiaki_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
}

View file

@ -0,0 +1,58 @@
#!/bin/bash
# Variables
Moonlight_emuName="Moonlight"
Moonlight_emuType="FlatPak"
Moonlight_emuPath="com.moonlight_stream.Moonlight"
Moonlight_releaseURL=""
# Install
Moonlight_install() {
setMSG "Installing $Moonlight_emuName."
local ID="$Moonlight_emuPath"
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo --user
flatpak install flathub "$ID" -y --user
flatpak override "$ID" --filesystem=host --user
flatpak override "$ID" --share=network --user
cp "${EMUDECKGIT}/tools/remoteplayclients/Moonlight Game Streaming.sh" "$romsPath/remoteplay"
chmod +x "$romsPath/remoteplay/Moonlight Game Streaming.sh"
Moonlight_addSteamInputProfile
}
# ApplyInitialSettings
Moonlight_init() {
setMSG "Initializing $Moonlight_emuName settings."
configEmuFP "$Moonlight_emuName" "$Moonlight_emuPath" "true"
$Moonlight_addSteamInputProfile
}
# Update flatpak
Moonlight_update() {
setMSG "Updating $Moonlight_emuName settings."
local ID="$Moonlight_emuPath"
flatpak update $ID -y --user
flatpak override $ID --filesystem=host --user
flatpak override $ID --share=network --user
}
# Uninstall
Moonlight_uninstall() {
setMSG "Uninstalling $Moonlight_emuName."
uninstallEmuFP "$Moonlight_emuPath"
}
# Check if installed
Moonlight_IsInstalled() {
if [ "$(flatpak --columns=app list | grep "$Moonlight_emuPath")" == "$Moonlight_emuPath" ]; then
echo true
return 1
else
echo false
return 0
fi
}
# Import steam profile
Moonlight_addSteamInputProfile() {
rsync -r "$EMUDECKGIT/configs/steam-input/emudeck_moonlight_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
}

View file

@ -0,0 +1,58 @@
#!/bin/bash
# Variables
Parsec_emuName="Parsec"
Parsec_emuType="FlatPak"
Parsec_emuPath="com.parsecgaming.parsec"
Parsec_releaseURL=""
# Install
Parsec_install() {
setMSG "Installing $Parsec_emuName."
local ID="$Parsec_emuPath"
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo --user
flatpak install flathub "$ID" -y --user
flatpak override "$ID" --filesystem=host --user
flatpak override "$ID" --share=network --user
cp "${EMUDECKGIT}/tools/remoteplayclients/Parsec.sh" "$romsPath/remoteplay"
chmod +x "$romsPath/remoteplay/Parsec.sh"
Parsec_addSteamInputProfile
}
# ApplyInitialSettings
Parsec_init() {
setMSG "Initializing $Parsec_emuName settings."
configEmuFP "$Parsec_emuName" "$Parsec_emuPath" "true"
$Parsec_addSteamInputProfile
}
# Update flatpak
Parsec_update() {
setMSG "Updating $Parsec_emuName settings."
local ID="$Parsec_emuPath"
flatpak update $ID -y --user
flatpak override $ID --filesystem=host --user
flatpak override $ID --share=network --user
}
# Uninstall
Parsec_uninstall() {
setMSG "Uninstalling $Parsec_emuName."
uninstallEmuFP "$Parsec_emuPath"
}
# Check if installed
Parsec_IsInstalled() {
if [ "$(flatpak --columns=app list | grep "$Parsec_emuPath")" == "$Parsec_emuPath" ]; then
echo true
return 1
else
echo false
return 0
fi
}
# Import steam profile
Parsec_addSteamInputProfile() {
rsync -r "$EMUDECKGIT/configs/steam-input/emudeck_parsec_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
}

View file

@ -23,6 +23,7 @@ source "$EMUDECKGIT"/functions/configEmuAI.sh
source "$EMUDECKGIT"/functions/configEmuFP.sh
source "$EMUDECKGIT"/functions/createDesktopIcons.sh
source "$EMUDECKGIT"/functions/installEmuFP.sh
source "$EMUDECKGIT"/functions/uninstallEmuFP.sh
source "$EMUDECKGIT"/functions/setMSG.sh
source "$EMUDECKGIT"/functions/emuDeckPrereqs.sh
source "$EMUDECKGIT"/functions/installEmuAI.sh
@ -68,7 +69,11 @@ source "$EMUDECKGIT"/functions/EmuScripts/emuDeckMGBA.sh
source "$EMUDECKGIT"/functions/EmuScripts/emuDeckRMG.sh
source "$EMUDECKGIT"/functions/EmuScripts/emuDeckMelonDS.sh
#remoteplayclientscripts
source "$EMUDECKGIT"/functions/RemotePlayClientScripts/remotePlayChiaki.sh
source "$EMUDECKGIT"/functions/RemotePlayClientScripts/remotePlayParsec.sh
source "$EMUDECKGIT"/functions/RemotePlayClientScripts/remotePlayMoonlight.sh
#Soon
#source "$EMUDECKGIT"/EmuScripts/emuDeckRedream.sh
#source "$EMUDECKGIT"/EmuScripts/emuDeckMAMEProton.sh

View file

@ -1,18 +1,14 @@
#!/bin/bash
# GIT URL for downloads
EMUDECKGIT=https://github.com/dragoonDorise/EmuDeck.git
EMUDECKGITBRANCH=main #Add-cloud-gaming
LOCALCLOUDFILES="$HOME/.config/EmuDeck/backend/tools/cloud"
# Dev variables (normally commented out)
# HOME="/home/deck" #dev
# EMUDECKGIT="$HOME/github/EmuDeck" #dev
# source ./all.sh #dev
manageServices() {
# Download all cloud service scripts
#sparseCheckoutLocal
# Create array of files
cd $LOCALCLOUDFILES
declare -a arrAll
declare -a arrServ
declare -a arrAll # All supported services (excludes user-created scripts based on file name)
declare -a arrServ # Services with install state for zenity
for file in *.sh; do
arrAll+=("$file")
if [ -f "$romsPath/cloud/$file" ]; then
@ -23,10 +19,14 @@ manageServices() {
done
# Dynamically build list of scripts
local SERVICES=$(zenity --list \
menuText=$(printf "Select Services to Install/Update: \n\n Uncheck to uninstall\n")
SERVICES=$(zenity --list \
--title="Cloud Services Manager" \
--width=300 --height=600 --text="Select Services to Install:" \
--width=350 --height=600 --text="$menuText" \
--column="" --column="Description" --checklist "${arrServ[@]}")
if [ $? != 0 ]; then
mainMenu
fi
# Delete all old scripts that match file names from the github repo
cd "$romsPath/cloud"
@ -41,36 +41,192 @@ manageServices() {
chmod +x "./$i"
cp "./$i" "$romsPath/cloud"
done
fixCloudScripts
# Import steam profile
rsync -r "$EMUDECKGIT/configs/steam-input/emudeck_cloud_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
# Return to menu
mainMenu
}
showCurrentBrowser() {
zenity --info --width=200 --text="Currently Set Browser: $FILEFORWARDING"
# Check if installed
isInstalled() {
local ID="$1"
if [ "$(flatpak --columns=app list | grep "$1")" == "$1" ]; then
return 1
else
return 0
fi
}
# Install Flatpak
installFP(){
local ID="$1"
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo --user
flatpak install flathub "$ID" -y --user
flatpak override "$ID" --filesystem=host --user
flatpak override "$ID" --share=network --user
}
manageRPS() {
# Create array of all Remote Play clients
cd "$EMUDECKGIT/functions/RemotePlayClientScripts"
declare -a arrAllRP
Chiaki_IsInstalled
ans=$?
if [ "$ans" == "1" ]; then
arrAllRP+=(true "Chiaki")
else
arrAllRP+=(false "Chiaki")
fi
Moonlight_IsInstalled
ans=$?
if [ "$ans" == "1" ]; then
arrAllRP+=(true "Moonlight")
else
arrAllRP+=(false "Moonlight")
fi
Parsec_IsInstalled
ans=$?
if [ "$ans" == "1" ]; then
arrAllRP+=(true "Parsec")
else
arrAllRP+=(false "Parsec")
fi
# Dynamically build list of scripts
RP=$(zenity --list \
--title="Cloud Services Manager" \
--text="Select clients to install/update:" \
--ok-label="Start" --cancel-label="Return to Main Menu" \
--column="" --column="Disable to uninstall" \
--width=300 --height=300 --checklist "${arrAllRP[@]}")
if [ $? != 0 ]; then
mainMenu
fi
# Setup progress bar and perform install/update/uninstall of selected items
(
arrChosen=()
IFS='|' read -r -a arrChosen <<< "$RP"
for i in "${arrChosen[@]}"; do
# Install/Update selected
if [ "$i" == "Chiaki" ]; then
Chiaki_IsInstalled
ans=$?
if [ "$ans" == "1" ]; then
Chiaki_update
else
Chiaki_install
fi
elif [ "$i" == "Moonlight" ]; then
Moonlight_IsInstalled
ans=$?
if [ "$ans" == "1" ]; then
Moonlight_update
else
Moonlight_install
fi
elif [ "$i" == "Parsec" ]; then
Parsec_IsInstalled
ans=$?
if [ "$ans" == "1" ]; then
Parsec_update
else
Parsec_install
fi
fi
done
# Uninstall those not selected
if [[ ! "${arrChosen[*]}" =~ "Chiaki" ]]; then
Chiaki_uninstall
fi
if [[ ! "${arrChosen[*]}" =~ "Moonlight" ]]; then
Moonlight_uninstall
fi
if [[ ! "${arrChosen[*]}" =~ "Parsec" ]]; then
Parsec_uninstall
fi
) | zenity --progress \
--title="Cloud Services Manager" \
--text="Processing..." \
--percentage=0 \
--no-cancel \
--pulsate \
--auto-close \
--width=300
# Return to RPS Manager
manageRPS
}
changeSettings() {
local BROWSER=$(zenity --list \
# Supported browsers:
declare -a arrSupBrows=("com.google.Chrome" "com.microsoft.Edge" "org.mozilla.firefox")
declare -a arrBrowsOpts
for brows in "${arrSupBrows[@]}"; do
if [ "$(flatpak --columns=app list | grep "$brows")" == "$brows" ]; then
arrBrowsOpts+=(false "$brows" true)
else
arrBrowsOpts+=(false "$brows" false)
fi
done
BROWSER=$(zenity --list \
--title="Cloud Services Manager" \
--width=300 --height=300 --text="Set default web browser:" \
--column="" --column="Description" --radiolist \
"" "Google Chrome" \
"" "Microsoft Edge" \
"" "Mozilla Firefox")
if [[ $BROWSER == 'Google Chrome' ]]; then
setCloudSetting COMMAND "/app/bin/chrome"
setCloudSetting FILEFORWARDING "com.google.Chrome"
elif [[ $BROWSER == 'Microsoft Edge' ]]; then
setCloudSetting COMMAND "/app/bin/edge"
setCloudSetting FILEFORWARDING "com.microsoft.Edge"
elif [[ $BROWSER == 'Mozilla Firefox' ]]; then
setCloudSetting COMMAND "firefox"
setCloudSetting FILEFORWARDING "org.mozilla.firefox"
fi
showCurrentBrowser
--width=400 --height=300 --text="Set default web browser:" \
--column="" --column="Application" --column="Installed" \
--radiolist "${arrBrowsOpts[@]}")
if [ $? != 0 ]; then
mainMenu
fi
# Setup progress bar and perform install & setup
(
arrChosen=()
IFS='|' read -r -a arrChosen <<< "$BROWSER"
for BROWSER in "${arrChosen[@]}"; do
if [[ $BROWSER == 'com.google.Chrome' ]]; then
isInstalled "$BROWSER"
ans=$?
if [ "$ans" == "0" ]; then
installFP "$BROWSER"
fi
setCloudSetting COMMAND "/app/bin/chrome"
setCloudSetting BROWSERAPP "$BROWSER"
flatpak --user override --filesystem=/run/udev:ro "$BROWSER"
elif [[ $BROWSER == 'com.microsoft.Edge' ]]; then
isInstalled "$BROWSER"
ans=$?
if [ "$ans" == "0" ]; then
installFP "$BROWSER"
fi
setCloudSetting COMMAND "/app/bin/edge"
setCloudSetting BROWSERAPP "$BROWSER"
flatpak --user override --filesystem=/run/udev:ro "$BROWSER"
elif [[ $BROWSER == 'org.mozilla.firefox' ]]; then
isInstalled "$BROWSER"
ans=$?
if [ "$ans" == "0" ]; then
installFP "$BROWSER"
fi
setCloudSetting COMMAND "firefox"
setCloudSetting BROWSERAPP "$BROWSER"
flatpak --user override --filesystem=/run/udev:ro "$BROWSER"
fi
done
) | zenity --progress \
--title="Cloud Services Manager" \
--text="Installing..." \
--percentage=0 \
--no-cancel \
--pulsate \
--auto-close \
--width=300
# Return to menu
mainMenu
@ -98,75 +254,62 @@ setCloudSetting() {
source "$CLOUDSETTINGSFILE"
}
# Create a temp folder in the Downloads folder and only pull "tools/cloud" directory.
sparseCheckoutLocal() {
(
cd ~/Downloads
git init EmuDeck_temp
cd EmuDeck_temp
git remote add -f origin $EMUDECKGIT
git config core.sparseCheckout true
echo "tools/cloud" >> .git/info/sparse-checkout
git pull origin $EMUDECKGITBRANCH
) | zenity --progress \
--title="Cloud Services" \
--text="Downloading scripts..." \
--percentage=0 \
--no-cancel \
--pulsate \
--auto-close \
--width=300
if [ "$?" = -1 ] ; then
zenity --error --text="Update canceled."
fi
}
cleanUp() {
rm -fdr ~/Downloads/EmuDeck_temp
exit
}
mainMenu() {
# Update values
source "$CLOUDSETTINGSFILE"
# Ask to install new services or change settings
menuText=$(printf "<b>Main Menu</b>\n Currently Set Browser: $FILEFORWARDING\n")
menuText=$(printf "<b>Main Menu</b>\n\n Currently Set Browser: $BROWSERAPP\n")
CHOICE=$(zenity --list \
--title="Cloud Services Manager" --text="$menuText" \
--width=300 --height=300 \
--column="" --column="Select an option:" --radiolist \
"" "Manage Cloud Services" \
"" "Manage Remote Play Clients" \
"" "Change Settings" \
"" "Quit")
if [ $? != 0 ]; then
cleanUp
exit
fi
if [[ $CHOICE == 'Manage Cloud Services' ]]; then
manageServices
elif [[ $CHOICE == 'Manage Remote Play Clients' ]]; then
manageRPS
elif [[ $CHOICE == 'Change Settings' ]]; then
changeSettings
elif [[ $CHOICE == 'Quit' ]]; then
cleanUp
exit
fi
exit
}
fixCloudScripts() {
# Substitute "FILEFORWARDING" for "BROWSERAPP" in cloud scripts and cloud.conf
cd "$romsPath/cloud"
for file in ./*.sh; do
sed -i 's/FILEFORWARDING/BROWSERAPP/g' "$file"
done
sed -i 's/FILEFORWARDING/BROWSERAPP/g' "$CLOUDSETTINGSFILE"
}
##################
# Initialization #
##################
source $HOME/emudeck/settings.sh
LOCALCLOUDFILES="$HOME/.config/EmuDeck/backend/tools/cloud"
# Check for exsisting cloud.conf or download fresh
mkdir -p "$romsPath/cloud"
mkdir -p "$romsPath/remoteplay"
if [ ! -f "$romsPath/cloud/cloud.conf" ]; then
#sparseCheckoutLocal
cp "$HOME/.config/EmuDeck/backend/tools/cloud/cloud.conf" "$romsPath/cloud"
cp "$LOCALCLOUDFILES/cloud.conf" "$romsPath/cloud"
fi
CLOUDSETTINGSFILE="$romsPath/cloud/cloud.conf"
# Show current browser
source "$romsPath/cloud/cloud.conf"
#showCurrentBrowser
# Fix old scripts
fixCloudScripts
# Load Menu
mainMenu

View file

@ -6,14 +6,14 @@ installEmuFP(){
setMSG "Installing $name"
flatpak install flathub "$ID" -y --system
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo --user
flatpak install flathub "$ID" -y --system
flatpak override "$ID" --filesystem=host --user
flatpak override "$ID" --share=network --user
shName=$(echo "$name" | awk '{print tolower($0)}')
find "${toolsPath}/launchers/" -type f -iname "$shName.sh" -o -type f -iname "$shName-emu.sh" | while read -r f; do echo "deleting $f"; rm -f "$f"; done;
find "${EMUDECKGIT}/tools/launchers/" -type f -iname "$shName.sh" -o -type f -iname "$shName-emu.sh" | while read -r l; do echo "deploying $l"; chmod +x "$l"; cp -v "$l" "${toolsPath}/launchers/"; done;
find "${toolsPath}/launchers/" -type f -iname "$shName.sh" -o -type f -iname "$shName-emu.sh" | while read -r f; do echo "deleting old: $f"; rm -f "$f"; done;
find "${EMUDECKGIT}/tools/launchers/" -type f -iname "$shName.sh" -o -type f -iname "$shName-emu.sh" | while read -r l; do echo "deploying new: $l"; chmod +x "$l"; cp -v "$l" "${toolsPath}/launchers/"; done;
}

View file

@ -0,0 +1,6 @@
#!/bin/bash
uninstallEmuFP() {
ID=$1
flatpak uninstall "$ID" -y --user
}

View file

@ -18,16 +18,3 @@ cloud
Requires:
cloud.conf
Note: To enable controller support in Game Mode, go to Desktop mode and run the command for your specific web browser in the konsole:
# Google Chrome
flatpak --user override --filesystem=/run/udev:ro com.google.Chrome
# Microsoft Edge
flatpak --user override --filesystem=/run/udev:ro com.microsoft.Edge
# Mozilla Firefox
flatpak --user override --filesystem=/run/udev:ro org.mozilla.firefox

View file

@ -0,0 +1,17 @@
System name:
remoteplay
Full system name:
Remote Play Clients
Supported file extensions:
.sh
Launch command:
/bin/bash %ROM%
Platform (for scraping):
remoteplay
Theme folder:
remoteplay

View file

@ -3,8 +3,6 @@
#Expert mode off by default
expert=false
#Default settings for all systems
doSetupRA=true
doSetupDolphin=true
@ -61,7 +59,6 @@ RAautoSave=false
SNESAR=43
#Default widescreen
duckWide=false
DolphinWide=false
DreamcastWide=false
@ -80,7 +77,6 @@ ESDEscrapData=~/Emulation/tools/downloaded_media
#Default ESDE Theme
esdeTheme="EPICNOIR"
#Advanced settings
doSelectWideScreen=false
doRASignIn=false
@ -100,4 +96,4 @@ arSnes=43
RAHandClassic2D=false
RAHandClassic3D=false
RAHandHeldShader=true
doSetupSaveSync=false
doSetupSaveSync=false

View file

@ -3,4 +3,4 @@
LINK="https://luna.amazon.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.amazon.com/video"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://tv.apple.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.crunchyroll.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://discord.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.disneyplus.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://emby.media/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.hbomax.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://demo.home-assistant.io/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.hulu.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://demo.jellyfin.org/stable"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.netflix.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.paramountplus.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -1,6 +0,0 @@
#!/usr/bin/bash
LINK="https://web.parsec.app/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.peacocktv.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://app.plex.tv/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://open.spotify.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.tiktok.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.twitch.tv/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://twitter.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://vimeo.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.xbox.com/play"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://music.youtube.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://tv.youtube.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -3,4 +3,4 @@
LINK="https://www.youtube.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -4,18 +4,18 @@
#
# Google Chrome
# COMMAND="/app/bin/chrome"
# FILEFORWARDING="com.google.Chrome"
# BROWSERAPP="com.google.Chrome"
#
# Microsoft Edge
# COMMAND="/app/bin/edge"
# FILEFORWARDING="com.microsoft.Edge"
# BROWSERAPP="com.microsoft.Edge"
#
# Mozilla Firefox
# COMMAND="firefox"
# FILEFORWARDING="org.mozilla.firefox"
# BROWSERAPP="org.mozilla.firefox"
COMMAND="/app/bin/chrome"
FILEFORWARDING="com.google.Chrome"
BROWSERAPP="com.google.Chrome"
# Default (Steam Deck Game Mode): 1024,640
WINDOWSIZE="1024,640"

View file

@ -3,4 +3,4 @@
LINK="https://play.webrcade.com/"
. ./cloud.conf
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${FILEFORWARDING} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"
"/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=${COMMAND} --file-forwarding ${BROWSERAPP} @@u @@ --window-size=${WINDOWSIZE} --force-device-scale-factor=${DEVICESCALEFACTOR} --device-scale-factor=${DEVICESCALEFACTOR} --kiosk "${LINK}"

View file

@ -0,0 +1,2 @@
#!/bin/bash
/usr/bin/flatpak run com.moonlight_stream.Moonlight

View file

@ -0,0 +1,2 @@
#!/bin/bash
/usr/bin/flatpak run com.parsecgaming.parsec