mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-31 04:25:39 +00:00
Merge pull request #310 from icenine451/cooker-0.7.0b-icenine451
Cooker 0.7.0b Fixes
This commit is contained in:
commit
d0584096d2
|
@ -1,3 +1,4 @@
|
||||||
# The proper format for this file is
|
# The proper format for this file is
|
||||||
# URL^PLACEHOLDERTEXT
|
# URL^PLACEHOLDERTEXT
|
||||||
https://buildbot.libretro.com/assets/cores/DOOM/Doom%20%28Shareware%29.zip^DOOMSHAPLACEHOLDER
|
https://buildbot.libretro.com/assets/cores/DOOM/Doom%20%28Shareware%29.zip^DOOMSHAPLACEHOLDER
|
||||||
|
https://github.com/Vita3K/Vita3K/releases/download/continuous/ubuntu-latest.zip^VITASHAPLACEHOLDER
|
||||||
|
|
6
emu-configs/pico-8/pico8-wrapper.sh
Normal file
6
emu-configs/pico-8/pico8-wrapper.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This is a wrapper function for PICO8, as ES-DE does not appear to be able to find it outside of the /app/bin location.
|
||||||
|
# Users should still put the real binary in the ~/retrodeck/bios/pico-8/ location
|
||||||
|
|
||||||
|
~/retrodeck/bios/pico-8/pico8
|
|
@ -710,7 +710,7 @@ done < $1
|
||||||
|
|
||||||
check_network_connectivity() {
|
check_network_connectivity() {
|
||||||
# This function will do a basic check for network availability and return "true" if it is working.
|
# This function will do a basic check for network availability and return "true" if it is working.
|
||||||
# USAGE: if [[ check_network_connectivity == "true" ]]; then
|
# USAGE: if [[ $(check_network_connectivity) == "true" ]]; then
|
||||||
|
|
||||||
wget -q --spider $rd_repo
|
wget -q --spider $rd_repo
|
||||||
|
|
||||||
|
@ -1550,7 +1550,7 @@ cli_emulator_reset() {
|
||||||
case $1 in
|
case $1 in
|
||||||
|
|
||||||
"retroarch" )
|
"retroarch" )
|
||||||
if [[ check_network_connectivity == "true" ]]; then
|
if [[ $(check_network_connectivity) == "true" ]]; then
|
||||||
ra_init
|
ra_init
|
||||||
else
|
else
|
||||||
printf "You do not appear to be connected to a network with internet access.\n\nThe RetroArch reset process requires some files from the internet to function properly.\n\nPlease retry this process once a network connection is available.\n"
|
printf "You do not appear to be connected to a network with internet access.\n\nThe RetroArch reset process requires some files from the internet to function properly.\n\nPlease retry this process once a network connection is available.\n"
|
||||||
|
@ -1584,7 +1584,7 @@ cli_emulator_reset() {
|
||||||
rpcs3_init
|
rpcs3_init
|
||||||
;;
|
;;
|
||||||
"xemu" )
|
"xemu" )
|
||||||
if [[ check_network_connectivity == "true" ]]; then
|
if [[ $(check_network_connectivity) == "true" ]]; then
|
||||||
xemu_init
|
xemu_init
|
||||||
else
|
else
|
||||||
printf "You do not appear to be connected to a network with internet access.\n\nThe Xemu reset process requires some files from the internet to function properly.\n\nPlease retry this process once a network connection is available.\n"
|
printf "You do not appear to be connected to a network with internet access.\n\nThe Xemu reset process requires some files from the internet to function properly.\n\nPlease retry this process once a network connection is available.\n"
|
||||||
|
@ -1594,7 +1594,7 @@ cli_emulator_reset() {
|
||||||
yuzu_init
|
yuzu_init
|
||||||
;;
|
;;
|
||||||
"all-emulators" )
|
"all-emulators" )
|
||||||
if [[ check_network_connectivity == "true" ]]; then
|
if [[ $(check_network_connectivity) == "true" ]]; then
|
||||||
ra_init
|
ra_init
|
||||||
standalones_init
|
standalones_init
|
||||||
else
|
else
|
||||||
|
|
|
@ -1173,8 +1173,8 @@ modules:
|
||||||
ln -s ${FLATPAK_DEST}/vita3k/Vita3K /app/bin/Vita3K
|
ln -s ${FLATPAK_DEST}/vita3k/Vita3K /app/bin/Vita3K
|
||||||
sources:
|
sources:
|
||||||
- type: archive
|
- type: archive
|
||||||
url: https://github.com/XargonWan/RetroDECK/raw/cooker-0.7.0b/rd-submodules/vita3k/vita3k-14-01-23.zip
|
url: https://github.com/Vita3K/Vita3K/releases/download/continuous/ubuntu-latest.zip
|
||||||
sha256: f814fa5efba6037cef629f7a796dec7ee3d5b9808532230a93b1b8c42981b53b
|
sha256: VITASHAPLACEHOLDER
|
||||||
|
|
||||||
# Vita3K - END
|
# Vita3K - END
|
||||||
|
|
||||||
|
@ -1226,8 +1226,9 @@ modules:
|
||||||
# Initializing default emulator configs
|
# Initializing default emulator configs
|
||||||
- cp -r emu-configs ${FLATPAK_DEST}/retrodeck/emu-configs/
|
- cp -r emu-configs ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||||
|
|
||||||
# Overlays
|
# PICO-8 wrapper
|
||||||
#- cp -r overlays ${FLATPAK_DEST}/retrodeck/overlays Disabled in 0.4.2b as it will be introduced in 0.5.0b
|
- cp ${FLATPAK_DEST}/retrodeck/emu-configs/pico-8/pico8-wrapper.sh /app/bin/pico8
|
||||||
|
- chmod +x /app/bin/pico8
|
||||||
|
|
||||||
# Placing appdata
|
# Placing appdata
|
||||||
- mkdir -p ${FLATPAK_DEST}/share/appdata
|
- mkdir -p ${FLATPAK_DEST}/share/appdata
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
diff -au1r emulationstation-de/es-app/src/guis/GuiMenu.cpp emulationstation-de-patched/es-app/src/guis/GuiMenu.cpp
|
diff -au1r emulationstation-de/es-app/src/guis/GuiMenu.cpp emulationstation-de/es-app/src/guis/GuiMenu.cpp
|
||||||
--- emulationstation-de/es-app/src/guis/GuiMenu.cpp 2023-04-12 09:08:12.394935336 -0400
|
--- emulationstation-de/es-app/src/guis/GuiMenu.cpp 2023-04-12 09:08:12.394935336 -0400
|
||||||
+++ emulationstation-de-patched/es-app/src/guis/GuiMenu.cpp 2023-04-12 16:18:59.249278398 -0400
|
+++ emulationstation-de/es-app/src/guis/GuiMenu.cpp 2023-04-12 16:25:04.618753274 -0400
|
||||||
@@ -10,2 +10,3 @@
|
@@ -10,2 +10,3 @@
|
||||||
#include "guis/GuiMenu.h"
|
#include "guis/GuiMenu.h"
|
||||||
+#include "utils/PlatformUtil.h"
|
+#include "utils/PlatformUtil.h"
|
||||||
|
@ -41,10 +41,18 @@ diff -au1r emulationstation-de/es-app/src/guis/GuiMenu.cpp emulationstation-de-p
|
||||||
- auto quitText = std::make_shared<TextComponent>("QUIT EMULATIONSTATION",
|
- auto quitText = std::make_shared<TextComponent>("QUIT EMULATIONSTATION",
|
||||||
+ auto quitText = std::make_shared<TextComponent>("QUIT RETRODECK",
|
+ auto quitText = std::make_shared<TextComponent>("QUIT RETRODECK",
|
||||||
Font::get(FONT_SIZE_MEDIUM), 0x777777FF);
|
Font::get(FONT_SIZE_MEDIUM), 0x777777FF);
|
||||||
diff -au1r emulationstation-de/es-app/src/guis/GuiMenu.h emulationstation-de-patched/es-app/src/guis/GuiMenu.h
|
diff -au1r emulationstation-de/es-app/src/guis/GuiMenu.h emulationstation-de/es-app/src/guis/GuiMenu.h
|
||||||
--- emulationstation-de/es-app/src/guis/GuiMenu.h 2023-04-12 09:08:12.394935336 -0400
|
--- emulationstation-de/es-app/src/guis/GuiMenu.h 2023-04-12 09:08:12.394935336 -0400
|
||||||
+++ emulationstation-de-patched/es-app/src/guis/GuiMenu.h 2023-04-12 09:33:25.023871033 -0400
|
+++ emulationstation-de/es-app/src/guis/GuiMenu.h 2023-04-12 09:33:25.023871033 -0400
|
||||||
@@ -46,2 +46,3 @@
|
@@ -46,2 +46,3 @@
|
||||||
void openOtherOptions();
|
void openOtherOptions();
|
||||||
+ void openRetroDeckConfigurator();
|
+ void openRetroDeckConfigurator();
|
||||||
void openQuitMenu();
|
void openQuitMenu();
|
||||||
|
diff -au1r emulationstation-de/es-core/src/Window.cpp emulationstation-de/es-core/src/Window.cpp
|
||||||
|
--- emulationstation-de/es-core/src/Window.cpp 2023-04-12 09:08:12.398268670 -0400
|
||||||
|
+++ emulationstation-de/es-core/src/Window.cpp 2023-04-14 11:03:48.261309278 -0400
|
||||||
|
@@ -179,3 +179,3 @@
|
||||||
|
progressBarRect.barPosY += borderThickness;
|
||||||
|
- progressBarRect.color = 0x79010FFF;
|
||||||
|
+ progressBarRect.color = 0xC858E6FF;
|
||||||
|
mProgressBarRectangles.emplace_back(progressBarRect);
|
||||||
|
|
|
@ -135,7 +135,7 @@ then
|
||||||
# if the lock file doesn't exist at all means that it's a fresh install or a triggered reset
|
# if the lock file doesn't exist at all means that it's a fresh install or a triggered reset
|
||||||
else
|
else
|
||||||
echo "Lockfile not found"
|
echo "Lockfile not found"
|
||||||
if [[ check_network_connectivity == "true" ]]; then
|
if [[ $(check_network_connectivity) == "true" ]]; then
|
||||||
finit # Executing First/Force init
|
finit # Executing First/Force init
|
||||||
else
|
else
|
||||||
configurator_generic_dialog "You do not appear to be connected to a network with internet access.\n\nThe initial RetroDECK setup requires some files from the internet to function properly.\n\nPlease retry this process once a network connection is available."
|
configurator_generic_dialog "You do not appear to be connected to a network with internet access.\n\nThe initial RetroDECK setup requires some files from the internet to function properly.\n\nPlease retry this process once a network connection is available."
|
||||||
|
@ -152,7 +152,7 @@ fi
|
||||||
desktop_mode_warning
|
desktop_mode_warning
|
||||||
|
|
||||||
# Check if there is a new version of RetroDECK available, if update_check=true in retrodeck.cfg and there is network connectivity available.
|
# Check if there is a new version of RetroDECK available, if update_check=true in retrodeck.cfg and there is network connectivity available.
|
||||||
if [[ check_network_connectivity == "true" ]] && [[ $update_check == "true" ]]; then
|
if [[ $(check_network_connectivity) == "true" ]] && [[ $update_check == "true" ]]; then
|
||||||
check_for_version_update
|
check_for_version_update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ configurator_reset_dialog() {
|
||||||
|
|
||||||
"RetroArch" )
|
"RetroArch" )
|
||||||
if [[ $(configurator_reset_confirmation_dialog "RetroArch" "Are you sure you want to reset the RetroArch emulator to default settings?\n\nThis process cannot be undone.") == "true" ]]; then
|
if [[ $(configurator_reset_confirmation_dialog "RetroArch" "Are you sure you want to reset the RetroArch emulator to default settings?\n\nThis process cannot be undone.") == "true" ]]; then
|
||||||
if [[ check_network_connectivity == "true" ]]; then
|
if [[ $(check_network_connectivity) == "true" ]]; then
|
||||||
ra_init
|
ra_init
|
||||||
configurator_process_complete_dialog "resetting $emulator_to_reset"
|
configurator_process_complete_dialog "resetting $emulator_to_reset"
|
||||||
else
|
else
|
||||||
|
@ -193,7 +193,7 @@ configurator_reset_dialog() {
|
||||||
|
|
||||||
"XEMU" )
|
"XEMU" )
|
||||||
if [[ $(configurator_reset_confirmation_dialog "XEMU" "Are you sure you want to reset the XEMU emulator to default settings?\n\nThis process cannot be undone.") == "true" ]]; then
|
if [[ $(configurator_reset_confirmation_dialog "XEMU" "Are you sure you want to reset the XEMU emulator to default settings?\n\nThis process cannot be undone.") == "true" ]]; then
|
||||||
if [[ check_network_connectivity == "true" ]]; then
|
if [[ $(check_network_connectivity) == "true" ]]; then
|
||||||
xemu_init
|
xemu_init
|
||||||
configurator_process_complete_dialog "resetting $emulator_to_reset"
|
configurator_process_complete_dialog "resetting $emulator_to_reset"
|
||||||
else
|
else
|
||||||
|
@ -225,7 +225,7 @@ configurator_reset_dialog() {
|
||||||
|
|
||||||
"Reset All Emulators" )
|
"Reset All Emulators" )
|
||||||
if [[ $(configurator_reset_confirmation_dialog "all emulators" "Are you sure you want to reset all emulators to default settings?\n\nThis process cannot be undone.") == "true" ]]; then
|
if [[ $(configurator_reset_confirmation_dialog "all emulators" "Are you sure you want to reset all emulators to default settings?\n\nThis process cannot be undone.") == "true" ]]; then
|
||||||
if [[ check_network_connectivity == "true" ]]; then
|
if [[ $(check_network_connectivity) == "true" ]]; then
|
||||||
ra_init
|
ra_init
|
||||||
standalones_init
|
standalones_init
|
||||||
configurator_process_complete_dialog "resetting all emulators"
|
configurator_process_complete_dialog "resetting all emulators"
|
||||||
|
|
Loading…
Reference in a new issue