Hi Batocera Team Thanx for the great Emulation OS !!!😊
I have here a Script for the ES Emulation Station.
C64, 128, 16 Plus 4 and PET systems are different home computers
and therefore not 100% compatible with each other.
This script adds the home computers in the menu.
<system>
<fullname>Commodore 128</fullname>
<name>c128</name>
<path>/userdata/roms/c128</path>
<extension>.d64 .D64 .zip .ZIP .7z .7Z</extension>
<command>python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.py %CONTROLLERSCONFIG% -system %SYSTEM% -rom %ROM%</command>
<platform>c128</platform>
<theme>c128</theme>
<emulators>
<emulator name="libretro">
<cores>
<core>vice</core>
</cores>
</emulator>
<emulator name="vice">
<cores>
<core>x64</core>
<core>x64dtv</core>
<core>x128</core>
<core>xscpu64</core>
</cores>
</emulator>
</emulators>
</system>
<system>
<fullname>Commodore VC20</fullname>
<name>VC20</name>
<path>/userdata/roms/c20</path>
<extension>.d64 .D64 .zip .ZIP .7z .7Z .prg</extension>
<command>python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.py %CONTROLLERSCONFIG% -system %SYSTEM% -rom %ROM%</command>
<platform>c20</platform>
<theme>c20</theme>
<emulators>
<emulator name="libretro">
<cores>
<core>vice</core>
</cores>
</emulator>
<emulator name="vice">
<cores>
<core>xvic</core>
</cores>
</emulator>
</emulators>
</system>
<system>
<fullname>Commodore Plus4</fullname>
<name>Plus4</name>
<path>/userdata/roms/Plus4</path>
<extension>.d64 .D64 .zip .ZIP .7z .7Z .prg .tap</extension>
<command>python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.py %CONTROLLERSCONFIG% -system %SYSTEM% -rom %ROM%</command>
<platform>Plus4</platform>
<theme>Plus4</theme>
<emulators>
<emulator name="libretro">
<cores>
<core>vice</core>
</cores>
</emulator>
<emulator name="vice">
<cores>
<core>xplus4</core>
</cores>
</emulator>
</emulators>
</system>
<system>
<fullname>Commodore PET</fullname>
<name>PET</name>
<path>/userdata/roms/PET</path>
<extension>.d64 .D64 .zip .ZIP .7z .7Z .prg .T64 .t64 .d80 .D80 .tap .TAP .PRG</extension>
<command>python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.py %CONTROLLERSCONFIG% -system %SYSTEM% -rom %ROM%</command>
<platform>PET</platform>
<theme>PET</theme>
<emulators>
<emulator name="libretro">
<cores>
<core>vice</core>
</cores>
</emulator>
<emulator name="vice">
<cores>
<core>xpet</core>
</cores>
</emulator>
</emulators>
</system>
this script can be inserted into es_systems.cfg and of course you have to adjust the graphical user interface so that it also looks appealing. I did that with my theme and it works very well and does not always have to be in the extended menu
change the settings, I hope I could help a few people.😊