Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + rps_logStart
- ++ date -d @1614511172
- + echo -e 'Log started at: Sun 28 Feb 13:19:32 EET 2021\n'
- Log started at: Sun 28 Feb 13:19:32 EET 2021
- ++ git -C /home/pi/RetroPie-Setup log -1 --pretty=format:%h
- + echo 'RetroPie-Setup version: 4.7.9 (b3c1d15f)'
- RetroPie-Setup version: 4.7.9 (b3c1d15f)
- ++ uname -a
- + echo 'System: rpi3 (armv7l) - Raspbian GNU/Linux 10 (buster) - Linux retropie 5.10.11-v7+ #1399 SMP Thu Jan 28 12:06:05 GMT 2021 armv7l GNU/Linux'
- System: rpi3 (armv7l) - Raspbian GNU/Linux 10 (buster) - Linux retropie 5.10.11-v7+ #1399 SMP Thu Jan 28 12:06:05 GMT 2021 armv7l GNU/Linux
- + printHeading 'Running post update hooks'
- + printMsgs heading 'Running post update hooks'
- + local type=heading
- + shift
- + [[ 0 == \1 ]]
- + for msg in "$@"
- + [[ heading == \d\i\a\l\o\g ]]
- + [[ heading == \c\o\n\s\o\l\e ]]
- + [[ heading == \h\e\a\d\i\n\g ]]
- + echo -e '\n= = = = = = = = = = = = = = = = = = = = =\nRunning post update hooks\n= = = = = = = = = = = = = = = = = = = = =\n'
- = = = = = = = = = = = = = = = = = = = = =
- Running post update hooks
- = = = = = = = = = = = = = = = = = = = = =
- + return 0
- + rp_updateHooks
- + local function
- + local id
- ++ compgen -A function _update_hook_
- + for function in $(compgen -A function _update_hook_)
- + id=advmame
- + [[ -n advmame ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule advmame _update_hook
- + local md_id=advmame
- + local mode=_update_hook
- + shift 2
- + rp_hasModule advmame
- + local id=advmame
- + [[ -n 2 ]]
- + return 0
- + rp_isEnabled advmame
- + local id=advmame
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars advmame
- ++ local id=advmame
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath advmame
- +++ local id=advmame
- +++ echo /opt/retropie/emulators/advmame
- ++ echo 'local md_desc="AdvanceMAME v3.9"
- local md_help="ROM Extension: .zip\n\nCopy your AdvanceMAME roms to either /home/pi/RetroPie/roms/mame-advmame or\n/home/pi/RetroPie/roms/arcade"
- local md_type="emulators"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/amadvance/advancemame"
- local md_repo_branch="v3.9"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/advmame"
- local md_inst="/opt/retropie/emulators/advmame"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame"'
- + eval 'local md_desc="AdvanceMAME v3.9"
- local md_help="ROM Extension: .zip\n\nCopy your AdvanceMAME roms to either /home/pi/RetroPie/roms/mame-advmame or\n/home/pi/RetroPie/roms/arcade"
- local md_type="emulators"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/amadvance/advancemame"
- local md_repo_branch="v3.9"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/advmame"
- local md_inst="/opt/retropie/emulators/advmame"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame"'
- ++ local 'md_desc=AdvanceMAME v3.9'
- ++ local 'md_help=ROM Extension: .zip\n\nCopy your AdvanceMAME roms to either /home/pi/RetroPie/roms/mame-advmame or\n/home/pi/RetroPie/roms/arcade'
- ++ local md_type=emulators
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/amadvance/advancemame
- ++ local md_repo_branch=v3.9
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/advmame
- ++ local md_inst=/opt/retropie/emulators/advmame
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame
- + local md_mode=install
- + local md_conf_root
- + [[ emulators == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_advmame
- + fnExists _update_hook_advmame
- + declare -f _update_hook_advmame
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_advmame
- + [[ -d /opt/retropie/emulators/advmame/0.94.0 ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/advmame ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_advmame
- + declare -f install_advmame
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=autostart
- + [[ -n autostart ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule autostart _update_hook
- + local md_id=autostart
- + local mode=_update_hook
- + shift 2
- + rp_hasModule autostart
- + local id=autostart
- + [[ -n 188 ]]
- + return 0
- + rp_isEnabled autostart
- + local id=autostart
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars autostart
- ++ local id=autostart
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath autostart
- +++ local id=autostart
- +++ echo /opt/retropie/supplementary/autostart
- ++ echo 'local md_desc="Auto-start Emulation Station / Kodi on boot"
- local md_help=""
- local md_type="supplementary"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/autostart"
- local md_inst="/opt/retropie/supplementary/autostart"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart"'
- + eval 'local md_desc="Auto-start Emulation Station / Kodi on boot"
- local md_help=""
- local md_type="supplementary"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/autostart"
- local md_inst="/opt/retropie/supplementary/autostart"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart"'
- ++ local 'md_desc=Auto-start Emulation Station / Kodi on boot'
- ++ local md_help=
- ++ local md_type=supplementary
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart.sh
- ++ local md_repo_type=
- ++ local md_repo_url=
- ++ local md_repo_branch=
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/autostart
- ++ local md_inst=/opt/retropie/supplementary/autostart
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart
- + local md_mode=install
- + local md_conf_root
- + [[ supplementary == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_autostart
- + fnExists _update_hook_autostart
- + declare -f _update_hook_autostart
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_autostart
- + [[ -f /etc/profile.d/10-emulationstation.sh ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/autostart ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_autostart
- + declare -f install_autostart
- + return 1
- + [[ _update_hook == \b\u\i\l\d ]]
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=bluetooth
- + [[ -n bluetooth ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule bluetooth _update_hook
- + local md_id=bluetooth
- + local mode=_update_hook
- + shift 2
- + rp_hasModule bluetooth
- + local id=bluetooth
- + [[ -n 190 ]]
- + return 0
- + rp_isEnabled bluetooth
- + local id=bluetooth
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars bluetooth
- ++ local id=bluetooth
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath bluetooth
- +++ local id=bluetooth
- +++ echo /opt/retropie/supplementary/bluetooth
- ++ echo 'local md_desc="Configure Bluetooth Devices"
- local md_help=""
- local md_type="supplementary"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/bluetooth"
- local md_inst="/opt/retropie/supplementary/bluetooth"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth"'
- + eval 'local md_desc="Configure Bluetooth Devices"
- local md_help=""
- local md_type="supplementary"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/bluetooth"
- local md_inst="/opt/retropie/supplementary/bluetooth"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth"'
- ++ local 'md_desc=Configure Bluetooth Devices'
- ++ local md_help=
- ++ local md_type=supplementary
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth.sh
- ++ local md_repo_type=
- ++ local md_repo_url=
- ++ local md_repo_branch=
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/bluetooth
- ++ local md_inst=/opt/retropie/supplementary/bluetooth
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth
- + local md_mode=install
- + local md_conf_root
- + [[ supplementary == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_bluetooth
- + fnExists _update_hook_bluetooth
- + declare -f _update_hook_bluetooth
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_bluetooth
- + [[ -f /opt/retropie/configs/bluetooth.cfg ]]
- ++ _get_connect_mode
- ++ iniConfig = '"' /opt/retropie/configs/all/bluetooth.cfg
- ++ __ini_cfg_delim==
- ++ __ini_cfg_quote='"'
- ++ __ini_cfg_file=/opt/retropie/configs/all/bluetooth.cfg
- ++ iniGet connect_mode
- ++ local key=connect_mode
- ++ local file=
- ++ [[ -z '' ]]
- ++ file=/opt/retropie/configs/all/bluetooth.cfg
- ++ [[ ! -f /opt/retropie/configs/all/bluetooth.cfg ]]
- ++ ini_value=
- ++ return 1
- ++ [[ -n '' ]]
- ++ echo default
- + local mode=default
- + [[ default != \d\e\f\a\u\l\t ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/bluetooth ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_bluetooth
- + declare -f install_bluetooth
- + return 1
- + [[ _update_hook == \b\u\i\l\d ]]
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=emulationstation
- + [[ -n emulationstation ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule emulationstation _update_hook
- + local md_id=emulationstation
- + local mode=_update_hook
- + shift 2
- + rp_hasModule emulationstation
- + local id=emulationstation
- + [[ -n 199 ]]
- + return 0
- + rp_isEnabled emulationstation
- + local id=emulationstation
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars emulationstation
- ++ local id=emulationstation
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath emulationstation
- +++ local id=emulationstation
- +++ echo /opt/retropie/supplementary/emulationstation
- ++ echo 'local md_desc="EmulationStation - Frontend used by RetroPie for launching emulators"
- local md_help=""
- local md_type="supplementary"
- local md_flags="frontend"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/RetroPie/EmulationStation"
- local md_repo_branch=":_get_branch_emulationstation"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/emulationstation"
- local md_inst="/opt/retropie/supplementary/emulationstation"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation"'
- + eval 'local md_desc="EmulationStation - Frontend used by RetroPie for launching emulators"
- local md_help=""
- local md_type="supplementary"
- local md_flags="frontend"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/RetroPie/EmulationStation"
- local md_repo_branch=":_get_branch_emulationstation"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/emulationstation"
- local md_inst="/opt/retropie/supplementary/emulationstation"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation"'
- ++ local 'md_desc=EmulationStation - Frontend used by RetroPie for launching emulators'
- ++ local md_help=
- ++ local md_type=supplementary
- ++ local md_flags=frontend
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/RetroPie/EmulationStation
- ++ local md_repo_branch=:_get_branch_emulationstation
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/emulationstation
- ++ local md_inst=/opt/retropie/supplementary/emulationstation
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation
- + local md_mode=install
- + local md_conf_root
- + [[ supplementary == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_emulationstation
- + fnExists _update_hook_emulationstation
- + declare -f _update_hook_emulationstation
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_emulationstation
- + rp_isInstalled emulationstation
- + local id=emulationstation
- + local md_inst=/opt/retropie/supplementary/emulationstation
- + [[ -d /opt/retropie/supplementary/emulationstation ]]
- + return 0
- + copy_inputscripts_emulationstation
- + mkdir -p /opt/retropie/supplementary/emulationstation/scripts
- + cp -r /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation/configscripts /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation/inputconfiguration.sh /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation/retropie.svg /opt/retropie/supplementary/emulationstation/scripts/
- + chmod +x /opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh
- + install_launch_emulationstation
- + cat
- + chmod +x /usr/bin/emulationstation
- + isPlatform x11
- + local flag=x11
- + hasFlag 'rpi3 32bit arm armv8 neon rpi gles videocore dispmanx' x11
- + local 'string=rpi3 32bit arm armv8 neon rpi gles videocore dispmanx'
- + local flag=x11
- + [[ -z rpi3 32bit arm armv8 neon rpi gles videocore dispmanx ]]
- + [[ -z x11 ]]
- + [[ rpi3 32bit arm armv8 neon rpi gles videocore dispmanx =~ (^| )x11($| ) ]]
- + return 1
- + return 1
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/emulationstation ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_emulationstation
- + declare -f install_emulationstation
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=emulationstation-dev
- + [[ -n emulationstation-dev ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule emulationstation-dev _update_hook
- + local md_id=emulationstation-dev
- + local mode=_update_hook
- + shift 2
- + rp_hasModule emulationstation-dev
- + local id=emulationstation-dev
- + [[ -n 198 ]]
- + return 0
- + rp_isEnabled emulationstation-dev
- + local id=emulationstation-dev
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars emulationstation-dev
- ++ local id=emulationstation-dev
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath emulationstation-dev
- +++ local id=emulationstation-dev
- +++ echo /opt/retropie/supplementary/emulationstation-dev
- ++ echo 'local md_desc="EmulationStation (latest development version) - Frontend used by RetroPie for launching emulators"
- local md_help=""
- local md_type="supplementary"
- local md_flags="frontend"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/RetroPie/EmulationStation"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/emulationstation-dev"
- local md_inst="/opt/retropie/supplementary/emulationstation-dev"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev"'
- + eval 'local md_desc="EmulationStation (latest development version) - Frontend used by RetroPie for launching emulators"
- local md_help=""
- local md_type="supplementary"
- local md_flags="frontend"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/RetroPie/EmulationStation"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/emulationstation-dev"
- local md_inst="/opt/retropie/supplementary/emulationstation-dev"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev"'
- ++ local 'md_desc=EmulationStation (latest development version) - Frontend used by RetroPie for launching emulators'
- ++ local md_help=
- ++ local md_type=supplementary
- ++ local md_flags=frontend
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/RetroPie/EmulationStation
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/emulationstation-dev
- ++ local md_inst=/opt/retropie/supplementary/emulationstation-dev
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev
- + local md_mode=install
- + local md_conf_root
- + [[ supplementary == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_emulationstation-dev
- + fnExists _update_hook_emulationstation-dev
- + declare -f _update_hook_emulationstation-dev
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_emulationstation-dev
- + _update_hook_emulationstation
- + rp_isInstalled emulationstation-dev
- + local id=emulationstation-dev
- + local md_inst=/opt/retropie/supplementary/emulationstation-dev
- + [[ -d /opt/retropie/supplementary/emulationstation-dev ]]
- + return 1
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/emulationstation-dev ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_emulationstation-dev
- + declare -f install_emulationstation-dev
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=frotz
- + [[ -n frotz ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule frotz _update_hook
- + local md_id=frotz
- + local mode=_update_hook
- + shift 2
- + rp_hasModule frotz
- + local id=frotz
- + [[ -n 16 ]]
- + return 0
- + rp_isEnabled frotz
- + local id=frotz
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars frotz
- ++ local id=frotz
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath frotz
- +++ local id=frotz
- +++ echo /opt/retropie/emulators/frotz
- ++ echo 'local md_desc="Z-Machine Interpreter for Infocom games"
- local md_help="ROM Extensions: .dat .zip .z1 .z2 .z3 .z4 .z5 .z6 .z7 .z8\n\nCopy your Infocom games to /home/pi/RetroPie/roms/zmachine"
- local md_type="emulators"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/frotz"
- local md_inst="/opt/retropie/emulators/frotz"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz"'
- + eval 'local md_desc="Z-Machine Interpreter for Infocom games"
- local md_help="ROM Extensions: .dat .zip .z1 .z2 .z3 .z4 .z5 .z6 .z7 .z8\n\nCopy your Infocom games to /home/pi/RetroPie/roms/zmachine"
- local md_type="emulators"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/frotz"
- local md_inst="/opt/retropie/emulators/frotz"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz"'
- ++ local 'md_desc=Z-Machine Interpreter for Infocom games'
- ++ local 'md_help=ROM Extensions: .dat .zip .z1 .z2 .z3 .z4 .z5 .z6 .z7 .z8\n\nCopy your Infocom games to /home/pi/RetroPie/roms/zmachine'
- ++ local md_type=emulators
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz.sh
- ++ local md_repo_type=
- ++ local md_repo_url=
- ++ local md_repo_branch=
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/frotz
- ++ local md_inst=/opt/retropie/emulators/frotz
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz
- + local md_mode=install
- + local md_conf_root
- + [[ emulators == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_frotz
- + fnExists _update_hook_frotz
- + declare -f _update_hook_frotz
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_frotz
- + hasPackage frotz
- + local pkg=frotz
- + local req_ver=
- + local comp=
- + [[ -z '' ]]
- + comp=ge
- + local ver
- + local status
- ++ dpkg-query -W '--showformat=${Status} ${Version}' frotz
- + local out=
- + [[ 0 -eq 0 ]]
- + ver=
- + status=
- + local installed=0
- + [[ '' == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
- + [[ -z '' ]]
- + [[ 0 -eq 1 ]]
- + return 1
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/frotz ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_frotz
- + declare -f install_frotz
- + return 1
- + [[ _update_hook == \b\u\i\l\d ]]
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=kodi
- + [[ -n kodi ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule kodi _update_hook
- + local md_id=kodi
- + local mode=_update_hook
- + shift 2
- + rp_hasModule kodi
- + local id=kodi
- + [[ -n 159 ]]
- + return 0
- + rp_isEnabled kodi
- + local id=kodi
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars kodi
- ++ local id=kodi
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath kodi
- +++ local id=kodi
- +++ echo /opt/retropie/ports/kodi
- ++ echo 'local md_desc="Kodi - Open source home theatre software"
- local md_help=""
- local md_type="ports"
- local md_flags="!mali !osmc !xbian"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/kodi.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/kodi"
- local md_inst="/opt/retropie/ports/kodi"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/kodi"'
- + eval 'local md_desc="Kodi - Open source home theatre software"
- local md_help=""
- local md_type="ports"
- local md_flags="!mali !osmc !xbian"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/kodi.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/kodi"
- local md_inst="/opt/retropie/ports/kodi"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/kodi"'
- ++ local 'md_desc=Kodi - Open source home theatre software'
- ++ local md_help=
- ++ local md_type=ports
- ++ local 'md_flags=!mali !osmc !xbian'
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/ports/kodi.sh
- ++ local md_repo_type=
- ++ local md_repo_url=
- ++ local md_repo_branch=
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/kodi
- ++ local md_inst=/opt/retropie/ports/kodi
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/ports/kodi
- + local md_mode=install
- + local md_conf_root
- + [[ ports == \p\o\r\t\s ]]
- + setConfigRoot ports
- + local dir=ports
- + md_conf_root=/opt/retropie/configs
- + [[ -n ports ]]
- + md_conf_root+=/ports
- + mkUserDir /opt/retropie/configs/ports
- + mkdir -p /opt/retropie/configs/ports
- + chown pi:pi /opt/retropie/configs/ports
- + case "$mode" in
- + function=_update_hook_kodi
- + fnExists _update_hook_kodi
- + declare -f _update_hook_kodi
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_kodi
- + hasPackage kodi
- + local pkg=kodi
- + local req_ver=
- + local comp=
- + [[ -z '' ]]
- + comp=ge
- + local ver
- + local status
- ++ dpkg-query -W '--showformat=${Status} ${Version}' kodi
- + local 'out=deinstall ok config-files 2:18.7-1~buster'
- + [[ 0 -eq 0 ]]
- + ver=2:18.7-1~buster
- + status='deinstall ok config-files'
- + local installed=0
- + [[ deinstall ok config-files == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
- + [[ -z '' ]]
- + [[ 0 -eq 1 ]]
- + return 1
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/kodi ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_kodi
- + declare -f install_kodi
- + return 1
- + [[ _update_hook == \b\u\i\l\d ]]
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lincity-ng
- + [[ -n lincity-ng ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lincity-ng _update_hook
- + local md_id=lincity-ng
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lincity-ng
- + local id=lincity-ng
- + [[ -n 160 ]]
- + return 0
- + rp_isEnabled lincity-ng
- + local id=lincity-ng
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lincity-ng
- ++ local id=lincity-ng
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lincity-ng
- +++ local id=lincity-ng
- +++ echo /opt/retropie/ports/lincity-ng
- ++ echo 'local md_desc="lincity-ng - Open Source City Building Game"
- local md_help=""
- local md_type="ports"
- local md_flags="!mali"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lincity-ng"
- local md_inst="/opt/retropie/ports/lincity-ng"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng"'
- + eval 'local md_desc="lincity-ng - Open Source City Building Game"
- local md_help=""
- local md_type="ports"
- local md_flags="!mali"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lincity-ng"
- local md_inst="/opt/retropie/ports/lincity-ng"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng"'
- ++ local 'md_desc=lincity-ng - Open Source City Building Game'
- ++ local md_help=
- ++ local md_type=ports
- ++ local 'md_flags=!mali'
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng.sh
- ++ local md_repo_type=
- ++ local md_repo_url=
- ++ local md_repo_branch=
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lincity-ng
- ++ local md_inst=/opt/retropie/ports/lincity-ng
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng
- + local md_mode=install
- + local md_conf_root
- + [[ ports == \p\o\r\t\s ]]
- + setConfigRoot ports
- + local dir=ports
- + md_conf_root=/opt/retropie/configs
- + [[ -n ports ]]
- + md_conf_root+=/ports
- + mkUserDir /opt/retropie/configs/ports
- + mkdir -p /opt/retropie/configs/ports
- + chown pi:pi /opt/retropie/configs/ports
- + case "$mode" in
- + function=_update_hook_lincity-ng
- + fnExists _update_hook_lincity-ng
- + declare -f _update_hook_lincity-ng
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lincity-ng
- + hasPackage lincity-ng
- + local pkg=lincity-ng
- + local req_ver=
- + local comp=
- + [[ -z '' ]]
- + comp=ge
- + local ver
- + local status
- ++ dpkg-query -W '--showformat=${Status} ${Version}' lincity-ng
- + local out=
- + [[ 0 -eq 0 ]]
- + ver=
- + status=
- + local installed=0
- + [[ '' == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
- + [[ -z '' ]]
- + [[ 0 -eq 1 ]]
- + return 1
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lincity-ng ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lincity-ng
- + declare -f install_lincity-ng
- + return 1
- + [[ _update_hook == \b\u\i\l\d ]]
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-beetle-ngp
- + [[ -n lr-beetle-ngp ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-beetle-ngp _update_hook
- + local md_id=lr-beetle-ngp
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-beetle-ngp
- + local id=lr-beetle-ngp
- + [[ -n 63 ]]
- + return 0
- + rp_isEnabled lr-beetle-ngp
- + local id=lr-beetle-ngp
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-beetle-ngp
- ++ local id=lr-beetle-ngp
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-beetle-ngp
- +++ local id=lr-beetle-ngp
- +++ echo /opt/retropie/libretrocores/lr-beetle-ngp
- ++ echo 'local md_desc="Neo Geo Pocket(Color)emu - Mednafen Neo Geo Pocket core port for libretro"
- local md_help="ROM Extensions: .ngc .ngp .zip\n\nCopy your Neo Geo Pocket roms to /home/pi/RetroPie/roms/ngp\n\nCopy your Neo Geo Pocket Color roms to /home/pi/RetroPie/roms/ngpc"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/beetle-ngp-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-ngp"
- local md_inst="/opt/retropie/libretrocores/lr-beetle-ngp"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp"'
- + eval 'local md_desc="Neo Geo Pocket(Color)emu - Mednafen Neo Geo Pocket core port for libretro"
- local md_help="ROM Extensions: .ngc .ngp .zip\n\nCopy your Neo Geo Pocket roms to /home/pi/RetroPie/roms/ngp\n\nCopy your Neo Geo Pocket Color roms to /home/pi/RetroPie/roms/ngpc"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/beetle-ngp-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-ngp"
- local md_inst="/opt/retropie/libretrocores/lr-beetle-ngp"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp"'
- ++ local 'md_desc=Neo Geo Pocket(Color)emu - Mednafen Neo Geo Pocket core port for libretro'
- ++ local 'md_help=ROM Extensions: .ngc .ngp .zip\n\nCopy your Neo Geo Pocket roms to /home/pi/RetroPie/roms/ngp\n\nCopy your Neo Geo Pocket Color roms to /home/pi/RetroPie/roms/ngpc'
- ++ local md_type=libretrocores
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/beetle-ngp-libretro.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-beetle-ngp
- ++ local md_inst=/opt/retropie/libretrocores/lr-beetle-ngp
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-beetle-ngp
- + fnExists _update_hook_lr-beetle-ngp
- + declare -f _update_hook_lr-beetle-ngp
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-beetle-ngp
- + renameModule lr-mednafen-ngp lr-beetle-ngp
- + local from=lr-mednafen-ngp
- + local to=lr-beetle-ngp
- + [[ -d /opt/retropie/libretrocores/lr-mednafen-ngp ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-beetle-ngp ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-beetle-ngp
- + declare -f install_lr-beetle-ngp
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-beetle-pce-fast
- + [[ -n lr-beetle-pce-fast ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-beetle-pce-fast _update_hook
- + local md_id=lr-beetle-pce-fast
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-beetle-pce-fast
- + local id=lr-beetle-pce-fast
- + [[ -n 64 ]]
- + return 0
- + rp_isEnabled lr-beetle-pce-fast
- + local id=lr-beetle-pce-fast
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-beetle-pce-fast
- ++ local id=lr-beetle-pce-fast
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-beetle-pce-fast
- +++ local id=lr-beetle-pce-fast
- +++ echo /opt/retropie/libretrocores/lr-beetle-pce-fast
- ++ echo 'local md_desc="PCEngine emu - Mednafen PCE Fast port for libretro"
- local md_help="ROM Extensions: .pce .ccd .cue .zip\n\nCopy your PC Engine / TurboGrafx roms to /home/pi/RetroPie/roms/pcengine\n\nCopy the required BIOS file syscard3.pce to /home/pi/RetroPie/BIOS"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/beetle-pce-fast-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-pce-fast"
- local md_inst="/opt/retropie/libretrocores/lr-beetle-pce-fast"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast"'
- + eval 'local md_desc="PCEngine emu - Mednafen PCE Fast port for libretro"
- local md_help="ROM Extensions: .pce .ccd .cue .zip\n\nCopy your PC Engine / TurboGrafx roms to /home/pi/RetroPie/roms/pcengine\n\nCopy the required BIOS file syscard3.pce to /home/pi/RetroPie/BIOS"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/beetle-pce-fast-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-pce-fast"
- local md_inst="/opt/retropie/libretrocores/lr-beetle-pce-fast"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast"'
- ++ local 'md_desc=PCEngine emu - Mednafen PCE Fast port for libretro'
- ++ local 'md_help=ROM Extensions: .pce .ccd .cue .zip\n\nCopy your PC Engine / TurboGrafx roms to /home/pi/RetroPie/roms/pcengine\n\nCopy the required BIOS file syscard3.pce to /home/pi/RetroPie/BIOS'
- ++ local md_type=libretrocores
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/beetle-pce-fast-libretro.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-beetle-pce-fast
- ++ local md_inst=/opt/retropie/libretrocores/lr-beetle-pce-fast
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-beetle-pce-fast
- + fnExists _update_hook_lr-beetle-pce-fast
- + declare -f _update_hook_lr-beetle-pce-fast
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-beetle-pce-fast
- + renameModule lr-mednafen-pce-fast lr-beetle-pce-fast
- + local from=lr-mednafen-pce-fast
- + local to=lr-beetle-pce-fast
- + [[ -d /opt/retropie/libretrocores/lr-mednafen-pce-fast ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-beetle-pce-fast ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-beetle-pce-fast
- + declare -f install_lr-beetle-pce-fast
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-beetle-wswan
- + [[ -n lr-beetle-wswan ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-beetle-wswan _update_hook
- + local md_id=lr-beetle-wswan
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-beetle-wswan
- + local id=lr-beetle-wswan
- + [[ -n 70 ]]
- + return 0
- + rp_isEnabled lr-beetle-wswan
- + local id=lr-beetle-wswan
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-beetle-wswan
- ++ local id=lr-beetle-wswan
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-beetle-wswan
- +++ local id=lr-beetle-wswan
- +++ echo /opt/retropie/libretrocores/lr-beetle-wswan
- ++ echo 'local md_desc="Wonderswan emu - Mednafen WonderSwan core port for libretro"
- local md_help="ROM Extensions: .ws .wsc .zip\n\nCopy your Wonderswan roms to /home/pi/RetroPie/roms/wonderswan\n\nCopy your Wonderswan Color roms to /home/pi/RetroPie/roms/wonderswancolor"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/beetle-wswan-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-wswan"
- local md_inst="/opt/retropie/libretrocores/lr-beetle-wswan"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan"'
- + eval 'local md_desc="Wonderswan emu - Mednafen WonderSwan core port for libretro"
- local md_help="ROM Extensions: .ws .wsc .zip\n\nCopy your Wonderswan roms to /home/pi/RetroPie/roms/wonderswan\n\nCopy your Wonderswan Color roms to /home/pi/RetroPie/roms/wonderswancolor"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/beetle-wswan-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-wswan"
- local md_inst="/opt/retropie/libretrocores/lr-beetle-wswan"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan"'
- ++ local 'md_desc=Wonderswan emu - Mednafen WonderSwan core port for libretro'
- ++ local 'md_help=ROM Extensions: .ws .wsc .zip\n\nCopy your Wonderswan roms to /home/pi/RetroPie/roms/wonderswan\n\nCopy your Wonderswan Color roms to /home/pi/RetroPie/roms/wonderswancolor'
- ++ local md_type=libretrocores
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/beetle-wswan-libretro.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-beetle-wswan
- ++ local md_inst=/opt/retropie/libretrocores/lr-beetle-wswan
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-beetle-wswan
- + fnExists _update_hook_lr-beetle-wswan
- + declare -f _update_hook_lr-beetle-wswan
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-beetle-wswan
- + renameModule lr-mednafen-wswan lr-beetle-wswan
- + local from=lr-mednafen-wswan
- + local to=lr-beetle-wswan
- + [[ -d /opt/retropie/libretrocores/lr-mednafen-wswan ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-beetle-wswan ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-beetle-wswan
- + declare -f install_lr-beetle-wswan
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-fbalpha2012
- + [[ -n lr-fbalpha2012 ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-fbalpha2012 _update_hook
- + local md_id=lr-fbalpha2012
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-fbalpha2012
- + local id=lr-fbalpha2012
- + [[ -n 80 ]]
- + return 0
- + rp_isEnabled lr-fbalpha2012
- + local id=lr-fbalpha2012
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-fbalpha2012
- ++ local id=lr-fbalpha2012
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-fbalpha2012
- +++ local id=lr-fbalpha2012
- +++ echo /opt/retropie/libretrocores/lr-fbalpha2012
- ++ echo 'local md_desc="Arcade emu - Final Burn Alpha (0.2.97.30) port for libretro"
- local md_help="Previously called lr-fba\n\nROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms."
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/fbalpha2012.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-fbalpha2012"
- local md_inst="/opt/retropie/libretrocores/lr-fbalpha2012"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012"'
- + eval 'local md_desc="Arcade emu - Final Burn Alpha (0.2.97.30) port for libretro"
- local md_help="Previously called lr-fba\n\nROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms."
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/fbalpha2012.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-fbalpha2012"
- local md_inst="/opt/retropie/libretrocores/lr-fbalpha2012"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012"'
- ++ local 'md_desc=Arcade emu - Final Burn Alpha (0.2.97.30) port for libretro'
- ++ local 'md_help=Previously called lr-fba\n\nROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms.'
- ++ local md_type=libretrocores
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/fbalpha2012.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-fbalpha2012
- ++ local md_inst=/opt/retropie/libretrocores/lr-fbalpha2012
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-fbalpha2012
- + fnExists _update_hook_lr-fbalpha2012
- + declare -f _update_hook_lr-fbalpha2012
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-fbalpha2012
- + renameModule lr-fba lr-fbalpha2012
- + local from=lr-fba
- + local to=lr-fbalpha2012
- + [[ -d /opt/retropie/libretrocores/lr-fba ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-fbalpha2012 ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-fbalpha2012
- + declare -f install_lr-fbalpha2012
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-fbneo
- + [[ -n lr-fbneo ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-fbneo _update_hook
- + local md_id=lr-fbneo
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-fbneo
- + local id=lr-fbneo
- + [[ -n 81 ]]
- + return 0
- + rp_isEnabled lr-fbneo
- + local id=lr-fbneo
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-fbneo
- ++ local id=lr-fbneo
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-fbneo
- +++ local id=lr-fbneo
- +++ echo /opt/retropie/libretrocores/lr-fbneo
- ++ echo 'local md_desc="Arcade emu - FinalBurn Neo v1.0.0.01 (Upstream) port for libretro"
- local md_help="Previously called lr-fba-next and fbalpha\n\ROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms."
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/FBNeo.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-fbneo"
- local md_inst="/opt/retropie/libretrocores/lr-fbneo"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo"'
- + eval 'local md_desc="Arcade emu - FinalBurn Neo v1.0.0.01 (Upstream) port for libretro"
- local md_help="Previously called lr-fba-next and fbalpha\n\ROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms."
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/FBNeo.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-fbneo"
- local md_inst="/opt/retropie/libretrocores/lr-fbneo"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo"'
- ++ local 'md_desc=Arcade emu - FinalBurn Neo v1.0.0.01 (Upstream) port for libretro'
- ++ local 'md_help=Previously called lr-fba-next and fbalpha\n\ROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms.'
- ++ local md_type=libretrocores
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/FBNeo.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-fbneo
- ++ local md_inst=/opt/retropie/libretrocores/lr-fbneo
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-fbneo
- + fnExists _update_hook_lr-fbneo
- + declare -f _update_hook_lr-fbneo
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-fbneo
- + renameModule lr-fba-next lr-fbalpha
- + local from=lr-fba-next
- + local to=lr-fbalpha
- + [[ -d /opt/retropie/libretrocores/lr-fba-next ]]
- + renameModule lr-fbalpha lr-fbneo
- + local from=lr-fbalpha
- + local to=lr-fbneo
- + [[ -d /opt/retropie/libretrocores/lr-fbalpha ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-fbneo ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-fbneo
- + declare -f install_lr-fbneo
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-flycast
- + [[ -n lr-flycast ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-flycast _update_hook
- + local md_id=lr-flycast
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-flycast
- + local id=lr-flycast
- + [[ -n 83 ]]
- + return 0
- + rp_isEnabled lr-flycast
- + local id=lr-flycast
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-flycast
- ++ local id=lr-flycast
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-flycast
- +++ local id=lr-flycast
- +++ echo /opt/retropie/libretrocores/lr-flycast
- ++ echo 'local md_desc="Dreamcast emulator - Reicast port for libretro"
- local md_help="Previously named lr-reicast then lr-beetle-dc\n\nDreamcast ROM Extensions: .cdi .gdi .chd, Naomi/Atomiswave ROM Extension: .zip\n\nCopy your Dreamcast/Naomi roms to /home/pi/RetroPie/roms/dreamcast\n\nCopy the required Dreamcast BIOS files dc_boot.bin and dc_flash.bin to /home/pi/RetroPie/BIOS/dc\n\nCopy the required Naomi/Atomiswave BIOS files naomi.zip and awbios.zip to /home/pi/RetroPie/BIOS/dc"
- local md_type="libretrocores"
- local md_flags="!armv6"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/flycast.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-flycast"
- local md_inst="/opt/retropie/libretrocores/lr-flycast"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast"'
- + eval 'local md_desc="Dreamcast emulator - Reicast port for libretro"
- local md_help="Previously named lr-reicast then lr-beetle-dc\n\nDreamcast ROM Extensions: .cdi .gdi .chd, Naomi/Atomiswave ROM Extension: .zip\n\nCopy your Dreamcast/Naomi roms to /home/pi/RetroPie/roms/dreamcast\n\nCopy the required Dreamcast BIOS files dc_boot.bin and dc_flash.bin to /home/pi/RetroPie/BIOS/dc\n\nCopy the required Naomi/Atomiswave BIOS files naomi.zip and awbios.zip to /home/pi/RetroPie/BIOS/dc"
- local md_type="libretrocores"
- local md_flags="!armv6"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/flycast.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-flycast"
- local md_inst="/opt/retropie/libretrocores/lr-flycast"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast"'
- ++ local 'md_desc=Dreamcast emulator - Reicast port for libretro'
- ++ local 'md_help=Previously named lr-reicast then lr-beetle-dc\n\nDreamcast ROM Extensions: .cdi .gdi .chd, Naomi/Atomiswave ROM Extension: .zip\n\nCopy your Dreamcast/Naomi roms to /home/pi/RetroPie/roms/dreamcast\n\nCopy the required Dreamcast BIOS files dc_boot.bin and dc_flash.bin to /home/pi/RetroPie/BIOS/dc\n\nCopy the required Naomi/Atomiswave BIOS files naomi.zip and awbios.zip to /home/pi/RetroPie/BIOS/dc'
- ++ local md_type=libretrocores
- ++ local 'md_flags=!armv6'
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/flycast.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-flycast
- ++ local md_inst=/opt/retropie/libretrocores/lr-flycast
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-flycast
- + fnExists _update_hook_lr-flycast
- + declare -f _update_hook_lr-flycast
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-flycast
- + renameModule lr-reicast lr-beetle-dc
- + local from=lr-reicast
- + local to=lr-beetle-dc
- + [[ -d /opt/retropie/libretrocores/lr-reicast ]]
- + renameModule lr-beetle-dc lr-flycast
- + local from=lr-beetle-dc
- + local to=lr-flycast
- + [[ -d /opt/retropie/libretrocores/lr-beetle-dc ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-flycast ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-flycast
- + declare -f install_lr-flycast
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-mame2000
- + [[ -n lr-mame2000 ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-mame2000 _update_hook
- + local md_id=lr-mame2000
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-mame2000
- + local id=lr-mame2000
- + [[ -n 96 ]]
- + return 0
- + rp_isEnabled lr-mame2000
- + local id=lr-mame2000
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-mame2000
- ++ local id=lr-mame2000
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-mame2000
- +++ local id=lr-mame2000
- +++ echo /opt/retropie/libretrocores/lr-mame2000
- ++ echo 'local md_desc="Arcade emu - MAME 0.37b5 port for libretro"
- local md_help="ROM Extension: .zip\n\nCopy your MAME 0.37b5 roms to either /home/pi/RetroPie/roms/mame-mame4all or\n/home/pi/RetroPie/roms/arcade"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/mame2000-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mame2000"
- local md_inst="/opt/retropie/libretrocores/lr-mame2000"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000"'
- + eval 'local md_desc="Arcade emu - MAME 0.37b5 port for libretro"
- local md_help="ROM Extension: .zip\n\nCopy your MAME 0.37b5 roms to either /home/pi/RetroPie/roms/mame-mame4all or\n/home/pi/RetroPie/roms/arcade"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/mame2000-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mame2000"
- local md_inst="/opt/retropie/libretrocores/lr-mame2000"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000"'
- ++ local 'md_desc=Arcade emu - MAME 0.37b5 port for libretro'
- ++ local 'md_help=ROM Extension: .zip\n\nCopy your MAME 0.37b5 roms to either /home/pi/RetroPie/roms/mame-mame4all or\n/home/pi/RetroPie/roms/arcade'
- ++ local md_type=libretrocores
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/mame2000-libretro.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-mame2000
- ++ local md_inst=/opt/retropie/libretrocores/lr-mame2000
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-mame2000
- + fnExists _update_hook_lr-mame2000
- + declare -f _update_hook_lr-mame2000
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-mame2000
- + renameModule lr-imame4all lr-mame2000
- + local from=lr-imame4all
- + local to=lr-mame2000
- + [[ -d /opt/retropie/libretrocores/lr-imame4all ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-mame2000 ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-mame2000
- + declare -f install_lr-mame2000
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-mame2015
- + [[ -n lr-mame2015 ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-mame2015 _update_hook
- + local md_id=lr-mame2015
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-mame2015
- + local id=lr-mame2015
- + [[ -n 100 ]]
- + return 0
- + rp_isEnabled lr-mame2015
- + local id=lr-mame2015
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-mame2015
- ++ local id=lr-mame2015
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-mame2015
- +++ local id=lr-mame2015
- +++ echo /opt/retropie/libretrocores/lr-mame2015
- ++ echo 'local md_desc="Arcade emu - MAME 0.160 port for libretro"
- local md_help="ROM Extension: .zip\n\nCopy your MAME roms to either /home/pi/RetroPie/roms/mame-libretro or\n/home/pi/RetroPie/roms/arcade"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/mame2015-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mame2015"
- local md_inst="/opt/retropie/libretrocores/lr-mame2015"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015"'
- + eval 'local md_desc="Arcade emu - MAME 0.160 port for libretro"
- local md_help="ROM Extension: .zip\n\nCopy your MAME roms to either /home/pi/RetroPie/roms/mame-libretro or\n/home/pi/RetroPie/roms/arcade"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/mame2015-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mame2015"
- local md_inst="/opt/retropie/libretrocores/lr-mame2015"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015"'
- ++ local 'md_desc=Arcade emu - MAME 0.160 port for libretro'
- ++ local 'md_help=ROM Extension: .zip\n\nCopy your MAME roms to either /home/pi/RetroPie/roms/mame-libretro or\n/home/pi/RetroPie/roms/arcade'
- ++ local md_type=libretrocores
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/mame2015-libretro.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-mame2015
- ++ local md_inst=/opt/retropie/libretrocores/lr-mame2015
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-mame2015
- + fnExists _update_hook_lr-mame2015
- + declare -f _update_hook_lr-mame2015
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-mame2015
- + renameModule lr-mame2014 lr-mame2015
- + local from=lr-mame2014
- + local to=lr-mame2015
- + [[ -d /opt/retropie/libretrocores/lr-mame2014 ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-mame2015 ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-mame2015
- + declare -f install_lr-mame2015
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-mupen64plus
- + [[ -n lr-mupen64plus ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-mupen64plus _update_hook
- + local md_id=lr-mupen64plus
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-mupen64plus
- + local id=lr-mupen64plus
- + [[ -n 109 ]]
- + return 0
- + rp_isEnabled lr-mupen64plus
- + local id=lr-mupen64plus
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-mupen64plus
- ++ local id=lr-mupen64plus
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-mupen64plus
- +++ local id=lr-mupen64plus
- +++ echo /opt/retropie/libretrocores/lr-mupen64plus
- ++ echo 'local md_desc="N64 emu - Mupen64Plus + GLideN64 for libretro"
- local md_help="ROM Extensions: .z64 .n64 .v64\n\nCopy your N64 roms to /home/pi/RetroPie/roms/n64"
- local md_type="libretrocores"
- local md_flags="!aarch64"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/RetroPie/mupen64plus-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mupen64plus"
- local md_inst="/opt/retropie/libretrocores/lr-mupen64plus"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus"'
- + eval 'local md_desc="N64 emu - Mupen64Plus + GLideN64 for libretro"
- local md_help="ROM Extensions: .z64 .n64 .v64\n\nCopy your N64 roms to /home/pi/RetroPie/roms/n64"
- local md_type="libretrocores"
- local md_flags="!aarch64"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/RetroPie/mupen64plus-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mupen64plus"
- local md_inst="/opt/retropie/libretrocores/lr-mupen64plus"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus"'
- ++ local 'md_desc=N64 emu - Mupen64Plus + GLideN64 for libretro'
- ++ local 'md_help=ROM Extensions: .z64 .n64 .v64\n\nCopy your N64 roms to /home/pi/RetroPie/roms/n64'
- ++ local md_type=libretrocores
- ++ local 'md_flags=!aarch64'
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/RetroPie/mupen64plus-libretro.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-mupen64plus
- ++ local md_inst=/opt/retropie/libretrocores/lr-mupen64plus
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-mupen64plus
- + fnExists _update_hook_lr-mupen64plus
- + declare -f _update_hook_lr-mupen64plus
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-mupen64plus
- + [[ -d /opt/retropie/libretrocores/lr-mupen64plus ]]
- + grep -q GLideN64 /opt/retropie/libretrocores/lr-mupen64plus/README.md
- + renameModule lr-glupen64 lr-mupen64plus
- + local from=lr-glupen64
- + local to=lr-mupen64plus
- + [[ -d /opt/retropie/libretrocores/lr-glupen64 ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-mupen64plus ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-mupen64plus
- + declare -f install_lr-mupen64plus
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-opera
- + [[ -n lr-opera ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-opera _update_hook
- + local md_id=lr-opera
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-opera
- + local id=lr-opera
- + [[ -n 115 ]]
- + return 0
- + rp_isEnabled lr-opera
- + local id=lr-opera
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-opera
- ++ local id=lr-opera
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-opera
- +++ local id=lr-opera
- +++ echo /opt/retropie/libretrocores/lr-opera
- ++ echo 'local md_desc="3DO emulator - fork of 4DO/FreeDO for libretro"
- local md_help="ROM Extension: .cue .chd .iso\n\nCopy your 3do roms to /home/pi/RetroPie/roms/3do\n\nCopy the required BIOS file panazf10.bin to /home/pi/RetroPie/BIOS"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/opera-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-opera"
- local md_inst="/opt/retropie/libretrocores/lr-opera"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera"'
- + eval 'local md_desc="3DO emulator - fork of 4DO/FreeDO for libretro"
- local md_help="ROM Extension: .cue .chd .iso\n\nCopy your 3do roms to /home/pi/RetroPie/roms/3do\n\nCopy the required BIOS file panazf10.bin to /home/pi/RetroPie/BIOS"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/opera-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-opera"
- local md_inst="/opt/retropie/libretrocores/lr-opera"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera"'
- ++ local 'md_desc=3DO emulator - fork of 4DO/FreeDO for libretro'
- ++ local 'md_help=ROM Extension: .cue .chd .iso\n\nCopy your 3do roms to /home/pi/RetroPie/roms/3do\n\nCopy the required BIOS file panazf10.bin to /home/pi/RetroPie/BIOS'
- ++ local md_type=libretrocores
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/opera-libretro.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-opera
- ++ local md_inst=/opt/retropie/libretrocores/lr-opera
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-opera
- + fnExists _update_hook_lr-opera
- + declare -f _update_hook_lr-opera
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-opera
- + renameModule lr-4do lr-opera
- + local from=lr-4do
- + local to=lr-opera
- + [[ -d /opt/retropie/libretrocores/lr-4do ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-opera ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-opera
- + declare -f install_lr-opera
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-snes9x2002
- + [[ -n lr-snes9x2002 ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-snes9x2002 _update_hook
- + local md_id=lr-snes9x2002
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-snes9x2002
- + local id=lr-snes9x2002
- + [[ -n 129 ]]
- + return 0
- + rp_isEnabled lr-snes9x2002
- + local id=lr-snes9x2002
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-snes9x2002
- ++ local id=lr-snes9x2002
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-snes9x2002
- +++ local id=lr-snes9x2002
- +++ echo /opt/retropie/libretrocores/lr-snes9x2002
- ++ echo 'local md_desc="Super Nintendo emu - ARM optimised Snes9x 1.39 port for libretro"
- local md_help="Previously called lr-pocketsnes\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
- local md_type="libretrocores"
- local md_flags="!all arm"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/snes9x2002.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2002"
- local md_inst="/opt/retropie/libretrocores/lr-snes9x2002"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002"'
- + eval 'local md_desc="Super Nintendo emu - ARM optimised Snes9x 1.39 port for libretro"
- local md_help="Previously called lr-pocketsnes\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
- local md_type="libretrocores"
- local md_flags="!all arm"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/snes9x2002.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2002"
- local md_inst="/opt/retropie/libretrocores/lr-snes9x2002"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002"'
- ++ local 'md_desc=Super Nintendo emu - ARM optimised Snes9x 1.39 port for libretro'
- ++ local 'md_help=Previously called lr-pocketsnes\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes'
- ++ local md_type=libretrocores
- ++ local 'md_flags=!all arm'
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/snes9x2002.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2002
- ++ local md_inst=/opt/retropie/libretrocores/lr-snes9x2002
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-snes9x2002
- + fnExists _update_hook_lr-snes9x2002
- + declare -f _update_hook_lr-snes9x2002
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-snes9x2002
- + renameModule lr-pocketsnes lr-snes9x2002
- + local from=lr-pocketsnes
- + local to=lr-snes9x2002
- + [[ -d /opt/retropie/libretrocores/lr-pocketsnes ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-snes9x2002 ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-snes9x2002
- + declare -f install_lr-snes9x2002
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-snes9x2005
- + [[ -n lr-snes9x2005 ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-snes9x2005 _update_hook
- + local md_id=lr-snes9x2005
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-snes9x2005
- + local id=lr-snes9x2005
- + [[ -n 130 ]]
- + return 0
- + rp_isEnabled lr-snes9x2005
- + local id=lr-snes9x2005
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-snes9x2005
- ++ local id=lr-snes9x2005
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-snes9x2005
- +++ local id=lr-snes9x2005
- +++ echo /opt/retropie/libretrocores/lr-snes9x2005
- ++ echo 'local md_desc="Super Nintendo emu - Snes9x 1.43 based port for libretro"
- local md_help="Previously called lr-catsfc\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/snes9x2005.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2005"
- local md_inst="/opt/retropie/libretrocores/lr-snes9x2005"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005"'
- + eval 'local md_desc="Super Nintendo emu - Snes9x 1.43 based port for libretro"
- local md_help="Previously called lr-catsfc\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/snes9x2005.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2005"
- local md_inst="/opt/retropie/libretrocores/lr-snes9x2005"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005"'
- ++ local 'md_desc=Super Nintendo emu - Snes9x 1.43 based port for libretro'
- ++ local 'md_help=Previously called lr-catsfc\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes'
- ++ local md_type=libretrocores
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/snes9x2005.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2005
- ++ local md_inst=/opt/retropie/libretrocores/lr-snes9x2005
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-snes9x2005
- + fnExists _update_hook_lr-snes9x2005
- + declare -f _update_hook_lr-snes9x2005
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-snes9x2005
- + renameModule lr-catsfc lr-snes9x2005
- + local from=lr-catsfc
- + local to=lr-snes9x2005
- + [[ -d /opt/retropie/libretrocores/lr-catsfc ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-snes9x2005 ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-snes9x2005
- + declare -f install_lr-snes9x2005
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-snes9x2010
- + [[ -n lr-snes9x2010 ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-snes9x2010 _update_hook
- + local md_id=lr-snes9x2010
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-snes9x2010
- + local id=lr-snes9x2010
- + [[ -n 131 ]]
- + return 0
- + rp_isEnabled lr-snes9x2010
- + local id=lr-snes9x2010
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-snes9x2010
- ++ local id=lr-snes9x2010
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-snes9x2010
- +++ local id=lr-snes9x2010
- +++ echo /opt/retropie/libretrocores/lr-snes9x2010
- ++ echo 'local md_desc="Super Nintendo emu - Snes9x 1.52 based port for libretro"
- local md_help="Previously called lr-snes9x-next\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/snes9x2010.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2010"
- local md_inst="/opt/retropie/libretrocores/lr-snes9x2010"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010"'
- + eval 'local md_desc="Super Nintendo emu - Snes9x 1.52 based port for libretro"
- local md_help="Previously called lr-snes9x-next\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/snes9x2010.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2010"
- local md_inst="/opt/retropie/libretrocores/lr-snes9x2010"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010"'
- ++ local 'md_desc=Super Nintendo emu - Snes9x 1.52 based port for libretro'
- ++ local 'md_help=Previously called lr-snes9x-next\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes'
- ++ local md_type=libretrocores
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/snes9x2010.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2010
- ++ local md_inst=/opt/retropie/libretrocores/lr-snes9x2010
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-snes9x2010
- + fnExists _update_hook_lr-snes9x2010
- + declare -f _update_hook_lr-snes9x2010
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-snes9x2010
- + renameModule lr-snes9x-next lr-snes9x2010
- + local from=lr-snes9x-next
- + local to=lr-snes9x2010
- + [[ -d /opt/retropie/libretrocores/lr-snes9x-next ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-snes9x2010 ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-snes9x2010
- + declare -f install_lr-snes9x2010
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=lr-stella2014
- + [[ -n lr-stella2014 ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule lr-stella2014 _update_hook
- + local md_id=lr-stella2014
- + local mode=_update_hook
- + shift 2
- + rp_hasModule lr-stella2014
- + local id=lr-stella2014
- + [[ -n 133 ]]
- + return 0
- + rp_isEnabled lr-stella2014
- + local id=lr-stella2014
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars lr-stella2014
- ++ local id=lr-stella2014
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath lr-stella2014
- +++ local id=lr-stella2014
- +++ echo /opt/retropie/libretrocores/lr-stella2014
- ++ echo 'local md_desc="Atari 2600 emulator - Stella port for libretro"
- local md_help="ROM Extensions: .a26 .bin .rom .zip .gz\n\nCopy your Atari 2600 roms to /home/pi/RetroPie/roms/atari2600"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/stella2014-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-stella2014"
- local md_inst="/opt/retropie/libretrocores/lr-stella2014"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014"'
- + eval 'local md_desc="Atari 2600 emulator - Stella port for libretro"
- local md_help="ROM Extensions: .a26 .bin .rom .zip .gz\n\nCopy your Atari 2600 roms to /home/pi/RetroPie/roms/atari2600"
- local md_type="libretrocores"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/libretro/stella2014-libretro.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-stella2014"
- local md_inst="/opt/retropie/libretrocores/lr-stella2014"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014"'
- ++ local 'md_desc=Atari 2600 emulator - Stella port for libretro'
- ++ local 'md_help=ROM Extensions: .a26 .bin .rom .zip .gz\n\nCopy your Atari 2600 roms to /home/pi/RetroPie/roms/atari2600'
- ++ local md_type=libretrocores
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/libretro/stella2014-libretro.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-stella2014
- ++ local md_inst=/opt/retropie/libretrocores/lr-stella2014
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014
- + local md_mode=install
- + local md_conf_root
- + [[ libretrocores == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_lr-stella2014
- + fnExists _update_hook_lr-stella2014
- + declare -f _update_hook_lr-stella2014
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_lr-stella2014
- + renameModule lr-stella lr-stella2014
- + local from=lr-stella
- + local to=lr-stella2014
- + [[ -d /opt/retropie/libretrocores/lr-stella ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-stella2014 ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_lr-stella2014
- + declare -f install_lr-stella2014
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=openttd
- + [[ -n openttd ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule openttd _update_hook
- + local md_id=openttd
- + local mode=_update_hook
- + shift 2
- + rp_hasModule openttd
- + local id=openttd
- + [[ -n 170 ]]
- + return 0
- + rp_isEnabled openttd
- + local id=openttd
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars openttd
- ++ local id=openttd
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath openttd
- +++ local id=openttd
- +++ echo /opt/retropie/ports/openttd
- ++ echo 'local md_desc="Open Source Simulator Based On Transport Tycoon Deluxe"
- local md_help=""
- local md_type="ports"
- local md_flags="dispmanx !mali"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/openttd.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/openttd"
- local md_inst="/opt/retropie/ports/openttd"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/openttd"'
- + eval 'local md_desc="Open Source Simulator Based On Transport Tycoon Deluxe"
- local md_help=""
- local md_type="ports"
- local md_flags="dispmanx !mali"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/openttd.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/openttd"
- local md_inst="/opt/retropie/ports/openttd"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/openttd"'
- ++ local 'md_desc=Open Source Simulator Based On Transport Tycoon Deluxe'
- ++ local md_help=
- ++ local md_type=ports
- ++ local 'md_flags=dispmanx !mali'
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/ports/openttd.sh
- ++ local md_repo_type=
- ++ local md_repo_url=
- ++ local md_repo_branch=
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/openttd
- ++ local md_inst=/opt/retropie/ports/openttd
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/ports/openttd
- + local md_mode=install
- + local md_conf_root
- + [[ ports == \p\o\r\t\s ]]
- + setConfigRoot ports
- + local dir=ports
- + md_conf_root=/opt/retropie/configs
- + [[ -n ports ]]
- + md_conf_root+=/ports
- + mkUserDir /opt/retropie/configs/ports
- + mkdir -p /opt/retropie/configs/ports
- + chown pi:pi /opt/retropie/configs/ports
- + case "$mode" in
- + function=_update_hook_openttd
- + fnExists _update_hook_openttd
- + declare -f _update_hook_openttd
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_openttd
- + hasPackage openttd
- + local pkg=openttd
- + local req_ver=
- + local comp=
- + [[ -z '' ]]
- + comp=ge
- + local ver
- + local status
- ++ dpkg-query -W '--showformat=${Status} ${Version}' openttd
- + local 'out=unknown ok not-installed '
- + [[ 0 -eq 0 ]]
- + ver=
- + status='unknown ok not-installed'
- + local installed=0
- + [[ unknown ok not-installed == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
- + [[ -z '' ]]
- + [[ 0 -eq 1 ]]
- + return 1
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/openttd ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_openttd
- + declare -f install_openttd
- + return 1
- + [[ _update_hook == \b\u\i\l\d ]]
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=retropiemenu
- + [[ -n retropiemenu ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule retropiemenu _update_hook
- + local md_id=retropiemenu
- + local mode=_update_hook
- + shift 2
- + rp_hasModule retropiemenu
- + local id=retropiemenu
- + [[ -n 217 ]]
- + return 0
- + rp_isEnabled retropiemenu
- + local id=retropiemenu
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars retropiemenu
- ++ local id=retropiemenu
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath retropiemenu
- +++ local id=retropiemenu
- +++ echo /opt/retropie/supplementary/retropiemenu
- ++ echo 'local md_desc="RetroPie configuration menu for EmulationStation"
- local md_help=""
- local md_type="supplementary"
- local md_flags="nonet"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/retropiemenu"
- local md_inst="/opt/retropie/supplementary/retropiemenu"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu"'
- + eval 'local md_desc="RetroPie configuration menu for EmulationStation"
- local md_help=""
- local md_type="supplementary"
- local md_flags="nonet"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/retropiemenu"
- local md_inst="/opt/retropie/supplementary/retropiemenu"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu"'
- ++ local 'md_desc=RetroPie configuration menu for EmulationStation'
- ++ local md_help=
- ++ local md_type=supplementary
- ++ local md_flags=nonet
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu.sh
- ++ local md_repo_type=
- ++ local md_repo_url=
- ++ local md_repo_branch=
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/retropiemenu
- ++ local md_inst=/opt/retropie/supplementary/retropiemenu
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu
- + local md_mode=install
- + local md_conf_root
- + [[ supplementary == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_retropiemenu
- + fnExists _update_hook_retropiemenu
- + declare -f _update_hook_retropiemenu
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_retropiemenu
- + rp_isInstalled retropiemenu
- + local id=retropiemenu
- + local md_inst=/opt/retropie/supplementary/retropiemenu
- + [[ -d /opt/retropie/supplementary/retropiemenu ]]
- + return 0
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/retropiemenu ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_retropiemenu
- + declare -f install_retropiemenu
- + return 1
- + [[ _update_hook == \b\u\i\l\d ]]
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=runcommand
- + [[ -n runcommand ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule runcommand _update_hook
- + local md_id=runcommand
- + local mode=_update_hook
- + shift 2
- + rp_hasModule runcommand
- + local id=runcommand
- + [[ -n 218 ]]
- + return 0
- + rp_isEnabled runcommand
- + local id=runcommand
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars runcommand
- ++ local id=runcommand
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath runcommand
- +++ local id=runcommand
- +++ echo /opt/retropie/supplementary/runcommand
- ++ echo 'local md_desc="The '\''runcommand'\'' launch script - needed for launching the emulators from the frontend"
- local md_help=""
- local md_type="supplementary"
- local md_flags="nonet"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/runcommand"
- local md_inst="/opt/retropie/supplementary/runcommand"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand"'
- + eval 'local md_desc="The '\''runcommand'\'' launch script - needed for launching the emulators from the frontend"
- local md_help=""
- local md_type="supplementary"
- local md_flags="nonet"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/runcommand"
- local md_inst="/opt/retropie/supplementary/runcommand"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand"'
- ++ local 'md_desc=The '\''runcommand'\'' launch script - needed for launching the emulators from the frontend'
- ++ local md_help=
- ++ local md_type=supplementary
- ++ local md_flags=nonet
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand.sh
- ++ local md_repo_type=
- ++ local md_repo_url=
- ++ local md_repo_branch=
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/runcommand
- ++ local md_inst=/opt/retropie/supplementary/runcommand
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand
- + local md_mode=install
- + local md_conf_root
- + [[ supplementary == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_runcommand
- + fnExists _update_hook_runcommand
- + declare -f _update_hook_runcommand
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_runcommand
- + rp_isInstalled runcommand
- + local id=runcommand
- + local md_inst=/opt/retropie/supplementary/runcommand
- + [[ -d /opt/retropie/supplementary/runcommand ]]
- + return 0
- + install_bin_runcommand
- + cp /home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand/runcommand.sh /opt/retropie/supplementary/runcommand/
- + cp /home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand/joy2key.py /opt/retropie/supplementary/runcommand/
- + chmod a+x /opt/retropie/supplementary/runcommand/runcommand.sh
- + chmod a+x /opt/retropie/supplementary/runcommand/joy2key.py
- + python3 -m compileall /opt/retropie/supplementary/runcommand/joy2key.py
- Compiling '/opt/retropie/supplementary/runcommand/joy2key.py'...
- + [[ ! -f /opt/retropie/configs/all/runcommand.cfg ]]
- + [[ ! -f /opt/retropie/configs/all/runcommand-launch-dialog.cfg ]]
- + compareVersions 10 ge 10
- + dpkg --compare-versions 10 ge 10
- + return 0
- + rp_installModule mesa-drm _autoupdate_
- + local id=mesa-drm
- + local mode=_autoupdate_
- + [[ -z _autoupdate_ ]]
- + rp_callModule mesa-drm _autoupdate_
- + local md_id=mesa-drm
- + local mode=_autoupdate_
- + shift 2
- + rp_hasModule mesa-drm
- + local id=mesa-drm
- + [[ -n 205 ]]
- + return 0
- + rp_isEnabled mesa-drm
- + local id=mesa-drm
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- + rp_isInstalled mesa-drm
- + local id=mesa-drm
- + local md_inst=/opt/retropie/supplementary/mesa-drm
- + [[ -d /opt/retropie/supplementary/mesa-drm ]]
- + return 0
- + rp_callModule mesa-drm _update_
- + local md_id=mesa-drm
- + local mode=_update_
- + shift 2
- + rp_hasModule mesa-drm
- + local id=mesa-drm
- + [[ -n 205 ]]
- + return 0
- + rp_isEnabled mesa-drm
- + local id=mesa-drm
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- + [[ _update_ == \_\u\p\d\a\t\e\_ ]]
- + rp_isInstalled mesa-drm
- + local id=mesa-drm
- + local md_inst=/opt/retropie/supplementary/mesa-drm
- + [[ -d /opt/retropie/supplementary/mesa-drm ]]
- + return 0
- + rp_loadPackageInfo mesa-drm pkg_origin
- + local id=mesa-drm
- + [[ '' -eq 1 ]]
- + local keys
- + local cache=1
- + [[ -z pkg_origin ]]
- + shift
- + keys=("$@")
- + cache=0
- + local load=0
- ++ rp_getInstallPath mesa-drm
- ++ local id=mesa-drm
- ++ echo /opt/retropie/supplementary/mesa-drm
- + local pkg_file=/opt/retropie/supplementary/mesa-drm/retropie.pkg
- + [[ -f /opt/retropie/supplementary/mesa-drm/retropie.pkg ]]
- + load=1
- + local key
- + local data
- + for key in "${keys[@]}"
- + data=
- + [[ pkg_origin == \p\k\g\_\o\r\i\g\i\n ]]
- + data=unknown
- + __mod_info[$id/$key]=unknown
- + [[ 1 -eq 1 ]]
- ++ grep -oP 'pkg_origin="\K[^"]+' /opt/retropie/supplementary/mesa-drm/retropie.pkg
- + data=binary
- + [[ -n binary ]]
- + __mod_info[$id/$key]=binary
- + [[ 0 -eq 1 ]]
- + local pkg_origin=binary
- + local has_binary=0
- + local has_net=0
- ++ getIPAddress
- ++ local dev=
- ++ local ip_route
- +++ ip -4 route get 8.8.8.8
- ++ ip_route='8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
- cache '
- ++ [[ -z 8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
- cache ]]
- ++ [[ -n 8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
- cache ]]
- ++ grep -oP 'src \K[^\s]+'
- + local ip=192.168.2.5
- + [[ -n 192.168.2.5 ]]
- + has_net=1
- + hasFlag '' nonet
- + local string=
- + local flag=nonet
- + [[ -z '' ]]
- + return 1
- + [[ 1 -eq 1 ]]
- + rp_hasBinary mesa-drm
- + local id=mesa-drm
- + [[ Raspbian != \R\a\s\p\b\i\a\n ]]
- ++ rp_getBinaryUrl mesa-drm
- ++ local id=mesa-drm
- ++ local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
- ++ fnExists install_bin_mesa-drm
- ++ declare -f install_bin_mesa-drm
- ++ return 1
- ++ echo https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
- + local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
- + [[ https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz == \n\o\t\e\s\t ]]
- + [[ -z https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz ]]
- + [[ -n '' ]]
- + local ret=1
- + rp_hasBinaries
- + [[ 1 -eq 1 ]]
- + return 0
- + rp_remoteFileExists https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
- + local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
- + local ret
- + curl --max-time 5 -o /dev/null -sfI https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
- + ret=28
- + [[ 28 -eq 0 ]]
- + [[ 28 -eq 22 ]]
- + return 2
- + ret=2
- + [[ 2 -ne 2 ]]
- + return 2
- + local ret=2
- + [[ 2 -eq 0 ]]
- + [[ 2 -eq 2 ]]
- + has_net=0
- + [[ 0 -eq 0 ]]
- + __ERRMSGS+=("Can't install/update $md_id - unable to connect to the internet")
- + return 1
- + return 1
- + return 1
- + md_ret_require=/opt/retropie/supplementary/runcommand/runcommand.sh
- + [[ -n /opt/retropie/supplementary/runcommand/runcommand.sh ]]
- + for file in "${md_ret_require[@]}"
- + [[ ! -e /opt/retropie/supplementary/runcommand/runcommand.sh ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/runcommand ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_runcommand
- + declare -f install_runcommand
- + return 1
- + [[ _update_hook == \b\u\i\l\d ]]
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=splashscreen
- + [[ -n splashscreen ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule splashscreen _update_hook
- + local md_id=splashscreen
- + local mode=_update_hook
- + shift 2
- + rp_hasModule splashscreen
- + local id=splashscreen
- + [[ -n 226 ]]
- + return 0
- + rp_isEnabled splashscreen
- + local id=splashscreen
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars splashscreen
- ++ local id=splashscreen
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath splashscreen
- +++ local id=splashscreen
- +++ echo /opt/retropie/supplementary/splashscreen
- ++ echo 'local md_desc="Configure Splashscreen"
- local md_help=""
- local md_type="supplementary"
- local md_flags="noinstclean !all rpi !osmc !xbian !aarch64"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/RetroPie/retropie-splashscreens.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/splashscreen"
- local md_inst="/opt/retropie/supplementary/splashscreen"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen"'
- + eval 'local md_desc="Configure Splashscreen"
- local md_help=""
- local md_type="supplementary"
- local md_flags="noinstclean !all rpi !osmc !xbian !aarch64"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen.sh"
- local md_repo_type="git"
- local md_repo_url="https://github.com/RetroPie/retropie-splashscreens.git"
- local md_repo_branch="master"
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/splashscreen"
- local md_inst="/opt/retropie/supplementary/splashscreen"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen"'
- ++ local 'md_desc=Configure Splashscreen'
- ++ local md_help=
- ++ local md_type=supplementary
- ++ local 'md_flags=noinstclean !all rpi !osmc !xbian !aarch64'
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen.sh
- ++ local md_repo_type=git
- ++ local md_repo_url=https://github.com/RetroPie/retropie-splashscreens.git
- ++ local md_repo_branch=master
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/splashscreen
- ++ local md_inst=/opt/retropie/supplementary/splashscreen
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen
- + local md_mode=install
- + local md_conf_root
- + [[ supplementary == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_splashscreen
- + fnExists _update_hook_splashscreen
- + declare -f _update_hook_splashscreen
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_splashscreen
- + rp_isInstalled splashscreen
- + local id=splashscreen
- + local md_inst=/opt/retropie/supplementary/splashscreen
- + [[ -d /opt/retropie/supplementary/splashscreen ]]
- + return 0
- + install_bin_splashscreen
- + cat
- + rp_installModule omxiv _autoupdate_
- + local id=omxiv
- + local mode=_autoupdate_
- + [[ -z _autoupdate_ ]]
- + rp_callModule omxiv _autoupdate_
- + local md_id=omxiv
- + local mode=_autoupdate_
- + shift 2
- + rp_hasModule omxiv
- + local id=omxiv
- + [[ -n 209 ]]
- + return 0
- + rp_isEnabled omxiv
- + local id=omxiv
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- + rp_isInstalled omxiv
- + local id=omxiv
- + local md_inst=/opt/retropie/supplementary/omxiv
- + [[ -d /opt/retropie/supplementary/omxiv ]]
- + return 0
- + rp_callModule omxiv _update_
- + local md_id=omxiv
- + local mode=_update_
- + shift 2
- + rp_hasModule omxiv
- + local id=omxiv
- + [[ -n 209 ]]
- + return 0
- + rp_isEnabled omxiv
- + local id=omxiv
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- + [[ _update_ == \_\u\p\d\a\t\e\_ ]]
- + rp_isInstalled omxiv
- + local id=omxiv
- + local md_inst=/opt/retropie/supplementary/omxiv
- + [[ -d /opt/retropie/supplementary/omxiv ]]
- + return 0
- + rp_loadPackageInfo omxiv pkg_origin
- + local id=omxiv
- + [[ '' -eq 1 ]]
- + local keys
- + local cache=1
- + [[ -z pkg_origin ]]
- + shift
- + keys=("$@")
- + cache=0
- + local load=0
- ++ rp_getInstallPath omxiv
- ++ local id=omxiv
- ++ echo /opt/retropie/supplementary/omxiv
- + local pkg_file=/opt/retropie/supplementary/omxiv/retropie.pkg
- + [[ -f /opt/retropie/supplementary/omxiv/retropie.pkg ]]
- + load=1
- + local key
- + local data
- + for key in "${keys[@]}"
- + data=
- + [[ pkg_origin == \p\k\g\_\o\r\i\g\i\n ]]
- + data=unknown
- + __mod_info[$id/$key]=unknown
- + [[ 1 -eq 1 ]]
- ++ grep -oP 'pkg_origin="\K[^"]+' /opt/retropie/supplementary/omxiv/retropie.pkg
- + data=binary
- + [[ -n binary ]]
- + __mod_info[$id/$key]=binary
- + [[ 0 -eq 1 ]]
- + local pkg_origin=binary
- + local has_binary=0
- + local has_net=0
- ++ getIPAddress
- ++ local dev=
- ++ local ip_route
- +++ ip -4 route get 8.8.8.8
- ++ ip_route='8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
- cache '
- ++ [[ -z 8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
- cache ]]
- ++ [[ -n 8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
- cache ]]
- ++ grep -oP 'src \K[^\s]+'
- + local ip=192.168.2.5
- + [[ -n 192.168.2.5 ]]
- + has_net=1
- + hasFlag '!all rpi' nonet
- + local 'string=!all rpi'
- + local flag=nonet
- + [[ -z !all rpi ]]
- + [[ -z nonet ]]
- + [[ !all rpi =~ (^| )nonet($| ) ]]
- + return 1
- + [[ 1 -eq 1 ]]
- + rp_hasBinary omxiv
- + local id=omxiv
- + [[ Raspbian != \R\a\s\p\b\i\a\n ]]
- ++ rp_getBinaryUrl omxiv
- ++ local id=omxiv
- ++ local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
- ++ fnExists install_bin_omxiv
- ++ declare -f install_bin_omxiv
- ++ return 1
- ++ echo https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
- + local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
- + [[ https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz == \n\o\t\e\s\t ]]
- + [[ -z https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz ]]
- + [[ -n '' ]]
- + local ret=1
- + rp_hasBinaries
- + [[ 1 -eq 1 ]]
- + return 0
- + rp_remoteFileExists https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
- + local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
- + local ret
- + curl --max-time 5 -o /dev/null -sfI https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
- + ret=28
- + [[ 28 -eq 0 ]]
- + [[ 28 -eq 22 ]]
- + return 2
- + ret=2
- + [[ 2 -ne 2 ]]
- + return 2
- + local ret=2
- + [[ 2 -eq 0 ]]
- + [[ 2 -eq 2 ]]
- + has_net=0
- + [[ 0 -eq 0 ]]
- + __ERRMSGS+=("Can't install/update $md_id - unable to connect to the internet")
- + return 1
- + return 1
- + return 1
- + gitPullOrClone /opt/retropie/supplementary/splashscreen
- + local dir=/opt/retropie/supplementary/splashscreen
- + [[ -z /opt/retropie/supplementary/splashscreen ]]
- + local repo=
- + local branch=
- + local commit=
- + local depth=
- + [[ -z '' ]]
- + [[ -n https://github.com/RetroPie/retropie-splashscreens.git ]]
- ++ rp_resolveRepoParam https://github.com/RetroPie/retropie-splashscreens.git
- ++ local param=https://github.com/RetroPie/retropie-splashscreens.git
- ++ [[ https://github.com/RetroPie/retropie-splashscreens.git == :* ]]
- ++ echo https://github.com/RetroPie/retropie-splashscreens.git
- + repo=https://github.com/RetroPie/retropie-splashscreens.git
- ++ rp_resolveRepoParam master
- ++ local param=master
- ++ [[ master == :* ]]
- ++ echo master
- + branch=master
- ++ rp_resolveRepoParam ''
- ++ local param=
- ++ [[ '' == :* ]]
- ++ echo ''
- + commit=
- + [[ -z https://github.com/RetroPie/retropie-splashscreens.git ]]
- + [[ -z master ]]
- + [[ -z '' ]]
- + [[ '' -ne 1 ]]
- + [[ -z '' ]]
- + depth=1
- + [[ -z '' ]]
- + __mod_info[$md_id/repo_dir]=/opt/retropie/supplementary/splashscreen
- + [[ -d /opt/retropie/supplementary/splashscreen/.git ]]
- + pushd /opt/retropie/supplementary/splashscreen
- + runCmd git checkout master
- + local ret
- + git checkout master
- Already on 'master'
- Your branch is up to date with 'origin/master'.
- + ret=0
- + [[ 0 -ne 0 ]]
- + return 0
- + runCmd git pull --ff-only
- + local ret
- + git pull --ff-only
- Already up to date.
- + ret=0
- + [[ 0 -ne 0 ]]
- + return 0
- + runCmd git submodule update --init --recursive
- + local ret
- + git submodule update --init --recursive
- + ret=0
- + [[ 0 -ne 0 ]]
- + return 0
- + popd
- + [[ -n '' ]]
- ++ runCmd git -C /opt/retropie/supplementary/splashscreen rev-parse --abbrev-ref HEAD
- ++ local ret
- ++ git -C /opt/retropie/supplementary/splashscreen rev-parse --abbrev-ref HEAD
- ++ ret=0
- ++ [[ 0 -ne 0 ]]
- ++ return 0
- + branch=master
- ++ runCmd git -C /opt/retropie/supplementary/splashscreen rev-parse HEAD
- ++ local ret
- ++ git -C /opt/retropie/supplementary/splashscreen rev-parse HEAD
- ++ ret=0
- ++ [[ 0 -ne 0 ]]
- ++ return 0
- + commit=b8645a8197d977a0492fc56341dc7248f7d7bb10
- + printMsgs console 'HEAD is now in branch '\''master'\'' at commit '\''b8645a8197d977a0492fc56341dc7248f7d7bb10'\'''
- + local type=console
- + shift
- + [[ 0 == \1 ]]
- + for msg in "$@"
- + [[ console == \d\i\a\l\o\g ]]
- + [[ console == \c\o\n\s\o\l\e ]]
- + echo -e 'HEAD is now in branch '\''master'\'' at commit '\''b8645a8197d977a0492fc56341dc7248f7d7bb10'\'''
- HEAD is now in branch 'master' at commit 'b8645a8197d977a0492fc56341dc7248f7d7bb10'
- + [[ console == \h\e\a\d\i\n\g ]]
- + return 0
- + cp /home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen/asplashscreen.sh /opt/retropie/supplementary/splashscreen
- + iniConfig = '"' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
- + __ini_cfg_delim==
- + __ini_cfg_quote='"'
- + __ini_cfg_file=/opt/retropie/supplementary/splashscreen/asplashscreen.sh
- + iniSet ROOTDIR /opt/retropie
- + iniProcess set ROOTDIR /opt/retropie ''
- + local cmd=set
- + local key=ROOTDIR
- + local value=/opt/retropie
- + local file=
- + [[ -z '' ]]
- + file=/opt/retropie/supplementary/splashscreen/asplashscreen.sh
- + local delim==
- + local 'quote="'
- + [[ -z /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
- + [[ -z ROOTDIR ]]
- + local delim_strip==
- + [[ -z = ]]
- + local 'match_re=^[[:space:]#]*ROOTDIR[[:space:]]*=.*$'
- + local match
- + [[ -f /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
- ++ egrep -i '^[[:space:]#]*ROOTDIR[[:space:]]*=.*$' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
- ++ tail -1
- + match='ROOTDIR=""'
- + [[ set == \d\e\l ]]
- + [[ set == \u\n\s\e\t ]]
- + local 'replace=ROOTDIR="/opt/retropie"'
- + [[ -z ROOTDIR="" ]]
- ++ sedQuote 'ROOTDIR=""'
- ++ local 'string=ROOTDIR=""'
- ++ string='ROOTDIR=""'
- ++ string='ROOTDIR=""'
- ++ string='ROOTDIR=""'
- ++ string='ROOTDIR=""'
- ++ echo 'ROOTDIR=""'
- ++ sedQuote 'ROOTDIR="/opt/retropie"'
- ++ local 'string=ROOTDIR="/opt/retropie"'
- ++ string='ROOTDIR="/opt/retropie"'
- ++ string='ROOTDIR="/opt/retropie"'
- ++ string='ROOTDIR="/opt/retropie"'
- ++ string='ROOTDIR="/opt/retropie"'
- ++ echo 'ROOTDIR="/opt/retropie"'
- + sed -i --follow-symlinks 's|ROOTDIR=""|ROOTDIR="/opt/retropie"|g' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
- + [[ /opt/retropie/supplementary/splashscreen/asplashscreen.sh =~ retroarch\.cfg$ ]]
- + return 0
- + iniSet DATADIR /home/pi/RetroPie
- + iniProcess set DATADIR /home/pi/RetroPie ''
- + local cmd=set
- + local key=DATADIR
- + local value=/home/pi/RetroPie
- + local file=
- + [[ -z '' ]]
- + file=/opt/retropie/supplementary/splashscreen/asplashscreen.sh
- + local delim==
- + local 'quote="'
- + [[ -z /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
- + [[ -z DATADIR ]]
- + local delim_strip==
- + [[ -z = ]]
- + local 'match_re=^[[:space:]#]*DATADIR[[:space:]]*=.*$'
- + local match
- + [[ -f /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
- ++ egrep -i '^[[:space:]#]*DATADIR[[:space:]]*=.*$' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
- ++ tail -1
- + match='DATADIR=""'
- + [[ set == \d\e\l ]]
- + [[ set == \u\n\s\e\t ]]
- + local 'replace=DATADIR="/home/pi/RetroPie"'
- + [[ -z DATADIR="" ]]
- ++ sedQuote 'DATADIR=""'
- ++ local 'string=DATADIR=""'
- ++ string='DATADIR=""'
- ++ string='DATADIR=""'
- ++ string='DATADIR=""'
- ++ string='DATADIR=""'
- ++ echo 'DATADIR=""'
- ++ sedQuote 'DATADIR="/home/pi/RetroPie"'
- ++ local 'string=DATADIR="/home/pi/RetroPie"'
- ++ string='DATADIR="/home/pi/RetroPie"'
- ++ string='DATADIR="/home/pi/RetroPie"'
- ++ string='DATADIR="/home/pi/RetroPie"'
- ++ string='DATADIR="/home/pi/RetroPie"'
- ++ echo 'DATADIR="/home/pi/RetroPie"'
- + sed -i --follow-symlinks 's|DATADIR=""|DATADIR="/home/pi/RetroPie"|g' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
- + [[ /opt/retropie/supplementary/splashscreen/asplashscreen.sh =~ retroarch\.cfg$ ]]
- + return 0
- ++ _image_exts_splashscreen
- ++ echo '\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp'
- + iniSet REGEX_IMAGE '\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp'
- + iniProcess set REGEX_IMAGE '\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp' ''
- + local cmd=set
- + local key=REGEX_IMAGE
- + local 'value=\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp'
- + local file=
- + [[ -z '' ]]
- + file=/opt/retropie/supplementary/splashscreen/asplashscreen.sh
- + local delim==
- + local 'quote="'
- + [[ -z /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
- + [[ -z REGEX_IMAGE ]]
- + local delim_strip==
- + [[ -z = ]]
- + local 'match_re=^[[:space:]#]*REGEX_IMAGE[[:space:]]*=.*$'
- + local match
- + [[ -f /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
- ++ egrep -i '^[[:space:]#]*REGEX_IMAGE[[:space:]]*=.*$' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
- ++ tail -1
- + match='REGEX_IMAGE=""'
- + [[ set == \d\e\l ]]
- + [[ set == \u\n\s\e\t ]]
- + local 'replace=REGEX_IMAGE="\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp"'
- + [[ -z REGEX_IMAGE="" ]]
- ++ sedQuote 'REGEX_IMAGE=""'
- ++ local 'string=REGEX_IMAGE=""'
- ++ string='REGEX_IMAGE=""'
- ++ string='REGEX_IMAGE=""'
- ++ string='REGEX_IMAGE=""'
- ++ string='REGEX_IMAGE=""'
- ++ echo 'REGEX_IMAGE=""'
- ++ sedQuote 'REGEX_IMAGE="\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp"'
- ++ local 'string=REGEX_IMAGE="\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp"'
- ++ string='REGEX_IMAGE="\\.bmp\\|\\.jpg\\|\\.jpeg\\|\\.gif\\|\\.png\\|\\.ppm\\|\\.tiff\\|\\.webp"'
- ++ string='REGEX_IMAGE="\\.bmp\\\|\\.jpg\\\|\\.jpeg\\\|\\.gif\\\|\\.png\\\|\\.ppm\\\|\\.tiff\\\|\\.webp"'
- ++ string='REGEX_IMAGE="\\.bmp\\\|\\.jpg\\\|\\.jpeg\\\|\\.gif\\\|\\.png\\\|\\.ppm\\\|\\.tiff\\\|\\.webp"'
- ++ string='REGEX_IMAGE="\\.bmp\\\|\\.jpg\\\|\\.jpeg\\\|\\.gif\\\|\\.png\\\|\\.ppm\\\|\\.tiff\\\|\\.webp"'
- ++ echo 'REGEX_IMAGE="\\.bmp\\\|\\.jpg\\\|\\.jpeg\\\|\\.gif\\\|\\.png\\\|\\.ppm\\\|\\.tiff\\\|\\.webp"'
- + sed -i --follow-symlinks 's|REGEX_IMAGE=""|REGEX_IMAGE="\\.bmp\\\|\\.jpg\\\|\\.jpeg\\\|\\.gif\\\|\\.png\\\|\\.ppm\\\|\\.tiff\\\|\\.webp"|g' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
- + [[ /opt/retropie/supplementary/splashscreen/asplashscreen.sh =~ retroarch\.cfg$ ]]
- + return 0
- ++ _video_exts_splashscreen
- ++ echo '\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac'
- + iniSet REGEX_VIDEO '\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac'
- + iniProcess set REGEX_VIDEO '\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac' ''
- + local cmd=set
- + local key=REGEX_VIDEO
- + local 'value=\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac'
- + local file=
- + [[ -z '' ]]
- + file=/opt/retropie/supplementary/splashscreen/asplashscreen.sh
- + local delim==
- + local 'quote="'
- + [[ -z /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
- + [[ -z REGEX_VIDEO ]]
- + local delim_strip==
- + [[ -z = ]]
- + local 'match_re=^[[:space:]#]*REGEX_VIDEO[[:space:]]*=.*$'
- + local match
- + [[ -f /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
- ++ egrep -i '^[[:space:]#]*REGEX_VIDEO[[:space:]]*=.*$' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
- ++ tail -1
- + match='REGEX_VIDEO=""'
- + [[ set == \d\e\l ]]
- + [[ set == \u\n\s\e\t ]]
- + local 'replace=REGEX_VIDEO="\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac"'
- + [[ -z REGEX_VIDEO="" ]]
- ++ sedQuote 'REGEX_VIDEO=""'
- ++ local 'string=REGEX_VIDEO=""'
- ++ string='REGEX_VIDEO=""'
- ++ string='REGEX_VIDEO=""'
- ++ string='REGEX_VIDEO=""'
- ++ string='REGEX_VIDEO=""'
- ++ echo 'REGEX_VIDEO=""'
- ++ sedQuote 'REGEX_VIDEO="\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac"'
- ++ local 'string=REGEX_VIDEO="\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac"'
- ++ string='REGEX_VIDEO="\\.avi\\|\\.mov\\|\\.mp4\\|\\.mkv\\|\\.3gp\\|\\.mpg\\|\\.mp3\\|\\.wav\\|\\.m4a\\|\\.aac\\|\\.ogg\\|\\.flac"'
- ++ string='REGEX_VIDEO="\\.avi\\\|\\.mov\\\|\\.mp4\\\|\\.mkv\\\|\\.3gp\\\|\\.mpg\\\|\\.mp3\\\|\\.wav\\\|\\.m4a\\\|\\.aac\\\|\\.ogg\\\|\\.flac"'
- ++ string='REGEX_VIDEO="\\.avi\\\|\\.mov\\\|\\.mp4\\\|\\.mkv\\\|\\.3gp\\\|\\.mpg\\\|\\.mp3\\\|\\.wav\\\|\\.m4a\\\|\\.aac\\\|\\.ogg\\\|\\.flac"'
- ++ string='REGEX_VIDEO="\\.avi\\\|\\.mov\\\|\\.mp4\\\|\\.mkv\\\|\\.3gp\\\|\\.mpg\\\|\\.mp3\\\|\\.wav\\\|\\.m4a\\\|\\.aac\\\|\\.ogg\\\|\\.flac"'
- ++ echo 'REGEX_VIDEO="\\.avi\\\|\\.mov\\\|\\.mp4\\\|\\.mkv\\\|\\.3gp\\\|\\.mpg\\\|\\.mp3\\\|\\.wav\\\|\\.m4a\\\|\\.aac\\\|\\.ogg\\\|\\.flac"'
- + sed -i --follow-symlinks 's|REGEX_VIDEO=""|REGEX_VIDEO="\\.avi\\\|\\.mov\\\|\\.mp4\\\|\\.mkv\\\|\\.3gp\\\|\\.mpg\\\|\\.mp3\\\|\\.wav\\\|\\.m4a\\\|\\.aac\\\|\\.ogg\\\|\\.flac"|g' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
- + [[ /opt/retropie/supplementary/splashscreen/asplashscreen.sh =~ retroarch\.cfg$ ]]
- + return 0
- + [[ ! -f /opt/retropie/configs/all/splashscreen.cfg ]]
- + chown pi:pi /opt/retropie/configs/all/splashscreen.cfg
- + mkUserDir /home/pi/RetroPie/splashscreens
- + mkdir -p /home/pi/RetroPie/splashscreens
- + chown pi:pi /home/pi/RetroPie/splashscreens
- + echo 'Place your own splashscreens in here.'
- + chown pi:pi /home/pi/RetroPie/splashscreens/README.txt
- + configure_splashscreen
- + [[ install == \r\e\m\o\v\e ]]
- + [[ -f /etc/init.d/asplashscreen ]]
- + disable_plymouth_splashscreen
- + local config=/boot/cmdline.txt
- + [[ -f /boot/cmdline.txt ]]
- + grep -q plymouth.enable /boot/cmdline.txt
- + enable_splashscreen
- + systemctl enable asplashscreen
- + [[ ! -f /etc/splashscreen.list ]]
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/splashscreen ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_splashscreen
- + declare -f install_splashscreen
- + return 1
- + [[ _update_hook == \b\u\i\l\d ]]
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=supertux
- + [[ -n supertux ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule supertux _update_hook
- + local md_id=supertux
- + local mode=_update_hook
- + shift 2
- + rp_hasModule supertux
- + local id=supertux
- + [[ -n 179 ]]
- + return 0
- + rp_isEnabled supertux
- + local id=supertux
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars supertux
- ++ local id=supertux
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath supertux
- +++ local id=supertux
- +++ echo /opt/retropie/ports/supertux
- ++ echo 'local md_desc="SuperTux 2d scrolling platform"
- local md_help=""
- local md_type="ports"
- local md_flags="!mali"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/supertux.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/supertux"
- local md_inst="/opt/retropie/ports/supertux"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/supertux"'
- + eval 'local md_desc="SuperTux 2d scrolling platform"
- local md_help=""
- local md_type="ports"
- local md_flags="!mali"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/supertux.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/supertux"
- local md_inst="/opt/retropie/ports/supertux"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/supertux"'
- ++ local 'md_desc=SuperTux 2d scrolling platform'
- ++ local md_help=
- ++ local md_type=ports
- ++ local 'md_flags=!mali'
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/ports/supertux.sh
- ++ local md_repo_type=
- ++ local md_repo_url=
- ++ local md_repo_branch=
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/supertux
- ++ local md_inst=/opt/retropie/ports/supertux
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/ports/supertux
- + local md_mode=install
- + local md_conf_root
- + [[ ports == \p\o\r\t\s ]]
- + setConfigRoot ports
- + local dir=ports
- + md_conf_root=/opt/retropie/configs
- + [[ -n ports ]]
- + md_conf_root+=/ports
- + mkUserDir /opt/retropie/configs/ports
- + mkdir -p /opt/retropie/configs/ports
- + chown pi:pi /opt/retropie/configs/ports
- + case "$mode" in
- + function=_update_hook_supertux
- + fnExists _update_hook_supertux
- + declare -f _update_hook_supertux
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_supertux
- + hasPackage supertux
- + local pkg=supertux
- + local req_ver=
- + local comp=
- + [[ -z '' ]]
- + comp=ge
- + local ver
- + local status
- ++ dpkg-query -W '--showformat=${Status} ${Version}' supertux
- + local out=
- + [[ 0 -eq 0 ]]
- + ver=
- + status=
- + local installed=0
- + [[ '' == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
- + [[ -z '' ]]
- + [[ 0 -eq 1 ]]
- + return 1
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/supertux ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_supertux
- + declare -f install_supertux
- + return 1
- + [[ _update_hook == \b\u\i\l\d ]]
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=uqm
- + [[ -n uqm ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule uqm _update_hook
- + local md_id=uqm
- + local mode=_update_hook
- + shift 2
- + rp_hasModule uqm
- + local id=uqm
- + [[ -n 181 ]]
- + return 0
- + rp_isEnabled uqm
- + local id=uqm
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars uqm
- ++ local id=uqm
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath uqm
- +++ local id=uqm
- +++ echo /opt/retropie/ports/uqm
- ++ echo 'local md_desc="The Ur-Quan Masters (Port of DOS game Star Control 2)"
- local md_help=""
- local md_type="ports"
- local md_flags="!mali"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/uqm.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/uqm"
- local md_inst="/opt/retropie/ports/uqm"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/uqm"'
- + eval 'local md_desc="The Ur-Quan Masters (Port of DOS game Star Control 2)"
- local md_help=""
- local md_type="ports"
- local md_flags="!mali"
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/uqm.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/uqm"
- local md_inst="/opt/retropie/ports/uqm"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/uqm"'
- ++ local 'md_desc=The Ur-Quan Masters (Port of DOS game Star Control 2)'
- ++ local md_help=
- ++ local md_type=ports
- ++ local 'md_flags=!mali'
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/ports/uqm.sh
- ++ local md_repo_type=
- ++ local md_repo_url=
- ++ local md_repo_branch=
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/uqm
- ++ local md_inst=/opt/retropie/ports/uqm
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/ports/uqm
- + local md_mode=install
- + local md_conf_root
- + [[ ports == \p\o\r\t\s ]]
- + setConfigRoot ports
- + local dir=ports
- + md_conf_root=/opt/retropie/configs
- + [[ -n ports ]]
- + md_conf_root+=/ports
- + mkUserDir /opt/retropie/configs/ports
- + mkdir -p /opt/retropie/configs/ports
- + chown pi:pi /opt/retropie/configs/ports
- + case "$mode" in
- + function=_update_hook_uqm
- + fnExists _update_hook_uqm
- + declare -f _update_hook_uqm
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_uqm
- + hasPackage uqm
- + local pkg=uqm
- + local req_ver=
- + local comp=
- + [[ -z '' ]]
- + comp=ge
- + local ver
- + local status
- ++ dpkg-query -W '--showformat=${Status} ${Version}' uqm
- + local out=
- + [[ 0 -eq 0 ]]
- + ver=
- + status=
- + local installed=0
- + [[ '' == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
- + [[ -z '' ]]
- + [[ 0 -eq 1 ]]
- + return 1
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/uqm ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_uqm
- + declare -f install_uqm
- + return 0
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + for function in $(compgen -A function _update_hook_)
- + id=usbromservice
- + [[ -n usbromservice ]]
- + [[ 1 -eq 1 ]]
- + rp_callModule usbromservice _update_hook
- + local md_id=usbromservice
- + local mode=_update_hook
- + shift 2
- + rp_hasModule usbromservice
- + local id=usbromservice
- + [[ -n 228 ]]
- + return 0
- + rp_isEnabled usbromservice
- + local id=usbromservice
- + [[ 1 -eq 0 ]]
- + return 0
- + case "$mode" in
- ++ rp_moduleVars usbromservice
- ++ local id=usbromservice
- ++ local code
- ++ read -d '' -r code
- +++ rp_getInstallPath usbromservice
- +++ local id=usbromservice
- +++ echo /opt/retropie/supplementary/usbromservice
- ++ echo 'local md_desc="USB ROM Service"
- local md_help=""
- local md_type="supplementary"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/usbromservice"
- local md_inst="/opt/retropie/supplementary/usbromservice"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice"'
- + eval 'local md_desc="USB ROM Service"
- local md_help=""
- local md_type="supplementary"
- local md_flags=""
- local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice.sh"
- local md_repo_type=""
- local md_repo_url=""
- local md_repo_branch=""
- local md_repo_commit=""
- local md_build="/home/pi/RetroPie-Setup/tmp/build/usbromservice"
- local md_inst="/opt/retropie/supplementary/usbromservice"
- # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
- local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice"'
- ++ local 'md_desc=USB ROM Service'
- ++ local md_help=
- ++ local md_type=supplementary
- ++ local md_flags=
- ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice.sh
- ++ local md_repo_type=
- ++ local md_repo_url=
- ++ local md_repo_branch=
- ++ local md_repo_commit=
- ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/usbromservice
- ++ local md_inst=/opt/retropie/supplementary/usbromservice
- ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice
- + local md_mode=install
- + local md_conf_root
- + [[ supplementary == \p\o\r\t\s ]]
- + setConfigRoot ''
- + local dir=
- + md_conf_root=/opt/retropie/configs
- + [[ -n '' ]]
- + mkUserDir /opt/retropie/configs
- + mkdir -p /opt/retropie/configs
- + chown pi:pi /opt/retropie/configs
- + case "$mode" in
- + function=_update_hook_usbromservice
- + fnExists _update_hook_usbromservice
- + declare -f _update_hook_usbromservice
- + return 0
- + md_ret_require=()
- + local md_ret_require
- + md_ret_files=()
- + local md_ret_files
- + md_ret_errors=()
- + local md_ret_errors
- + md_ret_info=()
- + local md_ret_info
- + local action
- + local pushed=1
- + case "$mode" in
- + [[ -n '' ]]
- + case "$mode" in
- + _update_hook_usbromservice
- + rp_isInstalled usbromservice
- + local id=usbromservice
- + local md_inst=/opt/retropie/supplementary/usbromservice
- + [[ -d /opt/retropie/supplementary/usbromservice ]]
- + return 0
- + [[ ! -f /opt/retropie/supplementary/usbromservice/disabled ]]
- + install_scripts_usbromservice
- + local file
- + local dest
- + for file in "$md_data/"*
- + dest=/etc/usbmount/mount.d/01_retropie_copyroms
- + sed s/USERTOBECHOSEN/pi/g /home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice/01_retropie_copyroms
- + chmod +x /etc/usbmount/mount.d/01_retropie_copyroms
- + for file in "$md_data/"*
- + dest=/etc/usbmount/mount.d/10_retropie_mount
- + sed s/USERTOBECHOSEN/pi/g /home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice/10_retropie_mount
- + chmod +x /etc/usbmount/mount.d/10_retropie_mount
- + [[ -n '' ]]
- + [[ 0 -eq 0 ]]
- + [[ -n '' ]]
- + [[ -d /home/pi/RetroPie-Setup/tmp/build/usbromservice ]]
- + local ret=0
- + [[ 0 -gt 0 ]]
- + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
- + [[ _update_hook == \i\n\s\t\a\l\l ]]
- + fnExists install_usbromservice
- + declare -f install_usbromservice
- + return 1
- + [[ _update_hook == \b\u\i\l\d ]]
- + [[ 0 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- + return 0
- + rps_logEnd
- ++ date +%s
- + time_end=1614511192
- + echo
- ++ date -d @1614511192
- + echo 'Log ended at: Sun 28 Feb 13:19:52 EET 2021'
- Log ended at: Sun 28 Feb 13:19:52 EET 2021
- + date_total=20
- + local hours=0
- + local mins=0
- + local secs=20
- + echo 'Total running time: 0 hours, 0 mins, 20 secs'
- Total running time: 0 hours, 0 mins, 20 secs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement