Since it was problematic with my bartop the transfer of the rom (without keyboard or pc in lan) I decided to take a cue from Retropie creating a script that automatically transfers the Roms and Bios at the insertion of a USB stick
The script is composed by:
- usbsync.sh (is the actual script)
- recalbox-usbmount.sh (is a modified copy of the existing file)
- install.sh (which is used to copy the other two scripts to the right folder)
Installation:
1- copy the three files to the USB stick
2- create a folder called "batocera" in the root of the USB stick
3- Connect the USB stick to your retrogaming system
4- launch the install.sh file
5- unmount and remount the USB stick
6- usbsync.sh will create the two roms and bios folders (with their subfolders) inside /batocera
Now everything is ready and the USB stick is initialized
Operation:
1- insert the pen into the PC and copy the roms inside the respective folders to /batocera/roms ...
2- same thing for bios if necessary
3- Connect the USB stick to your retrogaming system
4- the usbsync.sh script will copy the files on the USB stick into the memory of your retrogaming system
5- after the transfer, a file called "roms_list.txt" will be created inside the USB stick with the list of the roms present
6- if everything has worked correctly, the stick is automatically disassembled
Now you need to reload the list of games via the Emulation Station menu
The script also backups save data and configs to the USB stick