dragoonDorise / EmuDeck

Emulator configurator for Steam Deck
GNU General Public License v3.0
2.93k stars 213 forks source link

[Bug Report] Missing capability to install/update emulators available on other users'installs of EmuDeck; add self-repair tool? #1334

Open ttang4299 opened 1 month ago

ttang4299 commented 1 month ago

Prerequisite Steps

What distro are you running?

SteamOS (latest stable)

Which SteamOS Branch are you using?

Stable

What happened?

I'm not sure what's wrong with my install of EmuDeck. My girlfriend has EmuDeck too, and in the Flatpak update menu, it shows an option for ares (which won't show on the EmuDeck app on my SD). Also, she can install Lime3DS on her SD, but every time I try to do it, I always get an error message. Maybe the EmuDeck application should add a self-repair tool to detect and repair broken functions.

Relevant log output

[10/22/2024] UPDATE: STARTING CHECK [10/22/2024] [object Object] [10/22/2024] UPDATE: CHECKING [10/22/2024] UPDATE: COMPARING VERSIONS [10/22/2024] UPDATE: UP TO DATE [10/22/2024] {"tag":"v2.3.0","version":"2.3.0","files":[{"url":"EmuDeck-2.3.0.AppImage","sha512":"sFRn0Uv+63rs7R8K/yA7VSrdL5Ge+vFH8QbECzWwk/fvpCMZQT3qJ+Dc7WBKmssC+0b6GM/QjrdrLV6pYWeLRQ==","size":111455169,"blockMapSize":117717}],"path":"EmuDeck-2.3.0.AppImage","sha512":"sFRn0Uv+63rs7R8K/yA7VSrdL5Ge+vFH8QbECzWwk/fvpCMZQT3qJ+Dc7WBKmssC+0b6GM/QjrdrLV6pYWeLRQ==","releaseDate":"2024-09-25T18:03:19.592Z","releaseName":"2.3.0","releaseNotes":"

New unified UI
\nButton to remove SRM entries in manage emulators
\nPartial Multilanguage support
\nAuto setup emulators on your device's language
\nLime3DS, a Citra fork has been added
\nCitra is back! We've added PabloMK7 Citra's fork
\nEmuDecky - Now you can update emulators from gaming mode ( install from EmuDeck, not the Decky Store)

"} [10/22/2024] mkdir -p $HOME/emudeck/ && cd ~/.config/EmuDeck/backend/ && git rev-parse --is-inside-work-tree [10/22/2024] stdout: true

[10/22/2024] mkdir -p $HOME/emudeck/ && cd ~/.config/EmuDeck/backend/ && git rev-parse --is-inside-work-tree [10/22/2024] stdout: true

[10/22/2024] cd ~/.config/EmuDeck/backend && git reset --hard && git clean -fd && git checkout main && git pull && . ~/.config/EmuDeck/backend/functions/all.sh && appImageInit [10/22/2024] error: Error: Command failed: cd ~/.config/EmuDeck/backend && git reset --hard && git clean -fd && git checkout main && git pull && . ~/.config/EmuDeck/backend/functions/all.sh && appImageInit fatal: Unable to create '/home/deck/.config/EmuDeck/backend/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue.

[10/22/2024] stderr: fatal: Unable to create '/home/deck/.config/EmuDeck/backend/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue.

[10/22/2024] stdout: pct=8 User selected: RetroArch|PrimeHack|RPCS3|Citra|Dolphin|DuckStation|PPSSPP|Xemu|ScummVM|Supermodel|RMG|melonDS Updating RetroArch Looking for updates…

Nothing to do. deleting /run/media/mmcblk0p1/Emulation/tools/launchers/retroarch.sh '/home/deck/.config/EmuDeck/backend/tools/launchers/retroarch.sh' -> '/run/media/mmcblk0p1/Emulation/tools/launchers/retroarch.sh' 8% Updating PrimeHack Looking for updates…

Nothing to do. deleting /run/media/mmcblk0p1/Emulation/tools/launchers/primehack.sh '/home/deck/.config/EmuDeck/backend/tools/launchers/primehack.sh' -> '/run/media/mmcblk0p1/Emulation/tools/launchers/primehack.sh' 16% Updating RPCS3 Looking for updates…

  1. net.rpcs3.RPCS3 stable u flathub < 42.2 MB

Updating… Updating… 0% 0 bytes/s Updating… ███████████ 55% Updating… ████████████████████ 100% Updating… ████████████████████ 100% Updating… ████████████████████ 100% 4.5 MB/s Updating… ████████████████████ 100% 7.2 MB/s Updating… ████████████████████ 100% 5.5 MB/s Updates complete. deleting /run/media/mmcblk0p1/Emulation/tools/launchers/rpcs3.sh '/home/deck/.config/EmuDeck/backend/tools/launchers/rpcs3.sh' -> '/run/media/mmcblk0p1/Emulation/tools/launchers/rpcs3.sh' 24% Updating Citra Looking for updates…

Info: app org.citra_emu.citra branch stable is end-of-life, with reason: This application is no longer maintained. See https://citra-emu.org/ for details.

Nothing to do. deleting /run/media/mmcblk0p1/Emulation/tools/launchers/citra.sh '/home/deck/.config/EmuDeck/backend/tools/launchers/citra.sh' -> '/run/media/mmcblk0p1/Emulation/tools/launchers/citra.sh' 32% Updating dolphin-emu Looking for updates…

Nothing to do. deleting /run/media/mmcblk0p1/Emulation/tools/launchers/dolphin-emu.sh '/home/deck/.config/EmuDeck/backend/tools/launchers/dolphin-emu.sh' -> '/run/media/mmcblk0p1/Emulation/tools/launchers/dolphin-emu.sh' 40% Updating DuckStation Looking for updates…

Nothing to do. deleting /run/media/mmcblk0p1/Emulation/tools/launchers/duckstation.sh '/home/deck/.config/EmuDeck/backend/tools/launchers/duckstation.sh' -> '/run/media/mmcblk0p1/Emulation/tools/launchers/duckstation.sh' 48% Updating PPSSPP Looking for updates…

Nothing to do. deleting /run/media/mmcblk0p1/Emulation/tools/launchers/ppsspp.sh '/home/deck/.config/EmuDeck/backend/tools/launchers/ppsspp.sh' -> '/run/media/mmcblk0p1/Emulation/tools/launchers/ppsspp.sh' 56% Updating Xemu-Emu Looking for updates…

Nothing to do. deleting /run/media/mmcblk0p1/Emulation/tools/launchers/xemu-emu.sh '/home/deck/.config/EmuDeck/backend/tools/launchers/xemu-emu.sh' -> '/run/media/mmcblk0p1/Emulation/tools/launchers/xemu-emu.sh' 64% Updating ScummVM Looking for updates…

Nothing to do. deleting /run/media/mmcblk0p1/Emulation/tools/launchers/scummvm.sh '/home/deck/.config/EmuDeck/backend/tools/launchers/scummvm.sh' -> '/run/media/mmcblk0p1/Emulation/tools/launchers/scummvm.sh' 72% Updating Supermodel Looking for updates… deleting /run/media/mmcblk0p1/Emulation/tools/launchers/supermodel.sh '/home/deck/.config/EmuDeck/backend/tools/launchers/supermodel.sh' -> '/run/media/mmcblk0p1/Emulation/tools/launchers/supermodel.sh' 80% Updating RMG Looking for updates…

Nothing to do. 88% 100% User installed: RetroArch|PrimeHack|RPCS3|Citra|Dolphin|DuckStation|PPSSPP|Xemu|ScummVM|ScummVM|RMG Flatpaks update done!

[10/22/2024] stderr: error: com.supermodel.Supermodel not installed cp: cannot stat '/home/deck/.config/EmuDeck/backend/tools/launchers/rmg.sh': No such file or directory chmod: cannot access '/run/media/mmcblk0p1/Emulation/tools/launchers/rmg.sh': No such file or directory

[10/22/2024] bash ~/.config/EmuDeck/backend/tools/flatpakupdate/flatpakupdate.sh [10/22/2024] bash ~/.config/EmuDeck/backend/tools/binupdate/binupdate.sh [10/22/2024] stdout: /home/deck/.config/EmuDeck/backend/tools/binupdate/binupdate.sh: line 228: SRM_IsInstalled: command not found

[10/22/2024] Lime3DS_IsInstalled [10/22/2024] error: Error: Command failed: . ~/.config/EmuDeck/backend/functions/all.sh && Lime3DS_IsInstalled /bin/bash: line 1: Lime3DS_IsInstalled: command not found

[10/22/2024] stderr: /bin/bash: line 1: Lime3DS_IsInstalled: command not found

[10/22/2024] bash ~/.config/EmuDeck/backend/tools/binupdate/binupdate.sh [10/22/2024] stdout: /home/deck/.config/EmuDeck/backend/tools/binupdate/binupdate.sh: line 228: SRM_IsInstalled: command not found

[10/22/2024] Lime3DS_install && Lime3DS_init [10/22/2024] error: Error: Command failed: . ~/.config/EmuDeck/backend/functions/all.sh && Lime3DS_install && Lime3DS_init /bin/bash: line 1: Lime3DS_install: command not found

[10/22/2024] stderr: /bin/bash: line 1: Lime3DS_install: command not found

[10/22/2024] Lime3DS_IsInstalled [10/22/2024] error: Error: Command failed: . ~/.config/EmuDeck/backend/functions/all.sh && Lime3DS_IsInstalled /bin/bash: line 1: Lime3DS_IsInstalled: command not found

[10/22/2024] stderr: /bin/bash: line 1: Lime3DS_IsInstalled: command not found

ttang4299 commented 1 month ago

Uploading log as a file as well in case that helps emudeckApp.log