Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added setup info for PiCade #23

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,47 @@ Make sure that the _makecode_ games folder is owned by _pi_ and has the correct
Also, **make sure that every _game\_file.elf_ has executable permissions** if they aren't set automatically when copying them to the _makecode_ games folder:<br>
```sudo chmod -R 755 ~/RetroPie/roms/makecode```

#### Button mapping for Picade

The standard setup for Picade is RetroPie.
So, if you follow the setup for RetroPie on your Picade, you will be able to launch the makecode games.
To also play them, you still have to fix the button mapping:

copy the following content to your `/sd/arcade.cfg`

```
SCAN_CODES=/dev/input/event0
BTN_LEFT=105
BTN_RIGHT=106
BTN_UP=103
BTN_DOWN=108
BTN_A=29
BTN_B=56
BTN_RESET=28
BTN_EXIT=1
BTN_MENU=23
```

This should work fine as long as no other keyboard is attached to the system.
If an additional keyboard is attached, `/dev/input/event0/` might change to another `/dev/input/eventX`.

To activate this config, we have to tell the launcher not to use the uiinput-mapper and fall back to this config instead.
Open `/etc/emulationstation/es_systems.cfg` and replace the line

```
<command>/home/pi/McAirpos/McAirpos/launCharc/launCharc %ROM%</command>
```

with

```
<command>/home/pi/McAirpos/McAirpos/launCharc/launCharc nomap %ROM%</command>
```

You are now able to run and play makecode games with McAirpos on your Retropie.

Hint: for some reasons, the first keyboard event will not be processed.

### Quick automatic installation for Recalbox
Run this command from the terminal(F4 + ALT+F2, root/recalboxroot) on Recalbox 7.1.1-Reloaded!:<br>
```curl -sL https://raw.githubusercontent.com/Vegz78/McAirpos/master/install_recalbox.sh | bash -```
Expand Down