Added XEMU config - controllers missing

This commit is contained in:
Steam Deck User 2022-07-18 10:47:51 +02:00
parent b0b254cfd9
commit e73b6c26ac
3 changed files with 42 additions and 0 deletions

30
emu-configs/xemu.toml Normal file
View file

@ -0,0 +1,30 @@
[general]
show_welcome = false
screenshot_dir = '/home/deck/retrodeck/screenshots'
[input.bindings]
port1 = '03000000de280000ff11000001000000'
[display.quality]
surface_scale = 2
[display.window]
fullscreen_on_startup = true
startup_size = '1280x800'
last_width = 1620
last_height = 738
[display.ui]
fit = 'scale_16_9'
scale = 2
auto_scale = false
[sys]
mem_limit = '128'
[sys.files]
bootrom_path = '/home/deck/retrodeck/bios/mcpx_1.0.bin'
flashrom_path = '/home/deck/retrodeck/bios/Complex.bin'
eeprom_path = '/home/deck/retrodeck/saves/xemu/eeprom.bin'
hdd_path = '/home/deck/retrodeck/bios/xbox_harddisk.qcow2'

View file

@ -144,6 +144,14 @@ standalones_init() {
mkdir -pv /var/config/rpcs3/
cp -fvr $emuconfigs/config.yml /var/config/rpcs3/
# XEMU
echo "----------------------"
echo "Initializing XEMU"
echo "----------------------"
mkdir -pv $rdhome/saves/xemu
cp -fv $emuconfigs/xemu.toml /var/data/xemu/xemu.toml
sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/data/xemu/xemu.toml
# PICO-8
# Moved PICO-8 stuff in the finit as only it knows here roms folders is

View file

@ -19,6 +19,7 @@ emulator="$(zenity --list \
"PCSX2" \
"PPSSPP" \
"RPCS3" \
"XEMU" \
"Yuzu")"
if [ $emulator == "RetroArch" ]
@ -45,4 +46,7 @@ then
elif [ $emulator == "Yuzu" ]
then
yuzu
elif [ $emulator == "XEMU" ]
then
xemu
fi