-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenerate.sh
37 lines (30 loc) · 1.63 KB
/
generate.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#! /bin/bash
OUTPUT_PATH="$HOME/.config/retroarch/bindings"
mkdir -p $OUTPUT_PATH
# Super Nintendo
python3 main.py -j xbox360:0 -p 1 -s snes -o $OUTPUT_PATH/snes_p1.cfg
python3 main.py -j xbox360:1 -p 2 -s snes -o $OUTPUT_PATH/snes_p2.cfg
python3 main.py -j ps3:0 -p 1 -s snes -o $OUTPUT_PATH/snes_p1.cfg
python3 main.py -j ps3:1 -p 2 -s snes -o $OUTPUT_PATH/snes_p2.cfg
python3 main.py -j sfc30:0 -p 1 -s snes -o $OUTPUT_PATH/snes_p1.cfg
python3 main.py -j sfc30:1 -p 2 -s snes -o $OUTPUT_PATH/snes_p2.cfg
# PC Engine
python3 main.py -j xbox360:0 -p 1 -s pce -o $OUTPUT_PATH/pce_p1.cfg
python3 main.py -j xbox360:1 -p 2 -s pce -o $OUTPUT_PATH/pce_p2.cfg
python3 main.py -j ps3:0 -p 1 -s pce -o $OUTPUT_PATH/pce_p1.cfg
python3 main.py -j ps3:1 -p 2 -s pce -o $OUTPUT_PATH/pce_p2.cfg
python3 main.py -j sfc30:0 -p 1 -s pce -o $OUTPUT_PATH/pce_p1.cfg
python3 main.py -j sfc30:1 -p 2 -s pce -o $OUTPUT_PATH/pce_p2.cfg
# Nintendo 64
python3 main.py -j n64:0 -p 1 -s n64 -o $OUTPUT_PATH/n64_p1.cfg
python3 main.py -j n64:1 -p 2 -s n64 -o $OUTPUT_PATH/n64_p2.cfg
# Nintendo Entertainment System
python3 main.py -j xbox360:0 -p 1 -s nes -o $OUTPUT_PATH/nes_p1.cfg
python3 main.py -j xbox360:1 -p 2 -s nes -o $OUTPUT_PATH/nes_p2.cfg
python3 main.py -j ps3:0 -p 1 -s nes -o $OUTPUT_PATH/nes_p1.cfg
python3 main.py -j ps3:1 -p 2 -s nes -o $OUTPUT_PATH/nes_p2.cfg
python3 main.py -j sfc30:0 -p 1 -s nes -o $OUTPUT_PATH/nes_p1.cfg
python3 main.py -j sfc30:1 -p 2 -s nes -o $OUTPUT_PATH/nes_p2.cfg
# Sega Megadrive/Genesis
python3 main.py -j sfc30:0 -p 1 -s genesis -o $OUTPUT_PATH/genesis_p1.cfg
python3 main.py -j sfc30:1 -p 2 -s genesis -o $OUTPUT_PATH/genesis_p2.cfg