Sega Model 3
Cómo agregar Sega Model 3 en RetroPie o en Raspberry Pi OS
Recomendación 2023 pasos de Instrucciones para Raspberry Pi OS Bullseye como AppInstrucciones en RetroPie:
Debemos salir de Emulationstation y estar conectados a una red WiFi o Ethernet con Internet, para ello vamos a presionar START y elegir QUIT, QUIT EMULATIONSTATION, esto nos llevara a la Terminal de RetroPie, en ella escribiremos todos los comandos detallados en el articulo siguiente:
Descargamos el script necesario dentro de la carpeta emulators:
cd $HOME/RetroPie-Setup/scriptmodules/emulators/
wget https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/bcc1bfb9ef00ded0b060f70df06d10c6660f07f1/00-scriptmodules-00/emulators/supermodel-mechafatnick.sh
Ahora podemos regresar a Emulationstation o abrir directamente retropie_setup.sh :
sudo $HOME/RetroPie-Setup/./retropie_setup.sh
Una vez abierto RetroPie Setup, nos dirigimos a manage experimental packages y buscamos la opción 53 Supermodel-mechafatnick, presionamos Enter sobre él y elegimos Install from source, nos movemos a Yes, aceptamos con Enter y aguardamos. Si falla por algún corte de internet, simplemente aceptamos y volvemos a darle a Install from Source. Esto tardará unos minutos, paciencia!
Una vez instalado, elegimos <back> y presionamos Enter para regresar, repetimos hasta llegar al menu que dice <Exit>.
Solo nos queda agregar la carpeta supermodel a nuestro theme(Por defecto Carbon), comparto el mío, si no te gusta, más abajo tenes los pasos para realizarlo manualmente.
cd
git clone https://github.com/PIBSAS/SuperModel3_Pi_Buenos_Aires.git
cd SuperModel3_Pi_Buenos_Aires
sudo mv $HOME/SuperModel3_Pi_Buenos_Aires/model3 /etc/emulationstation/themes/carbon/supermodel
Los juegos van en la carpeta supermodel con extensión .zip:
$HOME/RetroPie/roms/supermodel
Aun no se puede estirar la pantalla, en raspberry pi OS si, en el puedes tener RetroPie como una App.
Instrucciones para RetroPie compilado en Raspberry Pi OS:
Obtener los Archivos necesarios:
git clone https://github.com/PIBSAS/SuperModel3_Pi_Buenos_Aires.git
cd SuperModel3_Pi_Buenos_Aires
sudo apt install libsdl2-net-2.0-0 -y
Una vez obtenidos los archivos, debemos copiar el emulador supermodel a:
/opt/retropie/emulators/supermodel/bin/
Para ello crearemos las carpetas supermodel y bin:
sudo mkdir /opt/retropie/emulators/supermodel
sudo mkdir /opt/retropie/emulators/supermodel/bin
Copiaremos el emulador en la carpeta bin:
sudo mv $HOME/SuperModel3_Pi_Buenos_Aires/supermodel /opt/retropie/emulators/supermodel/bin/
Ahora haremos lo mismo con las carpetas Config, NVRAM, Saves, Shaders:
sudo mv $HOME/SuperModel3_Pi_Buenos_Aires/Config /opt/retropie/emulators/supermodel/bin
sudo mv $HOME/SuperModel3_Pi_Buenos_Aires/NVRAM /opt/retropie/emulators/supermodel/bin
sudo mv $HOME/SuperModel3_Pi_Buenos_Aires/Saves /opt/retropie/emulators/supermodel/bin
sudo mv $HOME/SuperModel3_Pi_Buenos_Aires/Shaders /opt/retropie/emulators/supermodel/bin
Ahora crearemos la carpeta model3 para las configuraciones de RetroPie en:
sudo mkdir /opt/retropie/configs/model3
Y copiaremos los archivos emulators.cfg, retroarch.cfg y joystick-selection.cfg a dicha carpeta:
sudo mv $HOME/SuperModel3_Pi_Buenos_Aires/emulators.cfg /opt/retropie/configs/model3/
sudo mv $HOME/SuperModel3_Pi_Buenos_Aires/retroarch.cfg /opt/retropie/configs/model3/
sudo mv $HOME/SuperModel3_Pi_Buenos_Aires/joystick-selection.cfg /opt/retropie/configs/model3/
Crearemos enlaces simbolicos a nuestro Home:
cd
sudo ln -s /opt/retropie/emulators/supermodel/bin/Config Config
sudo ln -s /opt/retropie/emulators/supermodel/bin/NVRAM NVRAM
Le damos permisos a supermodel:
sudo chmod 755 -R /opt/retropie/emulators/supermodel/bin
sudo chmod 755 -R $HOME/Config
Agregamos Sega Model 3 como consola a Emulationstation:
Creamos una nueva carpeta para almacenar nuestros juegos:
mkdir $HOME/RetroPie/roms/model3
En el pondremos nuestras roms .zip
Ahora editamos es_systems.cfg para agregar Sega Model 3:
sudo nano /etc/emulationstation/es_systems.cfg
En el agregaremos lo siguiente luego de la etiqueta <systemList> y antes de la etiqueta <system>, o sea, presionamos enter tras situarnos al final de la etiqueta <systemList>, en nano movemos el cursor con las flechas del teclado y estará situado el cursor tras > , como se puede apreciar en la captura:
Escribiremos las siguientes lineas:
<system>
<name>model3</name>
<fullname>Sega Model 3</fullname>
<path>~/RetroPie/roms/model3</path>
<extension>.zip .ZIP</extension>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ model3 %ROM%</command>
<platform>arcade</platform>
<theme>model3</theme>
<directlaunch/>
</system>
Guardaremos los cambios con Ctrl+o (Vocal o) luego Enter y finalmente Ctrl+x para cerrar el archivo. Debemos tener especial cuidado en no cometer ningun error de tipeo, sino nuestro RetroPie no booteará, obviamente lo solucionaremos buscando el error de tipeo que cometimos o reestableciendo el archivo original con el comando:
sudo cp /etc/emulationstation/es_systems.cfg.bak /etc/emulationstation/es_systems.cfg
Y reintentando nuevamente, pero esta vez con más cuidado.
Ahora como podemos leer en la etiqueta <theme> hemos indicado que utilice un theme llamado model3, el cual no existe! Asi que a crearlo, nos valdremos de una copia del theme arcade:
sudo cp -rf /etc/emulationstation/themes/carbon/arcade /etc/emulationstation/themes/carbon/model3
Lo que hicimos fue copiar y renombrar la carpeta arcade y renombrarla a model3, con todo su contenido, en donde veremos la carpeta art, la que contiene 3 archivos:
/etc/emulationstation/themes/carbon/model3/art/system.svg
/etc/emulationstation/themes/carbon/model3/art/system2.svg
/etc/emulationstation/themes/carbon/model3/art/controller.svg
Asi que buscaremos un logo de sega model 3 que nos guste, si está en formato .svg mejor, sino en .png, al encontrarlo y bajar el deseado(pueden usar el de este articulo pero es .png), lo renombraremos system con su extensión sea .svg o .png, procedermos a copiarla a la carpeta:
sudo mv $HOME/system.svg /etc/emulationstation/themes/carbon/model3/art/
Si encontraste una imagen .svg safaste de hacer esto!!!:
Y si usas la que bajamos system.png:
sudo mv $HOME/SuperModel3_Pi_Buenos_Aires/system.png /etc/emulationstation/themes/carbon/model3/art/
Siendo este último caso, deberemos modificar el archivo theme.xml y cambiar la extensión en donde dice system.svg por system.png :
sudo nano /etc/emulationstation/themes/carbon/model3/theme.xml
Modificamos las lineas donde el archivo dice system.svg, quedándonos así:
<theme>
<formatVersion>3</formatVersion>
<include>./../carbon.xml</include>
<view name="system">
<image name="ControllerOverlay" extra="true">
<tile>false</tile>
<pos>0.5 0.2</pos>
<origin>0.5 0.5</origin>
<size>0.3 0</size>
<path>./art/controller.svg</path>
<!-- <color>8b0000</color> -->
</image>
<image name="logo">
<path>./art/system.png</path>
</image>
</view>
<view name="basic, detailed, video">
<image name="logo">
<path>./art/system.png</path>
<pos>0.266 0.074</pos>
<maxSize>0.460 0.126</maxSize>
<origin>0.5 0.5</origin>
</image>
<image name="logo2" extra="true">
<path>./art/controller.svg</path>
<pos>0.874 0.074</pos>
<maxSize>0.460 0.126</maxSize>
<origin>0.5 0.5</origin>
<color>bbbbbb</color>
</image>
</view>
<view name="basic"> </view>
<view name="detailed"> </view>
</theme>
Una vez realizados los cambios, guardamos con Ctrl+o (vocal o) luego Enter y finalmente Ctrl+x para salir del editor nano.
Con esto y si la imagen elegida sirve, ya solo queda bajar los juegos y jugar!!!
Reiniciemos RetroPie:
reboot
Instrucciones para Raspberry Pi OS Bullseye como app:
Requisitos previos:
sudo apt update && sudo apt full-upgrade -y
sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-net-dev
Descargamos el último código disponible desde SourceForge:
Presionamos Download Snapshot para descargar el último source code.(Hoy en 25 de Febrero de 2023, el último es del 29 de Junio de 2022).
O con el siguiente link directo desde la Terminal:
wget -c https://sourceforge.net/code-snapshots/svn/m/mo/model3emu/code/model3emu-code-r888-trunk.zip -P $HOME/Downloads/
Descomprimimos el ZIP:
cd Downloads/
unzip model3emu*.zip
Con lo cual obtendremos la carpeta $HOME/Downloads/model3emu-code-r888-trunk (Puede variar o no el nombre con el tiempo), en ella modificaremos el archivo:
nano $HOME/Downloads/model3emu*trunk/Makefiles/Rules.inc
En el agregaremos -march=native a la línea 72 [Creditos a Mechafatnick], o buscamos donde dice Compiler options y cambiamos de esto:
# Compiler options
#
ARCH =
OPT = -O3
WARN = -Wall
CSTD = -std=iso9899:2011
CXXSTD = -std=c++17
a esto:
# Compiler options
#
ARCH = -march=native
OPT = -O3
WARN = -Wall
CSTD = -std=iso9899:2011
CXXSTD = -std=c++17
Como podemos observar lo único que modificamos es ARCH =, así que si en el futuro vemos que algo de las demás líneas cambia, no es algo que nos importe.
Guardamos el cambio Ctrl+o, Enter, Ctrl+x y ya estamos en condiciones de compilar el emulador.
Para esto debemos entrar en la carpeta descomprimida:
cd $HOME/Downloads/model3emu*/
Recordemos que la carpeta cambiara de nombre en el futuro. Copiaremos el archivo Makefile.UNIX a la carpeta que acabamos de entrar, cambiando su nombre a Makefile:
cp Makefiles/Makefile.UNIX Makefile
Ahora compilamos:
make
Lo cual creará una carpeta bin donde estará nuestro emulador recién compilado, supermodel . Ahora copiaremos el emulador a nuestro Home y moveremos la carpeta Config que contiene el Gamelist.xml y el archivo de configuración Supermodel.ini, también crearemos las carpetas NVRAM, Saves y ROMs.
cd
mv $HOME/Downloads/model3emu*/bin/supermodel ./
mkdir NVRAM Saves ROMs
mv $HOME/Downloads/model3emu*/Config ./
Podremos lanzar cualquier juego con el comando:
./supermodel ROMs/juego.zip -fullscreen -wide-screen -wide-bg -legacy3d
Podemos ver más comandos y los juegos debajo.
Por otro lado podemos aprovechar el trabajo que realizo Mecafatnick en el archivo Supermodel.ini, lo que agrego a dicho archivo nos permite, tener opciones pre-configuradas para los juegos, además de algunos controles extras para facilitarnos la vida con el teclado en la Raspberry Pi, el cambio más grande es simple, solo agregar al final del archivo todo el bloque de configuraciones, el otro debemos meterlo a partir de la línea 53, para ello buscaremos el bloque que está titulado ; Common :
geany $HOME/Config/Supermodel.ini
En él buscamos el bloque titulado ; Common (Línea 44):
; Common
InputStart1 = "KEY_1,JOY1_BUTTON9"
InputStart2 = "KEY_2,JOY2_BUTTON9"
InputCoin1 = "KEY_3,JOY1_BUTTON10"
InputCoin2 = "KEY_4,JOY2_BUTTON10"
InputServiceA = "KEY_5"
InputServiceB = "KEY_7"
InputTestA = "KEY_6"
InputTestB = "KEY_8"
Tras esta linea (52) agregaremos el siguiente bloque:
; Common
InputStart1 = "KEY_1,JOY1_BUTTON9"
InputStart2 = "KEY_2,JOY2_BUTTON9"
InputCoin1 = "KEY_3,JOY1_BUTTON10"
InputCoin2 = "KEY_4,JOY2_BUTTON10"
InputServiceA = "KEY_5"
InputServiceB = "KEY_7"
InputTestA = "KEY_6"
InputTestB = "KEY_8"
InputUIExit = "KEY_ESCAPE,JOY1_BUTTON10+JOY1_BUTTON9"
InputUIPause = "JOY1_BUTTON9+JOY1_BUTTON1"
InputUIScreenShot = "JOY1_BUTTON9+JOY1_BUTTON5"
InputUISaveState = "JOY1_BUTTON9+JOY1_BUTTON7"
InputUILoadState = "JOY1_BUTTON9+JOY1_BUTTON8"
Como podemos observar, Mechafatnick nos agregó los botones de Salida, Pausa, Captura, Guardar y Cargar estado.
El último cambio que realizaremos, es un bloque de configuraciones especificas por juego, que lo agregaremos al final del archivo, tras la última línea:
;Our pi-specific non input settings...
EmulateDSB = 0
MusicVolume = 60
SoundVolume = 60
Stretch=1
VSync=0
Throttle=0
;GameXMLFile= Config/Games.xml
New3DEngine=0
;daytona 2 power edition
[ dayto2pe ]
PowerPCFrequency = 90
EmulateDSB = 1
;daytona 2: battle to the edge
[ daytona2 ]
PowerPCFrequency = 90
EmulateDSB = 1
;Dirt Devils (Export, Revision A)
[ dirtdvls ]
PowerPCFrequency = 60
;Dirt Devils (Australia, Revision A)
[ dirtdvlsa ]
PowerPCFrequency = 60
;Dirt Devils (German)
[ dirtdvlsg ]
PowerPCFrequency = 60
;Dirt Devils (Japan, Revision A)
[ dirtdvlsj ]
PowerPCFrequency = 60
;Emergency Call Ambulance (Export) - NOT WORKING PI
[ eca ]
;Emergency Call Ambulance (Japan) - NOIT WORKING PI
[ ecaj ]
;Emergency Call Ambulance (US location test?) - NOT WORKING PI
[ ecap ]
;Emergency Call Ambulance (USA) - NOT WORKING PI
[ ecau ]
;Fighting Vipers 2 (Japan, Revision A)
[ fvipers2 ]
PowerPCFrequency = 55
;Fighting Vipers 2 (?)
[ fvipers2o ]
PowerPCFrequency = 48
;Get Bass (?)
[ getbass ]
PowerPCFrequency = 30
;Harley-Davidson and L.A. Riders (Revision B) - pi too slow
[ harley ]
PowerPCFrequency = 166
;Harley-Davidson and L.A. Riders (Revision A) - pi too slow
[ harleya ]
PowerPCFrequency = 166
;L.A. Machineguns: Rage of the Machines (Japan)
[ lamachin ]
PowerPCFrequency = 40
EmulateDSB = 1
;Le Mans 24 (Revision B)
[ lemans24 ]
;The Lost World (Japan, Revision A)
[ lostwsga ];The Lost World (Original Revision)
PowerPCFrequency = 30
[ lostwsgo ]
PowerPCFrequency = 30
;Magical Truck Adventure (Japan)
[ magtruck ]
;The Ocean Hunter - Default works fine on pi
[ oceanhun ]
;Scud Race (Australia, Twin)
[ scud ]
PowerPCFrequency = 35
MusicVolume = 200
EmulateDSB = 10
;Scud Race (Export, Twin)
[ scuda ]
PowerPCFrequency = 35
MusicVolume = 200
EmulateDSB = 1
;Scud Race (Japan, Deluxe)
[ scudj ]
PowerPCFrequency = 35
MusicVolume = 200
EmulateDSB = 1
;Scud Race Plus (Revision A)
[ scudplus ]
PowerPCFrequency = 35
MusicVolume = 200
EmulateDSB = 1
;Scud Race Plus (?)
[ scudplusa ]
PowerPCFrequency = 35
MusicVolume = 200
EmulateDSB = 1
;Ski Champ (Japan)
[ skichamp ]
;PowerPCFrequency = 43
PowerPCFrequency = 60
InitStateFile = Saves/skichamp.st
;Spikeout Final Edition (?) - too slow on pi
[ spikeofe ]
PowerPCFrequency = 100
EmulateDSB = 1
;Spikeout (Revision C)
[ spikeout ]
;PowerPCFrequency = 35
PowerPCFrequency = 55
EmulateDSB = 1
;Sega Rally 2 (?)
[ srally2 ]
EmulateDSB = 1
PowerPCFrequency = 60
InitStateFile = Saves/srally2.st
;Sega Rally 2 (Prototype)
[ srally2p ]
PowerPCFrequency = 48
EmulateDSB = 1
;Sega Rally 2 (Prototype Version A)
[ srally2pa ]
PowerPCFrequency = 48
EmulateDSB = 1
;Sega Rally 2 (Deluxe)
[ srally2x ] ; Playable on pi but more slower down than srally2
EmulateDSB = 1
;Star Wars Trilogy Arcade (Revision A) - not working pi
[ swtrilgy ]
PowerPCFrequency = 110
EmulateDSB = 1
;Star Wars Trilogy Arcade (?)
[ swtrilgya ]
PowerPCFrequency = 110
EmulateDSB = 1
;Star Wars Trilogy Arcade (?)
[ swtrilgyp ]
PowerPCFrequency = 110
EmulateDSB = 1
;Virtua Fighter 3 (Revision D)
[ vf3 ]
PowerPCFrequency = 40
;Virtua Fighter 3 (Revision A)
[ vf3a ]
PowerPCFrequency = 40
;Virtua Fighter 3 (Revision C)
[ vf3c ]
PowerPCFrequency = 40
;Virtua Fighter 3 Team Battle (?)
[ vf3tb ]
PowerPCFrequency = 40
;Virtual On 2: Oratorio Tangram (Revision B)
[ von2 ]
PowerPCFrequency = 30
;Virtual On 2: Oratorio Tangram (Ver 5.4g)
[ von254g ]
PowerPCFrequency = 30
;Virtual On 2: Oratorio Tangram (Revision A)
[ von2a ]
PowerPCFrequency = 30
;Virtual On 2: Oratorio Tangram (?)
[ von2o ]
PowerPCFrequency = 35
;Virtua Striker 2 (Step 2.0) - no special settings
[ vs2 ]
;Virtua Striker 2 (Step 1.5) - no special settings
[ vs215 ]
;Virtua Striker 2 (Step 1.5, older) - no special settings
[ vs215o ]
;Virtua Striker 2 '98 (Step 2.0) - no special settings
[ vs298 ]
;Virtua Striker 2 '98 (Step 1.5) - no special settings
[ vs29815 ]
;Virtua Striker 2 '99 (?)
[ vs299 ]
;Virtua Striker 2 '99 (Step 1.5)
[ vs29915 ]
;Virtua Striker 2 '99 (Revision A)
[ vs299a ]
;Virtua Striker 2 '99 (Revision B)
[ vs299b ]
;Virtua Striker 2 '99.1 (Revision B)
[ vs2v991 ]
Guardamos las modificaciones y disfrutamos, lo siguiente que podemos realizar es una asociación del menu contextual con los archivos .zip, asi con un simple clic derecho podremos elegir que se ejecute con Supermodel y nos ahorramos la entrada por Terminal.
Abrimos el explorador de Archivos(PcManFM), nos dirigimos a la carpeta ROMs, clic derecho sobre algún juego.zip y elegimos Abrir con.. , una vez abierto el menú, elegimos la pestaña Línea de ordenes personalizadas y pegamos el siguiente comando en el cuadro de entrada Orden de consola que ejecutar: :
./supermodel %f -fullscreen -wide-screen -wide-bg -legacy3d
Y colocamos un nombre en el Campo Nombre de la aplicación(opcional, definalo para mantener la asociación) y aunque nos veamos tentados de tildar Definir aplicación seleccionada como acción predeterminada para archivos de este tipo No lo haremos, ya que deseamos poder seguir descomprimiendo archivos zip de otras cosas que no son juegos!.
Una vez introducidos los 2 campos, le damos a Aceptar y a partir de ahora nos saldrá en el menú contextual o en Abrir con... como opción Supermodel y nuestro juego se ejecutará sin abrir la Terminal.
Juegos
ROM Set Title
------- -----
bassdx Sega Bass Fishing (USA, Deluxe)
dayto2pe Daytona USA 2 - Power Edition (Japan)
daytona2 Daytona USA 2 - Battle on the Edge (Japan, Revision A)
dirtdvls Dirt Devils (Export, Revision A)
dirtdvlsau Dirt Devils (Australia, Revision A)
dirtdvlsg Dirt Devils (Export, Ver. G?)
dirtdvlsj Dirt Devils (Japan, Revision A)
dirtdvlsu Dirt Devils (USA, Revision A)
eca Emergency Call Ambulance (Export)
ecaj Emergency Call Ambulance (Japan)
ecap Emergency Call Ambulance (US location test?)
ecau Emergency Call Ambulance (USA)
fvipers2 Fighting Vipers 2 (Japan, Revision A)
fvipers2o Fighting Vipers 2 (?)
getbass Get Bass: Sega Bass Fishing (Japan, Standard)
getbassdx Get Bass: Sega Bass Fishing (Japan, Deluxe)
getbassur Get Bass: Sega Bass Fishing (Japan, Upright)
harley Harley-Davidson and L.A. Riders (Revision B)
harleya Harley-Davidson and L.A. Riders (Revision A)
lamachin L.A. Machineguns: Rage of the Machines (Japan)
lemans24 Le Mans 24 (Japan, Revision B)
lostwsga The Lost World (Japan, Revision A)
lostwsgp The Lost World (Location Test)
magtruck/mgtrkbad Magical Truck Adventure (Japan)
oceanhun The Ocean Hunter (Japan)
scud Scud Race (Export, Twin/DX)
scudau Scud Race (Australia, Twin/DX)
scuddx Scud Race (Export, Deluxe)
scudplus Scud Race Plus (Export, Twin/DX, Revision A)
scudplusa Scud Race Plus (Export, Twin/DX)
skichamp Ski Champ (Japan)
spikeofe Spikeout Final Edition (Export)
spikeout Spikeout (Export, Revision C)
srally2 Sega Rally 2 (Export)
srally2dx Sega Rally 2 (Export, Deluxe)
srally2p Sega Rally 2 (Prototype)
srally2pa Sega Rally 2 (Prototype Version A)
swtrilgy Star Wars Trilogy Arcade (Export, Revision A)
swtrilgya Star Wars Trilogy Arcade (Export)
swtrilgyp Star Wars Trilogy Arcade (Location Test, 16.09.98)
vf3 Virtua Fighter 3 (Revision D)
vf3a Virtua Fighter 3 (Revision A)
vf3c Virtua Fighter 3 (Revision C)
vf3tb Virtua Fighter 3 Team Battle (?)
von2 Virtual On 2: Oratorio Tangram (Revision B)
von254g Virtual On 2: Oratorio Tangram (Ver 5.4g)
von2a Virtual On 2: Oratorio Tangram (Revision A)
von2o Virtual On 2: Oratorio Tangram (?)
vs2 Virtua Striker 2 (Step 2.0)
vs215 Virtua Striker 2 (Step 1.5)
vs215o Virtua Striker 2 (Step 1.5, older)
vs298 Virtua Striker 2 '98 (Step 2.0)
vs29815 Virtua Striker 2 '98 (Step 1.5)
vs299 Virtua Striker 2 '99 (Export, USA)
vs29915 Virtua Striker 2 '99.1 (Step 1.5 Export, USA, Revision B)
vs29915a Virtua Striker 2 '99 (Step 1.5 Export, USA)
vs29915j Virtua Striker 2 '99.1 (Step 1.5 Japan, Revision B)
vs299a Virtua Striker 2 '99 (Export, USA, Revision A)
vs299j Virtua Striker 2 '99.1 (Japan, Revision B)
vs2v991 Virtua Striker 2 '99.1 (Export, USA, Revision B)
Updated Gamelist: https://github.com/trzy/Supermodel/blob/master/Config/Games.xml
Controles
Common Controls:
P1 Start = KEY_1,JOY1_BUTTON9
P2 Start = KEY_2,JOY2_BUTTON9
P1 Coin = KEY_3,JOY1_BUTTON10
P2 Coin = KEY_4,JOY2_BUTTON10
Service A = KEY_5
Service B = KEY_7
Test A = KEY_6
Test B = KEY_8
Exit UI = KEY_ESCAPE,JOY1_BUTTON10+JOY1_BUTTON9
Pause = JOY1_BUTTON9+JOY1_BUTTON1
Screenshot = JOY1_BUTTON9+JOY1_BUTTON5
Save State = JOY1_BUTTON9+JOY1_BUTTON7
Load State = JOY1_BUTTON9+JOY1_BUTTON8
Select Crosshairs = NONE
Change Save Slot = NONE
4-Way Joysticks:
P1 Joystick Up = KEY_UP,JOY1_UP
P1 Joystick Down = KEY_DOWN,JOY1_DOWN
P1 Joystick Left = KEY_LEFT,JOY1_LEFT
P1 Joystick Right = KEY_RIGHT,JOY1_RIGHT
P2 Joystick Up = JOY2_UP
P2 Joystick Down = JOY2_DOWN
P2 Joystick Left = JOY2_LEFT
P2 Joystick Right = JOY2_RIGHT
Fighting Game Buttons:
P1 Punch = KEY_A,JOY1_BUTTON1
P1 Kick = KEY_S,JOY1_BUTTON2
P1 Guard = KEY_D,JOY1_BUTTON3
P1 Escape = KEY_F,JOY1_BUTTON4
P2 Punch = JOY2_BUTTON1
P2 Kick = JOY2_BUTTON2
P2 Guard = JOY2_BUTTON3
P2 Escape = JOY2_BUTTON4
Spikeout Buttons:
Shift = KEY_A,JOY1_BUTTON1
Beat = KEY_S,JOY1_BUTTON2
Charge = KEY_D,JOY1_BUTTON3
Jump = KEY_F,JOY1_BUTTON4
Virtua Striker Buttons:
P1 Short Pass = KEY_A,JOY1_BUTTON1
P1 Long Pass = KEY_S,JOY1_BUTTON2
P1 Shoot = KEY_D,JOY1_BUTTON3
P2 Short Pass = JOY2_BUTTON1
P2 Long Pass = JOY2_BUTTON2
P2 Shoot = JOY2_BUTTON3
Racing Game Steering Controls:
Steer Left = KEY_LEFT
Steer Right = KEY_RIGHT
Full Steering = JOY1_XAXIS
Accelerator Pedal = KEY_UP,JOY1_UP
Brake Pedal/Front Brake = KEY_DOWN,JOY1_DOWN
Shift Up = KEY_Y
Shift Down = KEY_H
Racing Game Gear 4-Way Shift:
Shift 1 = KEY_Q,JOY1_BUTTON5
Shift 2 = KEY_W,JOY1_BUTTON6
Shift 3 = KEY_E,JOY1_BUTTON7
Shift 4 = KEY_R,JOY1_BUTTON8
Shift Neutral = KEY_T
Racing Game 4 VR View Buttons:
VR1 = KEY_A,JOY1_BUTTON1
VR2 = KEY_S,JOY1_BUTTON2
VR3 = KEY_D,JOY1_BUTTON3
VR4 = KEY_F,JOY1_BUTTON4
Racing Game View Change:
View Change = KEY_A,JOY1_BUTTON1
Racing Game Handbrake:
Hand Brake = KEY_S,JOY1_BUTTON2
Harley Davidson Controls:
Rear Brake = KEY_S,JOY1_BUTTON2
Music Selection = KEY_D,JOY1_BUTTON3
Virtual On Controls:
Macro Turn Left = KEY_Q,JOY1_RXAXIS_NEG
Macro Turn Right = KEY_W,JOY1_RXAXIS_POS
Macro Forward = KEY_UP,JOY1_YAXIS_NEG
Macro Reverse = KEY_DOWN,JOY1_YAXIS_POS
Macro Strafe Left = KEY_LEFT,JOY1_XAXIS_NEG
Macro Strafe Right = KEY_RIGHT,JOY1_XAXIS_POS
Macro Jump = KEY_E,JOY1_BUTTON1
Macro Crouch = KEY_R,JOY1_BUTTON2
Left Joystick Left = NONE
Right Joystick Left = NONE
Left Joystick Right = NONE
Right Joystick Right = NONE
Left Joystick Up = NONE
Right Joystick Up = NONE
Left Joystick Down = NONE
Right Joystick Down = NONE
Left Shot Trigger = KEY_A,JOY1_BUTTON5
Right Shot Trigger = KEY_S,JOY1_BUTTON6
Left Turbo = KEY_Z,JOY1_BUTTON7
Right Turbo = KEY_X,JOY1_BUTTON8
Analog Joystick:
Analog Left = KEY_LEFT
Analog Right = KEY_RIGHT
Analog Up = KEY_UP
Analog Down = KEY_DOWN
Analog X-Axis = JOY_XAXIS,MOUSE_XAXIS
Analog Y-Axis = JOY_YAXIS,MOUSE_YAXIS
Trigger Button 1 = KEY_A,JOY_BUTTON1,MOUSE_LEFT_BUTTON
Trigger Button 2 = KEY_D,JOY_BUTTON2
Event Button 1 = KEY_S,JOY_BUTTON2,MOUSE_RIGHT_BUTTON
Event Button 2 = NONE
Light Guns:
P1 Gun Left = KEY_LEFT
P1 Gun Right = KEY_RIGHT
P1 Gun Up = KEY_UP
P1 Gun Down = KEY_DOWN
P1 Gun X-Axis = MOUSE_XAXIS,JOY1_XAXIS
P1 Gun Y-Axis = MOUSE_YAXIS,JOY1_YAXIS
P1 Trigger = KEY_A,JOY1_BUTTON1,MOUSE_LEFT_BUTTON
P1 Point Off-screen = KEY_S,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON
P2 Gun Left = NONE
P2 Gun Right = NONE
P2 Gun Up = NONE
P2 Gun Down = NONE
P2 Gun X-Axis = JOY2_XAXIS
P2 Gun Y-Axis = JOY2_YAXIS
P2 Trigger = JOY2_BUTTON1
P2 Point Off-screen = JOY2_BUTTON2
Analog Guns:
P1 Analog Gun Left = KEY_LEFT
P1 Analog Gun Right = KEY_RIGHT
P1 Analog Gun Up = KEY_UP
P1 Analog Gun Down = KEY_DOWN
P1 Analog Gun X-Axis = MOUSE_XAXIS,JOY1_XAXIS
P1 Analog Gun Y-Axis = MOUSE_YAXIS,JOY1_YAXIS
P1 Analog Gun Left Trigger = KEY_A,JOY1_BUTTON1,MOUSE_LEFT_BUTTON
P1 Analog Gun Right Trigger = KEY_S,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON
P2 Analog Gun Left = NONE
P2 Analog Gun Right = NONE
P2 Analog Gun Up = NONE
P2 Analog Gun Down = NONE
P2 Analog Gun X-Axis = NONE
P2 Analog Gun Y-Axis = NONE
P2 Analog Gun Left Trigger = NONE
P2 Analog Gun Right Trigger = NONE
Ski Controls:
Ski Champ Left = KEY_LEFT
Ski Champ Right = KEY_RIGHT
Ski Champ Up = KEY_UP
Ski Champ Down = KEY_DOWN
Ski Champ X-Axis = JOY1_XAXIS
Ski Champ Y-Axis = JOY1_YAXIS
Ski Champ Poll Left = KEY_A,JOY1_BUTTON1
Ski Champ Poll Right = KEY_S,JOY1_BUTTON2
Ski Champ Select 1 = KEY_Q,JOY1_BUTTON3
Ski Champ Select 2 = KEY_W,JOY1_BUTTON4
Ski Champ Select 3 = KEY_E,JOY1_BUTTON5
Magical Truck Controls:
P1 Magical Lever Up = KEY_UP
P1 Magical Lever Down = KEY_DOWN
P2 Magical Lever Up = NONE
P2 Magical Lever Down = NONE
P1 Magical Lever = JOY1_YAXIS
P2 Magical Lever = JOY2_YAXIS
P1 Magical Pedal = KEY_A,JOY1_BUTTON1
P2 Magical Pedal = KEY_S,JOY2_BUTTON1
Fishing Controls:
Rod Left = KEY_LEFT
Rod Right = KEY_RIGHT
Rod Up = KEY_UP
Rod Down = KEY_DOWN
Stick Left = KEY_A
Stick Right = KEY_D
Stick Up = KEY_W
Stick Down = KEY_S
Rod X-Axis = JOY1_XAXIS
Rod Y-Axis = JOY1_YAXIS
Reel Speed = KEY_SPACE,JOY1_ZAXIS_POS
Stick X-Axis = JOY1_RXAXIS
Stick Y-Axis = JOY1_RYAXIS
Cast = KEY_Z,JOY1_BUTTON1
Select = KEY_X,JOY1_BUTTON2
Tension = KEY_T,JOY1_ZAXIS_NEG
Salvar y Cargar Partidas
Podemos editar el archivos Supermodel.ini , por defecto viene configurado el Joystick, si usas Teclado podes elegir 2 teclas y agregarlas:
nano /opt/retropie/emulators/supermodel-mechafatnick/Config/Supermodel.ini
Y agregar 2 Teclas, ejemplo K para Guardar, L para Cargar, lo hacemos en la sección Common:
InputUISaveState = "KEY_K, JOY1_BUTTON9+JOY1_BUTTON7"
InputUILoadState = "KEY_L, JOY1_BUTTON9+JOY1_BUTTON8"
Opciones de Supermodel
Las siguientes opciones pueden agregarse al archivo emulators.cfg, agregue las opciones para que se estire falsamente hacía los lados de la pantalla, si no te gusta, elimina la opcion:
-wide-screen -wide-bg
Y si queres ocupar toda la pantalla con la posibilidad de que algunos o todos los juegos se tornen lentisimos, podes agregar antes de %ROM% , la opción:
-res=<x>,<y>
Para un tv de 1080p quedaría:
-res=1920,1080
Ejemplo:
supermodel = "XINIT:/opt/retropie/emulators/supermodel/bin/supermodel -game-xml-file=/opt/retropie/emulators/supermodel/bin/Config/Games.xml -gpu-multi-threaded -fullscreen -wide-screen -wide-bg -res=1920,1080 %ROM%"
Usage: Supermodel <romset> [options]
ROM set must be a valid ZIP file containing a single game.
General Options:
-?, -h, -help, --help Print this help text
-print-games List supported games and quit
-game-xml-file=<file> ROM set definition file [Default: Config/Games.xml]
-log-output=<outputs> Log output destination(s) [Default: Supermodel.log]
-log-level=<level> Logging threshold [Default: info]
Core Options:
-ppc-frequency=<freq> PowerPC frequency in MHz [Default: 50]
-no-threads Disable multi-threading entirely
-gpu-multi-threaded Run graphics rendering in separate thread [Default]
-no-gpu-thread Run graphics rendering in main thread
-load-state=<file> Load save state after starting
Video Options:
-res=<x>,<y> Resolution [Default: 496,384]
-window Windowed mode [Default]
-fullscreen Full screen mode
-wide-screen Expand 3D field of view to screen width
-wide-bg When wide-screen mode is enabled, also expand the 2D background layer to screen width
-stretch Fit viewport to resolution, ignoring aspect ratio
-no-throttle Disable 60 Hz frame rate lock
-vsync Lock to vertical refresh rate [Default]
-no-vsync Do not lock to vertical refresh rate
-show-fps Display frame rate in window title bar
-crosshairs=<n> Crosshairs configuration for gun games: 0=none [Default], 1=P1 only, 2=P2 only, 3=P1 & P2
-new3d New 3D engine by Ian Curtis [Default]
-quad-rendering Enable proper quad rendering
-legacy3d Legacy 3D engine (faster but less accurate)
-multi-texture Use 8 texture maps for decoding (legacy engine)
-no-multi-texture Decode to single texture (legacy engine) [Default]
-vert-shader=<file> Load Real3D vertex shader for 3D rendering
-frag-shader=<file> Load Real3D fragment shader for 3D rendering
-vert-shader-fog=<file> Load Real3D scroll fog vertex shader (new engine)
-frag-shader-fog=<file> Load Real3D scroll fog fragment shader (new engine)
-vert-shader-2d=<file> Load tile map vertex shader
-frag-shader-2d=<file> Load tile map fragment shader
-print-gl-info Print OpenGL driver information and quit
Audio Options:
-sound-volume=<vol> Volume of SCSP-generated sound in %, applies only when Digital Sound Board is present [Default: 100]
-music-volume=<vol> Digital Sound Board volume in % [Default: 100]
-balance=<bal> Relative front/rear balance in % [Default: 0]
-flip-stereo Swap left and right audio channels
-no-sound Disable sound board emulation (sound effects)
-no-dsb Disable Digital Sound Board (MPEG music)
-new-scsp New SCSP engine based on MAME [Default]
-legacy-scsp Legacy SCSP engine by ElSemi
Input Options:
-force-feedback Enable force feedback (DirectInput, XInput)
-config-inputs Configure keyboards, mice, and game controllers
-print-inputs Prints current input configuration
Si llegaste hasta acá, sorpresa!!! Hay un Script de auto instalación que realiza todo, menos la descarga de roms, comparto mi theme, y mi archivo es_systems.cfg , si tenes el tu sistema personalizado no lo utilices y sigue los pasos detallados en el artículo.
Si tu sistema es RetroPie original de la web "https://retropie.org.uk" y aún no has personalizado nada usalo!
Escribe en la Terminal:
cd $HOME/SuperModel3_Pi_Buenos_Aires/
chmod +x supermodel_Raspberry_Pi_Buenos_Aires_Autoinstall.sh
./supermodel_Raspberry_Pi_Buenos_Aires_Autoinstall.sh
Otros Tutoriales de RetroPie:
Basado en articulo de mechafatnick: https://mechafatnick.co.uk/2021/06/13/becoming-a-super-model-adding-model-3-games-to-your-pi4/
RetroPie(@mechafatnick & @Folly):https://retropie.org.uk/forum/topic/26909/sega-model-3-segamodel3