Agregar Sistemas personalizados a Batocera
Add custom systems to BatoceraAGREGAR SISTEMAS PERSONALIZADOS DE JUEGOS EN BATOCERA
Add your own custom systems to Batocera
Capcom, SNK, Lucha, Naves, Futbol, Sega Raspberry Pi Buenos Aires, como quieras que se llame, vos tenés el poder.
Para realizar esto en Batocera debemos entrar por Putty o Termius, openssh en linux:
For make this on Batocera we have to use Putty, Termius or openssh on linux
Putty:
Colocar la IP_Batocera, dale a conectar o aceptar, responde que sí, pone las credenciales:
Put your Batocera_IP click on Connect, Acept, answer Yes and login:
login: root
password: linuxlinux
OpenSSH:
ssh root@IPdeBatocera
login: root
password: linux
Termius:
Elegi Continue without Account, Agrega el host con +, New Host
En Alias lo que se te ocurra.
En Hostname la IP de Batocera
En Port 22
En Username: root
En Password: linux
En Key toca el icono de la llave, luego +, luego Generate Key, en Name lo que quieras, acepta tocando el verificar, toca la clave creada. dale a verificar. Toca el Host creado, Connect. Listo, manos a la obra ahora:
Paso 1:
En Batocera debemos montar el sistema como escritura con--On Batocera we have to mount the system for write:
mount -o remount,rw /
Paso 2:
Movernos a la carpeta de emulationstation--Move to emulationstation folder:
cd /etc/emulationstation
Paso 3:
En Batocera, no podemos o recomiendan, no editar este archivo, para editarlo, antes, debemos hacerlo amigable para nosotros, el usuario, esto lo hacemos de la siguiente forma.--Batocera recommend not modify the system files, but if you want, we need make sure to change to an user location, so we do that:
cp es_systems.cfg /userdata/system/configs/emulationstation/
Paso 4:
Ahora haremos un Backup--Make a backup:
cd /userdata/system/configs/emulationstation/
cp es_systems.cfg es_systems.viejito
Paso 5:
Agregar nuestro sistema personalizado, basado en uno existente.--Add or custom system based on one existing. Ej: Megadrive
nano es_systems.cfg
Nuestro emulador base--Our base system:
<system>
<fullname>Sega Megadrive</fullname>
<name>megadrive</name>
<path>/userdata/roms/megadrive</path>
<extension>.bin .BIN .gen .GEN .md .MD .sg .SG .smd .SMD .zip .ZIP .7z .7Z</extension>
<command>python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.py %CONTROLLERSCONFIG% -system %SYSTEM% -rom %ROM%</command>
<platform>genesis, megadrive</platform>
<theme>megadrive</theme>
<emulators>
<emulator name="libretro">
<cores>
<core>genesisplusgx</core>
<core default="true">picodrive</core>
</cores>
</emulator>
</emulators>
</system>
Replicamos y cambiamos las etiquetas--Copy and change the next <tags> <etiqueta> fullname, name, path, extension, theme:
La etiqueta <extension> es opcional, solo replicamos las extensiones en mayúsculas por si en algún romset las extensiones se encuentran en mayúsculas.--The tag <extension> is optional. Sometimes we will found romset named in capital, this way we sure that the rom wiil be run.
<system>
<fullname>Sega Raspberry Pi Buenos Aires</fullname>
<name>rpibuenosaires</name>
<path>/userdata/roms/rpibuenosaires</path>
<extension>.bin .BIN .gen .GEN .md .MD .sg .SG .smd .SMD .zip .ZIP .7z .7Z</extension>
<command>python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.py %CONTROLLERSCONFIG% -system %SYSTEM% -rom %ROM%</command>
<platform>genesis, megadrive</platform>
<theme>rpibuenosaires</theme>
<emulators>
<emulator name="libretro">
<cores>
<core>genesisplusgx</core>
<core default="true">picodrive</core>
</cores>
</emulator>
</emulators>
</system>
Batocera V35 & V36 & V37 & V38 & V39:
Agregar nuestro sistema personalizado, basado en uno existente.--Add or cuustom system based on one existing. Ej: Megadrive
nano es_systems.cfg
Nuestro emulador base--Our base system:
<system>
<fullname>Mega Drive</fullname>
<name>megadrive</name>
<manufacturer>Sega</manufacturer>
<release>1988</release>
<hardware>console</hardware>
<path>/userdata/roms/megadrive</path>
<extension>.BIN .bin .GEN .gen .MD .md .SG .sg .SMD .smd .ZIP .zip .7Z .7z</extension>
<command>emulatorlauncher %CONTROLLERSCONFIG% -system %SYSTEM% -rom %ROM% -gameinfoxml %GAMEINFOXML% -systemname %SYSTEMNAME%</command>
<platform>genesis, megadrive</platform>
<theme>megadrive</theme>
<group>megadrive</group>
<emulators>
<emulator name="libretro">
<cores>
<core default="true">genesisplusgx</core>
<core>picodrive</core>
</cores>
</emulator>
</emulators>
</system>
Replicamos y cambiamos las etiquetas--Copy and change the next <tags> <etiqueta> fullname, name, path, extension, theme, group:
La etiqueta <extension> es opcional, solo replicamos las extensiones en mayúsculas por si en algún romset las extensiones se encuentran en mayúsculas.--The tag <extension> is optional. Sometimes we will found romset named in capital, this way we sure that the rom wiil be run.
<system>
<fullname>Sega Raspberry Pi Buenos Aires</fullname>
<name>rpibuenosaires</name>
<manufacturer>Sega</manufacturer>
<release>1988</release>
<hardware>console</hardware>
<path>/userdata/roms/rpibuenosaires</path>
<extension>.BIN .bin .GEN .gen .MD .md .SG .sg .SMD .smd .ZIP .zip .7Z .7z</extension>
<command>emulatorlauncher %CONTROLLERSCONFIG% -system %SYSTEM% -rom %ROM% -gameinfoxml %GAMEINFOXML% -systemname %SYSTEMNAME%</command>
<platform>genesis, megadrive</platform>
<theme>rpibuenosaires</theme>
<group>rpibuenosaires</group>
<emulators>
<emulator name="libretro">
<cores>
<core default="true">genesisplusgx</core>
<core>picodrive</core>
</cores>
</emulator>
</emulators>
</system>
Paso 4:
Guardar y cerrar el archivo--Close and save:
Ctrl+ o (vocal o) , enter, Ctrl+x
Paso 5:
Creamos el directorio rom de nuestro sistema personalizado--We make our rom directory for our custom system:
cd /userdata/roms/
mkdir rpibuenosaires
Paso 6:
Debemos conseguir una foto para que sea nuestro logo, debe tener extensión .svg, colocarla en la carpeta creada para facilitar su copia a la carpeta correcta del theme:
We need a logo for our custom system, need have an .svg extension, momentarily we put in our rom folder for copy later to our theme folder:
/userdata/roms/rpibuenosaires/rpibuenosaires.svg
Y nombrarla--named rpibuenosaires.extension donde extensión debe ser--where extension need to be .svg
Esto lo podemos hacer por--We can copy using ftp como hacemos con las--like we do with roms y--and bios.
Paso 7:
Copiaremos esa foto a la carpeta--Move the logo to es-theme-carbon:
cp(copy) this to there
cp /userdata/roms/rpibuenosaires/rpibuenosaires.svg /etc/emulationstation/themes/es-theme-carbon/art/consoles/
cp /userdata/roms/rpibuenosaires/rpibuenosaires.svg /etc/emulationstation/themes/es-theme-carbon/art/logos/
Para perfeccionar esto podemos reemplazar las otras fotos--To make more perfect our theme system, get more pics for:
controllers
background
Estas las reemplazamos así--And we can replace them with:
cp(copy) this to there
cp /userdata/roms/rpibuenosaires/rpibuenosaires.svg /etc/emulationstation/themes/es-theme-carbon/art/controllers/
cp /userdata/roms/rpibuenosaires/rpibuenosaires.svg /etc/emulationstation/themes/es-theme-carbon/art/background/
Date cuenta que rpibuenosaires.svg tendrá siempre el nombre de nuestro sistema personalizado pero no será la misma fotografía.--Note that rpibuenosaires.svg will have always the name of our custom system but not the same picture!
Paso 8:
En Batocera cualquier cambio hecho al sistema debe ser guardado con el siguiente comando, guardemos lo realizado--On Batocera we need to write the change to the overlay, so save it:
batocera-save-overlay
Paso 10:
Ahora sí, podemos reiniciar--Now reboot.
reboot
Paso 11:
Ponemos una rom en nuestra carpeta rpibuenosaires .Ahora debemos ir a nuestra consola recién creada y debemos elegir el emulador por defecto, ya que Batocera, no solo es muy cerrado, sino que coloca todo en AUTO, pero no le da el coco cuando creamos nuestra consola.--We need to put a rom on rpibuenosaires folder and to teach at Batocera which Emulator use, because put AUTO and that make our custom console dont run so define one emulator:
Presionamos Start -> Elegimos CONFIGURACIÓN DE JUEGOS -> CONFIGURACIÓN AVANZADA POR SISTEMA -> Sega Jujuy -> EMULADOR -> LIBRETRO/GENESISPLUSX -> VOLVER -> VOLVER -> VOLVER -> START o botón Atras.
Press Start -> GAME SETTINGS -> PER SYSTEM ADVANCED CONFIGURATION -> Sega Raspberry Pi Buenos Aires -> EMULATOR -> LIBRETRO/GENESISPLUSX -> BACK -> BACK -> BACK -> START
Es recomendable que reiniciemos nuevamente para que estos cambios se guarden.--Is recommended power off the system to save all the changes:
START -> SALIR -> REINICIAR EL SISTEMA
START -> QUIT -> SHUTDOWN SYSTEM
Listo, a "crear"!--That's all!
Putty web oficial:
OpenSSH:
sudo apt install openssh-server openssh-client