pull/199/head
parent
af40fa1b32
commit
8169d41428
@ -1,9 +0,0 @@
|
|||||||
Fork of Raspi2png with support for retropie and controller buttons.
|
|
||||||
|
|
||||||
Run in a terminal: retro2png / Press the keys "r+2+p" in order
|
|
||||||
The resulting image will be saved to ~/Pictures/
|
|
||||||
|
|
||||||
or,
|
|
||||||
|
|
||||||
Do the controller shortcut "Mode/PS+DPAD_UP"
|
|
||||||
Go to the Github to find out how to configure custom shortcuts for your controller at https://github.com/Vegz78/retro2png#configuring-the-gamepad-and-keyboard-hotkeys.
|
|
Binary file not shown.
Before Width: | Height: | Size: 102 B |
Binary file not shown.
Before Width: | Height: | Size: 117 B |
@ -1,32 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
|
||||||
|
|
||||||
function error {
|
|
||||||
echo -e "\\e[91m$1\\e[39m"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
"${DIRECTORY}/pkg-install" "libpng-dev libpng12-dev git-core triggerhappy" "$(dirname "$0")" || exit 1
|
|
||||||
|
|
||||||
# 2. Clone git to home folder
|
|
||||||
cd ~
|
|
||||||
git clone https://github.com/Vegz78/retro2png.git
|
|
||||||
cd retro2png
|
|
||||||
|
|
||||||
# 3. Compile and install retro2png
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
|
|
||||||
# 4. Setup Triggerhappy
|
|
||||||
sed -i "s/pi/$USER/g" ./triggerhappy.service
|
|
||||||
sudo cp -f ./triggerhappy.service /lib/systemd/system/triggerhappy.service
|
|
||||||
sudo cp -f ./retro2png.conf /etc/triggerhappy/triggers.d/retro2png.conf #Raspbian installs triggerhappy as default, but optional, so when changing user here, the Shift key on boot to disable the on-demand scaling governor might not work after this
|
|
||||||
sudo systemctl disable triggerhappy.socket #This socket prevents triggerhappy from starting correctly, ref: https://github.com/wertarbyte/triggerhappy/issues/22
|
|
||||||
sudo systemctl daemon-reload
|
|
||||||
sudo systemctl enable triggerhappy.service
|
|
||||||
sudo systemctl restart triggerhappy.service
|
|
||||||
sudo systemctl status triggerhappy.service #From this you can check if the triggerhappy service now is running as your user
|
|
||||||
|
|
||||||
# 5. Clean up
|
|
||||||
cd ..
|
|
||||||
rm -fr retro2png
|
|
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
|
||||||
|
|
||||||
function error {
|
|
||||||
echo -e "\\e[91m$1\\e[39m"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
#if your app installs any packages, keep this command here so those packages will be removed.
|
|
||||||
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1
|
|
||||||
|
|
||||||
sudo rm /usr/bin/retro2png
|
|
@ -1 +0,0 @@
|
|||||||
https://github.com/Vegz78/retro2png
|
|
Loading…
Reference in New Issue