diff --git a/com.xargon.retrodeck.yml b/com.xargon.retrodeck.yml
index 84153cda..890e1b65 100644
--- a/com.xargon.retrodeck.yml
+++ b/com.xargon.retrodeck.yml
@@ -504,7 +504,6 @@ modules:
- mkdir -p ${FLATPAK_DEST}/retrodeck/
- cp es_settings.xml ${FLATPAK_DEST}/retrodeck/es_settings.xml
- cp retrodeck-retroarch.cfg ${FLATPAK_DEST}/retrodeck/retrodeck-retroarch.cfg
- - cp systemfolders.zip ${FLATPAK_DEST}/retrodeck/
# Logo, res
- rm -f /app/share/emulationstation/resources/graphics/splash.svg
@@ -541,6 +540,4 @@ modules:
- type: dir
path: tools
- type: file
- path: desktop_entry
- - type: file
- path: systemfolders.zip
\ No newline at end of file
+ path: desktop_entry
\ No newline at end of file
diff --git a/es_input.cfg b/es_input.cfg
deleted file mode 100644
index 2d0db1f7..00000000
--- a/es_input.cfg
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/es_input.xml b/es_input.xml
deleted file mode 100644
index a374a3a3..00000000
--- a/es_input.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/es_settings.cfg b/es_settings.cfg
deleted file mode 100644
index 0e05a386..00000000
--- a/es_settings.cfg
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/es_systems.cfg b/es_systems.cfg
deleted file mode 100644
index 1e10936d..00000000
--- a/es_systems.cfg
+++ /dev/null
@@ -1,2237 +0,0 @@
-
-
-
- 3do
- 3DO
- Panasonic
- 1993
- console
- ~/retrodeck/roms/3do
- .iso .ISO .bin .BIN .chd .CHD .cue .CUE
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- 3do
- 3do
-
-
-
- opera
-
-
-
-
-
- amiga
- Amiga
- Commodore
- 1985
- computer
- ~/retrodeck/roms/amiga
- .zip .ZIP .adf .ADF .uae .UAE .ipf .IPF .dms .DMS .adz .ADZ .lha .LHA .m3u .M3U .hdf .HDF .hdz .HDZ
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- amiga
- amiga
-
-
-
- puae
- uae4arm
-
-
-
-
- AMIBERRY
-
-
-
-
-
- amigacd32
- Amiga CD32
- Commodore
- 1994
- console
- ~/retrodeck/roms/amigacd32
- .iso .ISO .cue .CUE .lha .LHA .chd .CHD
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- amigacd32
- amigacd32
-
-
-
- puae
- uae4arm
-
-
-
-
-
- amstradcpc
- Amstrad CPC
- Amstrad
- 1984
- computer
- ~/retrodeck/roms/amstradcpc
- .dsk .DSK .sna .SNA .tap .TAP .cdt .CDT .kcr .KCR .voc .VOC .m3u .M3U .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- amstradcpc
- amstradcpc
-
-
-
- crocods
- cap32
-
-
-
-
-
- arcade
- Arcade
- Arcade
- arcade
- ~/retrodeck/roms/arcade
- .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- arcade
- arcade
-
-
-
- mame2003_plus
- mame2000
- mame2010
- mame2015
- mame
- fbneo
- fbalpha2012
- fbalpha2019
-
-
-
-
- AdvanceMame
-
-
-
-
-
- atari2600
- Atari 2600
- Atari
- 1977
- console
- ~/retrodeck/roms/atari2600
- .a26 .A26 .bin .BIN .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- atari2600
- atari2600
-
-
-
- stella
- stella2014
-
-
-
-
-
- atari5200
- Atari 5200
- Atari
- 1982
- console
- ~/retrodeck/roms/atari5200
- .rom .ROM .xfd .XFD .atr .ATR .atx .ATX .cdm .CDM .cas .CAS .car .CAR .bin .BIN .a52 .A52 .xex .XEX .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- atari5200
- atari5200
-
-
-
- atari800
-
-
-
-
-
- atari7800
- Atari 7800
- Atari
- 1986
- console
- ~/retrodeck/roms/atari7800
- .a78 .A78 .bin .BIN .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- atari7800
- atari7800
-
-
-
- prosystem
-
-
-
-
-
- atari800
- Atari 800
- Atari
- 1979
- console
- ~/retrodeck/roms/atari800
- .rom .ROM .xfd .XFD .atr .ATR .atx .ATX .cdm .CDM .cas .CAS .car .CAR .bin .BIN .a52 .A52 .xex .XEX .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- atari800
- atari800
-
-
-
- atari800
-
-
-
-
-
- atarist
- Atari ST
- Atari
- 1985
- computer
- ~/retrodeck/roms/atarist
- .st .ST .msa .MSA .stx .STX .dim .DIM .ipf .IPF .m3u .M3U .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- atarist
- atarist
-
-
-
- hatari
-
-
-
-
- HATARISA
-
-
-
-
-
- atomiswave
- Atomiswave
- Sammy
- 2003
- arcade
- ~/retrodeck/roms/atomiswave
- .lst .LST .bin .BIN .dat .DAT .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- atomiswave arcade
- atomiswave
-
-
-
- flycast
-
-
-
-
- flycast
-
-
-
-
-
- channelf
- Channel F
- Fairchild
- 1976
- console
- ~/retrodeck/roms/channelf
- .bin .BIN .chf .CHF .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- channelf
- channelf
-
-
-
- freechaf
-
-
-
-
-
- colecovision
- ColecoVision
- Coleco
- 1982
- console
- ~/retrodeck/roms/coleco
- .bin .BIN .col .COL .rom .ROM .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- colecovision
- colecovision
-
-
-
- bluemsx
- gearcoleco
- smsplus
-
-
-
-
-
- c128
- Commodore 128
- Commodore
- 1985
- computer
- ~/retrodeck/roms/c128
- .d64 .D64 .d71 .D71 .d80 .D80 .d81 .D81 .d82 .D82 .g64 .G64 .g41 .G41 .x64 .X64 .t64 .T64 .tap .TAP .prg .PRG .p00 .P00 .crt .CRT .bin .BIN .d6z .D6Z .d7z .D7Z .d8z .D8Z .g6z .G6Z .g4z .G4Z .x6z .X6Z .cmd .CMD .m3u .M3U .vsf .VSF .nib .NIB .
- .NBZ .zip .ZIP
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- c128
- c128
-
-
-
- vice_x128
-
-
-
-
-
- c16
- Commodore 16
- Commodore
- 1984
- computer
- ~/retrodeck/roms/c16
- .d64 .D64 .d71 .D71 .d80 .D80 .d81 .D81 .d82 .D82 .g64 .G64 .g41 .G41 .x64 .X64 .t64 .T64 .tap .TAP .prg .PRG .p00 .P00 .crt .CRT .bin .BIN .d6z .D6Z .d7z .D7Z .d8z .D8Z .g6z .G6Z .g4z .G4Z .x6z .X6Z .cmd .CMD .m3u .M3U .vsf .VSF .nib .NIB .nbz .NBZ .zip .ZIP
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- c16
- c16
-
-
-
- vice_xplus4
-
-
-
-
-
- c64
- Commodore 64
- Commodore
- 1982
- computer
- ~/retrodeck/roms/c64
- .d64 .D64 .d71 .D71 .d80 .D80 .d81 .D81 .d82 .D82 .g64 .G64 .g41 .G41 .x64 .X64 .t64 .T64 .tap .TAP .prg .PRG .p00 .P00 .crt .CRT .bin .BIN .d6z .D6Z .d7z .D7Z .d8z .D8Z .g6z .G6Z .g4z .G4Z .x6z .X6Z .cmd .CMD .m3u .M3U .vsf .VSF .nib .NIB .nbz .NBZ .zip .ZIP
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- c64
- c64
-
-
-
- vice_x64
-
-
-
-
-
- vic20
- Commodore VIC-20
- Commodore
- 1980
- computer
- ~/retrodeck/roms/vic20
- .20 .40 .60 .a0 .A0 .b0 .B0 .d64 .D64 .d71 .D71 .d80 .D80 .d81 .D81 .d82 .D82 .g64 .G64 .g41 .G41 .x64 .X64 .t64 .T64 .tap .TAP .prg .PRG .p00 .P00 .crt .CRT .bin .BIN .gz .GZ .d6z .D6Z .d7z .D7Z .d8z .D8Z .g6z .G6Z .g4z .G4Z .x6z .X6Z .cmd .CMD .m3u .M3U .vsf .VSF .nib .NIB .nbz .NBZ .zip .ZIP
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- vic20
- vic20
-
-
-
- vice_xvic
-
-
-
-
-
- laserdisc
- LaserDisc
- Arcade
- arcade
- ~/retrodeck/roms/laserdisc
- .daphne .DAPHNE .ld .LD
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- arcade daphne americanlasergames actionmax
- laserdisc
-
-
-
- hyseus_singe
-
-
-
-
-
- dreamcast
- Dreamcast
- Sega
- 1998
- console
- ~/retrodeck/roms/dreamcast
- .cdi .CDI .gdi .GDI .chd .CHD .m3u .M3U
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- dreamcast
- dreamcast
-
-
-
- flycast
-
-
-
-
- flycast
-
-
-
-
-
- easyrpg
- EasyRPG
- Various
- 2003
- game engine
- ~/retrodeck/roms/easyrpg
- .zip .ZIP .easyrpg .EASYRPG .ldb .LDB
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- easyrpg
- easyrpg
-
-
-
- easyrpg
-
-
-
-
-
- famicom
- Famicom
- Nintendo
- 1983
- console
- ~/retrodeck/roms/famicom
- .nes .NES .unif .UNIF .unf .UNF .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- nes
- famicom
-
-
-
- fceumm
- nestopia
- quicknes
-
-
-
-
-
- fds
- Famicom Disk System
- Nintendo
- 1986
- console
- ~/retrodeck/roms/fds
- .fds .FDS .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- fds
- fds
-
-
-
- fceumm
- nestopia
- quicknes
-
-
-
-
-
- fbn
- Final Burn Neo
- Arcade
- arcade
- ~/retrodeck/roms/fbneo
- .7z .zip .7Z .ZIP
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- arcade
- fbn
-
-
-
- fbneo
- mame2003
- mame2010
- mame2015
- mame
- fbalpha2012
- fbalpha2019
-
-
-
-
-
- gameandwatch
- Game and Watch
- Nintendo
- 1980
- portable
- ~/retrodeck/roms/gameandwatch
- .mgw .MGW .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- gameandwatch
- gameandwatch
-
-
-
- gw
-
-
-
-
-
- gb
- Game Boy
- Nintendo
- 1989
- portable
- ~/retrodeck/roms/gb
- .gb .GB .gbc .GBC .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- gb
- gb
-
-
-
- gambatte
- sameboy
- gearboy
- tgbdual
- mgba
- vbam
-
-
-
-
- mgba
- vbam
-
-
-
-
-
- gbh
- Game Boy (Hacks)
- Nintendo
- 1989
- portable
- ~/retrodeck/roms/gbh
- .gb .GB .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- gb
- gbh
-
-
-
- gambatte
- sameboy
- gearboy
- tgbdual
- mgba
- vbam
-
-
-
-
- mgba
- vbam
-
-
-
-
-
- gba
- Game Boy Advance
- Nintendo
- 2001
- portable
- ~/retrodeck/roms/gba
- .gba .GBA .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- gba
- gba
-
-
-
- mgba
- gpsp
- vbam
- vba_next
- beetle_gba
-
-
-
-
- mgba
- vbam
-
-
-
-
-
- gbah
- Game Boy Advance (Hacks)
- Nintendo
- 2001
- portable
- ~/retrodeck/roms/gbah
- .gba .GBA .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- gba
- gbah
-
-
-
- mgba
- gpsp
- vbam
- vba_next
- beetle_gba
-
-
-
-
- mgba
- vbam
-
-
-
-
-
- gbc
- Game Boy Color
- Nintendo
- 1998
- portable
- ~/retrodeck/roms/gbc
- .gb .GB .gbc .GBC .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- gbc
- gbc
-
-
-
- gambatte
- sameboy
- gearboy
- tgbdual
- mgba
- vbam
-
-
-
-
- mgba
- vbam
-
-
-
-
-
- gbch
- Game Boy Color (Hacks)
- Nintendo
- 1998
- portable
- ~/retrodeck/roms/gbch
- .gb .GB .gbc .GBC .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- gbc
- gbch
-
-
-
- gambatte
- sameboy
- gearboy
- tgbdual
- mgba
- vbam
-
-
-
-
- mgba
- vbam
-
-
-
-
-
- gamegear
- Game Gear
- Sega
- 1990
- portable
- ~/retrodeck/roms/gamegear
- .bin .BIN .gg .GG .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- gamegear
- gamegear
-
-
-
- gearsystem
- genesis_plus_gx
- picodrive
- smsplus
-
-
-
-
-
- ggh
- Game Gear (Hacks)
- Sega
- 1990
- portable
- ~/retrodeck/roms/gamegearh
- .bin .BIN .gg .GG .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- gamegear
- ggh
-
-
-
- gearsystem
- genesis_plus_gx
- picodrive
- smsplus
-
-
-
-
-
- intellivision
- Intellivision
- Mattel
- 1979
- console
- ~/retrodeck/roms/intellivision
- .int .INT .bin .BIN .rom .ROM .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- intellivision
- intellivision
-
-
-
- freeintv
-
-
-
-
-
- j2me
- J2ME
- Sun Microsystems
- 2002
- portable
- ~/retrodeck/roms/j2me
- .jar .JAR
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- j2me
- j2me
-
-
-
- freej2me
-
-
-
-
-
- atarilynx
- Lynx
- Atari
- 1989
- portable
- ~/retrodeck/roms/atarilynx
- .lnx .LNX .o .O .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- atarilynx
- atarilynx
-
-
-
- handy
- beetle_lynx
-
-
-
-
-
- mame
- MAME
- Arcade
- arcade
- ~/retrodeck/roms/mame
- .7z .7Z .zip .ZIP
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- arcade
- mame
-
-
-
- mame2003_plus
- mame2000
- mame2010
- mame2015
- mame
- fbneo
- fbalpha2012
- fbalpha2019
-
-
-
-
- AdvanceMame
-
-
-
-
-
- pc
- MS-DOS
- Microsoft
- 1981
- computer
- ~/retrodeck/roms/dos
- .com .COM .bat .BAT .exe .EXE .dosz .DOSZ
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pc
- pc
-
-
-
- dosbox_pure
-
-
-
-
-
- snesmsu1
- MSU-1
- Nintendo
- 2012
- console
- ~/retrodeck/roms/snesmsu1
- .smc .SMC .fig .FIG .sfc .SFC .swc .SWC .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- snesmsu1 snes
- snesmsu1
-
-
-
- snes9x
- beetle_supafaust
-
-
-
-
-
- msx
- MSX
- Microsoft
- 1983
- computer
- ~/retrodeck/roms/msx
- .dsk .DSK .mx1 .MX1 .mx2 .MX2 .rom .ROM .zip .ZIP .7z .7Z .M3U .m3u
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- msx
- msx
-
-
-
- bluemsx
- fmsx
-
-
-
-
-
- msx2
- MSX2
- Microsoft
- 1985
- computer
- ~/retrodeck/roms/msx2
- .dsk .DSK .mx1 .MX1 .mx2 .MX2 .rom .ROM .zip .ZIP .7z .7Z .M3U .m3u
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- msx
- msx2
-
-
-
- bluemsx
- fmsx
-
-
-
-
-
- naomi
- Naomi
- Sega
- 1998
- arcade
- ~/retrodeck/roms/naomi
- .lst .LST .bin .BIN .dat .DAT .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- naomi arcade
- naomi
-
-
-
- flycast
-
-
-
-
- flycast
-
-
-
-
-
- neogeo
- Neo Geo
- SNK
- 1990
- console
- ~/retrodeck/roms/neogeo
- .7z .7Z .zip .ZIP
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- neogeo
- neogeo
-
-
-
- fbneo
- mame2003_plus
- fbalpha2012
- fbalpha2019
- mame2010
- mame2015
- mame
-
-
-
-
-
- neocd
- Neo Geo CD
- SNK
- 1990
- console
- ~/retrodeck/roms/neocd
- .cue .CUE .iso .ISO .chd .CHD
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- neogeocd
- neogeocd
-
-
-
- neocd
- fbneo
-
-
-
-
-
- ngp
- Neo Geo Pocket
- SNK
- 1998
- portable
- ~/retrodeck/roms/ngp
- .ngc .NGC .ngp .NGP .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- ngp
- ngp
-
-
-
- beetle_ngp
- race
-
-
-
-
-
- ngpc
- Neo Geo Pocket Color
- SNK
- 1999
- portable
- ~/retrodeck/roms/ngpc
- .ngc .NGC .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- ngpc
- ngpc
-
-
-
- beetle_ngp
- race
-
-
-
-
-
- n64
- Nintendo 64
- Nintendo
- 1996
- console
- ~/retrodeck/roms/n64
- .z64 .Z64 .n64 .N64 .v64 .V64 .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- n64
- n64
-
-
-
- parallel_n64
- parallel_n64_gln64
- mupen64plus
- mupen64plus_next
-
-
-
-
- parallel_n64
- parallel_n64_gln64
-
-
-
-
- m64p_gl64mk2
- m64p_rice
-
-
-
-
-
- nds
- Nintendo DS
- Nintendo
- 2005
- portable
- ~/retrodeck/roms/nds
- .nds .zip .NDS .ZIP
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- nds
- nds
-
-
-
- desmume
- melonds
-
-
-
-
-
- 3ds
- Nintendo 3DS
- Nintendo
- 2011
- portable
- ~/retrodeck/roms/3ds
- .3ds .3dsx .elf .axf .cci .cxi .app .3DS .3DSX .ELF .AXF .CCI .CXI .APP
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- 3ds
- 3ds
-
-
-
- citra
-
-
-
-
-
- nes
- Nintendo Entertainment System
- Nintendo
- 1985
- console
- ~/retrodeck/roms/nes
- .nes .NES .unif .UNIF .unf .UNF .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- nes
- nes
-
-
-
- fceumm
- nestopia
- quicknes
-
-
-
-
-
- nesh
- Nintendo Entertainment System (Hacks)
- Nintendo
- 1985
- console
- ~/retrodeck/roms/nesh
- .nes .NES .unif .UNIF .unf .UNF .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- nes
- nesh
-
-
-
- fceumm
- nestopia
- quicknes
-
-
-
-
-
- odyssey2
- Odyssey²
- Magnavox
- 1979
- console
- ~/retrodeck/roms/odyssey
- .bin .BIN .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- odyssey2
- odyssey2
-
-
-
- o2em
-
-
-
-
-
- openbor
- OpenBOR
- Various
- 2008
- game engine
- ~/retrodeck/roms/openbor
- .pak .PAK
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- openbor
- openbor
-
-
-
- OPENBOR
-
-
-
-
-
- pc-8800
- PC-8800
- NEC
- 1981
- computer
- ~/retrodeck/roms/pc88
- .d88 .D88 .m3u .M3U
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pc88
- pc88
-
-
-
- quasi88
-
-
-
-
-
- pc-9800
- PC-9800
- NEC
- 1983
- computer
- ~/retrodeck/roms/pc98
- .d98 .zip .98d .fdi .fdd .2hd .tfd .d88 .88d .hdm .xdf .dup .hdi .thd .nhd .hdd .hdn
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pc98
- pc98
-
-
-
- np2kai
- nekop2
-
-
-
-
-
- pcengine
- PC Engine
- NEC
- 1987
- console
- ~/retrodeck/roms/pcengine
- .pce .PCE .bin .BIN .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pcengine
- pcengine
-
-
-
- beetle_pce_fast
- beetle_supergrafx
-
-
-
-
-
- pcenginecd
- PC Engine CD
- NEC
- 1988
- console
- ~/retrodeck/roms/pcenginecd
- .cue .CUE .ccd .CCD .chd .CHD .toc .TOC .m3u .M3U
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pcenginecd
- pce-cd
-
-
-
- beetle_pce_fast
- beetle_supergrafx
-
-
-
-
-
- pcfx
- PC-FX
- NEC
- 1994
- console
- ~/retrodeck/roms/pcfx
- .chd .CHD .cue .CUE .ccd .CCD .toc .TOC
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pcfx
- pcfx
-
-
-
- beetle_pcfx
-
-
-
-
-
- pico-8
- PICO-8
- Lexaloffle
- 2015
- console
- ~/retrodeck/roms/pico-8
- .sh .p8 .png .SH .P8 .PNG
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers %CONTROLLERSCONFIG%
- pico-8
- pico-8
-
-
-
- pico8_dyn
-
-
-
-
-
- piece
- P/ece
- Aquaplus
- 2001
- console
- ~/retrodeck/roms/piece
- .pex .pfi
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- piece
- piece
-
-
-
- piemu
-
-
-
-
-
- psx
- PlayStation
- Sony
- 1994
- console
- ~/retrodeck/roms/psx
- .bin .BIN .cue .CUE .img .IMG .mdf .MDF .pbp .PBP .toc .TOC .cbn .CBN .m3u .M3U .ccd .CCD .chd .CHD .iso .ISO
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- psx
- psx
-
-
-
- pcsx_rearmed
- duckstation
- swanstation
-
-
-
-
- pcsx_rearmed
- swanstation
-
-
-
-
-
- ps2
- PlayStation 2
- Sony
- 2000
- console
- ~/retrodeck/roms/ps2
- .bin .BIN .cue .CUE .img .IMG .mdf .MDF .pbp .PBP .toc .TOC .cbn .CBN .m3u .M3U .ccd .CCD .chd .CHD .iso .ISO
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- ps2
- ps2
-
-
-
- pcsx2
-
-
-
-
- play
-
-
-
-
-
- psp
- PlayStation Portable
- Sony
- 2004
- portable
- ~/retrodeck/roms/psp
- .iso .ISO .cso .CSO .pbp .PBP
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- psp
- psp
-
-
-
- ppsspp
-
-
-
-
-
- pspminis
- PSP Minis
- Sony
- 2004
- portable
- ~/retrodeck/roms/pspminis
- .iso .ISO .cso .CSO .pbp .PBP
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- psp
- pspminis
-
-
-
- PPSSPPSDL
-
-
-
-
- ppsspp
-
-
-
-
-
- pokemini
- Pokémon Mini
- Nintendo
- 2001
- portable
- ~/retrodeck/roms/pokemini
- .min .MIN .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pokemini
- pokemini
-
-
-
- pokemini
-
-
-
-
-
- homebrew
- Homebrew
- Various
- unknown
- various
- ~/retrodeck/roms/homebrew
- .sh .SH
- ~/retrodeck/usr/bin/bash %ROM% -P%SYSTEM% --core=%CORE% --emulator=%EMULATOR% --controllers="%CONTROLLERSCONFIG%"
- pc
- homebrew
-
-
- sc-3000
- SC-3000
- Sega
- 1983
- computer
- ~/retrodeck/roms/sc-3000
- .bin .BIN .sg .SG .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- sc-3000
- sc-3000
-
-
-
- bluemsx
-
-
-
-
-
- scummvm
- ScummVM
- Various
- 2001
- game engine
- ~/retrodeck/storage/.config/scummvm/games
- .sh .SH .svm .SVM .scummvm
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pc
- scummvm
-
-
-
- scummvm
-
-
-
-
- SCUMMVMSA
-
-
-
-
-
- sega32x
- Sega 32X
- Sega
- 1994
- console
- ~/retrodeck/roms/sega32x
- .32x .32X .smd .SMD .bin .BIN .md .MD .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- sega32x
- sega32x
-
-
-
- picodrive
-
-
-
-
-
- segacd
- Sega CD
- Sega
- 1991
- console
- ~/retrodeck/roms/segacd
- .chd .CHD .cue .CUE .iso .ISO .m3u .M3U
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- segacd
- segacd
-
-
-
- genesis_plus_gx
- picodrive
-
-
-
-
-
- megacd
- Sega Mega-CD
- Sega
- 1991
- console
- ~/retrodeck/roms/megacd
- .chd .CHD .cue .CUE .iso .ISO .m3u .M3U
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- segacd
- megacd
-
-
-
- genesis_plus_gx
- picodrive
-
-
-
-
-
- genesis
- Sega Genesis
- Sega
- 1989
- console
- ~/retrodeck/roms/genesis
- .bin .BIN .gen .GEN .md .MD .sg .SG .smd .SMD .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- genesis
- genesis
-
-
-
- genesis_plus_gx
- genesis_plus_gx_wide
- picodrive
-
-
-
-
-
- genh
- Sega Genesis (Hacks)
- Sega
- 1989
- console
- ~/retrodeck/roms/genh
- .bin .BIN .gen .GEN .md .MD .sg .SG .smd .SMD .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- genesis
- genh
-
-
-
- genesis_plus_gx
- genesis_plus_gx_wide
- picodrive
-
-
-
-
-
- mastersystem
- Sega Master System
- Sega
- 1985
- console
- ~/retrodeck/roms/mastersystem
- .bin .BIN .sms .SMS .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- mastersystem
- mastersystem
-
-
-
- gearsystem
- genesis_plus_gx
- picodrive
- smsplus
-
-
-
-
-
- megadrive
- Sega Mega Drive
- Sega
- 1990
- console
- ~/retrodeck/roms/megadrive
- .bin .BIN .gen .GEN .md .MD .sg .SG .smd .SMD .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- megadrive
- megadrive
-
-
-
- genesis_plus_gx
- genesis_plus_gx_wide
- picodrive
-
-
-
-
-
- megaduck
- Mega Duck
- Welback Holdings
- 1993
- portable
- ~/retrodeck/roms/megaduck
- .bin .BIN .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- megaduck
- megaduck
-
-
-
- sameduck
-
-
-
-
-
- saturn
- Sega Saturn
- Sega
- 1994
- console
- ~/retrodeck/roms/saturn
- .cue .CUE .chd .CHD .iso .ISO
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- saturn
- saturn
-
-
-
- yabasanshiro
-
-
-
-
- yabasanshiro
-
-
-
-
-
- sg-1000
- SG-1000
- Sega
- 1983
- console
- ~/retrodeck/roms/sg-1000
- .bin .BIN .sg .SG .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- sg-1000
- sg-1000
-
-
-
- gearsystem
- genesis_plus_gx
- picodrive
-
-
-
-
-
- x1
- Sharp X1
- Sharp
- 1982
- computer
- ~/retrodeck/roms/x1
- .dx1 .DX1 .2d .2D .2hd .2HD .tfd .TFD .d88 .D88 .88d .88D .hdm .HDM .xdf .XDF .dup .DUP .tap .TAP .cmd .CMD .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- x1
- x1
-
-
-
- x1
-
-
-
-
-
- zxspectrum
- Sinclair ZX Spectrum
- Sinclair
- 1982
- computer
- ~/retrodeck/roms/zxspectrum
- .tzx .TZX .tap .TAP .z80 .Z80 .rzx .RZX .scl .SCL .trd .TRD .dsk .DSK .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- zxspectrum
- zxspectrum
-
-
-
- fuse
-
-
-
-
-
- zx81
- Sinclair ZX81
- Sinclair
- 1981
- computer
- ~/retrodeck/roms/zx81
- .tzx .TZX .p .P .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- zx81
- zx81
-
-
-
- 81
-
-
-
-
-
- supergrafx
- Super Grafx
- NEC
- 1989
- console
- ~/retrodeck/roms/sgfx
- .pce .PCE .sgx .SGX .cue .CUE .ccd .CCD .chd .CHD .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- supergrafx
- supergrafx
-
-
-
- beetle_supergrafx
-
-
-
-
-
- snes
- Super Nintendo
- Nintendo
- 1991
- console
- ~/retrodeck/roms/snes
- .smc .SMC .fig .FIG .sfc .SFC .swc .SWC .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- snes
- snes
-
-
-
- snes9x
- snes9x2010
- snes9x2002
- snes9x2005_plus
- beetle_supafaust
-
-
-
-
-
- snesh
- Super Nintendo (Hacks)
- Nintendo
- 1991
- console
- ~/retrodeck/roms/snesh
- .smc .SMC .fig .FIG .sfc .SFC .swc .SWC .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- snes
- snesh
-
-
-
- snes9x
- snes9x2010
- snes9x2002
- snes9x2005_plus
- beetle_supafaust
-
-
-
-
-
- sfc
- Super Famicom
- Nintendo
- 1990
- console
- ~/retrodeck/roms/sfc
- .smc .SMC .fig .FIG .sfc .SFC .swc .SWC .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- snes
- sfc
-
-
-
- snes9x
- snes9x2010
- snes9x2002
- snes9x2005_plus
- beetle_supafaust
-
-
-
-
-
- satellaview
- Satellaview
- Nintendo
- 1995
- console
- ~/retrodeck/roms/satellaview
- .smc .SMC .fig .FIG .bs .BS .sfc .SFC .bsx .BSX .swc .SWC .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- satellaview
- satellaview
-
-
-
- snes9x
- snes9x2010
- snes9x2002
- snes9x2005_plus
-
-
-
-
-
- sufami
- SuFami Turbo
- Bandai
- 1996
- console
- ~/retrodeck/roms/sufami
- .st .ST .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- sufami
- sufami
-
-
-
- snes9x
-
-
-
-
-
- solarus
- Solarus
- Solarus
- 2020
- game engine
- ~/retrodeck/roms/solarus
- .solarus
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- solarus
- solarus
-
-
-
- solarus
-
-
-
-
-
- supervision
- Watara Supervision
- Watara
- 1992
- portable
- ~/retrodeck/roms/supervision
- .sv .SV .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- supervision
- supervision
-
-
-
- potator
-
-
-
-
-
- tic-80
- TIC-80
- Nesbox
- 2017
- computer
- ~/retrodeck/roms/tic-80
- .tic .TIC
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- tic80
- tic-80
-
-
-
- tic80
-
-
-
-
-
- tg16
- TurboGrafx-16
- NEC
- 1989
- console
- ~/retrodeck/roms/tg16
- .pce .PCE .bin .BIN .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pcengine
- tg16
-
-
-
- beetle_pce_fast
- beetle_supergrafx
-
-
-
-
-
- tg16cd
- TurboGrafx-CD
- NEC
- 1989
- console
- ~/retrodeck/roms/tg16cd
- .cue .CUE .ccd .CCD .chd .CHD .toc .TOC .m3u .M3U
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pcenginecd
- tg16cd
-
-
-
- beetle_pce_fast
- beetle_supergrafx
-
-
-
-
-
- uzebox
- Uzebox
- belogic
- 2008
- console
- ~/retrodeck/roms/uzebox
- .uze .UZE
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- uzebox
- uzebox
-
-
-
- uzem
-
-
-
-
-
- vectrex
- Vectrex
- Milton Bradley
- 1982
- console
- ~/retrodeck/roms/vectrex
- .bin .BIN .gam .GAM .vec .VEC .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- vectrex
- vectrex
-
-
-
- vecx
-
-
-
-
-
- videopac
- VideoPac
- Philips
- 1978
- console
- ~/retrodeck/roms/videopac
- .bin .BIN .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- videopac
- videopac
-
-
-
- o2em
-
-
-
-
-
- virtualboy
- Virtual Boy
- Nintendo
- 1995
- console
- ~/retrodeck/roms/virtualboy
- .vb .VB .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- virtualboy
- virtualboy
-
-
-
- beetle_vb
-
-
-
-
-
- wonderswan
- Wonderswan
- Bandai
- 1999
- portable
- ~/retrodeck/roms/wonderswan
- .ws .WS .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- wonderswan
- wonderswan
-
-
-
- beetle_wswan
-
-
-
-
-
- wonderswancolor
- Wonderswan Color
- Bandai
- 2000
- portable
- ~/retrodeck/roms/wonderswancolor
- .wsc .WSC .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- wonderswancolor
- wonderswancolor
-
-
-
- beetle_wswan
-
-
-
-
-
- x68000
- x68000
- Sharp
- 1987
- computer
- ~/retrodeck/roms/x68000
- .dim .DIM .img .IMG .d88 .D88 .88d .88D .hdm .HDM .dup .DUP .2hd .2HD .xdf .XDF .hdf .HDF .cmd .CMD .m3u .M3U .zip .ZIP .7z .7Z
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- x68000
- x68000
-
-
-
- px68k
-
-
-
-
-
- ecwolf
- Wolfenstein 3D
- id Software
- 1992
- game engine
- ~/retrodeck/roms/ecwolf
- .ecwolf
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pc
- ecwolf
-
-
-
- ecwolf
-
-
-
-
-
- doom
- Doom
- id Software
- 1993
- game engine
- ~/retrodeck/roms/doom
- .doom
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pc
- doom
-
-
-
- gzdoom
-
-
-
-
- lzdoom
-
-
-
-
- prboom
-
-
-
-
-
- build
- Build Engine
- 3D Realms
- 1995
- game engine
- ~/retrodeck/roms/build
- .build
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- pc
- build
-
-
-
- raze
-
-
-
-
-
- tools
- Tools
- Various
- unknown
- system
- ~/retrodeck/storage/.config/distribution/modules
- .sh
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform tools --controllers "%CONTROLLERSCONFIG%"
- tools
- tools
-
-
- Screenshots
- imageviewer
- Various
- unknown
- system
- /roms/screenshots
- .jpg .jpeg .png .bmp .psd .tga .gif .hdr .pic .ppm .pgm .mkv .pdf .mp4 .avi
- ~/retrodeck/usr/bin/true
- imageviewer
- imageviewer
-
-
- switch
- Nintendo Switch
- Nintendo
- 2017
- portable
- ~/retrodeck/roms/switch
- .nsp .xci
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- switch
- switch
-
-
-
- yuzu
-
-
-
-
- ryujinx
-
-
-
-
-
- gc
- Game Cube
- Nintendo
- 2001
- console
- ~/retrodeck/roms/gc
- .elf .iso .gcm .dol .tgc .wbfs .ciso .gcz .wad .ELF .ISO .GCM .DOL .TGC .WBFS .CISO .GCZ .WAD
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- gc
- gc
-
-
-
- dolphin
-
-
-
-
-
- wii
- Wii
- Nintendo
- 2006
- console
- ~/retrodeck/roms/wii
- .elf .iso .gcm .dol .tgc .wbfs .ciso .gcz .wad .ELF .ISO .GCM .DOL .TGC .WBFS .CISO .GCZ .WAD
- ~/retrodeck/usr/bin/runemu.py --rom %ROM% --platform %SYSTEM% --emulator %EMULATOR% --core %CORE% --controllers "%CONTROLLERSCONFIG%"
- wii
- wii
-
-
-
- dolphin
-
-
-
-
-
\ No newline at end of file
diff --git a/export_func.sh b/export_func.sh
deleted file mode 100755
index 691e462e..00000000
--- a/export_func.sh
+++ /dev/null
@@ -1,195 +0,0 @@
-#!/bin/bash
-
-# SPDX-License-Identifier: GPL-2.0-or-later
-# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
-# Copyright (C) 2020-present Fewtarius
-
-# This content was taken from 99-distribution.conf and made as a shell script for steam deck
-# TODO: remove absolute paths and put the variables INSTALL_DIR
-
-export PATH="$PATH:/usr/local/bin:/usr/bin:/storage/bin"
-
-export SDL_GAMECONTROLLERCONFIG_FILE="~/retrodeck/storage/.config/SDL-GameControllerDB/gamecontrollerdb.txt"
-
-EE_DIR="~/retrodeck/storage/.config/distribution"
-EE_CONF="${EE_DIR}/configs/distribution.conf"
-ES_CONF="~/retrodeck/storage/.emulationstation/es_settings.cfg"
-EE_DEVICE=$(cat ~/retrodeck/storage/.config/.OS_ARCH)
-JSLISTENCONF="~/retrodeck/storage/.config/distribution/configs/jslisten.cfg"
-
-get_ee_setting() {
-# Argument $1 is the setting name, EmuELEC settings alway start with ee_ e.g. ee_novideo
-# Usage: get_ee_setting setting [platform] [rom]
-# Only the setting argument is required
-# Priority is: GAME, PLATFORM, GLOBAL, EE_SETTING if at any point one returns 0 it means its dissabled, if it returns empty it will continue onto the next one.
-
-SETTING="${1}"
-PLATFORM="${2}"
-ROM="${3}"
-
-#ROM
-ROM=$(echo [\"${ROM}\"] | sed -e 's|\[|\\\[|g' | sed -e 's|\]|\\\]|g' | sed -e 's|(|\\\(|g' | sed -e 's|)|\\\)|g')
-PAT="^${PLATFORM}${ROM}[.-]${SETTING}=(.*)"
- EES=$(cat "${EE_CONF}" | grep -oE "${PAT}")
- EES="${EES##*=}"
-
-if [ -z "${EES}" ]; then
-#PLATFORM
-PAT="^${PLATFORM}[.-]${SETTING}=(.*)"
- EES=$(cat "${EE_CONF}" | grep -oE "${PAT}")
- EES="${EES##*=}"
-fi
-
-if [ -z "${EES}" ]; then
-#GLOBAL
-PAT="^global[.-]${SETTING}=(.*)"
- EES=$(cat "${EE_CONF}" | grep -oE "${PAT}")
- EES="${EES##*=}"
-fi
-
-if [ -z "${EES}" ]; then
-#EE_SETTINGS
-PAT="^${SETTING}=(.*)"
- EES=$(cat "${EE_CONF}" | grep -oE "${PAT}")
- EES="${EES##*=}"
-fi
-
-echo "${EES}"
-}
-
-set_ee_setting() {
-# argument $1 is the setting name e.g. nes.integerscale. $2 is the value, e.g "1"
- sed -i "/$1=/d" "${EE_CONF}"
- [ $2 == "disable" ] && echo "#${1}=" >> "${EE_CONF}" || echo "${1}=${2}" >> "${EE_CONF}"
-}
-
-get_es_setting() {
- echo $(sed -n "s|\s*<${1} name=\"${2}\" value=\"\(.*\)\" />|\1|p" ${ES_CONF})
-}
-
-
-normperf() {
- # A foo function as in steam deck is not needed, however sometime it's called and I am lazy to edit everything, sorry -Xargon
- return
-}
-
-maxperf() {
- # A foo function as in steam deck is not needed, however sometime it's called and I am lazy to edit everything, sorry -Xargon
- return
-}
-
-
-ee_check_bios() {
-
-PLATFORM="${1}"
-CORE="${2}"
-EMULATOR="${3}"
-ROMNAME="${4}"
-LOG="${5}"
-
-if [[ -z "$LOG" ]]; then
- LOG="/tmp/logs/exec.log"
- cat /etc/motd > "$LOG"
-fi
-
-MISSINGBIOS="$(batocera-systems --strictfilter ${PLATFORM})"
-if [ "$?" == "2" ]; then
-
-# formating so it looks nice :)
-PLATFORMNAME="${MISSINGBIOS##*>}" # read from -P onwards
-PLATFORMNAME="${PLATFORMNAME%%MISSING*}" # until a space is found
-PLATFORMNAME=$(echo $PLATFORMNAME | sed -e 's/\\n//g')
-
-if [[ -f "${LOG}" ]]; then
-echo "${CORE} ${EMULATOR} ${ROMNAME}" >> $LOG
-echo "${PLATFORMNAME} missing BIOS - Could not find all BIOS: " >> $LOG
-echo "please make sure you copied the files into the corresponding folder " >> $LOG
-echo "${MISSINGBIOS}" >> $LOG
-fi
- MISSINGBIOS=$(echo "$MISSINGBIOS" | sed -e 's/$/\\n/g')
-
- /usr/bin/error.sh "${PLATFORMNAME} missing BIOS" "Could not find all BIOS/files in /storage/roms, the game may not work:\n\n ${MISSINGBIOS}\n\nPlease make sure you copied the files into the corresponding folder."
- error_process="$!"
- pkill -P $error_process
-fi
-}
-
-message_stream () {
- local MESSAGE=$1
- local DELAY=$2
- local LOADBUFFER=0
- local ANSI=0
- for (( i=0; i<${#MESSAGE}; i++ ))
- do
- CHAR="${MESSAGE:$i:1}"
- # Is this an escape character?
- if [ "${CHAR}" == "\\" ]
- then
- LOADBUFFER=1
- BUFFER="$BUFFER${CHAR}"
- continue
- fi
-
- # Is this ANSI? (\e[*[a-Z])
- if [ "${BUFFER}" == "\e[" ] && [ "${LOADBUFFER}" -eq 1 ]
- then
- ANSI=1
- BUFFER="$BUFFER${CHAR}"
- continue
- fi
-
- if [ "${LOADBUFFER}" -eq 1 ] && [ "${ANSI}" -eq 1 ]
- then
- # If it isn't ANSI it's a control char like \n
- if [[ "${CHAR}" =~ [a-Z] ]]
- then
- echo -ne "${BUFFER}${CHAR}" >/dev/console
- unset BUFFER
- LOADBUFFER=0
- ANSI=0
- fi
- else
- # otherwise it's text
- echo -ne "${BUFFER}${CHAR}" >/dev/console
- unset BUFFER
- LOADBUFFER=0
- ANSI=0
- fi
- sleep ${DELAY}
- done
-}
-
-spinny_cursor() {
- message_stream "$1" 0
- for (( c=0; c<=$2; c++ ))
- do
- echo -ne '\e[2D' '-' > /dev/console
- sleep .01
- echo -ne '\e[2D' '\\' > /dev/console
- sleep .01
- echo -ne '\e[2D' '|' > /dev/console
- sleep .01
- echo -ne '\e[2D' '/' > /dev/console
- sleep .01
- done
- echo -ne '\e[80D\e[K' > /dev/console
-}
-
-jslisten() {
- # A foo function as in steam deck is not needed, however sometime it's called and I am lazy to edit everything, sorry -Xargon
- return
-}
-
-
-# 351EDECK specific code
-
-export -f get_ee_setting
-export -f set_ee_setting
-export -f get_es_setting
-export -f maxperf
-export -f normperf
-export -f ee_check_bios
-export -f message_stream
-export -f spinny_cursor
-#export -f jslisten
-#export -f init_port
diff --git a/install-retrodeck.sh b/install-retrodeck.sh
deleted file mode 100755
index 560da22d..00000000
--- a/install-retrodeck.sh
+++ /dev/null
@@ -1,268 +0,0 @@
-#!/bin/bash
-
-INSTALL_DIR=~/retrodeck
-CORES_LINK=https://buildbot.libretro.com/stable/1.10.1/linux/x86_64/RetroArch_cores.7z
-PREVIOUS_DIR=$PWD
-
-echo "Welcome to the RetroDECK installer."
-echo "RetroDECK will be installed in $INSTALL_DIR."
-
-# TODO-MAYBE: give the option to change the installation directory?
-
-echo "WARNING: RetroDECK will replace your retroarch.cfg, the former one will be renamed moved in ~/.config/retroarch/retroarch.cfg.bak."
-echo "Whenever a choice is prompted just accept it to continue (yes/enter), root password will be asked."
-# but maybe it will not affect the original retroarch, let's see
-# maybe --root option of pacman may be useful to install my own copy of retroarch without messing the one already installed
-read -n 1 -r -s -p $'Press enter to continue...\n'
-echo "Installing RetroDECK in $INSTALL_DIR, please stand by."
-
-cd $INSTALL_DIR
-
-# TODO: download everything from retrodeck github
-# git clone --recursive https://github.com/XargonWan/RetroDECK retrodeck
-
-# Initalizing rom folders
-if [ test ! -d "$INSTALL_DIR/storage/roms/" ]; then
- mkdir -p $INSTALL_DIR/storage/roms/
-fi
-if [ test ! -d "$INSTALL_DIR/roms" ]; then
- ln -s $INSTALL_DIR/storage/roms $INSTALL_DIR/roms
-fi
-mkdir -p $INSTALL_DIR/roms/bios
-mkdir -p $INSTALL_DIR/roms/3do
-mkdir -p $INSTALL_DIR/roms/amiga
-mkdir -p $INSTALL_DIR/roms/amigacd32
-mkdir -p $INSTALL_DIR/roms/amstradcpc
-mkdir -p $INSTALL_DIR/roms/arcade
-mkdir -p $INSTALL_DIR/roms/atari2600
-mkdir -p $INSTALL_DIR/roms/atari5200
-mkdir -p $INSTALL_DIR/roms/atari7800
-mkdir -p $INSTALL_DIR/roms/atarist
-mkdir -p $INSTALL_DIR/roms/atari800
-mkdir -p $INSTALL_DIR/roms/atomiswave
-mkdir -p $INSTALL_DIR/roms/channelf
-mkdir -p $INSTALL_DIR/roms/colecovision
-mkdir -p $INSTALL_DIR/roms/c64
-mkdir -p $INSTALL_DIR/roms/c128
-mkdir -p $INSTALL_DIR/roms/vic20
-mkdir -p $INSTALL_DIR/roms/laserdisc
-mkdir -p $INSTALL_DIR/roms/dreamcast
-mkdir -p $INSTALL_DIR/roms/easyrpg
-mkdir -p $INSTALL_DIR/roms/famicom
-mkdir -p $INSTALL_DIR/roms/fbn
-mkdir -p $INSTALL_DIR/roms/gb
-mkdir -p $INSTALL_DIR/roms/gbh
-mkdir -p $INSTALL_DIR/roms/gameandwatch
-mkdir -p $INSTALL_DIR/roms/gba
-mkdir -p $INSTALL_DIR/roms/fds
-mkdir -p $INSTALL_DIR/roms/c16
-mkdir -p $INSTALL_DIR/roms/ggh
-mkdir -p $INSTALL_DIR/roms/gbah
-mkdir -p $INSTALL_DIR/roms/intellivision
-mkdir -p $INSTALL_DIR/roms/gbch
-mkdir -p $INSTALL_DIR/roms/atarilynx
-mkdir -p $INSTALL_DIR/roms/mame
-mkdir -p $INSTALL_DIR/roms/dos
-mkdir -p $INSTALL_DIR/roms/snesmsu1
-mkdir -p $INSTALL_DIR/roms/msx
-mkdir -p $INSTALL_DIR/roms/msx2
-mkdir -p $INSTALL_DIR/roms/naomi
-mkdir -p $INSTALL_DIR/roms/neogeo
-mkdir -p $INSTALL_DIR/roms/ngp
-mkdir -p $INSTALL_DIR/roms/nds
-mkdir -p $INSTALL_DIR/roms/n64
-mkdir -p $INSTALL_DIR/roms/nes
-mkdir -p $INSTALL_DIR/roms/nesh
-mkdir -p $INSTALL_DIR/roms/ngpc
-mkdir -p $INSTALL_DIR/roms/neocd
-mkdir -p $INSTALL_DIR/roms/pc-9800
-mkdir -p $INSTALL_DIR/roms/pcengine
-mkdir -p $INSTALL_DIR/roms/pcenginecd
-mkdir -p $INSTALL_DIR/roms/pcfx
-mkdir -p $INSTALL_DIR/roms/openbor
-mkdir -p $INSTALL_DIR/roms/piece
-mkdir -p $INSTALL_DIR/roms/odyssey2
-mkdir -p $INSTALL_DIR/roms/psp
-mkdir -p $INSTALL_DIR/roms/pspminis
-mkdir -p $INSTALL_DIR/roms/pokemini
-mkdir -p $INSTALL_DIR/roms/homebrew
-mkdir -p $INSTALL_DIR/roms/ports
-mkdir -p $INSTALL_DIR/roms/sc-3000
-mkdir -p $INSTALL_DIR/roms/scummvm
-mkdir -p $INSTALL_DIR/roms/psx
-mkdir -p $INSTALL_DIR/roms/segacd
-mkdir -p $INSTALL_DIR/roms/sega32x
-mkdir -p $INSTALL_DIR/roms/genesis
-mkdir -p $INSTALL_DIR/roms/genh
-mkdir -p $INSTALL_DIR/roms/mastersystem
-mkdir -p $INSTALL_DIR/roms/megadrive
-mkdir -p $INSTALL_DIR/roms/megaduck
-mkdir -p $INSTALL_DIR/roms/saturn
-mkdir -p $INSTALL_DIR/roms/sg-1000
-mkdir -p $INSTALL_DIR/roms/x1
-mkdir -p $INSTALL_DIR/roms/zxspectrum
-mkdir -p $INSTALL_DIR/roms/zx81
-mkdir -p $INSTALL_DIR/roms/pc-8800
-mkdir -p $INSTALL_DIR/roms/snes
-mkdir -p $INSTALL_DIR/roms/supergrafx
-mkdir -p $INSTALL_DIR/roms/pico-8
-mkdir -p $INSTALL_DIR/roms/megacd
-mkdir -p $INSTALL_DIR/roms/snesh
-mkdir -p $INSTALL_DIR/roms/satellaview
-mkdir -p $INSTALL_DIR/roms/sfc
-mkdir -p $INSTALL_DIR/roms/sufami
-mkdir -p $INSTALL_DIR/roms/tic-80
-mkdir -p $INSTALL_DIR/roms/tg16
-mkdir -p $INSTALL_DIR/roms/solarus
-mkdir -p $INSTALL_DIR/roms/vectrex
-mkdir -p $INSTALL_DIR/roms/gbc
-mkdir -p $INSTALL_DIR/roms/videopac
-mkdir -p $INSTALL_DIR/roms/virtualboy
-mkdir -p $INSTALL_DIR/roms/wonderswan
-mkdir -p $INSTALL_DIR/roms/wonderswancolor
-mkdir -p $INSTALL_DIR/roms/ecwolf
-mkdir -p $INSTALL_DIR/roms/x68000
-mkdir -p $INSTALL_DIR/roms/build
-mkdir -p $INSTALL_DIR/roms/tools
-mkdir -p $INSTALL_DIR/roms/imageviewer
-mkdir -p $INSTALL_DIR/roms/gamegear
-mkdir -p $INSTALL_DIR/roms/tg16cd
-mkdir -p $INSTALL_DIR/roms/j2me
-mkdir -p $INSTALL_DIR/roms/uzebox
-mkdir -p $INSTALL_DIR/roms/supervision
-mkdir -p $INSTALL_DIR/roms/doom
-mkdir -p $INSTALL_DIR/roms/switch
-mkdir -p $INSTALL_DIR/roms/wii
-mkdir -p $INSTALL_DIR/roms/gc
-mkdir -p $INSTALL_DIR/roms/3ds
-
-# Initializing directories
-mkdir -p $INSTALL_DIR/storage/.config/
-mkdir -p $INSTALL_DIR/usr/
-mkdir -p $INSTALL_DIR/emulators
-ln -s $INSTALL_DIR/emulationstation ~/.emulationstation
-
-
-# Defining architecture
-rm -f $INSTALL_DIR/storage/.config/.OS_ARCH
-touch $INSTALL_DIR/storage/.config/.OS_ARCH
-echo "DECK" >> $INSTALL_DIR/storage/.config/.OS_ARCH
-
-# Installing RetroArch
-sudo pacman -S retroarch
-# Setting up RetroArch
-mkdir -p ~/.config/retroarch/
-mv ~/.config/retroarch/retroarch.cfg ~/.config/retroarch/retroarch.cfg.bak
-mv $INSTALL_DIR/retroarch.cfg ~/.config/retroarch/
-# TODO: download controller config
-
-# Installing libretro cores
-cd $INSTALL_DIR/emulators
-
-if test -f "$INSTALL_DIR/emulators/RetroArch_cores.7z"; then
- read -p "The RetroArch cores seems to be already downloaded, do you want to re-download them? [Y/n]: " -n 1 -r
- if [[ ! $REPLY =~ ^[Nn]$ ]]; then
- break
- else
- rm -rf RetroArch*
- wget $CORES_LINK
- fi
-fi
-
-7z x RetroArch_cores.7z
-mv $INSTALL_DIR/emulators/RetroArch-Linux-x86_64/RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores $INSTALL_DIR/emulators/
-
-# TODO: Installing standalone emulators
-
-# Switch - Yuzu
-flatpak install flathub org.yuzu_emu.yuzu
-
-# Switch - Ryujinx
-flatpak install flathub org.ryujinx.Ryujinx
-
-# PS3 - RPCS3
-# DOS - dosbox-pure is included?
-# PSVITA - vita3k
-
-# Installing 351elec-emulationstation
-cd $INSTALL_DIR
-git clone --recursive https://github.com/351ELEC/351elec-emulationstation emulationstation
-# TODO: one day I will have to fork this emustation...
-# applying patches
-cp $INSTALL_DIR/patches/Splash.h $INSTALL_DIR/emulationstation/es-core/src/Splash.h
-cp $INSTALL_DIR/patches/GuiMenu.cpp $INSTALL_DIR/emulationstation/es-app/src/guis/GuiMenu.cpp
-# pathes applied
-cd emulationstation
-sudo pacman -S base-devel cmake freeimage sdl2_mixer sdl2 rapidjson boost
-cmake -DENABLE_EMUELEC=1 -DGLES2=0 -DDISABLE_KODI=1 -DENABLE_FILEMANAGER=0 -DCEC=0 -DRG552=1
-make -j$(nproc)
-cp $INSTALL_DIR/es_systems.cfg $INSTALL_DIR/emulationstation/
-cp $INSTALL_DIR/es_settings.cfg $INSTALL_DIR/emulationstation/
-cp $INSTALL_DIR/es_input.cfg $INSTALL_DIR/emulationstation/
-
-# Installing default theme
-mkdir -p $INSTALL_DIR/emulationstation/themes
-cd $INSTALL_DIR/emulationstation/themes
-git clone --recursive https://github.com/anthonycaccese/es-theme-art-book-next
-
-
-# Downloading needed files
-# TODO 351elec-es-packages batocera-config batocera-scraper batocera-settings runemu.py setsettings.py
-
-# Creating desktop element
-rm -f ~/Desktop/RetroDECK.desktop
-touch ~/Desktop/RetroDECK.desktop
-cat << EOF >> ~/Desktop/RetroDECK.desktop
-[Desktop Entry]
-Comment=An enbedded emulation system.
-Exec=$INSTALL_DIR/retrodeck.sh
-GenericName=RetroDECK
-Icon=$INSTALL_DIR/res/icon128.png
-MimeType=
-Name=RetroDECK
-Path=$INSTALL_DIR/
-StartupNotify=true
-Terminal=false
-TerminalOptions=
-Type=Application
-X-DBUS-ServiceName=
-X-DBUS-StartupType=
-X-KDE-SubstituteUID=false
-X-KDE-Username=
-EOF
-
-# Creating start script
-rm -rf $INSTALL_DIR/retrodeck.sh
-touch $INSTALL_DIR/retrodeck.sh
-cat << EOF >> $INSTALL_DIR/retrodeck.sh
-#!/bin/bash
-
-$INSTALL_DIR/export_func.sh
-
-mkdir -p /tmp/logs
-
-if [ test -d "/tmp/cores" ]; then break
-else
- ln -s $INSTALL_DIR/emulators/cores /tmp/cores
-fi
-
-$INSTALL_DIR/emulationstation/emulationstation
-EOF
-
-chmod 777 $INSTALL_DIR/retrodeck.sh
-chmod 777 $INSTALL_DIR/export_func.sh
-
-# Cleaning up
-# TODO: these removal must be made when I am sure this files are safe on github
-#rm -rf $INSTALL_DIR/emulators/RetroArch-Linux-x86_64
-#rm -rf $INSTALL_DIR/emulators/RetroArch_cores.7z
-#rm -rf $INSTALL_DIR/emulators/ryujinx-1.1.76-linux_x64.tar.gz
-#rm $INSTALL_DIR/es_systems.cfg
-#rm $INSTALL_DIR/es_settings.cfg
-#rm $INSTALL_DIR/es_input.cfg
-#rm -rf $INSTALL_DIR/patches
-
-echo "Installation terminated, you can run RetroDECK from the desktop link or add it on your Steam Library."
-# TODO: maybe I can add it to the steam library directly, I think I have to close steam and design a banner
-
-cd $PREVIOUS_DIR
diff --git a/patches/GuiMenu.cpp b/patches/GuiMenu.cpp
deleted file mode 100644
index 2d358a60..00000000
--- a/patches/GuiMenu.cpp
+++ /dev/null
@@ -1,6104 +0,0 @@
-#include "guis/GuiMenu.h"
-
-#include "components/OptionListComponent.h"
-#include "components/SliderComponent.h"
-#include "components/SwitchComponent.h"
-#include "guis/GuiCollectionSystemsOptions.h"
-#include "guis/GuiDetectDevice.h"
-#include "guis/GuiGeneralScreensaverOptions.h"
-#include "guis/GuiMsgBox.h"
-#include "guis/GuiScraperStart.h"
-#include "guis/GuiPackageInstaller.h" //351elec
-#include "guis/GuiDecorationOptions.h" //351elec
-#include "guis/GuiHashStart.h"
-#include "guis/GuiThemeInstaller.h" //batocera
-#include "guis/GuiBezelInstaller.h" //batocera
-#include "guis/GuiBatoceraStore.h" //batocera
-#include "guis/GuiSettings.h"
-#include "guis/GuiRetroAchievements.h" //batocera
-#include "guis/GuiGamelistOptions.h"
-#include "guis/GuiImageViewer.h"
-#include "views/UIModeController.h"
-#include "views/ViewController.h"
-#include "CollectionSystemManager.h"
-#include "EmulationStation.h"
-#include "Scripting.h"
-#include "SystemData.h"
-#include "VolumeControl.h"
-#include
-#include
-#include "platform.h"
-
-#include "SystemConf.h"
-#include "ApiSystem.h"
-#include "InputManager.h"
-#include "AudioManager.h"
-#include
-#include "guis/GuiUpdate.h"
-#include "guis/GuiInstallStart.h"
-#include "guis/GuiTextEditPopupKeyboard.h"
-#include "guis/GuiBackupStart.h"
-#include "guis/GuiTextEditPopup.h"
-#include "guis/GuiWifi.h"
-#include "guis/GuiBluetooth.h"
-#include "scrapers/ThreadedScraper.h"
-#include "FileSorts.h"
-#include "ThreadedHasher.h"
-#include "ThreadedBluetooth.h"
-#include "views/gamelist/IGameListView.h"
-#include "components/MultiLineMenuEntry.h"
-#include "components/BatteryIndicatorComponent.h"
-#include "GuiLoading.h"
-#include "guis/GuiBios.h"
-#include "guis/GuiKeyMappingEditor.h"
-#include "Gamelist.h"
-#include "TextToSpeech.h"
-
-#if WIN32
-#include "Win32ApiSystem.h"
-#endif
-
-#define fake_gettext_fade _("fade")
-#define fake_gettext_slide _("slide")
-#define fake_gettext_instant _("instant")
-#define fake_gettext_fadeslide _("fade & slide")
-
-// batocera-info
-#define fake_gettext_system _("System")
-#define fake_gettext_architecture _("Architecture")
-#define fake_gettext_diskformat _("Disk format")
-#define fake_gettext_temperature _("Temperature")
-#define fake_gettext_avail_memory _("Available memory")
-#define fake_gettext_battery _("Battery")
-#define fake_gettext_model _("Model")
-#define fake_gettext_cpu_model _("Cpu model")
-#define fake_gettext_cpu_number _("Cpu number")
-#define fake_gettext_cpu_frequency _("Cpu max frequency")
-#define fake_gettext_cpu_feature _("Cpu feature")
-
-#define fake_gettext_scanlines _("SCANLINES")
-#define fake_gettext_retro _("RETRO")
-#define fake_gettext_enhanced _("ENHANCED")
-#define fake_gettext_curvature _("CURVATURE")
-#define fake_gettext_zfast _("ZFAST")
-#define fake_gettext_flatten_glow _("FLATTEN-GLOW")
-#define fake_gettext_rgascaling _("RGA SCALING")
-
-#define fake_gettext_glvendor _("VENDOR")
-#define fake_gettext_glvrenderer _("RENDERER")
-#define fake_gettext_glversion _("VERSION")
-#define fake_gettext_glslversion _("SHADERS")
-
-#define gettext_controllers_settings _("CONTROLLER SETTINGS")
-#define gettext_controllers_and_bluetooth_settings _("CONTROLLER & BLUETOOTH SETTINGS")
-
-// Windows build does not have bluetooth support, so affect the label for Windows
-#if WIN32
-#define controllers_settings_label gettext_controllers_settings
-#else
-#define controllers_settings_label gettext_controllers_and_bluetooth_settings
-#endif
-
-GuiMenu::GuiMenu(Window *window, bool animate) : GuiComponent(window), mMenu(window, _("MAIN MENU").c_str()), mVersion(window)
-{
- // MAIN MENU
- bool isFullUI = UIModeController::getInstance()->isUIModeFull();
-#ifdef _ENABLEEMUELEC
- bool isKidUI = UIModeController::getInstance()->isUIModeKid();
-#endif
-
- // KODI >
- // GAMES SETTINGS >
- // CONTROLLER & BLUETOOTH >
- // UI SETTINGS >
- // SOUND SETTINGS >
- // NETWORK >
- // SCRAPER >
- // SYSTEM SETTINGS >
- // QUIT >
-
- // KODI
-#ifdef _ENABLE_KODI_
- if (SystemConf::getInstance()->getBool("kodi.enabled", true) && ApiSystem::getInstance()->isScriptingSupported(ApiSystem::KODI))
- addEntry(_("KODI MEDIA CENTER").c_str(), false, [this]
- {
- Window *window = mWindow;
- delete this;
- if (!ApiSystem::getInstance()->launchKodi(window))
- LOG(LogWarning) << "Shutdown terminated with non-zero result!";
-
- }, "iconKodi");
-#endif
-
- if (isFullUI)
- {
-#if !defined(WIN32) || defined(_DEBUG)
- addEntry(_("GAME SETTINGS").c_str(), true, [this] { openGamesSettings_batocera(); }, "iconGames");
- addEntry(_("GAME COLLECTION SETTINGS").c_str(), true, [this] { openCollectionSystemSettings(); }, "iconAdvanced");
-
- if (ApiSystem::getInstance()->isScriptingSupported(ApiSystem::RETROACHIVEMENTS) &&
- SystemConf::getInstance()->getBool("global.retroachievements") &&
- Settings::getInstance()->getBool("RetroachievementsMenuitem") &&
- SystemConf::getInstance()->get("global.retroachievements.username") != "")
- addEntry(_("RETROACHIEVEMENTS").c_str(), true, [this] { GuiRetroAchievements::show(mWindow); }, "iconRetroachievements");
-
-#ifdef _ENABLEEMUELEC
- addEntry(_("SYSTEM SETTINGS").c_str(), true, [this] { openSystemSettings_batocera(); }, "iconSystem");
- //addEntry(_("EMULATIONSTATION SETTINGS").c_str(), true, [this] { openEmuELECSettings(); }, "iconEmuelec");
-#endif
- addEntry(_("UI SETTINGS").c_str(), true, [this] { openUISettings(); }, "iconUI");
- //addEntry(_("CONTROLLERS SETTINGS").c_str(), true, [this] { openControllersSettings_batocera(); }, "iconControllers");
- addEntry(_("SOUND SETTINGS").c_str(), true, [this] { openSoundSettings(); }, "iconSound");
-
- if (ApiSystem::getInstance()->isScriptingSupported(ApiSystem::WIFI))
- addEntry(_("NETWORK SETTINGS").c_str(), true, [this] { openNetworkSettings_batocera(); }, "iconNetwork");
-#else
- if (ApiSystem::getInstance()->isScriptingSupported(ApiSystem::GAMESETTINGS))
- addEntry(_("GAME SETTINGS").c_str(), true, [this] { openGamesSettings_batocera(); }, "iconGames");
-
- addEntry(_("UI SETTINGS").c_str(), true, [this] { openUISettings(); }, "iconUI");
-
- if (ApiSystem::getInstance()->isScriptingSupported(ApiSystem::GAMESETTINGS))
- addEntry(controllers_settings_label.c_str(), true, [this] { openControllersSettings_batocera(); }, "iconControllers");
- else
- addEntry(_("CONFIGURE INPUT"), true, [this] { openConfigInput(); }, "iconControllers");
-
- addEntry(_("SOUND SETTINGS").c_str(), true, [this] { openSoundSettings(); }, "iconSound");
- addEntry(_("GAME COLLECTION SETTINGS").c_str(), true, [this] { openCollectionSystemSettings(); }, "iconAdvanced");
-
- if (!ApiSystem::getInstance()->isScriptingSupported(ApiSystem::GAMESETTINGS))
- {
- for (auto system : SystemData::sSystemVector)
- {
- if (system->isCollection() || system->getEmulators().size() == 0 || (system->getEmulators().size() == 1 && system->getEmulators().begin()->cores.size() <= 1))
- continue;
-
- addEntry(_("EMULATOR SETTINGS"), true, [this] { openEmulatorSettings(); }, "iconGames");
- break;
- }
- }
-#endif
-
- addEntry(_("SCRAPER").c_str(), true, [this] { openScraperSettings(); }, "iconScraper");
- addEntry(_("UPDATES & DOWNLOADS"), true, [this] { openUpdatesSettings(); }, "iconUpdates");
- }
- else
- {
-
-
- if (ApiSystem::getInstance()->isScriptingSupported(ApiSystem::RETROACHIVEMENTS) &&
- SystemConf::getInstance()->getBool("global.retroachievements") &&
- Settings::getInstance()->getBool("RetroachievementsMenuitem") &&
- SystemConf::getInstance()->get("global.retroachievements.username") != "")
- addEntry(_("RETROACHIEVEMENTS").c_str(), true, [this] { GuiRetroAchievements::show(mWindow); }, "iconRetroachievements");
-
- addEntry(_("INFORMATION").c_str(), true, [this] { openSystemInformations_batocera(); }, "iconSystem");
- addEntry(_("UNLOCK UI MODE").c_str(), true, [this] { exitKidMode(); }, "iconAdvanced");
- }
-
-#ifdef WIN32
- addEntry(_("QUIT").c_str(), !Settings::getInstance()->getBool("ShowOnlyExit"), [this] {openQuitMenu_batocera(); }, "iconQuit");
-#else
-#ifdef _ENABLEEMUELEC
-if (!isKidUI) {
- addEntry(_("QUIT").c_str(), true, [this] { openQuitMenu_batocera(); }, "iconQuit");
-}
-#else
- addEntry(_("QUIT").c_str(), true, [this] { openQuitMenu_batocera(); }, "iconQuit");
-#endif
-#endif
-
- addChild(&mMenu);
- addVersionInfo(); // batocera
- setSize(mMenu.getSize());
-
- if (animate)
- {
- if (Renderer::isSmallScreen())
- animateTo(Vector2f((Renderer::getScreenWidth() - getSize().x()) / 2, (Renderer::getScreenHeight() - getSize().y()) / 2));
- else
- animateTo(Vector2f((Renderer::getScreenWidth() - mSize.x()) / 2, Renderer::getScreenHeight() * 0.15f));
- }
- else
- {
- if (Renderer::isSmallScreen())
- setPosition((Renderer::getScreenWidth() - mSize.x()) / 2, (Renderer::getScreenHeight() - mSize.y()) / 2);
- else
- setPosition((Renderer::getScreenWidth() - mSize.x()) / 2, Renderer::getScreenHeight() * 0.15f);
- }
-}
-#ifdef _ENABLEEMUELEC
-/* < emuelec */
-void GuiMenu::openEmuELECSettings()
-{
- auto s = new GuiSettings(mWindow, "EmulationStation Settings");
-
- Window* window = mWindow;
- std::string a;
-#if !defined(_ENABLEGAMEFORCE) && !defined(ODROIDGOA)
- /*
- auto emuelec_video_mode = std::make_shared< OptionListComponent >(mWindow, "VIDEO MODE", false);
- std::vector videomode;
- videomode.push_back("1080p60hz");
- videomode.push_back("1080i60hz");
- videomode.push_back("720p60hz");
- videomode.push_back("720p50hz");
- videomode.push_back("480p60hz");
- videomode.push_back("480cvbs");
- videomode.push_back("576p50hz");
- videomode.push_back("1080p50hz");
- videomode.push_back("1080i50hz");
- videomode.push_back("576cvbs");
- videomode.push_back("Custom");
- videomode.push_back("-- AUTO-DETECTED RESOLUTIONS --");
- for(std::stringstream ss(getShOutput(R"(/usr/bin/emuelec-utils resolutions)")); getline(ss, a, ','); ) {
- videomode.push_back(a);
- }
- for (auto it = videomode.cbegin(); it != videomode.cend(); it++) {
- emuelec_video_mode->add(*it, *it, SystemConf::getInstance()->get("ee_videomode") == *it); }
- s->addWithLabel(_("VIDEO MODE"), emuelec_video_mode);
-
- s->addSaveFunc([this, emuelec_video_mode, window] {
-
- //bool v_need_reboot = false;
-
- if (emuelec_video_mode->changed()) {
- std::string selectedVideoMode = emuelec_video_mode->getSelected();
- if (emuelec_video_mode->getSelected() != "-- AUTO-DETECTED RESOLUTIONS --") {
- if (emuelec_video_mode->getSelected() != "Custom") {
- std::string msg = _("You are about to set EmuELEC resolution to:") +"\n" + selectedVideoMode + "\n";
- msg += _("Do you want to proceed ?");
-
- window->pushGui(new GuiMsgBox(window, msg,
- _("YES"), [selectedVideoMode] {
- runSystemCommand("echo "+selectedVideoMode+" > /sys/class/display/mode", "", nullptr);
- SystemConf::getInstance()->set("ee_videomode", selectedVideoMode);
- LOG(LogInfo) << "Setting video to " << selectedVideoMode;
- runSystemCommand("/usr/bin/setres.sh", "", nullptr);
- SystemConf::getInstance()->saveSystemConf();
- // v_need_reboot = true;
- }, _("NO"),nullptr));
-
- } else {
- if(Utils::FileSystem::exists("/storage/.config/EE_VIDEO_MODE")) {
- runSystemCommand("echo $(cat /storage/.config/EE_VIDEO_MODE) > /sys/class/display/mode", "", nullptr);
- LOG(LogInfo) << "Setting custom video mode from /storage/.config/EE_VIDEO_MODE to " << runSystemCommand("cat /storage/.config/EE_VIDEO_MODE", "", nullptr);
- SystemConf::getInstance()->set("ee_videomode", selectedVideoMode);
- SystemConf::getInstance()->saveSystemConf();
- //v_need_reboot = true;
- } else {
- if(Utils::FileSystem::exists("/flash/EE_VIDEO_MODE")) {
- runSystemCommand("echo $(cat /flash/EE_VIDEO_MODE) > /sys/class/display/mode", "", nullptr);
- LOG(LogInfo) << "Setting custom video mode from /flash/EE_VIDEO_MODE to " << runSystemCommand("cat /flash/EE_VIDEO_MODE", "", nullptr);
- SystemConf::getInstance()->set("ee_videomode", selectedVideoMode);
- SystemConf::getInstance()->saveSystemConf();
- //v_need_reboot = true;
- } else {
- runSystemCommand("echo " + SystemConf::getInstance()->get("ee_videomode")+ " > /sys/class/display/mode", "", nullptr);
- std::string msg = "/storage/.config/EE_VIDEO_MODE or /flash/EE_VIDEO_MODE not found";
- window->pushGui(new GuiMsgBox(window, msg,
- "OK", [selectedVideoMode] {
- LOG(LogInfo) << "EE_VIDEO_MODE was not found! Setting video mode to " + SystemConf::getInstance()->get("ee_videomode");
- }));
- }
- }
- }
- }
- //if (v_need_reboot)
- mWindow->displayNotificationMessage(_U("\uF011 ") + _("A REBOOT OF THE SYSTEM IS REQUIRED TO APPLY THE NEW CONFIGURATION"));
- }
- });
- */
-#endif
-#ifdef _ENABLEGAMEFORCE
- auto emuelec_blrgboptions_def = std::make_shared< OptionListComponent >(mWindow, "BUTTON LED COLOR", false);
- std::vector blrgboptions;
- blrgboptions.push_back("off");
- blrgboptions.push_back("red");
- blrgboptions.push_back("green");
- blrgboptions.push_back("blue");
- blrgboptions.push_back("white");
- blrgboptions.push_back("purple");
- blrgboptions.push_back("yellow");
- blrgboptions.push_back("cyan");
-
- auto blrgboptionsS = SystemConf::getInstance()->get("bl_rgb");
- if (blrgboptionsS.empty())
- blrgboptionsS = "off";
-
- for (auto it = blrgboptions.cbegin(); it != blrgboptions.cend(); it++)
- emuelec_blrgboptions_def->add(*it, *it, blrgboptionsS == *it);
-
- s->addWithLabel(_("BUTTON LED COLOR"), emuelec_blrgboptions_def);
- s->addSaveFunc([emuelec_blrgboptions_def] {
- if (emuelec_blrgboptions_def->changed()) {
- std::string selectedblrgb = emuelec_blrgboptions_def->getSelected();
- runSystemCommand("/usr/bin/odroidgoa_utils.sh bl " +selectedblrgb, "", nullptr);
- SystemConf::getInstance()->set("bl_rgb", selectedblrgb);
- SystemConf::getInstance()->saveSystemConf();
- }
- });
-
- auto emuelec_powerled_def = std::make_shared< OptionListComponent >(mWindow, "STATUS LED", false);
- std::vector powerledoptions;
- powerledoptions.push_back("off");
- powerledoptions.push_back("heartbeat");
- powerledoptions.push_back("on");
-
- auto powerledoptionsS = SystemConf::getInstance()->get("gf_statusled");
- if (powerledoptionsS.empty())
- powerledoptionsS = "heartbeat";
-
- for (auto it = powerledoptions.cbegin(); it != powerledoptions.cend(); it++)
- emuelec_powerled_def->add(*it, *it, powerledoptionsS == *it);
-
- s->addWithLabel(_("STATUS LED"), emuelec_powerled_def);
- s->addSaveFunc([emuelec_powerled_def] {
- if (emuelec_powerled_def->changed()) {
- std::string selectedpowerled = emuelec_powerled_def->getSelected();
- runSystemCommand("/usr/bin/odroidgoa_utils.sh pl " +selectedpowerled, "", nullptr);
- SystemConf::getInstance()->set("gf_statusled", selectedpowerled);
- SystemConf::getInstance()->saveSystemConf();
- }
- });
-#endif
-#if !defined(_ENABLEGAMEFORCE) && !defined(ODROIDGOA)
- auto emuelec_audiodev_def = std::make_shared< OptionListComponent >(mWindow, "AUDIO DEVICE", false);
- std::vector Audiodevices;
- Audiodevices.push_back("auto");
- Audiodevices.push_back("0,0");
- Audiodevices.push_back("0,1");
- Audiodevices.push_back("1,0");
- Audiodevices.push_back("1,1");
-
- auto AudiodevicesS = SystemConf::getInstance()->get("ee_audio_device");
- if (AudiodevicesS.empty())
- AudiodevicesS = "auto";
-
- for (auto it = Audiodevices.cbegin(); it != Audiodevices.cend(); it++)
- emuelec_audiodev_def->add(*it, *it, AudiodevicesS == *it);
-
- s->addWithLabel(_("AUDIO DEVICE"), emuelec_audiodev_def);
- s->addSaveFunc([emuelec_audiodev_def] {
- if (emuelec_audiodev_def->changed()) {
- std::string selectedaudiodev = emuelec_audiodev_def->getSelected();
- SystemConf::getInstance()->set("ee_audio_device", selectedaudiodev);
- SystemConf::getInstance()->saveSystemConf();
- }
- });
-#endif
- auto bluetoothd_enabled = std::make_shared(mWindow);
- bool btbaseEnabled = SystemConf::getInstance()->get("ee_bluetooth.enabled") == "1";
- bluetoothd_enabled->setState(btbaseEnabled);
- s->addWithLabel(_("ENABLE BLUETOOTH"), bluetoothd_enabled);
- s->addSaveFunc([bluetoothd_enabled] {
- if (bluetoothd_enabled->changed()) {
- if (bluetoothd_enabled->getState() == false) {
- runSystemCommand("systemctl stop bluetooth", "", nullptr);
- runSystemCommand("rm /storage/.cache/services/bluez.conf", "", nullptr);
- } else {
- runSystemCommand("mkdir -p /storage/.cache/services/", "", nullptr);
- runSystemCommand("touch /storage/.cache/services/bluez.conf", "", nullptr);
- runSystemCommand("systemctl start bluetooth", "", nullptr);
- }
- bool bluetoothenabled = bluetoothd_enabled->getState();
- SystemConf::getInstance()->set("ee_bluetooth.enabled", bluetoothenabled ? "1" : "0");
- SystemConf::getInstance()->saveSystemConf();
- }
- });
-
- auto sshd_enabled = std::make_shared(mWindow);
- bool baseEnabled = SystemConf::getInstance()->get("ee_ssh.enabled") == "1";
- sshd_enabled->setState(baseEnabled);
- s->addWithLabel(_("ENABLE SSH"), sshd_enabled);
- s->addSaveFunc([sshd_enabled] {
- if (sshd_enabled->changed()) {
- if (sshd_enabled->getState() == false) {
- runSystemCommand("systemctl stop sshd", "", nullptr);
- runSystemCommand("rm /storage/.cache/services/sshd.conf", "", nullptr);
- } else {
- runSystemCommand("mkdir -p /storage/.cache/services/", "", nullptr);
- runSystemCommand("touch /storage/.cache/services/sshd.conf", "", nullptr);
- runSystemCommand("systemctl start sshd", "", nullptr);
- }
- bool sshenabled = sshd_enabled->getState();
- SystemConf::getInstance()->set("ee_ssh.enabled", sshenabled ? "1" : "0");
- SystemConf::getInstance()->saveSystemConf();
- }
- });
-
- auto emuelec_boot_def = std::make_shared< OptionListComponent >(mWindow, "START AT BOOT", false);
- std::vector devices;
- devices.push_back("Emulationstation");
- devices.push_back("Retroarch");
- for (auto it = devices.cbegin(); it != devices.cend(); it++)
- emuelec_boot_def->add(*it, *it, SystemConf::getInstance()->get("ee_boot") == *it);
- s->addWithLabel(_("START AT BOOT"), emuelec_boot_def);
- s->addSaveFunc([emuelec_boot_def] {
- if (emuelec_boot_def->changed()) {
- std::string selectedBootMode = emuelec_boot_def->getSelected();
- SystemConf::getInstance()->set("ee_boot", selectedBootMode);
- SystemConf::getInstance()->saveSystemConf();
- }
- });
-
- auto fps_enabled = std::make_shared(mWindow);
- bool fpsEnabled = SystemConf::getInstance()->get("global.showFPS") == "1";
- fps_enabled->setState(fpsEnabled);
- s->addWithLabel(_("SHOW RETROARCH FPS"), fps_enabled);
- s->addSaveFunc([fps_enabled] {
- bool fpsenabled = fps_enabled->getState();
- SystemConf::getInstance()->set("global.showFPS", fpsenabled ? "1" : "0");
- SystemConf::getInstance()->saveSystemConf();
- });
-/*
- auto bezels_enabled = std::make_shared(mWindow);
- bool bezelsEnabled = SystemConf::getInstance()->get("global.bezel") == "1";
- bezels_enabled->setState(bezelsEnabled);
- s->addWithLabel(_("ENABLE RA BEZELS"), bezels_enabled);
- s->addSaveFunc([bezels_enabled] {
- bool bezelsenabled = bezels_enabled->getState();
- SystemConf::getInstance()->set("global.bezel", bezelsenabled ? "1" : "0");
- SystemConf::getInstance()->saveSystemConf();
- });
-*/
- auto splash_enabled = std::make_shared(mWindow);
- bool splashEnabled = SystemConf::getInstance()->get("ee_splash.enabled") == "1";
- splash_enabled->setState(splashEnabled);
- s->addWithLabel(_("ENABLE RA SPLASH"), splash_enabled);
- s->addSaveFunc([splash_enabled] {
- bool splashenabled = splash_enabled->getState();
- SystemConf::getInstance()->set("ee_splash.enabled", splashenabled ? "1" : "0");
- SystemConf::getInstance()->saveSystemConf();
- });
-
- auto enable_bootvideo = std::make_shared(mWindow);
- bool bootEnabled = SystemConf::getInstance()->get("ee_bootvideo.enabled") == "1";
- enable_bootvideo->setState(bootEnabled);
- s->addWithLabel(_("ALWAYS SHOW BOOT VIDEO"), enable_bootvideo);
-
- s->addSaveFunc([enable_bootvideo, window] {
- bool bootvideoenabled = enable_bootvideo->getState();
- SystemConf::getInstance()->set("ee_bootvideo.enabled", bootvideoenabled ? "1" : "0");
- SystemConf::getInstance()->saveSystemConf();
- });
-
- auto enable_randombootvideo = std::make_shared(mWindow);
- bool randombootEnabled = SystemConf::getInstance()->get("ee_randombootvideo.enabled") == "1";
- enable_randombootvideo->setState(randombootEnabled);
- s->addWithLabel(_("RANDOMIZE BOOT VIDEO"), enable_randombootvideo);
-
- s->addSaveFunc([enable_randombootvideo, window] {
- bool randombootvideoenabled = enable_randombootvideo->getState();
- SystemConf::getInstance()->set("ee_randombootvideo.enabled", randombootvideoenabled ? "1" : "0");
- if (randombootvideoenabled)
- SystemConf::getInstance()->set("ee_bootvideo.enabled", "1");
- SystemConf::getInstance()->saveSystemConf();
- });
-
- s->addInputTextRow(_("DEFAULT YOUTUBE SEARCH WORD"), "youtube.searchword", false);
-
- auto enable_advmamegp = std::make_shared(mWindow);
- bool advgpEnabled = SystemConf::getInstance()->get("advmame_auto_gamepad") == "1";
- enable_advmamegp->setState(advgpEnabled);
- s->addWithLabel(_("AUTO CONFIG ADVANCEMAME GAMEPAD"), enable_advmamegp);
-
- s->addSaveFunc([enable_advmamegp, window] {
- bool advmamegpenabled = enable_advmamegp->getState();
- SystemConf::getInstance()->set("advmame_auto_gamepad", advmamegpenabled ? "1" : "0");
- SystemConf::getInstance()->saveSystemConf();
- });
-
- auto emuelec_retroarch_menu_def = std::make_shared< OptionListComponent >(mWindow, "RETROARCH MENU", false);
- std::vector ramenuoptions;
- ramenuoptions.push_back("auto");
- ramenuoptions.push_back("ozone");
- ramenuoptions.push_back("xmb");
- ramenuoptions.push_back("rgui");
-
- auto ramenuoptionsS = SystemConf::getInstance()->get("global.retroarch.menu_driver");
- if (ramenuoptionsS.empty())
- ramenuoptionsS = "auto";
-
- for (auto it = ramenuoptions.cbegin(); it != ramenuoptions.cend(); it++)
- emuelec_retroarch_menu_def->add(*it, *it, ramenuoptionsS == *it);
-
- s->addWithLabel(_("RETROARCH MENU"), emuelec_retroarch_menu_def);
- s->addSaveFunc([emuelec_retroarch_menu_def] {
- if (emuelec_retroarch_menu_def->changed()) {
- std::string selectedretroarch_menu = emuelec_retroarch_menu_def->getSelected();
- SystemConf::getInstance()->set("global.retroarch.menu_driver", selectedretroarch_menu);
- SystemConf::getInstance()->saveSystemConf();
- }
- });
-
-if (UIModeController::getInstance()->isUIModeFull())
- {
- //Danger zone options
- s->addEntry(_("DANGER ZONE"), true, [this] { openDangerZone(mWindow, "global"); });
- }
-
- mWindow->pushGui(s);
-}
-
-void GuiMenu::openDangerZone(Window* mWindow, std::string configName)
-{
-
- GuiSettings* dangerZone = new GuiSettings(mWindow, _("DANGER ZONE").c_str());
-
-#if defined(_ENABLEGAMEFORCE) || defined(ODROIDGOA)
- // OG OC
- auto emuelec_oga_overclock = std::make_shared>(mWindow, _("OVERCLOCK"));
- emuelec_oga_overclock->addRange({ { _("Off"), "Off" }, { _("1.4ghz"), "1.4ghz" }, { "1.5ghz", "1.5ghz" } }, SystemConf::getInstance()->get("ee_oga_oc"));
- dangerZone->addWithLabel(_("OVERCLOCK"), emuelec_oga_overclock);
- dangerZone->addSaveFunc([configName, emuelec_oga_overclock, mWindow] {
-
- auto setOverclock = [emuelec_oga_overclock](const std::string& value)
- {
- LOG(LogInfo) << "Setting OGA_OC to " + value;
- runSystemCommand("/usr/bin/odroidgoa_utils.sh oga_oc " + value, "", nullptr);
- SystemConf::getInstance()->set("ee_oga_oc", value);
- SystemConf::getInstance()->saveSystemConf();
- };
-
- std::string selectedoc = emuelec_oga_overclock->getSelected();
- if (emuelec_oga_overclock && emuelec_oga_overclock->changed())
- {
- if (selectedoc != "Off")
- {
- std::string msg = _("OGA OC is HIGHLY experimental, you may encounter random lockups or your device might not boot anymore. \n");
- msg += _("In case you cannot boot anymore, create an empty file called \"no_oc.oga\" on the boot (EMUELEC) partition.\n\n");
- msg += _("There is also the posibility of SD card file corruption!!! Only enable OC if you agree to the risks!\n\n");
- msg += _("Do you want to proceed ?");
-
- mWindow->pushGui(new GuiMsgBox(mWindow, msg, _("YES"), [selectedoc, setOverclock]() { setOverclock(selectedoc); }, _("NO"), nullptr));
- }
- else
- setOverclock(selectedoc);
- }
-
-
- });
-#endif
-
- dangerZone->addEntry(_("BACKUP CONFIGURATIONS"), true, [mWindow] {
- mWindow->pushGui(new GuiMsgBox(mWindow, _("WARNING THIS WILL RESTART EMULATIONSTATION!\n\nAFTER THE SCRIPT IS DONE REMEMBER TO COPY THE FILE /storage/roms/backup/351ELEC_BACKUP.zip TO SOME PLACE SAFE OR IT WILL BE DELETED ON NEXT REBOOT!\n\nBACKUP CURRENT CONFIG AND RESTART?"), _("YES"),
- [] {
- runSystemCommand("systemd-run /usr/bin/emuelec-utils ee_backup backup", "", nullptr);
- }, _("NO"), nullptr));
- });
-
- dangerZone->addEntry(_("BACKUP IDENTITY"), true, [mWindow] {
- mWindow->pushGui(new GuiMsgBox(mWindow, _("THIS SCRIPT WILL BACK UP THE DEVICE AND USER IDENTITY DATA (PASSWORDS, ETC) SO IT CAN BE RESTORED AFTER FLASHING OR RESTORED ON ANOTHER DEVICE. MOVE /storage/roms/backup/identity.tar.gz SOME PLACE SAFE.\n\nBACKUP DEVICE AND USER IDENTITY?"), _("YES"),
- [] {
- runSystemCommand("systemd-run /usr/bin/emuelec-utils identity_backup", "", nullptr);
- }, _("NO"), nullptr));
- });
-
- dangerZone->addEntry(_("RESTORE FROM BACKUP"), true, [mWindow] {
- mWindow->pushGui(new GuiMsgBox(mWindow, _("WARNING THIS WILL RESTART EMULATIONSTATION AND REBOOT!\n\nYOUR EXISTING CONFIGURATION WILL BE OVERWRITTEN!\n\nRESTORE FROM BACKUP AND RESTART?"), _("YES"),
- [] {
- runSystemCommand("systemd-run /usr/bin/emuelec-utils ee_backup restore", "", nullptr);
- }, _("NO"), nullptr));
- });
-
- dangerZone->addEntry(_("RESET RETROARCH CONFIG TO DEFAULT"), true, [mWindow] {
- mWindow->pushGui(new GuiMsgBox(mWindow, _("WARNING: RETROARCH CONFIG WILL RESET TO DEFAULT\n\nPER-CORE CONFIGURATIONS WILL NOT BE AFFECTED BUT NO BACKUP WILL BE CREATED!\n\nRESET RETROARCH CONFIG TO DEFAULT?"), _("YES"),
- [] {
- runSystemCommand("systemd-run /usr/bin/emuelec-utils clearconfig retroarch", "", nullptr);
- }, _("NO"), nullptr));
- });
-
- dangerZone->addEntry(_("FACTORY RESET"), true, [mWindow] {
- mWindow->pushGui(new GuiMsgBox(mWindow, _("WARNING: RESETTING WILL PRESERVE YOUR PASSWORDS AND NETWORK CONFIGURATION HOWEVER YOUR REMAINING DATA AND ALL OTHER CONFIGURATIONS WILL BE RESET TO DEFAULTS!\n\nIF YOU WANT TO KEEP YOUR SETTINGS MAKE A BACKUP AND SAVE IT ON AN EXTERNAL DRIVE BEFORE RUNING THIS OPTION!\n\nRESET SYSTEM AND RESTART?"), _("YES"),
- [] {
- runSystemCommand("systemd-run /usr/bin/emuelec-utils clearconfig ALL", "", nullptr);
- }, _("NO"), nullptr));
- });
-
- /*
- dangerZone->addEntry(_("FORCE UPDATE"), true, [mWindow] {
-
- if (ApiSystem::getInstance()->getIpAdress() == "NOT CONNECTED")
- {
- mWindow->pushGui(new GuiMsgBox(mWindow, _("YOU ARE NOT CONNECTED TO A NETWORK"), _("OK"), nullptr));
- return;
- }
-
- mWindow->pushGui(new GuiMsgBox(mWindow, _("WARNING: A FORCE UPDATE WILL DOWNLOAD WHATEVER VERSION IS AVAILABLE FOR UPDATE REGARDLESS OF VERSION BASED ON THE TYPE YOU HAVE SELECTED IN THE UPDATE & DOWNLOADS (beta or stable)\n\nSYSTEM WILL RESET SCRIPTS AND BINARIES !\nDOWNLOADS, THEMES, BLUETOOTH PAIRINGS AND ROMS FOLDER WILL NOT BE AFFECTED.\n\nCONTINUE WITH FORCE UPDATE?"), _("YES"),
- [] {
- runSystemCommand("systemd-run /usr/bin/updatecheck.sh forceupdate", "", nullptr);
- }, _("NO"), nullptr));
- });
- */
-
-mWindow->pushGui(dangerZone);
-}
-
-
-/* emuelec >*/
-#endif
-
-void GuiMenu::openScraperSettings()
-{
- // scrape now
- ComponentListRow row;
- auto openScrapeNow = [this]
- {
- if (!checkNetwork())
- return;
-
- if (ThreadedScraper::isRunning())
- {
- mWindow->pushGui(new GuiMsgBox(mWindow, _("SCRAPER IS RUNNING. DO YOU WANT TO STOP IT?"), _("YES"), [this]
- {
- ThreadedScraper::stop();
- }, _("NO"), nullptr));
-
- return;
- }
-
- mWindow->pushGui(new GuiScraperStart(mWindow));
- };
-
- auto s = new GuiSettings(mWindow,
- _("SCRAPER"),
- _("NEXT"), [openScrapeNow](GuiSettings* settings)
- {
- settings->save();
- openScrapeNow();
- });
-
- std::string scraper = Settings::getInstance()->getString("Scraper");
-
- // scrape from
- auto scraper_list = std::make_shared< OptionListComponent< std::string > >(mWindow, _("SCRAPING DATABASE"), false);
- std::vector scrapers = Scraper::getScraperList();
-
- // Select either the first entry of the one read from the settings, just in case the scraper from settings has vanished.
- for(auto it = scrapers.cbegin(); it != scrapers.cend(); it++)
- scraper_list->add(*it, *it, *it == scraper);
-
- s->addWithLabel(_("SCRAPING DATABASE"), scraper_list); // batocera
- s->addSaveFunc([scraper_list] { Settings::getInstance()->setString("Scraper", scraper_list->getSelected()); });
-
- if (!scraper_list->hasSelection())
- {
- scraper_list->selectFirstItem();
- scraper = scraper_list->getSelected();
- }
-
- if (scraper == "ScreenScraper")
- {
- // Image source : tag
- std::string imageSourceName = Settings::getInstance()->getString("ScrapperImageSrc");
- auto imageSource = std::make_shared< OptionListComponent >(mWindow, _("IMAGE SOURCE"), false);
- imageSource->add(_("SCREENSHOT"), "ss", imageSourceName == "ss");
- imageSource->add(_("TITLE SCREENSHOT"), "sstitle", imageSourceName == "sstitle");
- imageSource->add(_("MIX V1"), "mixrbv1", imageSourceName == "mixrbv1");
- imageSource->add(_("MIX V2"), "mixrbv2", imageSourceName == "mixrbv2");
- imageSource->add(_("BOX 2D"), "box-2D", imageSourceName == "box-2D");
- imageSource->add(_("BOX 3D"), "box-3D", imageSourceName == "box-3D");
- imageSource->add(_("FAN ART"), "fanart", imageSourceName == "fanart");
- imageSource->add(_("NONE"), "", imageSourceName.empty());
-
- if (!imageSource->hasSelection())
- imageSource->selectFirstItem();
-
- s->addWithLabel(_("IMAGE SOURCE"), imageSource);
- s->addSaveFunc([imageSource] { Settings::getInstance()->setString("ScrapperImageSrc", imageSource->getSelected()); });
-
- // Box source : tag
- std::string thumbSourceName = Settings::getInstance()->getString("ScrapperThumbSrc");
- auto thumbSource = std::make_shared< OptionListComponent >(mWindow, _("BOX SOURCE"), false);
- thumbSource->add(_("NONE"), "", thumbSourceName.empty());
- thumbSource->add(_("BOX 2D"), "box-2D", thumbSourceName == "box-2D");
- thumbSource->add(_("BOX 3D"), "box-3D", thumbSourceName == "box-3D");
-
- if (!thumbSource->hasSelection())
- thumbSource->selectFirstItem();
-
- s->addWithLabel(_("BOX SOURCE"), thumbSource);
- s->addSaveFunc([thumbSource] { Settings::getInstance()->setString("ScrapperThumbSrc", thumbSource->getSelected()); });
-
- imageSource->setSelectedChangedCallback([this, thumbSource](std::string value)
- {
- if (value == "box-2D")
- thumbSource->remove(_("BOX 2D"));
- else
- thumbSource->add(_("BOX 2D"), "box-2D", false);
-
- if (value == "box-3D")
- thumbSource->remove(_("BOX 3D"));
- else
- thumbSource->add(_("BOX 3D"), "box-3D", false);
- });
-
- // Logo source :