Cover image for RetroPie Samba Setup

Video

Watch the associated video here:


Prerequisites

  1. Raspberry Pi running RetroPie.
  2. An active network connection on the Raspberry Pi.
  3. Another computer on the same network for file transfers.

Steps

  1. Access RetroPie Setup:
    • Boot up your Raspberry Pi and enter the EmulationStation interface (default interface of RetroPie).
    • Press Start on your controller and select Quit to get to the terminal/command line.
    • Type sudo raspi-config and press Enter.
  2. Enable SSH (if not already done):
    • In the raspi-config menu, navigate to Interfacing Options.
    • Select SSH and choose Enable.
  3. Install Samba:
    • At the terminal/command line, type the following commands:

      sudo apt-get update
      sudo apt-get install samba samba-common-bin
      
  4. Configure Samba for RetroPie:
    • Edit the Samba configuration file using:

      sudo nano /etc/samba/smb.conf
      
    • Scroll to the bottom and add the following:

      [RetroPie]
      path = /home/pi/RetroPie/roms
      writeable=Yes
      create mask=0777
      directory mask=0777
      public=no
      
  5. Set a Password for Samba:
    • While still in the terminal, set a password for the ‘pi’ user in Samba:

      sudo smbpasswd -a pi
      
    • Enter a password when prompted. This will be the password you’ll use when accessing the file share from another computer.

  6. Restart Samba Service:
    • Restart the Samba service to apply the changes:

      sudo /etc/init.d/samba restart
      
  7. Accessing ROMs Folder from Another Computer:
    • Windows: Open File Explorer and in the address bar type \\[RASPBERRY_PI_IP_ADDRESS]\RetroPie. Replace [RASPBERRY_PI_IP_ADDRESS] with the IP address of your Raspberry Pi.
    • Mac: Open Finder, click on Go in the top menu, select Connect to Server, and enter smb://[RASPBERRY_PI_IP_ADDRESS]/RetroPie.
  8. Transfer ROMs:
    • Once connected, you can drag and drop ROMs into the appropriate system folders.
  9. Return to EmulationStation:
    • After transferring ROMs, type emulationstation in the terminal of your Raspberry Pi to return to the game interface.
    • You might need to restart EmulationStation or the Raspberry Pi to see your new games.

Remember, always ensure you’re transferring ROMs you legally own. Enjoy your gaming!



Did you find this content useful?


If you found this high quality content useful please consider supporting my work, so I can continue to create more content for you.

I give away all my content for free: Weekly video content on YouTube, 3d Printable designs, Programs and Code, Reviews and Project write-ups, but 98% of visitors don't give back, they simply read/watch, download and go. If everyone who reads or watches my content, who likes it, helps fund it just a little, my future would be more secure for years to come. A price of a cup of coffee is all I ask.

There are a couple of ways you can support my work financially:


If you can't afford to provide any financial support, you can also help me grow my influence by doing the following:


Thank you again for your support and helping me grow my hobby into a business I can sustain.
- Kevin McAleer