Home Videogiochi Un Raspberry da corsa con AdvanceMAME

Un Raspberry da corsa con AdvanceMAME

444
0

Ho deciso di scrivere questo breve tutorial per realizzare una postazione da gioco con MAME utilizzando il Raspberry 3 ed AdvanceMAME.
Si tratta di un tutorial amatoriale nato dalla mia esperienza e quindi più che altro da prendere come spunto: non vi assicuro che possa sempre funzionare. Usate micro SD nuove o vuote perchè eventuali file o dati memorizzati andrebbero sicuramente persi.

Ovviamente è richiesta una minima conoscenza della shell dei comandi di linux attraverso il terminale e del trasferimento dei file attraverso il protocollo SSH.

1. Download the latest Raspbian Lite image
2. Flash the microSD card with Raspbian Lite (8Gb or more)
3. Insert the microSD card into the Pi
4. Connect the Pi to the Internet. Ethernet would be the fastest way
5. Connect your TV / Monitor and keyboard
6. Log into Raspbian. The username is “pi” and the password is “raspberry”
7. We need to expand the file system so that Raspbian takes full use of the microSD space and enable ssh remote access.
8. From the shell tipe : sudo raspi-config
9. Menu 7 Advanced Options -> A1 Expand Filesistem
10. Menu 5 Inteface Options -> SSH -> enable
11. Menu 4 Localization Option -> locale -> en_US.UTF-8 UTF-8 -> set as default
12. Menu 4 Localization Option -> locale -> timezone -> Europe -> Rome
13. Menu 4 Localization Option -> locale -> Change Keyboard Layout -> Generic 105-key (Intl) PC -> Other -> Italian -> select all defaults
14. Menu Finish -> Reboot
15. From the shell -> sudo sudo apt-get update && sudo apt-get upgrade -> select Y and return
16. From the shell -> sudo apt-get dist-upgrade -> sudo apt-get clean -> sudo reboot
17. From the shell -> sudo apt-get install mc -> select Y and return
18. From the shell -> sudo mc -> navigate to /boot/cmdline.txt -> press F4 to edit and select voice 3 ./usr/bin/mcedit
19. Add “logo.nologo” , “disable_splash=1” and “vt.global_cursor_default=0” to the end of the line to remove logos and cursor
20. Press F10 save and exit from MCEDIT
21. From the shell -> sudo apt-get install plymouth plymouth-themes
22. From the shell -> sudo apt-get install pix-plym-splash
23. From the shell -> wget https://github.com/amadvance/advancemame/
releases/download/v3.9/advancemame_3.9-1_armhf.deb
24. From the shell -> sudo dpkg -i advancemame_3.9-1_armhf.deb
25. from the shell -> advmame -> this generate the directory of emulator
25. from the shell -> advmenu -> this generate the xml and launch the graphical front-end
26. the path of rom and snaps is : /user/local/share/advance
27. autostart of avdmenu -> edit /etc/rc.local -> add the voice “advmenu” before the end line named “exit 0”

More info and settings at : https://www.advancemame.it/doc

Github page : https://github.com/amadvance/advancemame/

NOTE : remote administration is possible via SSH with client putty port 22
NOTE 2 : to copy roms and snaps from pc use Winscp via SFTP protocol port 22
NOTE 3 : Custom Splash image was named splash.png and replace the original located in
/usr/share/plymouth/themes/pix/splash.png