- This topic has 0 replies, 1 voice, and was last updated 9 years, 8 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.
On July 30, 2025, the U.S. Executive Order “Suspending Duty-Free De Minimis Treatment For All Countries” came into effect. This removes the previous duty exemption for low-value packages and introduces new procedural requirements that are still being defined by U.S. Customs and the United States Postal Service. In response, DHL has announced a temporary halt to standard postal parcel shipments into the U.S. and Puerto Rico. Dismiss
Skip to contentHomepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Manually adding Universal Screenshot
Basically this guide will teach you how to set up Raspi2PNG, use a single command script
and set up a samba link to easily access those screen shots from a designated folder.
Step 1
First you need to get the program/dependency and compile the bin
sudo apt-get install libpng12-dev
git clone https://github.com/AndrewFromMelbourne/raspi2png
cd raspi2png
make
Step 2
Now you need to move raspi2png to your local bin and create a .sh script
sudo mv raspi2png /usr/local/bin
sudo nano /usr/local/bin/screenshot.sh
sudo chmod +x /usr/local/bin/screenshot.sh
copy and paste this
#!/bin/bash
raspi2png -p ~/RetroPie/screenshots/$(date +%m%d%Y_%H%M%S).png
save by "ctrl + x" then "y"
Step 3
now to create screenshots folder and add samba link
mkdir ~/RetroPie/screenshots
sudo nano /etc/samba/smb.conf
copy and paste this at the end of the file
[screenshots]
comment = screenshots
path = "/home/pi/RetroPie/screenshots"
writeable = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = pi
Step 4
Restart Samba server and take your first screenshot
sudo service smbd restart
in terminal type
screenshot.sh
Step 5
Access your screenshots folder through samba
\\retropie
or mac os x
smb://retropie
Step 6
Clean up left over folder
sudo rm -r ~/raspi2png
[img]http://i.imgur.com/06griWS.png[/img]
Thanks
Herb (looking into adding it to retropie)
Rookervik (helping me debug the steps)