Skip to content

Commit

Permalink
Batocera support
Browse files Browse the repository at this point in the history
-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.
  • Loading branch information
root authored and root committed Jun 15, 2022
1 parent 57d6c6d commit 4c5e06b
Show file tree
Hide file tree
Showing 34 changed files with 643 additions and 478 deletions.
Empty file modified McAirpos/Batocera34/art/logos/makecode.svg
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions McAirpos/Batocera34/batocera_launCharc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

export LD_LIBRARY_PATH=/lib32/arm-linux-gnueabihf
export SPA_PLUGIN_DIR="/lib32/arm-linux-gnueabihf/spa-0.2"
export PIPEWIRE_MODULE_DIR="/lib32/arm-linux-gnueabihf/pipewire-0.3"

chvt 1
/home/pi/McAirpos/McAirpos/launCharc/launCharc $1
sleep 1
chvt 2

export LD_LIBRARY_PATH=
export SPA_PLUGIN_DIR=
export PIPEWIRE_MODULE_DIR=
4 changes: 4 additions & 0 deletions McAirpos/Batocera34/batocera_re.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export LD_LIBRARY_PATH=/lib32/arm-linux-gnueabihf
export SPA_PLUGIN_DIR="/lib32/arm-linux-gnueabihf/spa-0.2"
export PIPEWIRE_MODULE_DIR="/lib32/arm-linux-gnueabihf/pipewire-0.3"

Empty file modified McAirpos/Batocera34/batocera_re.tar.gz
100755 → 100644
Empty file.
6 changes: 6 additions & 0 deletions McAirpos/Batocera34/batocera_re.un.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

export LD_LIBRARY_PATH=
export SPA_PLUGIN_DIR=
export PIPEWIRE_MODULE_DIR

8 changes: 6 additions & 2 deletions McAirpos/Batocera34/configs/emulationstation/es_systems_makecode.cfg
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@

<?xml version="1.0"?>
<systemList>
<system>
<fullname>MakeCode Arcade</fullname>
<name>MakeCode</name>
<manufacturer>Microsoft</manufacturer>
<path>/userdata/roms/makecode</path>
<release>1982</release>
<hardware>emulator</hardware>
<extension>.elf .ELF</extension>
<command>/usr/bin/launCharc %ROM%</command>
<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>
<platform>makecode</platform>
<theme>makecode</theme>
<emulators>
<emulator name="launCharc">
<cores>
<core priority="1">launCharc</core>
<core default="true">launCharc</core>
</cores>
</emulator>
</emulators>
Expand Down
Empty file modified McAirpos/Recalbox8/systemlist.xml_MakeCode_RB
100755 → 100644
Empty file.
Empty file modified McAirpos/Recalbox8/themes/recalbox-next/makecode/custom.xml
100755 → 100644
Empty file.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified McAirpos/Recalbox8/themes/recalbox-next/makecode/data/logo.svg
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified McAirpos/Recalbox8/usr/share/alsa/cards/vc4-hdmi.conf
100755 → 100644
Empty file.
Binary file modified McAirpos/launCharc/launCharc
Binary file not shown.

0 comments on commit 4c5e06b

Please sign in to comment.