Skip to content

Commit 4c5e06b

Browse files
rootroot
root
authored and
root
committed
Batocera support
-Added ttyecho for launching MCA games from separate tty and process group leader, to allow for switching to game VT video on launch and back to EmulationStation on exit. -Small update to main README.md. -Updated Batocera runtime environment support scripts and es_systems.cfg file to support above mentioned launch method.
1 parent 57d6c6d commit 4c5e06b

34 files changed

+643
-478
lines changed

McAirpos/Batocera34/art/logos/makecode.svg

100755100644
File mode changed.
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
export LD_LIBRARY_PATH=/lib32/arm-linux-gnueabihf
4+
export SPA_PLUGIN_DIR="/lib32/arm-linux-gnueabihf/spa-0.2"
5+
export PIPEWIRE_MODULE_DIR="/lib32/arm-linux-gnueabihf/pipewire-0.3"
6+
7+
chvt 1
8+
/home/pi/McAirpos/McAirpos/launCharc/launCharc $1
9+
sleep 1
10+
chvt 2
11+
12+
export LD_LIBRARY_PATH=
13+
export SPA_PLUGIN_DIR=
14+
export PIPEWIRE_MODULE_DIR=

McAirpos/Batocera34/batocera_re.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export LD_LIBRARY_PATH=/lib32/arm-linux-gnueabihf
2+
export SPA_PLUGIN_DIR="/lib32/arm-linux-gnueabihf/spa-0.2"
3+
export PIPEWIRE_MODULE_DIR="/lib32/arm-linux-gnueabihf/pipewire-0.3"
4+

McAirpos/Batocera34/batocera_re.tar.gz

100755100644
File mode changed.

McAirpos/Batocera34/batocera_re.un.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
export LD_LIBRARY_PATH=
4+
export SPA_PLUGIN_DIR=
5+
export PIPEWIRE_MODULE_DIR
6+

McAirpos/Batocera34/configs/emulationstation/es_systems_makecode.cfg

100755100644
+6-2
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1+
12
<?xml version="1.0"?>
23
<systemList>
34
<system>
45
<fullname>MakeCode Arcade</fullname>
56
<name>MakeCode</name>
7+
<manufacturer>Microsoft</manufacturer>
68
<path>/userdata/roms/makecode</path>
9+
<release>1982</release>
10+
<hardware>emulator</hardware>
711
<extension>.elf .ELF</extension>
8-
<command>/usr/bin/launCharc %ROM%</command>
12+
<command>. /home/pi/McAirpos/McAirpos/Batocera34/batocera_re.sh;/home/pi/McAirpos/McAirpos/ttyecho/ttyecho -n /dev/tty3 /home/pi/McAirpos/McAirpos/Batocera34/batocera_launCharc.sh %ROM%;/home/pi/McAirpos/McAirpos/Batocera34/batocera_re.un.sh</command>
913
<platform>makecode</platform>
1014
<theme>makecode</theme>
1115
<emulators>
1216
<emulator name="launCharc">
1317
<cores>
14-
<core priority="1">launCharc</core>
18+
<core default="true">launCharc</core>
1519
</cores>
1620
</emulator>
1721
</emulators>

McAirpos/Recalbox8/systemlist.xml_MakeCode_RB

100755100644
File mode changed.

McAirpos/Recalbox8/themes/recalbox-next/makecode/custom.xml

100755100644
File mode changed.

McAirpos/Recalbox8/themes/recalbox-next/makecode/data/console.svg

100755100644
File mode changed.

McAirpos/Recalbox8/themes/recalbox-next/makecode/data/consolegame.svg

100755100644
File mode changed.

McAirpos/Recalbox8/themes/recalbox-next/makecode/data/controller.svg

100755100644
File mode changed.

McAirpos/Recalbox8/themes/recalbox-next/makecode/data/controls.svg

100755100644
File mode changed.

McAirpos/Recalbox8/themes/recalbox-next/makecode/data/icon_empty.svg

100755100644
File mode changed.

McAirpos/Recalbox8/themes/recalbox-next/makecode/data/icon_filled.svg

100755100644
File mode changed.

McAirpos/Recalbox8/themes/recalbox-next/makecode/data/logo.svg

100755100644
File mode changed.

McAirpos/Recalbox8/usr/share/alsa/cards/vc4-hdmi.conf

100755100644
File mode changed.

McAirpos/launCharc/launCharc

156 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)