Can this be adapted to run on Arpicade 3.X, can I add it to the Attract Mode game list?
instructions.txt:
Here's the installation shell script:Donut Dodo - RetroPie Edition
The game is a native RetroPie Port and should be compatible with Raspberry Pi models 3B, 4A, 4B and 400. It has also succesfully been tested on a Pi Zero 2. It might work on other models, but that is still TBC.
Installation:
1) Copy the DonutDodo folder to anywhere on your Raspberry Pi. Easiest is using the File Manager in RetroPie.
2) Exit EmulationStation, enter the newly copied folder (for ex. "cd DonutDodo"), and run "./install-dd.sh"
3) Once that's done, typing "exit" and pressing "enter" will relaunch EmulationStation.
4) Select and launch the game from the "Ports" section of RetroPie
(to uninstall the game at any time, simply repeat step 2, but type ".install-dd.sh -r")
Game instructions:
This is a lightweight and highly optimized native port of the game in its purest form, made for arcade enthusiasts.
As such, in order to create an authentic arcade experience, the main menu has been removed.
Access the Options Menu (from the Start Screen):
- Hold "Select" and "North Button" (Y on an Xbox controller) on a controller
- press "O" for Options on the keyboard
Exit the game (from the Start Screen):
- press "Select" & "Start" together on a controller to exit at any time
- press "Escape" on the keyboard on the Start Screen
Add a credit (from the Start Screen):
- "5" on the keyboard
- "Start" or "Select" on a controller
Start game (from the mode selection screen):
- "1" on the keyboard
- "Start" on a controller
Player movement:
- Arrow keys on the keyboard for movement, and "Space" to jump
- Dpad or analogue stick on the controller for movement, and "South Button" (A on an Xbox controller) to jump
Changelog:
1.39
- While the default control scheme worked fine for most users, some players reported issues with certain setups, so both keyboard and controller custom remapping functions have been added to the game settings
I'm wondering if I should just forget the installation script and just copy over the game files manually?#!/bin/bash
SCRIPTDIR="$(dirname "$0")"
SCRIPTDIR="$(cd "$SCRIPTDIR" && pwd)"
readonly SCRIPTDIR
MODE="install"
case "${1,,}" in
-r|--remove)
MODE="remove"
shift
;;
esac
readonly MODE
RPS_HOME="$HOME/RetroPie-Setup"
[[ -n "$1" ]] && RPS_HOME="$1"
readonly RPS_HOME
readonly VENDOR="PixelGames"
readonly MODULE="donutdodo"
readonly SECTION="ports"
readonly INSTALL_DIR="$RPS_HOME/ext/$VENDOR"
readonly SCRIPT="$INSTALL_DIR/scriptmodules/$SECTION/$MODULE.sh"
readonly GAMEDIR="$HOME/RetroPie/roms/ports/DonutDodo"
if [[ ! -d "$RPS_HOME" ]]; then
echo -e "Error: RetroPie-Setup directory $RPS_HOME does not exist. Please input the location of RetroPie-Setup, ex:\n\n bash ./$(basename "$0") [-r] /home/pi/RetroPie-Setup\n\nAborting."
exit
fi
case "$MODE" in
install)
echo "Copying scriptmodule $SECTION/$MODULE.sh to $INSTALL_DIR"
mkdir -p "$INSTALL_DIR"
cp -rfp "$SCRIPTDIR/scriptmodules" "$INSTALL_DIR" && echo -e "...done.\n"
echo "Executing: sudo $RPS_HOME/retropie_packages.sh donutdodo"
sudo "$RPS_HOME/retropie_packages.sh" donutdodo && echo -e "...RetroPie module installation complete.\n"
if [[ -d "$GAMEDIR" ]]; then
echo "Copying gamedata files to $GAMEDIR (this may take a few moments...)"
if cp -rfp "$SCRIPTDIR/gamedata/"* "$GAMEDIR"; then
chmod +x "$GAMEDIR/DonutDodo.pi" && echo -e "...done.\n"
fi
else
echo -e "Game directory $GAMEDIR not found. Please copy the gamedata files to your roms directory under ports/DonutDodo.\n"
fi
;;
remove)
echo "Executing: sudo $RPS_HOME/retropie_packages.sh donutdodo remove"
if sudo "$RPS_HOME/retropie_packages.sh" donutdodo remove; then
echo "Removing scriptmodule $SCRIPT..."
rm -f "$SCRIPT" && echo -e "...done.\n"
fi
if [[ ! -d "$INSTALL_DIR" ]]; then
echo -e "Module directory $INSTALL_DIR not found. Nothing to remove.\n\nAborting."
exit
fi
if [[ -z "$(find "$INSTALL_DIR" -type f)" ]]; then
echo "No scriptmodules remain. Removing empty directory $INSTALL_DIR."
rm -rf "$INSTALL_DIR" && echo -e "...done.\n"
fi
;;
esac
Thanks!