mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2024-05-20 13:17:55 -04:00
d5e8a36b40
* test proton launch for bigpemu * continue working on config * continue with configs * update proton launch with new proton versions * update from old CEMU stuff to be specific to BigPEmu * begin saves and storage config * testing on deck * typo * change proton to 7 only worked for a tester on 7 will figure out updating later. * add ESDE config * update SRM from new update * idk why the rebase didnt delete the file * add jaguarcd to parser * add jaguarcd to esde * update readme * add to all functions * typo and remove vblank * consistency with casing * typo * update order in esde * typo * update esde config script * move esde xml script to config file * unique command letters * lack of sleep typos * woooo typos * fix xml * typo * convert bigpemu script to curl * nyi set folder * fix after pulling from upstream * additional spacing fixes * fix wget and add if statements * missing a space * add review changes * local data * local data * BigPEmu Tidying * Added hotkeys * Added bigpemu.sh to Applications folder * Cleaned up emuDeckBigPEmu.sh * Added icon * Added BigPEmu to binupdate * Add missing fi in binupdate --------- Co-authored-by: Dragoon Dorise <rodrigosedano@me.com> Co-authored-by: rawdatafeel <108900299+rawdatafeel@users.noreply.github.com>
52 lines
1.2 KiB
Bash
Executable file
52 lines
1.2 KiB
Bash
Executable file
#!/usr/bin/bash
|
|
# bigpemu.sh
|
|
|
|
# Set up cloud save
|
|
source "${HOME}/.config/EmuDeck/backend/functions/all.sh"
|
|
rclone_downloadEmu bigpemu
|
|
|
|
# Get SELFPATH
|
|
SELFPATH="$( realpath "${BASH_SOURCE[0]}" )"
|
|
|
|
# Get EXE
|
|
EXE="\"/usr/bin/bash\" \"${SELFPATH}\""
|
|
echo "EXE: ${EXE}"
|
|
|
|
# NAME
|
|
NAME="BigPEmu"
|
|
|
|
# AppID.py
|
|
APPIDPY="$emulationPath/tools/appID.py"
|
|
|
|
# Proton Launcher Script
|
|
PROTONLAUNCH="$emulationPath/tools/proton-launch.sh"
|
|
|
|
# BigPEmu location
|
|
BIGPEMU="$HOME/Applications/BigPEmu/BigPEmu.exe"
|
|
|
|
# APPID
|
|
APPID=$( /usr/bin/python "${APPIDPY}" "${EXE}" "${NAME}" )
|
|
echo "APPID: ${APPID}"
|
|
|
|
# Proton Version
|
|
PROTONVER="8.0"
|
|
|
|
# Call the Proton launcher script and give the arguments
|
|
|
|
if [ -z "${@}" ]; then
|
|
|
|
echo "${PROTONLAUNCH}" -p "${PROTONVER}" -i "${APPID}" -- "${BIGPEMU}" "*" -localdata >> "${LOGFILE}"
|
|
"${PROTONLAUNCH}" -p "${PROTONVER}" -i "${APPID}" -- "${BIGPEMU}" "*" -localdata
|
|
echo "Launching BigPEmu directly"
|
|
|
|
else
|
|
|
|
echo "${PROTONLAUNCH}" -p "${PROTONVER}" -i "${APPID}" -- "${BIGPEMU}" "${@}" -localdata >> "${LOGFILE}"
|
|
"${PROTONLAUNCH}" -p "${PROTONVER}" -i "${APPID}" -- "${BIGPEMU}" "${@}" -localdata
|
|
echo "ROM found, launching game"
|
|
|
|
fi
|
|
|
|
# Cloud Save
|
|
rclone_uploadEmu bigpemu
|