diff --git a/android/functions/EmuScripts/Android_Lime3DS.sh b/android/functions/EmuScripts/Android_Lime3DS.sh index 9ef244d79..862cbc8ed 100644 --- a/android/functions/EmuScripts/Android_Lime3DS.sh +++ b/android/functions/EmuScripts/Android_Lime3DS.sh @@ -2,7 +2,7 @@ function Android_Lime3DS_install(){ setMSG "Installing Citra" - temp_url="$(getLatestReleaseURLGH "Lime3DS/Lime3DS" ".apk")" + temp_url="$(getLatestReleaseURLGH "Lime3DS/lime3ds-archive" ".apk")" temp_emu="citra" Android_ADB_dl_installAPK $temp_emu $temp_url } @@ -22,4 +22,4 @@ function Android_Lime3DS_setup(){ function Android_Lime3DS_IsInstalled(){ package="org.citra.emu" Android_ADB_appInstalled $package -} \ No newline at end of file +} diff --git a/functions/EmuScripts/emuDeckCitra.sh b/functions/EmuScripts/emuDeckCitra.sh index 0d10d0306..e7dda34f8 100755 --- a/functions/EmuScripts/emuDeckCitra.sh +++ b/functions/EmuScripts/emuDeckCitra.sh @@ -304,11 +304,6 @@ Citra_flushSymlinks(){ find "$STEAMPATH/userdata" -name "shortcuts.vdf" -exec sed -i "s|${romsPath}/3ds|${romsPath}/n3ds|g" {} + touch "$HOME/.config/EmuDeck/.citralegacysymlinks" echo "Citra symlink cleanup completed." - zenity --info \ - --text="Citra symlinks have been cleaned. This cleanup was conducted to prevent any potential breakage with symlinks. Place all new ROMs in Emulation/roms/n3ds. Your ROMs have been moved from Emulation/roms/3ds to Emulation/roms/n3ds." \ - --title="Symlink Update" \ - --width=400 \ - --height=300 else echo "Citra symlinks already cleaned." @@ -366,11 +361,6 @@ Citra_flushSymlinks(){ find "$STEAMPATH/userdata" -name "shortcuts.vdf" -exec sed -i "s|${romsPath}/3ds|${romsPath}/n3ds|g" {} + touch "$HOME/.config/EmuDeck/.citrasymlinks" echo "Citra symlink cleanup completed." - zenity --info \ - --text="Citra symlinks have been cleaned. This cleanup was conducted to prevent any potential breakage with symlinks. Place all new ROMs in Emulation/roms/n3ds. Your ROMs have been moved from Emulation/roms/3ds to Emulation/roms/n3ds." \ - --title="Symlink Update" \ - --width=400 \ - --height=300 else echo "Citra symlinks already cleaned." diff --git a/functions/EmuScripts/emuDeckDolphin.sh b/functions/EmuScripts/emuDeckDolphin.sh index 1813ddcf1..4f2d5faaf 100644 --- a/functions/EmuScripts/emuDeckDolphin.sh +++ b/functions/EmuScripts/emuDeckDolphin.sh @@ -41,7 +41,7 @@ Dolphin_install(){ #ApplyInitialSettings Dolphin_init(){ - + setMSG "${Dolphin_emuName}: Apply initial config" echo "" configEmuFP "${Dolphin_emuName}" "${Dolphin_emuPath}" "true" @@ -243,14 +243,14 @@ Dolphin_flushSymlinks(){ rm -rf "$romsPath/gc/metadata.txt" &> /dev/null rm -rf "$romsPath/gc/systeminfo.txt" &> /dev/null - # The Pegasus install was accidentally overwriting the pre-existing n3ds symlink. - # This checks if the gc folder is empty (post-removing the contents above) and if the original gamecube folder is still a folder and not a symlink (for those who have already migrated). - # If all of this is true, the gc folder is deleted and the old symlink is temporarily recreated to proceed with the migration. + # The Pegasus install was accidentally overwriting the pre-existing n3ds symlink. + # This checks if the gc folder is empty (post-removing the contents above) and if the original gamecube folder is still a folder and not a symlink (for those who have already migrated). + # If all of this is true, the gc folder is deleted and the old symlink is temporarily recreated to proceed with the migration. if [[ ! "$( ls -A "$romsPath/gc")" ]] && [ -d "$romsPath/gamecube" ] && [ ! -L "$romsPath/gamecube" ]; then rm -rf "$romsPath/gc" - ln -sfn "$romsPath/gamecube" "$romsPath/gc" - # Temporarily restores old directory structure. - fi + ln -sfn "$romsPath/gamecube" "$romsPath/gc" + # Temporarily restores old directory structure. + fi if [[ -L "$romsPath/gc" && ! $(readlink -f "$romsPath/gc") =~ ^"$romsPath" ]] || [[ -L "$romsPath/gamecube" && ! $(readlink -f "$romsPath/gamecube") =~ ^"$romsPath" ]]; then echo "User has symlinks that don't match expected paths located under $romsPath. Aborting symlink update." @@ -278,22 +278,16 @@ Dolphin_flushSymlinks(){ rsync -avh "$EMUDECKGIT/roms/gc/." "$romsPath/gc/." --ignore-existing - if [ -d "$toolsPath/downloaded_media/gc" ] && [ ! -d "$romsPath/gc/media" ]; then + if [ -d "$toolsPath/downloaded_media/gc" ] && [ ! -d "$romsPath/gc/media" ]; then ln -s "$toolsPath/downloaded_media/gc" "$romsPath/gc/media" fi find "$STEAMPATH/userdata" -name "shortcuts.vdf" -exec sed -i "s|${romsPath}/gamecube|${romsPath}/gc|g" {} + - touch "$HOME/.config/EmuDeck/.dolphinlegacysymlinks" + touch "$HOME/.config/EmuDeck/.dolphinlegacysymlinks" echo "Dolphin symlink cleanup completed." - zenity --info \ - --text="Dolphin symlinks have been cleaned. This cleanup was conducted to prevent any potential breakage with symlinks. Place all new ROMs in Emulation/roms/gc. Your ROMs have been moved from Emulation/roms/gamecube to Emulation/roms/gc." \ - --title="Symlink Update" \ - --width=400 \ - --height=300 - - else + else echo "Dolphin symlinks already cleaned." - fi + fi if [ ! -f "$HOME/.config/EmuDeck/.dolphinsymlinks" ]; then @@ -303,14 +297,14 @@ Dolphin_flushSymlinks(){ rm -rf "$romsPath/gc/metadata.txt" &> /dev/null rm -rf "$romsPath/gc/systeminfo.txt" &> /dev/null - # The Pegasus install was accidentally overwriting the pre-existing n3ds symlink. - # This checks if the gc folder is empty (post-removing the contents above) and if the original gamecube folder is still a folder and not a symlink (for those who have already migrated). - # If all of this is true, the gc folder is deleted and the old symlink is temporarily recreated to proceed with the migration. + # The Pegasus install was accidentally overwriting the pre-existing n3ds symlink. + # This checks if the gc folder is empty (post-removing the contents above) and if the original gamecube folder is still a folder and not a symlink (for those who have already migrated). + # If all of this is true, the gc folder is deleted and the old symlink is temporarily recreated to proceed with the migration. if [[ ! "$( ls -A "$romsPath/gc")" ]] && [ -d "$romsPath/gamecube" ] && [ ! -L "$romsPath/gamecube" ]; then rm -rf "$romsPath/gc" - ln -sfn "$romsPath/gamecube" "$romsPath/gc" - # Temporarily restores old directory structure. - fi + ln -sfn "$romsPath/gamecube" "$romsPath/gc" + # Temporarily restores old directory structure. + fi if [[ -L "$romsPath/gc" && ! $(readlink -f "$romsPath/gc") =~ ^"$romsPath" ]] || [[ -L "$romsPath/gamecube" && ! $(readlink -f "$romsPath/gamecube") =~ ^"$romsPath" ]]; then echo "User has symlinks that don't match expected paths located under $romsPath. Aborting symlink update." @@ -338,21 +332,16 @@ Dolphin_flushSymlinks(){ rsync -avh "$EMUDECKGIT/roms/gc/." "$romsPath/gc/." --ignore-existing - if [ -d "$toolsPath/downloaded_media/gc" ] && [ ! -d "$romsPath/gc/media" ]; then + if [ -d "$toolsPath/downloaded_media/gc" ] && [ ! -d "$romsPath/gc/media" ]; then ln -s "$toolsPath/downloaded_media/gc" "$romsPath/gc/media" fi find "$STEAMPATH/userdata" -name "shortcuts.vdf" -exec sed -i "s|${romsPath}/gamecube|${romsPath}/gc|g" {} + - touch "$HOME/.config/EmuDeck/.dolphinsymlinks" + touch "$HOME/.config/EmuDeck/.dolphinsymlinks" echo "Dolphin symlink cleanup completed." - zenity --info \ - --text="Dolphin symlinks have been cleaned. This cleanup was conducted to prevent any potential breakage with symlinks. Place all new ROMs in Emulation/roms/gc. Your ROMs have been moved from Emulation/roms/gamecube to Emulation/roms/gc." \ - --title="Symlink Update" \ - --width=400 \ - --height=300 - else + else echo "Dolphin symlinks already cleaned." - fi + fi } \ No newline at end of file diff --git a/functions/EmuScripts/emuDeckLime3DS.sh b/functions/EmuScripts/emuDeckLime3DS.sh index d02433446..1e4e716a1 100755 --- a/functions/EmuScripts/emuDeckLime3DS.sh +++ b/functions/EmuScripts/emuDeckLime3DS.sh @@ -12,7 +12,7 @@ Lime3DS_texturesPath="$HOME/.config/lime3ds-emu/load/textures" Lime3DS_install(){ echo "Begin $Lime3DS_emuName Install" local showProgress="$1" - if installEmuAI "$Lime3DS_emuName" "" "$(getReleaseURLGH "Lime3DS/Lime3DS" "tar.gz" "")" "lime3ds" "tar.gz" "emulator" "$showProgress"; then #lime3ds-gui.AppImage + if installEmuAI "$Lime3DS_emuName" "" "$(getReleaseURLGH "Lime3DS/lime3ds-archive" "tar.gz" "")" "lime3ds" "tar.gz" "emulator" "$showProgress"; then #lime3ds-gui.AppImage mkdir "$HOME/Applications/lime3ds-temp" tar -xvzf "$HOME/Applications/lime3ds.tar.gz" -C "$HOME/Applications/lime3ds-temp" --strip-components 1 if [ -f "$HOME/Applications/lime3ds-temp/lime3ds-gui.AppImage" ]; then diff --git a/functions/helperFunctions.sh b/functions/helperFunctions.sh index e6b854e45..deb38b9cd 100644 --- a/functions/helperFunctions.sh +++ b/functions/helperFunctions.sh @@ -1045,7 +1045,7 @@ function emulatorInit(){ #Check if the service is up and running - if [ -f "$cloud_sync_bin" ] && [ "$cloud_sync_status" == "true" ]; then + if [ -f "$cloud_sync_bin" ] && [ "$cloud_sync_status" == "true" ] && [ "$netPlay" != "true" ]; then if [ $(check_internet_connection) == "true" ]; then diff --git a/install.sh b/install.sh index d5d3b6635..b439c643e 100644 --- a/install.sh +++ b/install.sh @@ -6,9 +6,10 @@ sandbox="" if [ $linuxID = "Ubuntu" ]; then sandbox="--no-sandbox" fi +clear if [ "$linuxID" == "SteamOS" ]; then - echo "installing EmuDeck" + echo "Installing EmuDeck" else zenityAvailable=$(command -v zenity &> /dev/null && echo true) @@ -110,4 +111,4 @@ mkdir -p ~/Applications curl -L "${EMUDECK_URL}" -o ~/Applications/EmuDeck.AppImage 2>&1 | stdbuf -oL tr '\r' '\n' | sed -u 's/^ *\([0-9][0-9]*\).*\( [0-9].*$\)/\1\n#Download Speed\:\2/' | zenity --progress --title "Downloading EmuDeck" --width 600 --auto-close --no-cancel 2>/dev/null chmod +x ~/Applications/EmuDeck.AppImage ~/Applications/EmuDeck.AppImage $sandbox -exit +exit \ No newline at end of file diff --git a/setup.sh b/setup.sh index f27d5c8db..a38e56a15 100644 --- a/setup.sh +++ b/setup.sh @@ -99,7 +99,7 @@ SECONDTIME="$HOME/.config/EmuDeck/.finished" #Lets log github API limits just in case echo 'Github API limits:' -curl -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" "https://api.github.com/rate_limit" +time curl -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" "https://api.github.com/rate_limit" # ## @@ -119,7 +119,7 @@ EMUDECKGIT="$HOME/.config/EmuDeck/backend" source "$EMUDECKGIT"/functions/helperFunctions.sh source "$EMUDECKGIT"/functions/jsonToBashVars.sh -jsonToBashVars "$HOME/.config/EmuDeck/settings.json" +time jsonToBashVars "$HOME/.config/EmuDeck/settings.json" source "$EMUDECKGIT/functions/all.sh" @@ -137,8 +137,8 @@ grep -vi pass "$emuDecksettingsFile" # echo "" echo "Env Details: " -getEnvironmentDetails -testRealDeck +time getEnvironmentDetails +time testRealDeck #this sets up the settings file with defaults, in case they don't have a new setting we've added. #also echos them all out so they are in the log. @@ -146,7 +146,7 @@ testRealDeck #createUpdateSettingsFile #create folders after tests! -createFolders +time createFolders #setup Proton-Launch.sh #because this path gets updated by sed, we really should be installing it every time and allowing it to be updated every time. In case the user changes their path. @@ -161,152 +161,152 @@ chmod +x "${toolsPath}/emu-launch.sh" #ESDE Installation if [ $doInstallESDE == "true" ]; then echo "install esde" - ESDE_install + time ESDE_install fi #Pegasus Installation if [ $doInstallPegasus == "true" ]; then echo "install Pegasus" - pegasus_install + time pegasus_install fi #SRM Installation if [ $doInstallSRM == "true" ]; then echo "install srm" - SRM_install + time SRM_install fi if [ "$doInstallPCSX2QT" == "true" ]; then echo "install pcsx2Qt" - PCSX2QT_install + time PCSX2QT_install fi if [ $doInstallPrimeHack == "true" ]; then echo "install primehack" - Primehack_install + time Primehack_install fi if [ $doInstallRPCS3 == "true" ]; then echo "install rpcs3" - RPCS3_install + time RPCS3_install fi if [ $doInstallCitra == "true" ]; then echo "install Citra" - Citra_install + time Citra_install fi if [ $doInstallLime3DS == "true" ]; then echo "install Lime3DS" - Lime3DS_install + time Lime3DS_install fi if [ $doInstallDolphin == "true" ]; then echo "install Dolphin" - Dolphin_install + time Dolphin_install fi if [ $doInstallDuck == "true" ]; then echo "DuckStation_install" - DuckStation_install + time DuckStation_install fi if [ $doInstallRA == "true" ]; then echo "RetroArch_install" - RetroArch_install + time RetroArch_install fi if [ $doInstallRMG == "true" ]; then echo "RMG_install" - RMG_install + time RMG_install fi if [ $doInstallares == "true" ]; then echo "ares_install" - ares_install + time ares_install fi if [ $doInstallPPSSPP == "true" ]; then echo "PPSSPP_install" - PPSSPP_install + time PPSSPP_install fi if [ $doInstallYuzu == "true" ]; then echo "Yuzu_install" - Yuzu_install + time Yuzu_install fi if [ $doInstallSuyu == "true" ]; then echo "suyu_install" - suyu_install + time suyu_install fi if [ $doInstallRyujinx == "true" ]; then echo "Ryujinx_install" - Ryujinx_install + time Ryujinx_install fi if [ $doInstallMAME == "true" ]; then echo "MAME_install" - MAME_install + time MAME_install fi if [ $doInstallXemu == "true" ]; then echo "Xemu_install" - Xemu_install + time Xemu_install fi if [ $doInstallCemu == "true" ]; then echo "Cemu_install" - Cemu_install + time Cemu_install fi if [ "${doInstallCemuNative}" == "true" ]; then echo "CemuNative_install" - CemuNative_install + time CemuNative_install fi if [ $doInstallScummVM == "true" ]; then echo "ScummVM_install" - ScummVM_install + time ScummVM_install fi if [ $doInstallVita3K == "true" ]; then echo "Vita3K_install" - Vita3K_install + time Vita3K_install fi if [ $doInstallMGBA == "true" ]; then echo "mGBA_install" - mGBA_install + time mGBA_install fi if [ $doInstallFlycast == "true" ]; then echo "Flycast_install" - Flycast_install + time Flycast_install fi if [ $doInstallRMG == "true" ]; then echo "RMG_install" - RMG_install + time RMG_install fi if [ $doInstallares == "true" ]; then echo "ares_install" - ares_install + time ares_install fi if [ $doInstallmelonDS == "true" ]; then echo "melonDS_install" - melonDS_install + time melonDS_install fi if [ $doInstallBigPEmu == "true" ]; then echo "BigPEmu_install" - BigPEmu_install + time BigPEmu_install fi if [ $doInstallSupermodel == "true" ]; then echo "Supermodel_install" - Supermodel_install + time Supermodel_install fi #Xenia - We need to install Xenia after creating the Roms folders! if [ "$doInstallXenia" == "true" ]; then echo "Xenia_install" - Xenia_install + time Xenia_install fi if [ "$doInstallModel2" == "true" ]; then echo "Model2_install" - Model2_install + time Model2_install fi if [ "$doInstallShadPS4" == "true" ]; then echo "ShadPS4_install" - ShadPS4_install + time ShadPS4_install fi #Steam RomManager Config if [ "$doSetupSRM" == "true" ]; then echo "SRM_init" - SRM_init + time SRM_init fi #ESDE Config if [ "$doSetupESDE" == "true" ]; then echo "ESDE_init" - ESDE_update + time ESDE_update fi #Pegasus Config @@ -323,116 +323,112 @@ setMSG "Configuring emulators.." if [ "$doSetupRA" == "true" ]; then echo "RetroArch_init" - RetroArch_init + time RetroArch_init fi if [ "$doSetupPrimehack" == "true" ]; then echo "Primehack_init" - Primehack_init + time Primehack_init fi if [ "$doSetupDolphin" == "true" ]; then echo "Dolphin_init" - Dolphin_init + time Dolphin_init fi if [ "$doSetupPCSX2QT" == "true" ]; then echo "PCSX2QT_init" - PCSX2QT_init + time PCSX2QT_init fi if [ "$doSetupRPCS3" == "true" ]; then echo "RPCS3_init" - RPCS3_init + time RPCS3_init fi if [ "$doSetupCitra" == "true" ]; then echo "Citra_init" - Citra_init + time Citra_init fi if [ $doSetupLime3DS == "true" ]; then echo "Lime3DS_init" - Lime3DS_init + time Lime3DS_init fi if [ "$doSetupDuck" == "true" ]; then echo "DuckStation_init" - DuckStation_init + time DuckStation_init fi if [ "$doSetupYuzu" == "true" ]; then echo "Yuzu_init" - Yuzu_init -fi -if [ "$doSetupSuyu" == "true" ]; then - echo "suzu_init" - suzu_init + time Yuzu_init fi if [ "$doSetupRyujinx" == "true" ]; then echo "Ryujinx_init" - Ryujinx_init + time Ryujinx_init fi if [ "$doSetupShadPS4" == "true" ]; then echo "ShadPS4_init" - ShadPS4_init + time ShadPS4_init fi if [ "$doSetupPPSSPP" == "true" ]; then echo "PPSSPP_init" - PPSSPP_init + time PPSSPP_init fi if [ "$doSetupXemu" == "true" ]; then echo "Xemu_init" - Xemu_init + time Xemu_init fi if [ "$doSetupMAME" == "true" ]; then echo "MAME_init" - MAME_init + time MAME_init fi if [ "$doSetupScummVM" == "true" ]; then echo "ScummVM_init" - ScummVM_init + time ScummVM_init fi if [ "$doSetupVita3K" == "true" ]; then echo "Vita3K_init" - Vita3K_init + time Vita3K_init fi if [ "$doSetupRMG" == "true" ]; then echo "RMG_init" - RMG_init + time RMG_init fi if [ "$doSetupares" == "true" ]; then echo "ares_init" - ares_init + time ares_init fi if [ "$doSetupmelonDS" == "true" ]; then echo "melonDS_init" - melonDS_init + time melonDS_init fi if [ "$doSetupMGBA" == "true" ]; then echo "mGBA_init" - mGBA_init + time mGBA_init fi if [ "${doSetupCemuNative}" == "true" ]; then echo "CemuNative_init" - CemuNative_init + time CemuNative_init fi if [ "$doSetupFlycast" == "true" ]; then echo "Flycast_init" - Flycast_init + time Flycast_init fi if [ "$doSetupSupermodel" == "true" ]; then echo "Supermodel_init" - Supermodel_init + time Supermodel_init fi if [ "$doSetupModel2" == "true" ]; then echo "model2_init" - Model2_init + time Model2_init fi #Proton Emus if [ "$doSetupCemu" == "true" ]; then echo "Cemu_init" - Cemu_init + time Cemu_init fi if [ "$doSetupBigPEmu" == "true" ]; then echo "BigPEmu_init" - BigPEmu_init + time BigPEmu_init fi if [ "$doSetupXenia" == "true" ]; then echo "Xenia_init" - Xenia_init + time Xenia_init fi @@ -444,11 +440,11 @@ fi #Always install -BINUP_install -AutoCopy_install -server_install -FlatpakUP_install -CHD_install +time BINUP_install +time AutoCopy_install +time server_install +time FlatpakUP_install +time CHD_install # ## @@ -462,12 +458,12 @@ CHD_install # if [ "$doSetupRA" == "true" ]; then if [ "$(getScreenAR)" == 169 ];then - nonDeck_169Screen + time nonDeck_169Screen fi #Anbernic Win600 Special configuration if [ "$(getProductName)" == "Win600" ];then - nonDeck_win600 + time nonDeck_win600 fi fi @@ -487,13 +483,13 @@ if [ "$system" == "chimeraos" ]; then fi -createDesktopIcons +time createDesktopIcons if [ "$controllerLayout" == "bayx" ] || [ "$controllerLayout" == "baxy" ] ; then - controllerLayout_BAYX + time controllerLayout_BAYX else - controllerLayout_ABXY + time controllerLayout_ABXY fi # @@ -529,7 +525,7 @@ rm "$PIDFILE" ## We check all the selected emulators are installed # -checkInstalledEmus +time checkInstalledEmus # diff --git a/store/gbc/Petrophobia.json b/store/gbc/Petrophobia.json new file mode 100644 index 000000000..a0e6957ca --- /dev/null +++ b/store/gbc/Petrophobia.json @@ -0,0 +1,18 @@ +{ + "system": "gbc", + "status": "true", + "logo": "logo_gbc", + "title": "Petrophobia", + "url": "https://orbistertius.itch.io/petrophobia", + "file": "https://raw.githubusercontent.com/EmuDeck/emudeck-homebrew/main/gbc/petrophobia.zip", + "description": "A story-driven adventure game about colonialism and petroleum, loosely based on the short story 'The Mark of the Beast' by Rudyard Kipling, a passage from Thomas Pynchon's 'Against the Day', and the oil boom of the late 19th and early 20th centuries. TRIGGER WARNING: Themes of torture, racism, homophobia, and misogyny.", + "pictures": { + "screenshots": [ + "https://raw.githubusercontent.com/EmuDeck/emudeck-homebrew/main/downloaded_media/gbc/screenshots/homebrew/Petrophobia.png?raw=true" + ], + "titlescreens": [ + "https://raw.githubusercontent.com/EmuDeck/emudeck-homebrew/main/downloaded_media/gbc/titlescreens/homebrew/Petrophobia.png?raw=true" + ] + }, + "tags": ["adventure"] +}