mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 23:45:39 +00:00
Set up basics for Configurator and config patching
This commit is contained in:
parent
0be522145d
commit
ececa7cbec
496
emu-configs/defaults/citra/citra-qt-config.ini
Normal file
496
emu-configs/defaults/citra/citra-qt-config.ini
Normal file
|
@ -0,0 +1,496 @@
|
||||||
|
[Audio]
|
||||||
|
enable_audio_stretching=true
|
||||||
|
enable_audio_stretching\default=true
|
||||||
|
enable_dsp_lle=false
|
||||||
|
enable_dsp_lle\default=true
|
||||||
|
enable_dsp_lle_multithread=false
|
||||||
|
enable_dsp_lle_multithread\default=true
|
||||||
|
mic_input_device=Default
|
||||||
|
mic_input_device\default=true
|
||||||
|
mic_input_type=0
|
||||||
|
mic_input_type\default=true
|
||||||
|
output_device=auto
|
||||||
|
output_device\default=true
|
||||||
|
output_engine=auto
|
||||||
|
output_engine\default=true
|
||||||
|
volume=@Variant(\0\0\0\x87?\x80\0\0)
|
||||||
|
volume\default=true
|
||||||
|
|
||||||
|
[Camera]
|
||||||
|
camera_inner_config=
|
||||||
|
camera_inner_config\default=true
|
||||||
|
camera_inner_flip=0
|
||||||
|
camera_inner_flip\default=true
|
||||||
|
camera_inner_name=blank
|
||||||
|
camera_inner_name\default=true
|
||||||
|
camera_outer_left_config=
|
||||||
|
camera_outer_left_config\default=true
|
||||||
|
camera_outer_left_flip=0
|
||||||
|
camera_outer_left_flip\default=true
|
||||||
|
camera_outer_left_name=blank
|
||||||
|
camera_outer_left_name\default=true
|
||||||
|
camera_outer_right_config=
|
||||||
|
camera_outer_right_config\default=true
|
||||||
|
camera_outer_right_flip=0
|
||||||
|
camera_outer_right_flip\default=true
|
||||||
|
camera_outer_right_name=blank
|
||||||
|
camera_outer_right_name\default=true
|
||||||
|
|
||||||
|
[Controls]
|
||||||
|
profile=0
|
||||||
|
profile\default=true
|
||||||
|
profiles\1\button_a="code:65,engine:keyboard"
|
||||||
|
profiles\1\button_a\default=true
|
||||||
|
profiles\1\button_b="code:83,engine:keyboard"
|
||||||
|
profiles\1\button_b\default=true
|
||||||
|
profiles\1\button_debug="code:79,engine:keyboard"
|
||||||
|
profiles\1\button_debug\default=true
|
||||||
|
profiles\1\button_down="code:71,engine:keyboard"
|
||||||
|
profiles\1\button_down\default=true
|
||||||
|
profiles\1\button_gpio14="code:80,engine:keyboard"
|
||||||
|
profiles\1\button_gpio14\default=true
|
||||||
|
profiles\1\button_home="code:66,engine:keyboard"
|
||||||
|
profiles\1\button_home\default=true
|
||||||
|
profiles\1\button_l="code:81,engine:keyboard"
|
||||||
|
profiles\1\button_l\default=true
|
||||||
|
profiles\1\button_left="code:70,engine:keyboard"
|
||||||
|
profiles\1\button_left\default=true
|
||||||
|
profiles\1\button_r="code:87,engine:keyboard"
|
||||||
|
profiles\1\button_r\default=true
|
||||||
|
profiles\1\button_right="code:72,engine:keyboard"
|
||||||
|
profiles\1\button_right\default=true
|
||||||
|
profiles\1\button_select="code:78,engine:keyboard"
|
||||||
|
profiles\1\button_select\default=true
|
||||||
|
profiles\1\button_start="code:77,engine:keyboard"
|
||||||
|
profiles\1\button_start\default=true
|
||||||
|
profiles\1\button_up="code:84,engine:keyboard"
|
||||||
|
profiles\1\button_up\default=true
|
||||||
|
profiles\1\button_x="code:90,engine:keyboard"
|
||||||
|
profiles\1\button_x\default=true
|
||||||
|
profiles\1\button_y="code:88,engine:keyboard"
|
||||||
|
profiles\1\button_y\default=true
|
||||||
|
profiles\1\button_zl="code:49,engine:keyboard"
|
||||||
|
profiles\1\button_zl\default=true
|
||||||
|
profiles\1\button_zr="code:50,engine:keyboard"
|
||||||
|
profiles\1\button_zr\default=true
|
||||||
|
profiles\1\c_stick="down:code$075$1engine$0keyboard,engine:analog_from_button,left:code$074$1engine$0keyboard,modifier:code$068$1engine$0keyboard,modifier_scale:0.500000,right:code$076$1engine$0keyboard,up:code$073$1engine$0keyboard"
|
||||||
|
profiles\1\c_stick\default=true
|
||||||
|
profiles\1\circle_pad="down:code$016777237$1engine$0keyboard,engine:analog_from_button,left:code$016777234$1engine$0keyboard,modifier:code$068$1engine$0keyboard,modifier_scale:0.500000,right:code$016777236$1engine$0keyboard,up:code$016777235$1engine$0keyboard"
|
||||||
|
profiles\1\circle_pad\default=true
|
||||||
|
profiles\1\motion_device="engine:motion_emu,update_period:100,sensitivity:0.01,tilt_clamp:90.0"
|
||||||
|
profiles\1\motion_device\default=true
|
||||||
|
profiles\1\name=default
|
||||||
|
profiles\1\name\default=true
|
||||||
|
profiles\1\touch_device=engine:emu_window
|
||||||
|
profiles\1\touch_device\default=true
|
||||||
|
profiles\1\touch_from_button_map=0
|
||||||
|
profiles\1\touch_from_button_map\default=true
|
||||||
|
profiles\1\udp_input_address=127.0.0.1
|
||||||
|
profiles\1\udp_input_address\default=true
|
||||||
|
profiles\1\udp_input_port=26760
|
||||||
|
profiles\1\udp_input_port\default=true
|
||||||
|
profiles\1\udp_pad_index=0
|
||||||
|
profiles\1\udp_pad_index\default=true
|
||||||
|
profiles\1\use_touch_from_button=false
|
||||||
|
profiles\1\use_touch_from_button\default=true
|
||||||
|
profiles\size=1
|
||||||
|
touch_from_button_maps\1\entries\size=0
|
||||||
|
touch_from_button_maps\1\name=default
|
||||||
|
touch_from_button_maps\1\name\default=true
|
||||||
|
touch_from_button_maps\size=1
|
||||||
|
|
||||||
|
[Core]
|
||||||
|
cpu_clock_percentage=100
|
||||||
|
cpu_clock_percentage\default=true
|
||||||
|
use_cpu_jit=true
|
||||||
|
use_cpu_jit\default=true
|
||||||
|
|
||||||
|
[Data%20Storage]
|
||||||
|
nand_directory=
|
||||||
|
nand_directory\default=true
|
||||||
|
sdmc_directory=
|
||||||
|
sdmc_directory\default=true
|
||||||
|
use_virtual_sd=true
|
||||||
|
use_virtual_sd\default=true
|
||||||
|
|
||||||
|
[Debugging]
|
||||||
|
LLE\AC=false
|
||||||
|
LLE\AC\default=true
|
||||||
|
LLE\ACT=false
|
||||||
|
LLE\ACT\default=true
|
||||||
|
LLE\AM=false
|
||||||
|
LLE\AM\default=true
|
||||||
|
LLE\BOSS=false
|
||||||
|
LLE\BOSS\default=true
|
||||||
|
LLE\CAM=false
|
||||||
|
LLE\CAM\default=true
|
||||||
|
LLE\CDC=false
|
||||||
|
LLE\CDC\default=true
|
||||||
|
LLE\CECD=false
|
||||||
|
LLE\CECD\default=true
|
||||||
|
LLE\CFG=false
|
||||||
|
LLE\CFG\default=true
|
||||||
|
LLE\CSND=false
|
||||||
|
LLE\CSND\default=true
|
||||||
|
LLE\DLP=false
|
||||||
|
LLE\DLP\default=true
|
||||||
|
LLE\DSP=false
|
||||||
|
LLE\DSP\default=true
|
||||||
|
LLE\ERR=false
|
||||||
|
LLE\ERR\default=true
|
||||||
|
LLE\FRD=false
|
||||||
|
LLE\FRD\default=true
|
||||||
|
LLE\FS=false
|
||||||
|
LLE\FS\default=true
|
||||||
|
LLE\GPIO=false
|
||||||
|
LLE\GPIO\default=true
|
||||||
|
LLE\GSP=false
|
||||||
|
LLE\GSP\default=true
|
||||||
|
LLE\HID=false
|
||||||
|
LLE\HID\default=true
|
||||||
|
LLE\HTTP=false
|
||||||
|
LLE\HTTP\default=true
|
||||||
|
LLE\I2C=false
|
||||||
|
LLE\I2C\default=true
|
||||||
|
LLE\IR=false
|
||||||
|
LLE\IR\default=true
|
||||||
|
LLE\LDR=false
|
||||||
|
LLE\LDR\default=true
|
||||||
|
LLE\MCU=false
|
||||||
|
LLE\MCU\default=true
|
||||||
|
LLE\MIC=false
|
||||||
|
LLE\MIC\default=true
|
||||||
|
LLE\MP=false
|
||||||
|
LLE\MP\default=true
|
||||||
|
LLE\MVD=false
|
||||||
|
LLE\MVD\default=true
|
||||||
|
LLE\NDM=false
|
||||||
|
LLE\NDM\default=true
|
||||||
|
LLE\NEWS=false
|
||||||
|
LLE\NEWS\default=true
|
||||||
|
LLE\NFC=false
|
||||||
|
LLE\NFC\default=true
|
||||||
|
LLE\NIM=false
|
||||||
|
LLE\NIM\default=true
|
||||||
|
LLE\NS=false
|
||||||
|
LLE\NS\default=true
|
||||||
|
LLE\NWM=false
|
||||||
|
LLE\NWM\default=true
|
||||||
|
LLE\PDN=false
|
||||||
|
LLE\PDN\default=true
|
||||||
|
LLE\PM=false
|
||||||
|
LLE\PM\default=true
|
||||||
|
LLE\PS=false
|
||||||
|
LLE\PS\default=true
|
||||||
|
LLE\PTM=false
|
||||||
|
LLE\PTM\default=true
|
||||||
|
LLE\PXI=false
|
||||||
|
LLE\PXI\default=true
|
||||||
|
LLE\QTM=false
|
||||||
|
LLE\QTM\default=true
|
||||||
|
LLE\SOC=false
|
||||||
|
LLE\SOC\default=true
|
||||||
|
LLE\SPI=false
|
||||||
|
LLE\SPI\default=true
|
||||||
|
LLE\SSL=false
|
||||||
|
LLE\SSL\default=true
|
||||||
|
gdbstub_port=24689
|
||||||
|
gdbstub_port\default=true
|
||||||
|
record_frame_times=false
|
||||||
|
use_gdbstub=false
|
||||||
|
use_gdbstub\default=true
|
||||||
|
|
||||||
|
[Layout]
|
||||||
|
custom_bottom_bottom=480
|
||||||
|
custom_bottom_bottom\default=true
|
||||||
|
custom_bottom_left=40
|
||||||
|
custom_bottom_left\default=true
|
||||||
|
custom_bottom_right=360
|
||||||
|
custom_bottom_right\default=true
|
||||||
|
custom_bottom_top=240
|
||||||
|
custom_bottom_top\default=true
|
||||||
|
custom_layout=false
|
||||||
|
custom_layout\default=true
|
||||||
|
custom_top_bottom=240
|
||||||
|
custom_top_bottom\default=true
|
||||||
|
custom_top_left=0
|
||||||
|
custom_top_left\default=true
|
||||||
|
custom_top_right=400
|
||||||
|
custom_top_right\default=true
|
||||||
|
custom_top_top=0
|
||||||
|
custom_top_top\default=true
|
||||||
|
factor_3d=0
|
||||||
|
factor_3d\default=true
|
||||||
|
filter_mode=true
|
||||||
|
filter_mode\default=true
|
||||||
|
layout_option=0
|
||||||
|
pp_shader_name=none (builtin)
|
||||||
|
pp_shader_name\default=true
|
||||||
|
render_3d=0
|
||||||
|
render_3d\default=true
|
||||||
|
swap_screen=false
|
||||||
|
swap_screen\default=true
|
||||||
|
upright_screen=false
|
||||||
|
upright_screen\default=true
|
||||||
|
|
||||||
|
[Miscellaneous]
|
||||||
|
log_filter=*:Info
|
||||||
|
log_filter\default=true
|
||||||
|
|
||||||
|
[Renderer]
|
||||||
|
bg_blue=0
|
||||||
|
bg_blue\default=true
|
||||||
|
bg_green=0
|
||||||
|
bg_green\default=true
|
||||||
|
bg_red=0
|
||||||
|
bg_red\default=true
|
||||||
|
frame_limit=100
|
||||||
|
frame_limit\default=true
|
||||||
|
frame_limit_alternate=200
|
||||||
|
frame_limit_alternate\default=true
|
||||||
|
resolution_factor=1
|
||||||
|
resolution_factor\default=true
|
||||||
|
shaders_accurate_mul=true
|
||||||
|
shaders_accurate_mul\default=true
|
||||||
|
texture_filter_name=none
|
||||||
|
texture_filter_name\default=true
|
||||||
|
use_disk_shader_cache=true
|
||||||
|
use_disk_shader_cache\default=true
|
||||||
|
use_frame_limit_alternate=false
|
||||||
|
use_frame_limit_alternate\default=true
|
||||||
|
use_hw_renderer=true
|
||||||
|
use_hw_renderer\default=true
|
||||||
|
use_hw_shader=true
|
||||||
|
use_hw_shader\default=true
|
||||||
|
use_shader_jit=true
|
||||||
|
use_shader_jit\default=true
|
||||||
|
use_vsync_new=true
|
||||||
|
use_vsync_new\default=true
|
||||||
|
|
||||||
|
[System]
|
||||||
|
init_clock=0
|
||||||
|
init_clock\default=true
|
||||||
|
init_time=946681277
|
||||||
|
init_time\default=true
|
||||||
|
is_new_3ds=true
|
||||||
|
is_new_3ds\default=true
|
||||||
|
region_value=-1
|
||||||
|
region_value\default=true
|
||||||
|
|
||||||
|
[UI]
|
||||||
|
GameList\hideNoIcon=false
|
||||||
|
GameList\hideNoIcon\default=true
|
||||||
|
GameList\iconSize=2
|
||||||
|
GameList\iconSize\default=true
|
||||||
|
GameList\row1=2
|
||||||
|
GameList\row1\default=true
|
||||||
|
GameList\row2=0
|
||||||
|
GameList\row2\default=true
|
||||||
|
GameList\singleLineMode=false
|
||||||
|
GameList\singleLineMode\default=true
|
||||||
|
Multiplayer\game_id=0
|
||||||
|
Multiplayer\game_id\default=true
|
||||||
|
Multiplayer\host_type=0
|
||||||
|
Multiplayer\host_type\default=true
|
||||||
|
Multiplayer\ip=
|
||||||
|
Multiplayer\ip\default=true
|
||||||
|
Multiplayer\ip_ban_list\size=0
|
||||||
|
Multiplayer\max_player=8
|
||||||
|
Multiplayer\max_player\default=true
|
||||||
|
Multiplayer\nickname=
|
||||||
|
Multiplayer\nickname\default=true
|
||||||
|
Multiplayer\port=24872
|
||||||
|
Multiplayer\port\default=true
|
||||||
|
Multiplayer\room_description=
|
||||||
|
Multiplayer\room_description\default=true
|
||||||
|
Multiplayer\room_name=
|
||||||
|
Multiplayer\room_name\default=true
|
||||||
|
Multiplayer\room_nickname=
|
||||||
|
Multiplayer\room_nickname\default=true
|
||||||
|
Multiplayer\room_port=24872
|
||||||
|
Multiplayer\room_port\default=true
|
||||||
|
Multiplayer\username_ban_list\size=0
|
||||||
|
Paths\gamedirs\1\deep_scan=false
|
||||||
|
Paths\gamedirs\1\deep_scan\default=true
|
||||||
|
Paths\gamedirs\1\expanded=true
|
||||||
|
Paths\gamedirs\1\expanded\default=true
|
||||||
|
Paths\gamedirs\1\path=INSTALLED
|
||||||
|
Paths\gamedirs\2\deep_scan=false
|
||||||
|
Paths\gamedirs\2\deep_scan\default=true
|
||||||
|
Paths\gamedirs\2\expanded=true
|
||||||
|
Paths\gamedirs\2\expanded\default=true
|
||||||
|
Paths\gamedirs\2\path=SYSTEM
|
||||||
|
Paths\gamedirs\size=2
|
||||||
|
Paths\language=en
|
||||||
|
Paths\language\default=false
|
||||||
|
Paths\moviePlaybackPath=
|
||||||
|
Paths\movieRecordPath=
|
||||||
|
Paths\recentFiles=@Invalid()
|
||||||
|
Paths\romsPath=
|
||||||
|
Paths\screenshotPath=
|
||||||
|
Paths\symbolsPath=
|
||||||
|
Paths\videoDumpingPath=
|
||||||
|
Shortcuts\Main%20Window\Advance%20Frame\Context=2
|
||||||
|
Shortcuts\Main%20Window\Advance%20Frame\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Advance%20Frame\KeySeq=\\
|
||||||
|
Shortcuts\Main%20Window\Advance%20Frame\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Capture%20Screenshot\Context=2
|
||||||
|
Shortcuts\Main%20Window\Capture%20Screenshot\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Capture%20Screenshot\KeySeq=Ctrl+P
|
||||||
|
Shortcuts\Main%20Window\Capture%20Screenshot\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Continue\Pause%20Emulation\Context=1
|
||||||
|
Shortcuts\Main%20Window\Continue\Pause%20Emulation\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Continue\Pause%20Emulation\KeySeq=F4
|
||||||
|
Shortcuts\Main%20Window\Continue\Pause%20Emulation\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Decrease%20Speed%20Limit\Context=2
|
||||||
|
Shortcuts\Main%20Window\Decrease%20Speed%20Limit\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Decrease%20Speed%20Limit\KeySeq=-
|
||||||
|
Shortcuts\Main%20Window\Decrease%20Speed%20Limit\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Exit%20Citra\Context=1
|
||||||
|
Shortcuts\Main%20Window\Exit%20Citra\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Exit%20Citra\KeySeq=Ctrl+Q
|
||||||
|
Shortcuts\Main%20Window\Exit%20Citra\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Exit%20Fullscreen\Context=1
|
||||||
|
Shortcuts\Main%20Window\Exit%20Fullscreen\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Exit%20Fullscreen\KeySeq=Esc
|
||||||
|
Shortcuts\Main%20Window\Exit%20Fullscreen\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Fullscreen\Context=1
|
||||||
|
Shortcuts\Main%20Window\Fullscreen\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Fullscreen\KeySeq=F11
|
||||||
|
Shortcuts\Main%20Window\Fullscreen\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Increase%20Speed%20Limit\Context=2
|
||||||
|
Shortcuts\Main%20Window\Increase%20Speed%20Limit\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Increase%20Speed%20Limit\KeySeq=+
|
||||||
|
Shortcuts\Main%20Window\Increase%20Speed%20Limit\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Load%20Amiibo\Context=2
|
||||||
|
Shortcuts\Main%20Window\Load%20Amiibo\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Load%20Amiibo\KeySeq=F2
|
||||||
|
Shortcuts\Main%20Window\Load%20Amiibo\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Load%20File\Context=1
|
||||||
|
Shortcuts\Main%20Window\Load%20File\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Load%20File\KeySeq=Ctrl+O
|
||||||
|
Shortcuts\Main%20Window\Load%20File\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\Context=1
|
||||||
|
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\KeySeq=Ctrl+V
|
||||||
|
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Remove%20Amiibo\Context=2
|
||||||
|
Shortcuts\Main%20Window\Remove%20Amiibo\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Remove%20Amiibo\KeySeq=F3
|
||||||
|
Shortcuts\Main%20Window\Remove%20Amiibo\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Restart%20Emulation\Context=1
|
||||||
|
Shortcuts\Main%20Window\Restart%20Emulation\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Restart%20Emulation\KeySeq=F6
|
||||||
|
Shortcuts\Main%20Window\Restart%20Emulation\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Rotate%20Screens%20Upright\Context=1
|
||||||
|
Shortcuts\Main%20Window\Rotate%20Screens%20Upright\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Rotate%20Screens%20Upright\KeySeq=F8
|
||||||
|
Shortcuts\Main%20Window\Rotate%20Screens%20Upright\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\Context=1
|
||||||
|
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\KeySeq=Ctrl+C
|
||||||
|
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Stop%20Emulation\Context=1
|
||||||
|
Shortcuts\Main%20Window\Stop%20Emulation\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Stop%20Emulation\KeySeq=F5
|
||||||
|
Shortcuts\Main%20Window\Stop%20Emulation\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Swap%20Screens\Context=1
|
||||||
|
Shortcuts\Main%20Window\Swap%20Screens\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Swap%20Screens\KeySeq=F9
|
||||||
|
Shortcuts\Main%20Window\Swap%20Screens\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\Context=2
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\KeySeq=Ctrl+Z
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Filter%20Bar\Context=1
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Filter%20Bar\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Filter%20Bar\KeySeq=Ctrl+F
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Filter%20Bar\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Frame%20Advancing\Context=2
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Frame%20Advancing\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Frame%20Advancing\KeySeq=Ctrl+A
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Frame%20Advancing\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Screen%20Layout\Context=1
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Screen%20Layout\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Screen%20Layout\KeySeq=F10
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Screen%20Layout\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Status%20Bar\Context=1
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Status%20Bar\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Status%20Bar\KeySeq=Ctrl+S
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Status%20Bar\KeySeq\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Texture%20Dumping\Context=2
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Texture%20Dumping\Context\default=true
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Texture%20Dumping\KeySeq=Ctrl+D
|
||||||
|
Shortcuts\Main%20Window\Toggle%20Texture%20Dumping\KeySeq\default=true
|
||||||
|
UILayout\gameListHeaderState=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\x5\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x4\x33\0\0\0\x5\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x5\0\0\x2\x80\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x87\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64)
|
||||||
|
UILayout\geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\r\0\0\0\xbb\0\0\x5?\0\0\x2\xb6\0\0\x1\r\0\0\0\xd8\0\0\x5?\0\0\x2\xb6\0\0\0\0\0\0\0\0\x6M\0\0\x1\r\0\0\0\xd8\0\0\x5?\0\0\x2\xb6)
|
||||||
|
UILayout\geometryRenderWindow=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\0\x63\0\0\0\x1d\0\0\0\0\0\0\0\0\0\0\0\x63\0\0\0\x1d\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\0\0\0\0\x63\0\0\0\x1d)
|
||||||
|
UILayout\microProfileDialogGeometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x3\xe7\0\0\x2W\0\0\0\0\0\0\0\0\0\0\x3\xe7\0\0\x2W\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\0\0\0\x3\xe7\0\0\x2W)
|
||||||
|
UILayout\microProfileDialogVisible=false
|
||||||
|
UILayout\microProfileDialogVisible\default=true
|
||||||
|
UILayout\state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x2\0\0\0\0\0\0\0\0\0\0\0\0\xfc\x2\0\0\0\x1\xfb\0\0\0\x1c\0W\0\x61\0i\0t\0T\0r\0\x65\0\x65\0W\0i\0\x64\0g\0\x65\0t\0\0\0\0\0\xff\xff\xff\xff\0\0\0y\x1\0\0\x3\0\0\0\x1\0\0\0\0\0\0\0\0\xfc\x2\0\0\0\b\xfb\0\0\0\x18\0\x41\0R\0M\0R\0\x65\0g\0i\0s\0t\0\x65\0r\0s\0\0\0\0\0\xff\xff\xff\xff\0\0\0\x85\x1\0\0\x3\xfb\0\0\0 \0G\0r\0\x61\0p\0h\0i\0\x63\0s\0\x44\0\x65\0\x62\0u\0g\0g\0\x65\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0y\x1\0\0\x3\xfb\0\0\0\"\0P\0i\0\x63\0\x61\0 \0\x43\0o\0m\0m\0\x61\0n\0\x64\0 \0L\0i\0s\0t\0\0\0\0\0\xff\xff\xff\xff\0\0\0\xad\x1\0\0\x3\xfb\0\0\0*\0P\0i\0\x63\0\x61\0\x42\0r\0\x65\0\x61\0k\0P\0o\0i\0n\0t\0s\0W\0i\0\x64\0g\0\x65\0t\0\0\0\0\0\xff\xff\xff\xff\0\0\0\xad\x1\0\0\x3\xfb\0\0\0 \0P\0i\0\x63\0\x61\0V\0\x65\0r\0t\0\x65\0x\0S\0h\0\x61\0\x64\0\x65\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\x1\xde\x1\0\0\x3\xfb\0\0\0\x12\0\x43\0i\0T\0r\0\x61\0\x63\0i\0n\0g\0\0\0\0\0\xff\xff\xff\xff\0\0\0P\x1\0\0\x3\xfb\0\0\0.\0L\0L\0\x45\0S\0\x65\0r\0v\0i\0\x63\0\x65\0M\0o\0\x64\0u\0l\0\x65\0s\0W\0i\0\x64\0g\0\x65\0t\0\0\0\0\0\xff\xff\xff\xff\0\0\0y\x1\0\0\x3\xfb\0\0\0\x16\0I\0P\0\x43\0R\0\x65\0\x63\0o\0r\0\x64\0\x65\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\xef\x1\0\0\x3\0\0\x4\x33\0\0\x1\xa2\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\0)
|
||||||
|
Updater\check_for_update_on_start=true
|
||||||
|
Updater\check_for_update_on_start\default=true
|
||||||
|
Updater\update_on_close=false
|
||||||
|
Updater\update_on_close\default=true
|
||||||
|
calloutFlags=1
|
||||||
|
calloutFlags\default=false
|
||||||
|
confirmClose=true
|
||||||
|
confirmClose\default=true
|
||||||
|
displayTitleBars=true
|
||||||
|
displayTitleBars\default=true
|
||||||
|
enable_discord_presence=true
|
||||||
|
enable_discord_presence\default=true
|
||||||
|
firstStart=false
|
||||||
|
firstStart\default=false
|
||||||
|
fullscreen=false
|
||||||
|
fullscreen\default=true
|
||||||
|
hideInactiveMouse=false
|
||||||
|
hideInactiveMouse\default=true
|
||||||
|
pauseWhenInBackground=false
|
||||||
|
pauseWhenInBackground\default=true
|
||||||
|
screenshot_resolution_factor=0
|
||||||
|
screenshot_resolution_factor\default=true
|
||||||
|
showConsole=false
|
||||||
|
showConsole\default=true
|
||||||
|
showFilterBar=true
|
||||||
|
showFilterBar\default=true
|
||||||
|
showStatusBar=true
|
||||||
|
showStatusBar\default=true
|
||||||
|
singleWindowMode=true
|
||||||
|
singleWindowMode\default=true
|
||||||
|
theme=default
|
||||||
|
theme\default=true
|
||||||
|
|
||||||
|
[Utility]
|
||||||
|
custom_textures=false
|
||||||
|
custom_textures\default=true
|
||||||
|
dump_textures=false
|
||||||
|
dump_textures\default=true
|
||||||
|
preload_textures=false
|
||||||
|
preload_textures\default=true
|
||||||
|
|
||||||
|
[VideoDumping]
|
||||||
|
audio_bitrate=64000
|
||||||
|
audio_bitrate\default=true
|
||||||
|
audio_encoder=libvorbis
|
||||||
|
audio_encoder\default=true
|
||||||
|
audio_encoder_options=
|
||||||
|
audio_encoder_options\default=true
|
||||||
|
format_options=
|
||||||
|
output_format=webm
|
||||||
|
output_format\default=true
|
||||||
|
video_bitrate=2500000
|
||||||
|
video_bitrate\default=true
|
||||||
|
video_encoder=libvpx-vp9
|
||||||
|
video_encoder\default=true
|
||||||
|
video_encoder_options="quality:realtime,speed:6,tile-columns:4,frame-parallel:1,threads:8,row-mt:1"
|
||||||
|
video_encoder_options\default=true
|
||||||
|
|
||||||
|
[WebService]
|
||||||
|
citra_token=
|
||||||
|
citra_username=
|
||||||
|
enable_telemetry=false
|
||||||
|
enable_telemetry\default=false
|
||||||
|
web_api_url=https://api.citra-emu.org
|
||||||
|
web_api_url\default=true
|
55
emu-configs/defaults/dolphin/Dolphin.ini
Normal file
55
emu-configs/defaults/dolphin/Dolphin.ini
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
[Analytics]
|
||||||
|
ID = 20ba4576ae03327109c65c05b7340909
|
||||||
|
PermissionAsked = True
|
||||||
|
[NetPlay]
|
||||||
|
TraversalChoice = direct
|
||||||
|
[Core]
|
||||||
|
GFXBackend = OGL
|
||||||
|
AutoDiscChange = False
|
||||||
|
CPUThread = True
|
||||||
|
EnableCheats = False
|
||||||
|
OverrideRegionSettings = False
|
||||||
|
AudioStretch = False
|
||||||
|
AudioStretchMaxLatency = 80
|
||||||
|
DPL2Decoder = False
|
||||||
|
DPL2Quality = 2
|
||||||
|
DSPHLE = True
|
||||||
|
MMU = False
|
||||||
|
SelectedLanguage = 0
|
||||||
|
SerialPort1 = 255
|
||||||
|
SkipIPL = True
|
||||||
|
SlotA = 8
|
||||||
|
SlotB = 255
|
||||||
|
WiiKeyboard = False
|
||||||
|
WiimoteContinuousScanning = False
|
||||||
|
WiimoteControllerInterface = False
|
||||||
|
WiimoteEnableSpeaker = False
|
||||||
|
WiiSDCardAllowWrites = True
|
||||||
|
WiiSDCardEnableFolderSync = False
|
||||||
|
[Display]
|
||||||
|
DisableScreenSaver = True
|
||||||
|
[General]
|
||||||
|
HotkeysRequireFocus = True
|
||||||
|
RecursiveISOPaths = False
|
||||||
|
[Interface]
|
||||||
|
ConfirmStop = True
|
||||||
|
OnScreenDisplayMessages = True
|
||||||
|
PauseOnFocusLost = False
|
||||||
|
ShowActiveTitle = True
|
||||||
|
UseBuiltinTitleDatabase = True
|
||||||
|
UsePanicHandlers = True
|
||||||
|
[BluetoothPassthrough]
|
||||||
|
Enabled = False
|
||||||
|
[DSP]
|
||||||
|
EnableJIT = False
|
||||||
|
[GBA]
|
||||||
|
BIOS = /home/deck/.var/app/org.DolphinEmu.dolphin-emu/data/dolphin-emu/GBA/gba_bios.bin
|
||||||
|
Rom1 =
|
||||||
|
Rom2 =
|
||||||
|
Rom3 =
|
||||||
|
Rom4 =
|
||||||
|
SavesInRomPath = False
|
||||||
|
SavesPath = /home/deck/.var/app/org.DolphinEmu.dolphin-emu/data/dolphin-emu/GBA/Saves/
|
||||||
|
Threads = True
|
||||||
|
[Input]
|
||||||
|
BackgroundInput = False
|
3
emu-configs/defaults/dolphin/FreeLook.ini
Normal file
3
emu-configs/defaults/dolphin/FreeLook.ini
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[General]
|
||||||
|
BackgroundInput = False
|
||||||
|
Enabled = False
|
93
emu-configs/defaults/dolphin/GCKeyNew.ini
Normal file
93
emu-configs/defaults/dolphin/GCKeyNew.ini
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
[GCKeyboard1]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
Keys/HOME = Home
|
||||||
|
Keys/END = End
|
||||||
|
Keys/PGUP = Prior
|
||||||
|
Keys/PGDN = Next
|
||||||
|
Keys/SCR LK = Scroll_Lock
|
||||||
|
Keys/A = A
|
||||||
|
Keys/B = B
|
||||||
|
Keys/C = C
|
||||||
|
Keys/D = D
|
||||||
|
Keys/E = E
|
||||||
|
Keys/F = F
|
||||||
|
Keys/G = G
|
||||||
|
Keys/H = H
|
||||||
|
Keys/I = I
|
||||||
|
Keys/J = J
|
||||||
|
Keys/K = K
|
||||||
|
Keys/L = L
|
||||||
|
Keys/M = M
|
||||||
|
Keys/N = N
|
||||||
|
Keys/O = O
|
||||||
|
Keys/P = P
|
||||||
|
Keys/Q = Q
|
||||||
|
Keys/R = R
|
||||||
|
Keys/S = S
|
||||||
|
Keys/T = T
|
||||||
|
Keys/U = U
|
||||||
|
Keys/V = V
|
||||||
|
Keys/W = W
|
||||||
|
Keys/X = X
|
||||||
|
Keys/Y = Y
|
||||||
|
Keys/Z = Z
|
||||||
|
Keys/1 = `1`
|
||||||
|
Keys/2 = `2`
|
||||||
|
Keys/3 = `3`
|
||||||
|
Keys/4 = `4`
|
||||||
|
Keys/5 = `5`
|
||||||
|
Keys/6 = `6`
|
||||||
|
Keys/7 = `7`
|
||||||
|
Keys/8 = `8`
|
||||||
|
Keys/9 = `9`
|
||||||
|
Keys/0 = `0`
|
||||||
|
Keys/- = minus
|
||||||
|
Keys/` = grave
|
||||||
|
Keys/PRT SC = Print
|
||||||
|
Keys/' = apostrophe
|
||||||
|
Keys/[ = bracketleft
|
||||||
|
Keys/EQUALS = equal
|
||||||
|
Keys/* = KP_Multiply
|
||||||
|
Keys/] = bracketright
|
||||||
|
Keys/, = comma
|
||||||
|
Keys/. = period
|
||||||
|
Keys// = slash
|
||||||
|
Keys/\ = backslash
|
||||||
|
Keys/F1 = F1
|
||||||
|
Keys/F2 = F2
|
||||||
|
Keys/F3 = F3
|
||||||
|
Keys/F4 = F4
|
||||||
|
Keys/F5 = F5
|
||||||
|
Keys/F6 = F6
|
||||||
|
Keys/F7 = F7
|
||||||
|
Keys/F8 = F8
|
||||||
|
Keys/F9 = F9
|
||||||
|
Keys/F10 = F10
|
||||||
|
Keys/F11 = F11
|
||||||
|
Keys/F12 = F12
|
||||||
|
Keys/ESC = Escape
|
||||||
|
Keys/INSERT = Insert
|
||||||
|
Keys/DELETE = Delete
|
||||||
|
Keys/; = semicolon
|
||||||
|
Keys/BACKSPACE = BackSpace
|
||||||
|
Keys/TAB = Tab
|
||||||
|
Keys/CAPS LOCK = Caps_Lock
|
||||||
|
Keys/L SHIFT = Shift_L
|
||||||
|
Keys/R SHIFT = Shift_R
|
||||||
|
Keys/L CTRL = Control_L
|
||||||
|
Keys/R ALT = Alt_R
|
||||||
|
Keys/L WIN = Super_L
|
||||||
|
Keys/SPACE = space
|
||||||
|
Keys/R WIN = Super_R
|
||||||
|
Keys/MENU = Menu
|
||||||
|
Keys/LEFT = Left
|
||||||
|
Keys/DOWN = Down
|
||||||
|
Keys/UP = Up
|
||||||
|
Keys/RIGHT = Right
|
||||||
|
Keys/ENTER = Return
|
||||||
|
[GCKeyboard2]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
[GCKeyboard3]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
[GCKeyboard4]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
40
emu-configs/defaults/dolphin/GCPadNew.ini
Normal file
40
emu-configs/defaults/dolphin/GCPadNew.ini
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
[GCPad1]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
Buttons/A = `X`
|
||||||
|
Buttons/B = `Z`
|
||||||
|
Buttons/X = `C`
|
||||||
|
Buttons/Y = `S`
|
||||||
|
Buttons/Z = `D`
|
||||||
|
Buttons/Start = `Return`
|
||||||
|
Main Stick/Up = `Up`
|
||||||
|
Main Stick/Down = `Down`
|
||||||
|
Main Stick/Left = `Left`
|
||||||
|
Main Stick/Right = `Right`
|
||||||
|
Main Stick/Modifier = `Shift`
|
||||||
|
Main Stick/Modifier/Range = 50.0
|
||||||
|
Main Stick/Calibration = 100.00 141.42 100.00 141.42 100.00 141.42 100.00 141.42
|
||||||
|
C-Stick/Up = `I`
|
||||||
|
C-Stick/Down = `K`
|
||||||
|
C-Stick/Left = `J`
|
||||||
|
C-Stick/Right = `L`
|
||||||
|
C-Stick/Modifier = `Ctrl`
|
||||||
|
C-Stick/Modifier/Range = 50.0
|
||||||
|
C-Stick/Calibration = 100.00 141.42 100.00 141.42 100.00 141.42 100.00 141.42
|
||||||
|
Triggers/L = `Q`
|
||||||
|
Triggers/R = `W`
|
||||||
|
D-Pad/Up = `T`
|
||||||
|
D-Pad/Down = `G`
|
||||||
|
D-Pad/Left = `F`
|
||||||
|
D-Pad/Right = `H`
|
||||||
|
[GCPad2]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
Main Stick/Modifier/Range = 50.0
|
||||||
|
C-Stick/Modifier/Range = 50.0
|
||||||
|
[GCPad3]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
Main Stick/Modifier/Range = 50.0
|
||||||
|
C-Stick/Modifier/Range = 50.0
|
||||||
|
[GCPad4]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
Main Stick/Modifier/Range = 50.0
|
||||||
|
C-Stick/Modifier/Range = 50.0
|
24
emu-configs/defaults/dolphin/GFX.ini
Normal file
24
emu-configs/defaults/dolphin/GFX.ini
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
[Enhancements]
|
||||||
|
ArbitraryMipmapDetection = True
|
||||||
|
DisableCopyFilter = True
|
||||||
|
ForceTrueColor = True
|
||||||
|
ForceFiltering = False
|
||||||
|
[Hacks]
|
||||||
|
BBoxEnable = False
|
||||||
|
DeferEFBCopies = True
|
||||||
|
EFBEmulateFormatChanges = False
|
||||||
|
EFBScaledCopy = True
|
||||||
|
EFBToTextureEnable = True
|
||||||
|
SkipDuplicateXFBs = True
|
||||||
|
XFBToTextureEnable = True
|
||||||
|
EFBAccessEnable = True
|
||||||
|
[Settings]
|
||||||
|
BackendMultithreading = True
|
||||||
|
DumpBaseTextures = True
|
||||||
|
DumpMipTextures = True
|
||||||
|
FastDepthCalc = True
|
||||||
|
InternalResolution = 1
|
||||||
|
SaveTextureCacheToState = True
|
||||||
|
WireFrame = False
|
||||||
|
[Hardware]
|
||||||
|
VSync = False
|
45
emu-configs/defaults/dolphin/Hotkeys.ini
Normal file
45
emu-configs/defaults/dolphin/Hotkeys.ini
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
[Hotkeys]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
General/Open = @(Ctrl+O)
|
||||||
|
General/Toggle Pause = F10
|
||||||
|
General/Stop = Escape
|
||||||
|
General/Toggle Fullscreen = @(Alt+Return)
|
||||||
|
General/Take Screenshot = F9
|
||||||
|
Emulation Speed/Disable Emulation Speed Limit = Tab
|
||||||
|
Stepping/Step Into = F11
|
||||||
|
Stepping/Step Over = @(Shift+F10)
|
||||||
|
Stepping/Step Out = @(Shift+F11)
|
||||||
|
Breakpoint/Toggle Breakpoint = @(Shift+F9)
|
||||||
|
Wii/Connect Wii Remote 1 = @(Alt+F5)
|
||||||
|
Wii/Connect Wii Remote 2 = @(Alt+F6)
|
||||||
|
Wii/Connect Wii Remote 3 = @(Alt+F7)
|
||||||
|
Wii/Connect Wii Remote 4 = @(Alt+F8)
|
||||||
|
Wii/Connect Balance Board = @(Alt+F9)
|
||||||
|
Load State/Load State Slot 1 = `F1`
|
||||||
|
Load State/Load State Slot 2 = F2
|
||||||
|
Load State/Load State Slot 3 = F3
|
||||||
|
Load State/Load State Slot 4 = F4
|
||||||
|
Load State/Load State Slot 5 = F5
|
||||||
|
Load State/Load State Slot 6 = F6
|
||||||
|
Load State/Load State Slot 7 = F7
|
||||||
|
Load State/Load State Slot 8 = F8
|
||||||
|
Save State/Save State Slot 1 = @(Shift+F1)
|
||||||
|
Save State/Save State Slot 2 = @(Shift+F2)
|
||||||
|
Save State/Save State Slot 3 = @(Shift+F3)
|
||||||
|
Save State/Save State Slot 4 = @(Shift+F4)
|
||||||
|
Save State/Save State Slot 5 = @(Shift+F5)
|
||||||
|
Save State/Save State Slot 6 = @(Shift+F6)
|
||||||
|
Save State/Save State Slot 7 = @(Shift+F7)
|
||||||
|
Save State/Save State Slot 8 = @(Shift+F8)
|
||||||
|
Other State Hotkeys/Undo Load State = F12
|
||||||
|
Other State Hotkeys/Undo Save State = @(Shift+F12)
|
||||||
|
GBA Core/Load ROM = @(`Ctrl`+`Shift`+`O`)
|
||||||
|
GBA Core/Unload ROM = @(`Ctrl`+`Shift`+`W`)
|
||||||
|
GBA Core/Reset = @(`Ctrl`+`Shift`+`R`)
|
||||||
|
GBA Volume/Volume Down = `KP_Subtract`
|
||||||
|
GBA Volume/Volume Up = `KP_Add`
|
||||||
|
GBA Volume/Volume Toggle Mute = `M`
|
||||||
|
GBA Window Size/1x = `KP_1`
|
||||||
|
GBA Window Size/2x = `KP_2`
|
||||||
|
GBA Window Size/3x = `KP_3`
|
||||||
|
GBA Window Size/4x = `KP_4`
|
84
emu-configs/defaults/dolphin/Qt.ini
Normal file
84
emu-configs/defaults/dolphin/Qt.ini
Normal file
|
@ -0,0 +1,84 @@
|
||||||
|
[breakpointwidget]
|
||||||
|
floating=false
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31)
|
||||||
|
|
||||||
|
[cheatsmanager]
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31)
|
||||||
|
|
||||||
|
[codewidget]
|
||||||
|
boxsplitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x4\0\0\0\x89\0\0\0\x89\0\0\0\x89\0\0\0\x89\x1\xff\xff\xff\xff\x1\0\0\0\x2\0)
|
||||||
|
codesplitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0}\0\0\0W\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
||||||
|
floating=false
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31)
|
||||||
|
|
||||||
|
[gridview]
|
||||||
|
scale=@Variant(\0\0\0\x87?\x80\0\0)
|
||||||
|
|
||||||
|
[jitwidget]
|
||||||
|
asmsplitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0W\0\0\0W\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
||||||
|
floating=false
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31)
|
||||||
|
tablesplitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0W\0\0\0W\x1\xff\xff\xff\xff\x1\0\0\0\x2\0)
|
||||||
|
|
||||||
|
[logconfigwidget]
|
||||||
|
floating=false
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31)
|
||||||
|
|
||||||
|
[logging]
|
||||||
|
font=0
|
||||||
|
wraplines=false
|
||||||
|
|
||||||
|
[logwidget]
|
||||||
|
floating=false
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31)
|
||||||
|
|
||||||
|
[mainwindow]
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\x96\0\0\0\x8e\0\0\x4\xb5\0\0\x3\x2\0\0\x1\x96\0\0\0\xab\0\0\x4\xb5\0\0\x3\x2\0\0\0\0\0\0\0\0\x6M\0\0\x1\x96\0\0\0\xab\0\0\x4\xb5\0\0\x3\x2)
|
||||||
|
state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\xfc\x2\0\0\0\x1\xfc\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\xff\xff\xff\xfa\xff\xff\xff\xff\x2\0\0\0\n\xfb\0\0\0\x6\0l\0o\0g\0\0\0\0\0\xff\xff\xff\xff\0\0\0\xad\x1\0\0\x3\xfb\0\0\0\x12\0l\0o\0g\0\x63\0o\0n\0\x66\0i\0g\0\0\0\0\0\xff\xff\xff\xff\0\0\x1\xef\x1\0\0\x3\xfb\0\0\0\b\0\x63\0o\0\x64\0\x65\0\0\0\0\0\xff\xff\xff\xff\0\0\x2l\x1\0\0\x3\xfb\0\0\0\x12\0r\0\x65\0g\0i\0s\0t\0\x65\0r\0s\0\0\0\0\0\xff\xff\xff\xff\0\0\0}\x1\0\0\x3\xfb\0\0\0\xe\0t\0h\0r\0\x65\0\x61\0\x64\0s\0\0\0\0\0\xff\xff\xff\xff\0\0\x2q\x1\0\0\x3\xfb\0\0\0\n\0w\0\x61\0t\0\x63\0h\0\0\0\0\0\xff\xff\xff\xff\0\0\0\xab\x1\0\0\x3\xfb\0\0\0\x16\0\x62\0r\0\x65\0\x61\0k\0p\0o\0i\0n\0t\0s\0\0\0\0\0\xff\xff\xff\xff\0\0\0\xab\x1\0\0\x3\xfb\0\0\0\f\0m\0\x65\0m\0o\0r\0y\0\0\0\0\0\xff\xff\xff\xff\0\0\0}\x1\0\0\x3\xfb\0\0\0\xe\0n\0\x65\0t\0w\0o\0r\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\x2\x62\x1\0\0\x3\xfb\0\0\0\x12\0j\0i\0t\0w\0i\0\x64\0g\0\x65\0t\0\0\0\0\0\xff\xff\xff\xff\0\0\0\xfd\x1\0\0\x3\0\0\x3 \0\0\x1\xec\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\xe\0t\0o\0o\0l\0\x62\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)
|
||||||
|
|
||||||
|
[memorywidget]
|
||||||
|
addrspace_auxiliary=false
|
||||||
|
addrspace_effective=true
|
||||||
|
addrspace_physical=false
|
||||||
|
bplog=true
|
||||||
|
bpread=false
|
||||||
|
bpreadwrite=true
|
||||||
|
bpwrite=false
|
||||||
|
display_type=1
|
||||||
|
floating=false
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31)
|
||||||
|
inputcombo=1
|
||||||
|
splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\xff\xff\xff\xff\xff\xff\xff\xff\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
||||||
|
|
||||||
|
[netplaydialog]
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\x2\x7f\0\0\x1\xf3\0\0\0\0\0\0\0\x14\0\0\x2\x7f\0\0\x1\xf3\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\x2\x7f\0\0\x1\xf3)
|
||||||
|
splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\x9f\0\0\0\xcf\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
||||||
|
|
||||||
|
[networkwidget]
|
||||||
|
floating=false
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31)
|
||||||
|
|
||||||
|
[registerwidget]
|
||||||
|
floating=false
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31)
|
||||||
|
|
||||||
|
[renderwidget]
|
||||||
|
geometry=@ByteArray()
|
||||||
|
|
||||||
|
[tableheader]
|
||||||
|
state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x2\x1\0\0\0\0\0\0\0\0\0\0\0\xe(?\0\0\0\b\0\0\0\b\0\0\0\x64\0\0\0\t\0\0\0\x64\0\0\0\f\0\0\0\x64\0\0\0\r\0\0\0\x64\0\0\0\x3\0\0\0\x64\0\0\0\x5\0\0\0\x46\0\0\0\n\0\0\0\x64\0\0\0\v\0\0\0\x64\0\0\x3\v\0\0\0\xe\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\0\0\0&\0\0\0\x84\0\0\0\0\0\0\0\xe\0\0\0&\0\0\0\x1\0\0\0\x2\0\0\0\x66\0\0\0\x1\0\0\0\x2\0\0\x1\x2\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x1\x2\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0&\0\0\0\x1\0\0\0\x2\0\0\0U\0\0\0\x1\0\0\0\x2\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\0)
|
||||||
|
|
||||||
|
[threadwidget]
|
||||||
|
floating=false
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31)
|
||||||
|
|
||||||
|
[toolbar]
|
||||||
|
visible=true
|
||||||
|
|
||||||
|
[userstyle]
|
||||||
|
enabled=false
|
||||||
|
name=
|
||||||
|
|
||||||
|
[watchwidget]
|
||||||
|
floating=false
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31\0\0\0\0\0\0\0\0\x6M\0\0\0\0\0\0\0\x14\0\0\0\x63\0\0\0\x31)
|
106
emu-configs/defaults/dolphin/WiimoteNew.ini
Normal file
106
emu-configs/defaults/dolphin/WiimoteNew.ini
Normal file
|
@ -0,0 +1,106 @@
|
||||||
|
[Wiimote1]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
Buttons/A = `Click 1`
|
||||||
|
Buttons/B = `Click 3`
|
||||||
|
Buttons/1 = `1`
|
||||||
|
Buttons/2 = `2`
|
||||||
|
Buttons/- = Q
|
||||||
|
Buttons/+ = E
|
||||||
|
Buttons/Home = Return
|
||||||
|
IR/Up = `Cursor Y-`
|
||||||
|
IR/Down = `Cursor Y+`
|
||||||
|
IR/Left = `Cursor X-`
|
||||||
|
IR/Right = `Cursor X+`
|
||||||
|
Tilt/Modifier/Range = 50.0
|
||||||
|
Shake/X = `Click 2`
|
||||||
|
Shake/Y = `Click 2`
|
||||||
|
Shake/Z = `Click 2`
|
||||||
|
IMUAccelerometer/Up = `Accel Up`
|
||||||
|
IMUAccelerometer/Down = `Accel Down`
|
||||||
|
IMUAccelerometer/Left = `Accel Left`
|
||||||
|
IMUAccelerometer/Right = `Accel Right`
|
||||||
|
IMUAccelerometer/Forward = `Accel Forward`
|
||||||
|
IMUAccelerometer/Backward = `Accel Backward`
|
||||||
|
IMUGyroscope/Pitch Up = `Gyro Pitch Up`
|
||||||
|
IMUGyroscope/Pitch Down = `Gyro Pitch Down`
|
||||||
|
IMUGyroscope/Roll Left = `Gyro Roll Left`
|
||||||
|
IMUGyroscope/Roll Right = `Gyro Roll Right`
|
||||||
|
IMUGyroscope/Yaw Left = `Gyro Yaw Left`
|
||||||
|
IMUGyroscope/Yaw Right = `Gyro Yaw Right`
|
||||||
|
Extension = Nunchuk
|
||||||
|
Nunchuk/Buttons/C = Control_L
|
||||||
|
Nunchuk/Buttons/Z = Shift_L
|
||||||
|
Nunchuk/Stick/Up = W
|
||||||
|
Nunchuk/Stick/Down = S
|
||||||
|
Nunchuk/Stick/Left = A
|
||||||
|
Nunchuk/Stick/Right = D
|
||||||
|
Nunchuk/Stick/Modifier/Range = 50.0
|
||||||
|
Nunchuk/Stick/Calibration = 100.00 141.42 100.00 141.42 100.00 141.42 100.00 141.42
|
||||||
|
Nunchuk/Tilt/Modifier/Range = 50.0
|
||||||
|
Nunchuk/Shake/X = `Click 2`
|
||||||
|
Nunchuk/Shake/Y = `Click 2`
|
||||||
|
Nunchuk/Shake/Z = `Click 2`
|
||||||
|
Classic/Left Stick/Modifier/Range = 50.0
|
||||||
|
Classic/Right Stick/Modifier/Range = 50.0
|
||||||
|
Guitar/Stick/Modifier/Range = 50.0
|
||||||
|
Drums/Stick/Modifier/Range = 50.0
|
||||||
|
Turntable/Stick/Modifier/Range = 50.0
|
||||||
|
uDraw/Stylus/Modifier/Range = 50.0
|
||||||
|
Drawsome/Stylus/Modifier/Range = 50.0
|
||||||
|
D-Pad/Up = Up
|
||||||
|
D-Pad/Down = Down
|
||||||
|
D-Pad/Left = Left
|
||||||
|
D-Pad/Right = Right
|
||||||
|
Source = 1
|
||||||
|
[Wiimote2]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
Tilt/Modifier/Range = 50.0
|
||||||
|
Nunchuk/Stick/Modifier/Range = 50.0
|
||||||
|
Nunchuk/Tilt/Modifier/Range = 50.0
|
||||||
|
Classic/Left Stick/Modifier/Range = 50.0
|
||||||
|
Classic/Right Stick/Modifier/Range = 50.0
|
||||||
|
Guitar/Stick/Modifier/Range = 50.0
|
||||||
|
Drums/Stick/Modifier/Range = 50.0
|
||||||
|
Turntable/Stick/Modifier/Range = 50.0
|
||||||
|
uDraw/Stylus/Modifier/Range = 50.0
|
||||||
|
Drawsome/Stylus/Modifier/Range = 50.0
|
||||||
|
Source = 0
|
||||||
|
[Wiimote3]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
Tilt/Modifier/Range = 50.0
|
||||||
|
Nunchuk/Stick/Modifier/Range = 50.0
|
||||||
|
Nunchuk/Tilt/Modifier/Range = 50.0
|
||||||
|
Classic/Left Stick/Modifier/Range = 50.0
|
||||||
|
Classic/Right Stick/Modifier/Range = 50.0
|
||||||
|
Guitar/Stick/Modifier/Range = 50.0
|
||||||
|
Drums/Stick/Modifier/Range = 50.0
|
||||||
|
Turntable/Stick/Modifier/Range = 50.0
|
||||||
|
uDraw/Stylus/Modifier/Range = 50.0
|
||||||
|
Drawsome/Stylus/Modifier/Range = 50.0
|
||||||
|
Source = 0
|
||||||
|
[Wiimote4]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
Tilt/Modifier/Range = 50.0
|
||||||
|
Nunchuk/Stick/Modifier/Range = 50.0
|
||||||
|
Nunchuk/Tilt/Modifier/Range = 50.0
|
||||||
|
Classic/Left Stick/Modifier/Range = 50.0
|
||||||
|
Classic/Right Stick/Modifier/Range = 50.0
|
||||||
|
Guitar/Stick/Modifier/Range = 50.0
|
||||||
|
Drums/Stick/Modifier/Range = 50.0
|
||||||
|
Turntable/Stick/Modifier/Range = 50.0
|
||||||
|
uDraw/Stylus/Modifier/Range = 50.0
|
||||||
|
Drawsome/Stylus/Modifier/Range = 50.0
|
||||||
|
Source = 0
|
||||||
|
[BalanceBoard]
|
||||||
|
Device = XInput2/0/Virtual core pointer
|
||||||
|
Tilt/Modifier/Range = 50.0
|
||||||
|
Nunchuk/Stick/Modifier/Range = 50.0
|
||||||
|
Nunchuk/Tilt/Modifier/Range = 50.0
|
||||||
|
Classic/Left Stick/Modifier/Range = 50.0
|
||||||
|
Classic/Right Stick/Modifier/Range = 50.0
|
||||||
|
Guitar/Stick/Modifier/Range = 50.0
|
||||||
|
Drums/Stick/Modifier/Range = 50.0
|
||||||
|
Turntable/Stick/Modifier/Range = 50.0
|
||||||
|
uDraw/Stylus/Modifier/Range = 50.0
|
||||||
|
Drawsome/Stylus/Modifier/Range = 50.0
|
||||||
|
Source = 0
|
283
emu-configs/defaults/duckstation/settings.ini
Normal file
283
emu-configs/defaults/duckstation/settings.ini
Normal file
|
@ -0,0 +1,283 @@
|
||||||
|
[Main]
|
||||||
|
SettingsVersion = 3
|
||||||
|
EmulationSpeed = 1.000000
|
||||||
|
FastForwardSpeed = 0.000000
|
||||||
|
TurboSpeed = 0.000000
|
||||||
|
SyncToHostRefreshRate = false
|
||||||
|
IncreaseTimerResolution = true
|
||||||
|
InhibitScreensaver = true
|
||||||
|
StartPaused = false
|
||||||
|
StartFullscreen = false
|
||||||
|
PauseOnFocusLoss = false
|
||||||
|
PauseOnMenu = true
|
||||||
|
SaveStateOnExit = true
|
||||||
|
CreateSaveStateBackups = true
|
||||||
|
CompressSaveStates = true
|
||||||
|
ConfirmPowerOff = true
|
||||||
|
LoadDevicesFromSaveStates = false
|
||||||
|
ApplyCompatibilitySettings = true
|
||||||
|
ApplyGameSettings = true
|
||||||
|
AutoLoadCheats = true
|
||||||
|
DisableAllEnhancements = false
|
||||||
|
RewindEnable = false
|
||||||
|
RewindFrequency = 10.000000
|
||||||
|
RewindSaveSlots = 10
|
||||||
|
RunaheadFrameCount = 0
|
||||||
|
EnableDiscordPresence = false
|
||||||
|
|
||||||
|
|
||||||
|
[Console]
|
||||||
|
Region = Auto
|
||||||
|
Enable8MBRAM = false
|
||||||
|
|
||||||
|
|
||||||
|
[CPU]
|
||||||
|
ExecutionMode = Recompiler
|
||||||
|
OverclockEnable = false
|
||||||
|
OverclockNumerator = 1
|
||||||
|
OverclockDenominator = 1
|
||||||
|
RecompilerMemoryExceptions = false
|
||||||
|
RecompilerBlockLinking = true
|
||||||
|
RecompilerICache = false
|
||||||
|
FastmemMode = MMap
|
||||||
|
|
||||||
|
|
||||||
|
[GPU]
|
||||||
|
Renderer = OpenGL
|
||||||
|
Adapter =
|
||||||
|
ResolutionScale = 1
|
||||||
|
Multisamples = 1
|
||||||
|
UseDebugDevice = false
|
||||||
|
PerSampleShading = false
|
||||||
|
UseThread = true
|
||||||
|
ThreadedPresentation = true
|
||||||
|
UseSoftwareRendererForReadbacks = false
|
||||||
|
TrueColor = true
|
||||||
|
ScaledDithering = true
|
||||||
|
TextureFilter = Nearest
|
||||||
|
DownsampleMode = Disabled
|
||||||
|
DisableInterlacing = true
|
||||||
|
ForceNTSCTimings = false
|
||||||
|
WidescreenHack = false
|
||||||
|
ChromaSmoothing24Bit = false
|
||||||
|
PGXPEnable = false
|
||||||
|
PGXPCulling = true
|
||||||
|
PGXPTextureCorrection = true
|
||||||
|
PGXPColorCorrection = false
|
||||||
|
PGXPVertexCache = false
|
||||||
|
PGXPCPU = false
|
||||||
|
PGXPPreserveProjFP = false
|
||||||
|
PGXPTolerance = -1.000000
|
||||||
|
PGXPDepthBuffer = false
|
||||||
|
PGXPDepthClearThreshold = 1228800.000000
|
||||||
|
|
||||||
|
|
||||||
|
[Display]
|
||||||
|
CropMode = Overscan
|
||||||
|
ActiveStartOffset = 0
|
||||||
|
ActiveEndOffset = 0
|
||||||
|
LineStartOffset = 0
|
||||||
|
LineEndOffset = 0
|
||||||
|
Force4_3For24Bit = false
|
||||||
|
AspectRatio = Auto (Game Native)
|
||||||
|
Alignment = Center
|
||||||
|
CustomAspectRatioNumerator = 0
|
||||||
|
LinearFiltering = true
|
||||||
|
IntegerScaling = false
|
||||||
|
Stretch = false
|
||||||
|
PostProcessing = false
|
||||||
|
ShowOSDMessages = true
|
||||||
|
ShowFPS = false
|
||||||
|
ShowSpeed = false
|
||||||
|
ShowResolution = false
|
||||||
|
ShowCPU = false
|
||||||
|
ShowGPU = false
|
||||||
|
ShowStatusIndicators = true
|
||||||
|
ShowInputs = false
|
||||||
|
ShowEnhancements = false
|
||||||
|
DisplayAllFrames = false
|
||||||
|
InternalResolutionScreenshots = false
|
||||||
|
VSync = false
|
||||||
|
MaxFPS = 0.000000
|
||||||
|
OSDScale = 100.000000
|
||||||
|
|
||||||
|
|
||||||
|
[CDROM]
|
||||||
|
ReadaheadSectors = 8
|
||||||
|
RegionCheck = false
|
||||||
|
LoadImageToRAM = false
|
||||||
|
LoadImagePatches = false
|
||||||
|
MuteCDAudio = false
|
||||||
|
ReadSpeedup = 1
|
||||||
|
SeekSpeedup = 1
|
||||||
|
|
||||||
|
|
||||||
|
[Audio]
|
||||||
|
Backend = Cubeb
|
||||||
|
Driver =
|
||||||
|
StretchMode = TimeStretch
|
||||||
|
BufferMS = 50
|
||||||
|
OutputLatencyMS = 20
|
||||||
|
OutputVolume = 100
|
||||||
|
FastForwardVolume = 100
|
||||||
|
OutputMuted = false
|
||||||
|
DumpOnBoot = false
|
||||||
|
|
||||||
|
|
||||||
|
[Hacks]
|
||||||
|
DMAMaxSliceTicks = 1000
|
||||||
|
DMAHaltTicks = 100
|
||||||
|
GPUFIFOSize = 16
|
||||||
|
GPUMaxRunAhead = 128
|
||||||
|
|
||||||
|
|
||||||
|
[BIOS]
|
||||||
|
PatchTTYEnable = false
|
||||||
|
PatchFastBoot = false
|
||||||
|
SearchDirectory = bios
|
||||||
|
|
||||||
|
|
||||||
|
[MemoryCards]
|
||||||
|
Card1Type = PerGameTitle
|
||||||
|
Card2Type = None
|
||||||
|
UsePlaylistTitle = true
|
||||||
|
Directory = memcards
|
||||||
|
|
||||||
|
|
||||||
|
[ControllerPorts]
|
||||||
|
MultitapMode = Disabled
|
||||||
|
PointerXScale = 8.000000
|
||||||
|
PointerYScale = 8.000000
|
||||||
|
PointerXInvert = false
|
||||||
|
PointerYInvert = false
|
||||||
|
|
||||||
|
|
||||||
|
[Cheevos]
|
||||||
|
Enabled = false
|
||||||
|
TestMode = false
|
||||||
|
UnofficialTestMode = false
|
||||||
|
UseFirstDiscFromPlaylist = true
|
||||||
|
RichPresence = true
|
||||||
|
ChallengeMode = false
|
||||||
|
Leaderboards = true
|
||||||
|
SoundEffects = true
|
||||||
|
PrimedIndicators = true
|
||||||
|
|
||||||
|
|
||||||
|
[Logging]
|
||||||
|
LogLevel = Info
|
||||||
|
LogFilter =
|
||||||
|
LogToConsole = true
|
||||||
|
LogToDebug = false
|
||||||
|
LogToWindow = false
|
||||||
|
LogToFile = false
|
||||||
|
|
||||||
|
|
||||||
|
[Debug]
|
||||||
|
ShowVRAM = false
|
||||||
|
DumpCPUToVRAMCopies = false
|
||||||
|
DumpVRAMToCPUCopies = false
|
||||||
|
ShowGPUState = false
|
||||||
|
ShowCDROMState = false
|
||||||
|
ShowSPUState = false
|
||||||
|
ShowTimersState = false
|
||||||
|
ShowMDECState = false
|
||||||
|
ShowDMAState = false
|
||||||
|
|
||||||
|
|
||||||
|
[TextureReplacements]
|
||||||
|
EnableVRAMWriteReplacements = false
|
||||||
|
PreloadTextures = false
|
||||||
|
DumpVRAMWrites = false
|
||||||
|
DumpVRAMWriteForceAlphaChannel = true
|
||||||
|
DumpVRAMWriteWidthThreshold = 128
|
||||||
|
DumpVRAMWriteHeightThreshold = 128
|
||||||
|
|
||||||
|
|
||||||
|
[Folders]
|
||||||
|
Cache = cache
|
||||||
|
Cheats = cheats
|
||||||
|
Covers = covers
|
||||||
|
Dumps = dump
|
||||||
|
GameSettings = gamesettings
|
||||||
|
InputProfiles = inputprofiles
|
||||||
|
SaveStates = savestates
|
||||||
|
Screenshots = screenshots
|
||||||
|
Shaders = shaders
|
||||||
|
Textures = textures
|
||||||
|
|
||||||
|
|
||||||
|
[InputSources]
|
||||||
|
SDL = true
|
||||||
|
SDLControllerEnhancedMode = false
|
||||||
|
Evdev = false
|
||||||
|
XInput = false
|
||||||
|
RawInput = false
|
||||||
|
|
||||||
|
|
||||||
|
[Pad1]
|
||||||
|
Type = AnalogController
|
||||||
|
Up = Keyboard/Up
|
||||||
|
Right = Keyboard/Right
|
||||||
|
Down = Keyboard/Down
|
||||||
|
Left = Keyboard/Left
|
||||||
|
Triangle = Keyboard/I
|
||||||
|
Circle = Keyboard/L
|
||||||
|
Cross = Keyboard/K
|
||||||
|
Square = Keyboard/J
|
||||||
|
Select = Keyboard/Backspace
|
||||||
|
Start = Keyboard/Return
|
||||||
|
L1 = Keyboard/Q
|
||||||
|
R1 = Keyboard/E
|
||||||
|
L2 = Keyboard/1
|
||||||
|
R2 = Keyboard/3
|
||||||
|
L3 = Keyboard/2
|
||||||
|
R3 = Keyboard/4
|
||||||
|
LLeft = Keyboard/A
|
||||||
|
LRight = Keyboard/D
|
||||||
|
LDown = Keyboard/S
|
||||||
|
LUp = Keyboard/W
|
||||||
|
RLeft = Keyboard/F
|
||||||
|
RRight = Keyboard/H
|
||||||
|
RDown = Keyboard/G
|
||||||
|
RUp = Keyboard/T
|
||||||
|
|
||||||
|
|
||||||
|
[Pad2]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad3]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad4]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad5]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad6]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad7]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad8]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Hotkeys]
|
||||||
|
FastForward = Keyboard/Tab
|
||||||
|
TogglePause = Keyboard/Space
|
||||||
|
Screenshot = Keyboard/F10
|
||||||
|
ToggleFullscreen = Keyboard/F11
|
||||||
|
OpenPauseMenu = Keyboard/Escape
|
||||||
|
LoadSelectedSaveState = Keyboard/F1
|
||||||
|
SaveSelectedSaveState = Keyboard/F2
|
||||||
|
SelectPreviousSaveStateSlot = Keyboard/F3
|
||||||
|
SelectNextSaveStateSlot = Keyboard/F4
|
135
emu-configs/defaults/melonds/melonDS.ini
Normal file
135
emu-configs/defaults/melonds/melonDS.ini
Normal file
|
@ -0,0 +1,135 @@
|
||||||
|
Key_A=-1
|
||||||
|
Key_B=-1
|
||||||
|
Key_Select=-1
|
||||||
|
Key_Start=-1
|
||||||
|
Key_Right=-1
|
||||||
|
Key_Left=-1
|
||||||
|
Key_Up=-1
|
||||||
|
Key_Down=-1
|
||||||
|
Key_R=-1
|
||||||
|
Key_L=-1
|
||||||
|
Key_X=-1
|
||||||
|
Key_Y=-1
|
||||||
|
Joy_A=-1
|
||||||
|
Joy_B=-1
|
||||||
|
Joy_Select=-1
|
||||||
|
Joy_Start=-1
|
||||||
|
Joy_Right=-1
|
||||||
|
Joy_Left=-1
|
||||||
|
Joy_Up=-1
|
||||||
|
Joy_Down=-1
|
||||||
|
Joy_R=-1
|
||||||
|
Joy_L=-1
|
||||||
|
Joy_X=-1
|
||||||
|
Joy_Y=-1
|
||||||
|
HKKey_Lid=-1
|
||||||
|
HKKey_Mic=-1
|
||||||
|
HKKey_Pause=-1
|
||||||
|
HKKey_Reset=-1
|
||||||
|
HKKey_FastForward=-1
|
||||||
|
HKKey_FastForwardToggle=-1
|
||||||
|
HKKey_FullscreenToggle=-1
|
||||||
|
HKKey_SwapScreens=-1
|
||||||
|
HKKey_SolarSensorDecrease=-1
|
||||||
|
HKKey_SolarSensorIncrease=-1
|
||||||
|
HKKey_FrameStep=-1
|
||||||
|
HKJoy_Lid=-1
|
||||||
|
HKJoy_Mic=-1
|
||||||
|
HKJoy_Pause=-1
|
||||||
|
HKJoy_Reset=-1
|
||||||
|
HKJoy_FastForward=-1
|
||||||
|
HKJoy_FastForwardToggle=-1
|
||||||
|
HKJoy_FullscreenToggle=-1
|
||||||
|
HKJoy_SwapScreens=-1
|
||||||
|
HKJoy_SolarSensorDecrease=-1
|
||||||
|
HKJoy_SolarSensorIncrease=-1
|
||||||
|
HKJoy_FrameStep=-1
|
||||||
|
JoystickID=0
|
||||||
|
WindowWidth=256
|
||||||
|
WindowHeight=414
|
||||||
|
WindowMax=0
|
||||||
|
ScreenRotation=0
|
||||||
|
ScreenGap=0
|
||||||
|
ScreenLayout=0
|
||||||
|
ScreenSwap=0
|
||||||
|
ScreenSizing=0
|
||||||
|
IntegerScaling=0
|
||||||
|
ScreenAspectTop=0
|
||||||
|
ScreenAspectBot=0
|
||||||
|
ScreenFilter=1
|
||||||
|
ScreenUseGL=0
|
||||||
|
ScreenVSync=0
|
||||||
|
ScreenVSyncInterval=1
|
||||||
|
3DRenderer=0
|
||||||
|
Threaded3D=1
|
||||||
|
GL_ScaleFactor=1
|
||||||
|
GL_BetterPolygons=0
|
||||||
|
LimitFPS=1
|
||||||
|
AudioSync=0
|
||||||
|
ShowOSD=1
|
||||||
|
ConsoleType=0
|
||||||
|
DirectBoot=1
|
||||||
|
JIT_Enable=0
|
||||||
|
JIT_MaxBlockSize=32
|
||||||
|
JIT_BranchOptimisations=1
|
||||||
|
JIT_LiteralOptimisations=1
|
||||||
|
JIT_FastMemory=1
|
||||||
|
ExternalBIOSEnable=0
|
||||||
|
BIOS9Path=
|
||||||
|
BIOS7Path=
|
||||||
|
FirmwarePath=
|
||||||
|
DSiBIOS9Path=
|
||||||
|
DSiBIOS7Path=
|
||||||
|
DSiFirmwarePath=
|
||||||
|
DSiNANDPath=
|
||||||
|
DLDIEnable=0
|
||||||
|
DLDISDPath=dldi.bin
|
||||||
|
DLDISize=0
|
||||||
|
DLDIReadOnly=0
|
||||||
|
DLDIFolderSync=0
|
||||||
|
DLDIFolderPath=
|
||||||
|
DSiSDEnable=0
|
||||||
|
DSiSDPath=dsisd.bin
|
||||||
|
DSiSDSize=0
|
||||||
|
DSiSDReadOnly=0
|
||||||
|
DSiSDFolderSync=0
|
||||||
|
DSiSDFolderPath=
|
||||||
|
FirmwareOverrideSettings=0
|
||||||
|
FirmwareUsername=melonDS
|
||||||
|
FirmwareLanguage=1
|
||||||
|
FirmwareBirthdayMonth=1
|
||||||
|
FirmwareBirthdayDay=1
|
||||||
|
FirmwareFavouriteColour=0
|
||||||
|
FirmwareMessage=
|
||||||
|
FirmwareMAC=
|
||||||
|
RandomizeMAC=0
|
||||||
|
SockBindAnyAddr=0
|
||||||
|
LANDevice=
|
||||||
|
DirectLAN=0
|
||||||
|
SavStaRelocSRAM=0
|
||||||
|
AudioInterp=0
|
||||||
|
AudioBitrate=0
|
||||||
|
AudioVolume=256
|
||||||
|
MicInputType=1
|
||||||
|
MicWavPath=
|
||||||
|
LastROMFolder=
|
||||||
|
RecentROM_0=
|
||||||
|
RecentROM_1=
|
||||||
|
RecentROM_2=
|
||||||
|
RecentROM_3=
|
||||||
|
RecentROM_4=
|
||||||
|
RecentROM_5=
|
||||||
|
RecentROM_6=
|
||||||
|
RecentROM_7=
|
||||||
|
RecentROM_8=
|
||||||
|
RecentROM_9=
|
||||||
|
SaveFilePath=
|
||||||
|
SavestatePath=
|
||||||
|
CheatFilePath=
|
||||||
|
EnableCheats=0
|
||||||
|
MouseHide=0
|
||||||
|
MouseHideSeconds=5
|
||||||
|
PauseLostFocus=0
|
||||||
|
DSBatteryLevelOkay=1
|
||||||
|
DSiBatteryLevel=15
|
||||||
|
DSiBatteryCharging=1
|
440
emu-configs/defaults/pcsx2-qt/PCSX2_ui.ini
Normal file
440
emu-configs/defaults/pcsx2-qt/PCSX2_ui.ini
Normal file
|
@ -0,0 +1,440 @@
|
||||||
|
[UI]
|
||||||
|
SettingsVersion = 1
|
||||||
|
InhibitScreensaver = true
|
||||||
|
ConfirmShutdown = true
|
||||||
|
StartPaused = false
|
||||||
|
PauseOnFocusLoss = false
|
||||||
|
StartFullscreen = false
|
||||||
|
DoubleClickTogglesFullscreen = true
|
||||||
|
HideMouseCursor = false
|
||||||
|
RenderToSeparateWindow = false
|
||||||
|
HideMainWindowWhenRunning = false
|
||||||
|
DisableWindowResize = false
|
||||||
|
Theme = darkfusion
|
||||||
|
|
||||||
|
|
||||||
|
[Folders]
|
||||||
|
Bios = bios
|
||||||
|
Snapshots = snaps
|
||||||
|
Savestates = sstates
|
||||||
|
MemoryCards = memcards
|
||||||
|
Logs = logs
|
||||||
|
Cheats = cheats
|
||||||
|
CheatsWS = cheats_ws
|
||||||
|
CheatsNI = cheats_ni
|
||||||
|
Cache = cache
|
||||||
|
Textures = textures
|
||||||
|
InputProfiles = inputprofiles
|
||||||
|
|
||||||
|
|
||||||
|
[EmuCore]
|
||||||
|
CdvdVerboseReads = false
|
||||||
|
CdvdDumpBlocks = false
|
||||||
|
CdvdShareWrite = false
|
||||||
|
EnablePatches = true
|
||||||
|
EnableCheats = false
|
||||||
|
EnablePINE = false
|
||||||
|
EnableWideScreenPatches = false
|
||||||
|
EnableNoInterlacingPatches = false
|
||||||
|
EnableRecordingTools = true
|
||||||
|
EnableGameFixes = true
|
||||||
|
SaveStateOnShutdown = false
|
||||||
|
EnableDiscordPresence = false
|
||||||
|
ConsoleToStdio = false
|
||||||
|
HostFs = false
|
||||||
|
BackupSavestate = true
|
||||||
|
SavestateZstdCompression = true
|
||||||
|
McdEnableEjection = true
|
||||||
|
McdFolderAutoManage = true
|
||||||
|
WarnAboutUnsafeSettings = true
|
||||||
|
GzipIsoIndexTemplate = $(f).pindex.tmp
|
||||||
|
BlockDumpSaveDirectory =
|
||||||
|
EnableFastBoot = true
|
||||||
|
|
||||||
|
|
||||||
|
[EmuCore/Speedhacks]
|
||||||
|
EECycleRate = 0
|
||||||
|
EECycleSkip = 0
|
||||||
|
fastCDVD = false
|
||||||
|
IntcStat = true
|
||||||
|
WaitLoop = true
|
||||||
|
vuFlagHack = true
|
||||||
|
vuThread = false
|
||||||
|
vu1Instant = true
|
||||||
|
|
||||||
|
|
||||||
|
[EmuCore/CPU]
|
||||||
|
FPU.DenormalsAreZero = true
|
||||||
|
FPU.FlushToZero = true
|
||||||
|
FPU.Roundmode = 3
|
||||||
|
AffinityControlMode = 0
|
||||||
|
VU.DenormalsAreZero = true
|
||||||
|
VU.FlushToZero = true
|
||||||
|
VU.Roundmode = 3
|
||||||
|
|
||||||
|
|
||||||
|
[EmuCore/CPU/Recompiler]
|
||||||
|
EnableEE = true
|
||||||
|
EnableIOP = true
|
||||||
|
EnableEECache = false
|
||||||
|
EnableVU0 = true
|
||||||
|
EnableVU1 = true
|
||||||
|
vuOverflow = true
|
||||||
|
vuExtraOverflow = false
|
||||||
|
vuSignOverflow = false
|
||||||
|
vuUnderflow = false
|
||||||
|
fpuOverflow = true
|
||||||
|
fpuExtraOverflow = false
|
||||||
|
fpuFullMode = false
|
||||||
|
StackFrameChecks = false
|
||||||
|
PreBlockCheckEE = false
|
||||||
|
PreBlockCheckIOP = false
|
||||||
|
|
||||||
|
|
||||||
|
[EmuCore/GS]
|
||||||
|
VsyncQueueSize = 2
|
||||||
|
FrameLimitEnable = true
|
||||||
|
VsyncEnable = 0
|
||||||
|
FramerateNTSC = 59.94
|
||||||
|
FrameratePAL = 50
|
||||||
|
SyncToHostRefreshRate = false
|
||||||
|
AspectRatio = Auto 4:3/3:2
|
||||||
|
FMVAspectRatioSwitch = Off
|
||||||
|
Zoom = 100
|
||||||
|
StretchY = 100
|
||||||
|
CropLeft = 0
|
||||||
|
CropTop = 0
|
||||||
|
CropRight = 0
|
||||||
|
CropBottom = 0
|
||||||
|
pcrtc_antiblur = true
|
||||||
|
disable_interlace_offset = false
|
||||||
|
pcrtc_offsets = false
|
||||||
|
pcrtc_overscan = false
|
||||||
|
IntegerScaling = false
|
||||||
|
linear_present = true
|
||||||
|
UseDebugDevice = false
|
||||||
|
UseBlitSwapChain = false
|
||||||
|
disable_shader_cache = false
|
||||||
|
DisableDualSourceBlend = false
|
||||||
|
DisableFramebufferFetch = false
|
||||||
|
ThreadedPresentation = false
|
||||||
|
SkipDuplicateFrames = false
|
||||||
|
OsdShowMessages = true
|
||||||
|
OsdShowSpeed = false
|
||||||
|
OsdShowFPS = false
|
||||||
|
OsdShowCPU = false
|
||||||
|
OsdShowGPU = false
|
||||||
|
OsdShowResolution = false
|
||||||
|
OsdShowGSStats = false
|
||||||
|
OsdShowIndicators = true
|
||||||
|
HWDisableReadbacks = false
|
||||||
|
paltex = false
|
||||||
|
autoflush_sw = true
|
||||||
|
preload_frame_with_gs_data = false
|
||||||
|
wrap_gs_mem = false
|
||||||
|
mipmap = true
|
||||||
|
UserHacks = false
|
||||||
|
UserHacks_align_sprite_X = false
|
||||||
|
UserHacks_AutoFlush = false
|
||||||
|
UserHacks_CPU_FB_Conversion = false
|
||||||
|
UserHacks_DisableDepthSupport = false
|
||||||
|
UserHacks_DisablePartialInvalidation = false
|
||||||
|
UserHacks_Disable_Safe_Features = false
|
||||||
|
UserHacks_merge_pp_sprite = false
|
||||||
|
UserHacks_WildHack = false
|
||||||
|
UserHacks_TextureInsideRt = false
|
||||||
|
fxaa = false
|
||||||
|
ShadeBoost = false
|
||||||
|
shaderfx = false
|
||||||
|
dump = false
|
||||||
|
save = false
|
||||||
|
savef = false
|
||||||
|
savet = false
|
||||||
|
savez = false
|
||||||
|
DumpReplaceableTextures = false
|
||||||
|
DumpReplaceableMipmaps = false
|
||||||
|
DumpTexturesWithFMVActive = false
|
||||||
|
DumpDirectTextures = true
|
||||||
|
DumpPaletteTextures = true
|
||||||
|
LoadTextureReplacements = false
|
||||||
|
LoadTextureReplacementsAsync = true
|
||||||
|
PrecacheTextureReplacements = false
|
||||||
|
deinterlace = 7
|
||||||
|
OsdScale = 100
|
||||||
|
Renderer = -1
|
||||||
|
upscale_multiplier = 1
|
||||||
|
mipmap_hw = -1
|
||||||
|
accurate_blending_unit = 1
|
||||||
|
crc_hack_level = -1
|
||||||
|
filter = 2
|
||||||
|
texture_preloading = 2
|
||||||
|
GSDumpCompression = 1
|
||||||
|
dithering_ps2 = 2
|
||||||
|
MaxAnisotropy = 0
|
||||||
|
extrathreads = 2
|
||||||
|
extrathreads_height = 4
|
||||||
|
TVShader = 0
|
||||||
|
UserHacks_SkipDraw_Start = 0
|
||||||
|
UserHacks_SkipDraw_End = 0
|
||||||
|
UserHacks_Half_Bottom_Override = -1
|
||||||
|
UserHacks_HalfPixelOffset = 0
|
||||||
|
UserHacks_round_sprite_offset = 0
|
||||||
|
UserHacks_TCOffsetX = 0
|
||||||
|
UserHacks_TCOffsetY = 0
|
||||||
|
UserHacks_CPUSpriteRenderBW = 0
|
||||||
|
TriFilter = -1
|
||||||
|
OverrideTextureBarriers = -1
|
||||||
|
OverrideGeometryShaders = -1
|
||||||
|
ShadeBoost_Brightness = 50
|
||||||
|
ShadeBoost_Contrast = 50
|
||||||
|
ShadeBoost_Saturation = 50
|
||||||
|
saven = 0
|
||||||
|
savel = 5000
|
||||||
|
Adapter =
|
||||||
|
shaderfx_conf = shaders/GS_FX_Settings.ini
|
||||||
|
shaderfx_glsl = shaders/GS.fx
|
||||||
|
|
||||||
|
|
||||||
|
[SPU2/Mixing]
|
||||||
|
Interpolation = 5
|
||||||
|
FinalVolume = 100
|
||||||
|
VolumeAdjustC = 0
|
||||||
|
VolumeAdjustFL = 0
|
||||||
|
VolumeAdjustFR = 0
|
||||||
|
VolumeAdjustBL = 0
|
||||||
|
VolumeAdjustBR = 0
|
||||||
|
VolumeAdjustSL = 0
|
||||||
|
VolumeAdjustSR = 0
|
||||||
|
VolumeAdjustLFE = 0
|
||||||
|
|
||||||
|
|
||||||
|
[SPU2/Output]
|
||||||
|
OutputModule = cubeb
|
||||||
|
BackendName =
|
||||||
|
Latency = 100
|
||||||
|
SynchMode = 0
|
||||||
|
SpeakerConfiguration = 0
|
||||||
|
DplDecodingLevel = 0
|
||||||
|
|
||||||
|
|
||||||
|
[DEV9/Eth]
|
||||||
|
EthEnable = false
|
||||||
|
EthApi = Unset
|
||||||
|
EthDevice =
|
||||||
|
EthLogDNS = false
|
||||||
|
InterceptDHCP = false
|
||||||
|
PS2IP = 0.0.0.0
|
||||||
|
Mask = 0.0.0.0
|
||||||
|
Gateway = 0.0.0.0
|
||||||
|
DNS1 = 0.0.0.0
|
||||||
|
DNS2 = 0.0.0.0
|
||||||
|
AutoMask = true
|
||||||
|
AutoGateway = true
|
||||||
|
ModeDNS1 = Auto
|
||||||
|
ModeDNS2 = Auto
|
||||||
|
|
||||||
|
|
||||||
|
[DEV9/Eth/Hosts]
|
||||||
|
Count = 0
|
||||||
|
|
||||||
|
|
||||||
|
[DEV9/Hdd]
|
||||||
|
HddEnable = false
|
||||||
|
HddFile = DEV9hdd.raw
|
||||||
|
HddSizeSectors = 83886080
|
||||||
|
|
||||||
|
|
||||||
|
[EmuCore/Gamefixes]
|
||||||
|
VuAddSubHack = false
|
||||||
|
FpuMulHack = false
|
||||||
|
FpuNegDivHack = false
|
||||||
|
XgKickHack = false
|
||||||
|
EETimingHack = false
|
||||||
|
SoftwareRendererFMVHack = false
|
||||||
|
SkipMPEGHack = false
|
||||||
|
OPHFlagHack = false
|
||||||
|
DMABusyHack = false
|
||||||
|
VIFFIFOHack = false
|
||||||
|
VIF1StallHack = false
|
||||||
|
GIFFIFOHack = false
|
||||||
|
GoemonTlbHack = false
|
||||||
|
IbitHack = false
|
||||||
|
VUSyncHack = false
|
||||||
|
VUOverflowHack = false
|
||||||
|
BlitInternalFPSHack = false
|
||||||
|
|
||||||
|
|
||||||
|
[EmuCore/Profiler]
|
||||||
|
Enabled = false
|
||||||
|
RecBlocks_EE = true
|
||||||
|
RecBlocks_IOP = true
|
||||||
|
RecBlocks_VU0 = true
|
||||||
|
RecBlocks_VU1 = true
|
||||||
|
|
||||||
|
|
||||||
|
[EmuCore/Debugger]
|
||||||
|
ShowDebuggerOnStart = false
|
||||||
|
AlignMemoryWindowStart = true
|
||||||
|
FontWidth = 8
|
||||||
|
FontHeight = 12
|
||||||
|
WindowWidth = 0
|
||||||
|
WindowHeight = 0
|
||||||
|
MemoryViewBytesPerRow = 16
|
||||||
|
|
||||||
|
|
||||||
|
[EmuCore/TraceLog]
|
||||||
|
Enabled = false
|
||||||
|
EE.bitset = 0
|
||||||
|
IOP.bitset = 0
|
||||||
|
|
||||||
|
|
||||||
|
[Achievements]
|
||||||
|
Enabled = false
|
||||||
|
TestMode = false
|
||||||
|
UnofficialTestMode = false
|
||||||
|
RichPresence = true
|
||||||
|
ChallengeMode = false
|
||||||
|
Leaderboards = true
|
||||||
|
SoundEffects = true
|
||||||
|
|
||||||
|
|
||||||
|
[Filenames]
|
||||||
|
BIOS =
|
||||||
|
|
||||||
|
|
||||||
|
[Framerate]
|
||||||
|
NominalScalar = 1
|
||||||
|
TurboScalar = 2
|
||||||
|
SlomoScalar = 0.5
|
||||||
|
|
||||||
|
|
||||||
|
[MemoryCards]
|
||||||
|
Slot1_Enable = true
|
||||||
|
Slot1_Filename = Mcd001.ps2
|
||||||
|
Slot2_Enable = true
|
||||||
|
Slot2_Filename = Mcd002.ps2
|
||||||
|
Multitap1_Slot2_Enable = false
|
||||||
|
Multitap1_Slot2_Filename = Mcd-Multitap1-Slot02.ps2
|
||||||
|
Multitap1_Slot3_Enable = false
|
||||||
|
Multitap1_Slot3_Filename = Mcd-Multitap1-Slot03.ps2
|
||||||
|
Multitap1_Slot4_Enable = false
|
||||||
|
Multitap1_Slot4_Filename = Mcd-Multitap1-Slot04.ps2
|
||||||
|
Multitap2_Slot2_Enable = false
|
||||||
|
Multitap2_Slot2_Filename = Mcd-Multitap2-Slot02.ps2
|
||||||
|
Multitap2_Slot3_Enable = false
|
||||||
|
Multitap2_Slot3_Filename = Mcd-Multitap2-Slot03.ps2
|
||||||
|
Multitap2_Slot4_Enable = false
|
||||||
|
Multitap2_Slot4_Filename = Mcd-Multitap2-Slot04.ps2
|
||||||
|
|
||||||
|
|
||||||
|
[Logging]
|
||||||
|
EnableSystemConsole = false
|
||||||
|
EnableFileLogging = false
|
||||||
|
EnableTimestamps = true
|
||||||
|
EnableVerbose = false
|
||||||
|
EnableEEConsole = false
|
||||||
|
EnableIOPConsole = false
|
||||||
|
EnableInputRecordingLogs = true
|
||||||
|
EnableControllerLogs = false
|
||||||
|
|
||||||
|
|
||||||
|
[InputSources]
|
||||||
|
Keyboard = true
|
||||||
|
Mouse = true
|
||||||
|
SDL = true
|
||||||
|
SDLControllerEnhancedMode = false
|
||||||
|
|
||||||
|
|
||||||
|
[Hotkeys]
|
||||||
|
ToggleFullscreen = Keyboard/Alt & Keyboard/Return
|
||||||
|
CycleAspectRatio = Keyboard/F6
|
||||||
|
CycleInterlaceMode = Keyboard/F5
|
||||||
|
CycleMipmapMode = Keyboard/Insert
|
||||||
|
GSDumpMultiFrame = Keyboard/Control & Keyboard/Shift & Keyboard/F8
|
||||||
|
Screenshot = Keyboard/F8
|
||||||
|
GSDumpSingleFrame = Keyboard/Shift & Keyboard/F8
|
||||||
|
ToggleSoftwareRendering = Keyboard/F9
|
||||||
|
ZoomIn = Keyboard/Control & Keyboard/Plus
|
||||||
|
ZoomOut = Keyboard/Control & Keyboard/Minus
|
||||||
|
InputRecToggleMode = Keyboard/Shift & Keyboard/R
|
||||||
|
LoadStateFromSlot = Keyboard/F3
|
||||||
|
SaveStateToSlot = Keyboard/F1
|
||||||
|
NextSaveStateSlot = Keyboard/F2
|
||||||
|
PreviousSaveStateSlot = Keyboard/Shift & Keyboard/F2
|
||||||
|
OpenPauseMenu = Keyboard/Escape
|
||||||
|
ToggleFrameLimit = Keyboard/F4
|
||||||
|
TogglePause = Keyboard/Space
|
||||||
|
ToggleSlowMotion = Keyboard/Shift & Keyboard/Backtab
|
||||||
|
ToggleTurbo = Keyboard/Tab
|
||||||
|
HoldTurbo = Keyboard/Period
|
||||||
|
|
||||||
|
|
||||||
|
[Pad]
|
||||||
|
MultitapPort1 = false
|
||||||
|
MultitapPort2 = false
|
||||||
|
PointerXScale = 8
|
||||||
|
PointerYScale = 8
|
||||||
|
|
||||||
|
|
||||||
|
[Pad1]
|
||||||
|
Type = DualShock2
|
||||||
|
InvertL = 0
|
||||||
|
InvertR = 0
|
||||||
|
Deadzone = 0
|
||||||
|
AxisScale = 1.33
|
||||||
|
LargeMotorScale = 1
|
||||||
|
SmallMotorScale = 1
|
||||||
|
ButtonDeadzone = 0
|
||||||
|
PressureModifier = 0.5
|
||||||
|
Up = Keyboard/Up
|
||||||
|
Right = Keyboard/Right
|
||||||
|
Down = Keyboard/Down
|
||||||
|
Left = Keyboard/Left
|
||||||
|
Triangle = Keyboard/I
|
||||||
|
Circle = Keyboard/L
|
||||||
|
Cross = Keyboard/K
|
||||||
|
Square = Keyboard/J
|
||||||
|
Select = Keyboard/Backspace
|
||||||
|
Start = Keyboard/Return
|
||||||
|
L1 = Keyboard/Q
|
||||||
|
L2 = Keyboard/1
|
||||||
|
R1 = Keyboard/E
|
||||||
|
R2 = Keyboard/3
|
||||||
|
L3 = Keyboard/2
|
||||||
|
R3 = Keyboard/4
|
||||||
|
LUp = Keyboard/W
|
||||||
|
LRight = Keyboard/D
|
||||||
|
LDown = Keyboard/S
|
||||||
|
LLeft = Keyboard/A
|
||||||
|
RUp = Keyboard/T
|
||||||
|
RRight = Keyboard/H
|
||||||
|
RDown = Keyboard/G
|
||||||
|
RLeft = Keyboard/F
|
||||||
|
|
||||||
|
|
||||||
|
[Pad2]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad3]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad4]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad5]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad6]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad7]
|
||||||
|
Type = None
|
||||||
|
|
||||||
|
|
||||||
|
[Pad8]
|
||||||
|
Type = None
|
115
emu-configs/defaults/pcsx2-qt/PCSX2_vm.ini
Normal file
115
emu-configs/defaults/pcsx2-qt/PCSX2_vm.ini
Normal file
|
@ -0,0 +1,115 @@
|
||||||
|
[EmuCore]
|
||||||
|
CdvdVerboseReads=disabled
|
||||||
|
CdvdDumpBlocks=disabled
|
||||||
|
CdvdShareWrite=disabled
|
||||||
|
EnablePatches=enabled
|
||||||
|
EnableCheats=disabled
|
||||||
|
EnablePINE=disabled
|
||||||
|
EnableWideScreenPatches=disabled
|
||||||
|
EnableNoInterlacingPatches=disabled
|
||||||
|
EnableRecordingTools=enabled
|
||||||
|
ConsoleToStdio=disabled
|
||||||
|
HostFs=disabled
|
||||||
|
BackupSavestate=enabled
|
||||||
|
SavestateZstdCompression=enabled
|
||||||
|
McdEnableEjection=enabled
|
||||||
|
McdFolderAutoManage=enabled
|
||||||
|
MultitapPort0_Enabled=disabled
|
||||||
|
MultitapPort1_Enabled=disabled
|
||||||
|
WarnAboutUnsafeSettings=enabled
|
||||||
|
GzipIsoIndexTemplate=$(f).pindex.tmp
|
||||||
|
[EmuCore/Speedhacks]
|
||||||
|
EECycleRate=0
|
||||||
|
EECycleSkip=0
|
||||||
|
fastCDVD=disabled
|
||||||
|
IntcStat=enabled
|
||||||
|
WaitLoop=enabled
|
||||||
|
vuFlagHack=enabled
|
||||||
|
vuThread=disabled
|
||||||
|
vu1Instant=enabled
|
||||||
|
[EmuCore/CPU]
|
||||||
|
FPU.DenormalsAreZero=enabled
|
||||||
|
FPU.FlushToZero=enabled
|
||||||
|
FPU.Roundmode=3
|
||||||
|
AffinityControlMode=0
|
||||||
|
VU.DenormalsAreZero=enabled
|
||||||
|
VU.FlushToZero=enabled
|
||||||
|
VU.Roundmode=3
|
||||||
|
[EmuCore/CPU/Recompiler]
|
||||||
|
EnableEE=enabled
|
||||||
|
EnableIOP=enabled
|
||||||
|
EnableEECache=disabled
|
||||||
|
EnableVU0=enabled
|
||||||
|
EnableVU1=enabled
|
||||||
|
vuOverflow=enabled
|
||||||
|
vuExtraOverflow=disabled
|
||||||
|
vuSignOverflow=disabled
|
||||||
|
vuUnderflow=disabled
|
||||||
|
fpuOverflow=enabled
|
||||||
|
fpuExtraOverflow=disabled
|
||||||
|
fpuFullMode=disabled
|
||||||
|
StackFrameChecks=disabled
|
||||||
|
PreBlockCheckEE=disabled
|
||||||
|
PreBlockCheckIOP=disabled
|
||||||
|
[EmuCore/GS]
|
||||||
|
VsyncQueueSize=2
|
||||||
|
FrameLimitEnable=enabled
|
||||||
|
VsyncEnable=0
|
||||||
|
FramerateNTSC=59.94
|
||||||
|
FrameratePAL=50
|
||||||
|
[EmuCore/Gamefixes]
|
||||||
|
VuAddSubHack=disabled
|
||||||
|
FpuMulHack=disabled
|
||||||
|
FpuNegDivHack=disabled
|
||||||
|
XgKickHack=disabled
|
||||||
|
EETimingHack=disabled
|
||||||
|
SoftwareRendererFMVHack=disabled
|
||||||
|
SkipMPEGHack=disabled
|
||||||
|
OPHFlagHack=disabled
|
||||||
|
DMABusyHack=disabled
|
||||||
|
VIFFIFOHack=disabled
|
||||||
|
VIF1StallHack=disabled
|
||||||
|
GIFFIFOHack=disabled
|
||||||
|
GoemonTlbHack=disabled
|
||||||
|
IbitHack=disabled
|
||||||
|
VUSyncHack=disabled
|
||||||
|
VUOverflowHack=disabled
|
||||||
|
BlitInternalFPSHack=disabled
|
||||||
|
[EmuCore/Profiler]
|
||||||
|
Enabled=disabled
|
||||||
|
RecBlocks_EE=enabled
|
||||||
|
RecBlocks_IOP=enabled
|
||||||
|
RecBlocks_VU0=enabled
|
||||||
|
RecBlocks_VU1=enabled
|
||||||
|
[EmuCore/Debugger]
|
||||||
|
ShowDebuggerOnStart=disabled
|
||||||
|
AlignMemoryWindowStart=enabled
|
||||||
|
FontWidth=8
|
||||||
|
FontHeight=12
|
||||||
|
WindowWidth=0
|
||||||
|
WindowHeight=0
|
||||||
|
MemoryViewBytesPerRow=16
|
||||||
|
[EmuCore/TraceLog]
|
||||||
|
Enabled=disabled
|
||||||
|
EE.bitset=0
|
||||||
|
IOP.bitset=0
|
||||||
|
[DEV9]
|
||||||
|
[DEV9/Eth]
|
||||||
|
EthEnable=disabled
|
||||||
|
EthApi=Unset
|
||||||
|
EthDevice=
|
||||||
|
EthLogDNS=disabled
|
||||||
|
InterceptDHCP=disabled
|
||||||
|
PS2IP=0.0.0.0
|
||||||
|
Mask=0.0.0.0
|
||||||
|
Gateway=0.0.0.0
|
||||||
|
DNS1=0.0.0.0
|
||||||
|
DNS2=0.0.0.0
|
||||||
|
AutoMask=enabled
|
||||||
|
AutoGateway=enabled
|
||||||
|
ModeDNS1=Auto
|
||||||
|
ModeDNS2=Auto
|
||||||
|
[DEV9/Hdd]
|
||||||
|
HddEnable=disabled
|
||||||
|
HddFile=DEV9hdd.raw
|
||||||
|
HddSizeSectors=83886080
|
23
emu-configs/defaults/ppsspp/controls.ini
Normal file
23
emu-configs/defaults/ppsspp/controls.ini
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
[ControlMapping]
|
||||||
|
Up = 1-19,10-19
|
||||||
|
Down = 1-20,10-20
|
||||||
|
Left = 1-21,10-21
|
||||||
|
Right = 1-22,10-22
|
||||||
|
Circle = 1-52,10-190
|
||||||
|
Cross = 1-54,10-189
|
||||||
|
Square = 1-29,10-191
|
||||||
|
Triangle = 1-47,10-188
|
||||||
|
Start = 1-62,10-197
|
||||||
|
Select = 1-66,10-196
|
||||||
|
L = 1-45,10-194
|
||||||
|
R = 1-51,10-195
|
||||||
|
An.Up = 1-37,10-4003
|
||||||
|
An.Down = 1-39,10-4002
|
||||||
|
An.Left = 1-38,10-4001
|
||||||
|
An.Right = 1-40,10-4000
|
||||||
|
Analog limiter = 1-60
|
||||||
|
RapidFire = 1-59
|
||||||
|
Fast-forward = 1-61
|
||||||
|
SpeedToggle = 1-68
|
||||||
|
Pause = 1-111,10-109,10-104
|
||||||
|
Rewind = 1-67
|
449
emu-configs/defaults/ppsspp/ppsspp.ini
Normal file
449
emu-configs/defaults/ppsspp/ppsspp.ini
Normal file
|
@ -0,0 +1,449 @@
|
||||||
|
[General]
|
||||||
|
FirstRun = False
|
||||||
|
RunCount = 1
|
||||||
|
Enable Logging = True
|
||||||
|
AutoRun = True
|
||||||
|
Browse = False
|
||||||
|
IgnoreBadMemAccess = True
|
||||||
|
CurrentDirectory = /home/deck
|
||||||
|
ShowDebuggerOnLoad = False
|
||||||
|
CheckForNewVersion = True
|
||||||
|
Language = en_US
|
||||||
|
ForceLagSync2 = False
|
||||||
|
DiscordPresence = True
|
||||||
|
UISound = False
|
||||||
|
AutoLoadSaveState = 0
|
||||||
|
EnableCheats = False
|
||||||
|
CwCheatRefreshRate = 77
|
||||||
|
CwCheatScrollPosition = 0.000000
|
||||||
|
GameListScrollPosition = 0.000000
|
||||||
|
ScreenshotsAsPNG = False
|
||||||
|
UseFFV1 = False
|
||||||
|
DumpFrames = False
|
||||||
|
DumpVideoOutput = False
|
||||||
|
DumpAudio = False
|
||||||
|
SaveLoadResetsAVdumping = False
|
||||||
|
StateSlot = 0
|
||||||
|
EnableStateUndo = True
|
||||||
|
StateLoadUndoGame = NA
|
||||||
|
StateUndoLastSaveGame = NA
|
||||||
|
StateUndoLastSaveSlot = -5
|
||||||
|
RewindFlipFrequency = 0
|
||||||
|
ShowOnScreenMessage = True
|
||||||
|
ShowRegionOnGameIcon = False
|
||||||
|
ShowIDOnGameIcon = False
|
||||||
|
GameGridScale = 1.000000
|
||||||
|
GridView1 = True
|
||||||
|
GridView2 = True
|
||||||
|
GridView3 = False
|
||||||
|
RightAnalogUp = 0
|
||||||
|
RightAnalogDown = 0
|
||||||
|
RightAnalogLeft = 0
|
||||||
|
RightAnalogRight = 0
|
||||||
|
RightAnalogPress = 0
|
||||||
|
RightAnalogCustom = False
|
||||||
|
RightAnalogDisableDiagonal = False
|
||||||
|
SwipeUp = 0
|
||||||
|
SwipeDown = 0
|
||||||
|
SwipeLeft = 0
|
||||||
|
SwipeRight = 0
|
||||||
|
SwipeSensitivity = 1.000000
|
||||||
|
SwipeSmoothing = 0.300000
|
||||||
|
DoubleTapGesture = 0
|
||||||
|
GestureControlEnabled = False
|
||||||
|
ReportingHost = default
|
||||||
|
AutoSaveSymbolMap = False
|
||||||
|
CacheFullIsoInRam = False
|
||||||
|
RemoteISOPort = 0
|
||||||
|
LastRemoteISOServer =
|
||||||
|
LastRemoteISOPort = 0
|
||||||
|
RemoteISOManualConfig = False
|
||||||
|
RemoteShareOnStartup = False
|
||||||
|
RemoteISOSubdir = /
|
||||||
|
RemoteDebuggerOnStartup = False
|
||||||
|
InternalScreenRotation = 1
|
||||||
|
BackgroundAnimation = 1
|
||||||
|
UITint = 0.000000
|
||||||
|
UISaturation = 1.000000
|
||||||
|
PauseWhenMinimized = False
|
||||||
|
DumpDecryptedEboots = False
|
||||||
|
MemStickInserted = True
|
||||||
|
EnablePlugins = True
|
||||||
|
IgnoreCompatSettings =
|
||||||
|
[CPU]
|
||||||
|
CPUCore = 1
|
||||||
|
SeparateSASThread = True
|
||||||
|
IOTimingMethod = 0
|
||||||
|
FastMemoryAccess = True
|
||||||
|
FunctionReplacements = True
|
||||||
|
HideSlowWarnings = False
|
||||||
|
HideStateWarnings = False
|
||||||
|
PreloadFunctions = False
|
||||||
|
JitDisableFlags = 0x00000000
|
||||||
|
CPUSpeed = 0
|
||||||
|
[Graphics]
|
||||||
|
EnableCardboardVR = False
|
||||||
|
CardboardScreenSize = 50
|
||||||
|
CardboardXShift = 0
|
||||||
|
CardboardYShift = 0
|
||||||
|
ShowFPSCounter = 0
|
||||||
|
GraphicsBackend = 0 (OPENGL)
|
||||||
|
FailedGraphicsBackends =
|
||||||
|
DisabledGraphicsBackends =
|
||||||
|
VulkanDevice =
|
||||||
|
CameraDevice =
|
||||||
|
RenderingMode = 1
|
||||||
|
SoftwareRenderer = False
|
||||||
|
SoftwareRendererJit = True
|
||||||
|
HardwareTransform = True
|
||||||
|
SoftwareSkinning = True
|
||||||
|
TextureFiltering = 1
|
||||||
|
BufferFiltering = 1
|
||||||
|
InternalResolution = 1
|
||||||
|
AndroidHwScale = 1
|
||||||
|
HighQualityDepth = 1
|
||||||
|
FrameSkip = 0
|
||||||
|
FrameSkipType = 0
|
||||||
|
AutoFrameSkip = False
|
||||||
|
FrameRate = 0
|
||||||
|
FrameRate2 = -1
|
||||||
|
AnalogFrameRate = 240
|
||||||
|
AnalogFrameRateMode = 0
|
||||||
|
UnthrottlingMode = CONTINUOUS
|
||||||
|
AnisotropyLevel = 4
|
||||||
|
VertexDecCache = False
|
||||||
|
TextureBackoffCache = False
|
||||||
|
TextureSecondaryCache = False
|
||||||
|
FullScreen = False
|
||||||
|
FullScreenMulti = False
|
||||||
|
SmallDisplayZoomType = 2
|
||||||
|
SmallDisplayOffsetX = 0.500000
|
||||||
|
SmallDisplayOffsetY = 0.500000
|
||||||
|
SmallDisplayZoomLevel = 1.000000
|
||||||
|
ImmersiveMode = True
|
||||||
|
SustainedPerformanceMode = False
|
||||||
|
IgnoreScreenInsets = True
|
||||||
|
ReplaceTextures = True
|
||||||
|
SaveNewTextures = False
|
||||||
|
IgnoreTextureFilenames = False
|
||||||
|
ReplaceTexturesAllowLate = True
|
||||||
|
TexScalingLevel = 1
|
||||||
|
TexScalingType = 0
|
||||||
|
TexDeposterize = False
|
||||||
|
TexHardwareScaling = False
|
||||||
|
VSyncInterval = False
|
||||||
|
BloomHack = 0
|
||||||
|
SplineBezierQuality = 2
|
||||||
|
HardwareTessellation = False
|
||||||
|
TextureShader = Off
|
||||||
|
ShaderChainRequires60FPS = False
|
||||||
|
MemBlockTransferGPU = True
|
||||||
|
DisableSlowFramebufEffects = False
|
||||||
|
FragmentTestCache = True
|
||||||
|
LogFrameDrops = False
|
||||||
|
InflightFrames = 2
|
||||||
|
RenderDuplicateFrames = False
|
||||||
|
GpuLogProfiler = False
|
||||||
|
[Sound]
|
||||||
|
Enable = True
|
||||||
|
AudioBackend = 0
|
||||||
|
ExtraAudioBuffering = False
|
||||||
|
GlobalVolume = 10
|
||||||
|
ReverbVolume = 10
|
||||||
|
AltSpeedVolume = -1
|
||||||
|
AudioDevice =
|
||||||
|
AutoAudioDevice = True
|
||||||
|
[Control]
|
||||||
|
HapticFeedback = False
|
||||||
|
ShowTouchCross = True
|
||||||
|
ShowTouchCircle = True
|
||||||
|
ShowTouchSquare = True
|
||||||
|
ShowTouchTriangle = True
|
||||||
|
Custom0Mapping = 0x0000000000000000
|
||||||
|
Custom0Image = 0
|
||||||
|
Custom0Shape = 0
|
||||||
|
Custom0Toggle = False
|
||||||
|
Custom0Repeat = False
|
||||||
|
Custom1Mapping = 0x0000000000000000
|
||||||
|
Custom1Image = 1
|
||||||
|
Custom1Shape = 0
|
||||||
|
Custom1Toggle = False
|
||||||
|
Custom1Repeat = False
|
||||||
|
Custom2Mapping = 0x0000000000000000
|
||||||
|
Custom2Image = 2
|
||||||
|
Custom2Shape = 0
|
||||||
|
Custom2Toggle = False
|
||||||
|
Custom2Repeat = False
|
||||||
|
Custom3Mapping = 0x0000000000000000
|
||||||
|
Custom3Image = 3
|
||||||
|
Custom3Shape = 0
|
||||||
|
Custom3Toggle = False
|
||||||
|
Custom3Repeat = False
|
||||||
|
Custom4Mapping = 0x0000000000000000
|
||||||
|
Custom4Image = 4
|
||||||
|
Custom4Shape = 0
|
||||||
|
Custom4Toggle = False
|
||||||
|
Custom4Repeat = False
|
||||||
|
Custom5Mapping = 0x0000000000000000
|
||||||
|
Custom5Image = 0
|
||||||
|
Custom5Shape = 1
|
||||||
|
Custom5Toggle = False
|
||||||
|
Custom5Repeat = False
|
||||||
|
Custom6Mapping = 0x0000000000000000
|
||||||
|
Custom6Image = 1
|
||||||
|
Custom6Shape = 1
|
||||||
|
Custom6Toggle = False
|
||||||
|
Custom6Repeat = False
|
||||||
|
Custom7Mapping = 0x0000000000000000
|
||||||
|
Custom7Image = 2
|
||||||
|
Custom7Shape = 1
|
||||||
|
Custom7Toggle = False
|
||||||
|
Custom7Repeat = False
|
||||||
|
Custom8Mapping = 0x0000000000000000
|
||||||
|
Custom8Image = 3
|
||||||
|
Custom8Shape = 1
|
||||||
|
Custom8Toggle = False
|
||||||
|
Custom8Repeat = False
|
||||||
|
Custom9Mapping = 0x0000000000000000
|
||||||
|
Custom9Image = 4
|
||||||
|
Custom9Shape = 1
|
||||||
|
Custom9Toggle = False
|
||||||
|
Custom9Repeat = False
|
||||||
|
ShowTouchPause = False
|
||||||
|
ShowTouchControls = False
|
||||||
|
DisableDpadDiagonals = False
|
||||||
|
GamepadOnlyFocused = False
|
||||||
|
TouchButtonStyle = 1
|
||||||
|
TouchButtonOpacity = 65
|
||||||
|
TouchButtonHideSeconds = 20
|
||||||
|
AutoCenterTouchAnalog = False
|
||||||
|
AnalogAutoRotSpeed = 8.000000
|
||||||
|
TouchSnapToGrid = False
|
||||||
|
TouchSnapGridSize = 64
|
||||||
|
ActionButtonSpacing2 = 1.000000
|
||||||
|
ActionButtonCenterX = -1.000000
|
||||||
|
ActionButtonCenterY = -1.000000
|
||||||
|
ActionButtonScale = 1.150000
|
||||||
|
DPadX = -1.000000
|
||||||
|
DPadY = -1.000000
|
||||||
|
DPadScale = 1.150000
|
||||||
|
ShowTouchDpad = True
|
||||||
|
DPadSpacing = 1.000000
|
||||||
|
StartKeyX = -1.000000
|
||||||
|
StartKeyY = -1.000000
|
||||||
|
StartKeyScale = 1.150000
|
||||||
|
ShowTouchStart = True
|
||||||
|
SelectKeyX = -1.000000
|
||||||
|
SelectKeyY = -1.000000
|
||||||
|
SelectKeyScale = 1.150000
|
||||||
|
ShowTouchSelect = True
|
||||||
|
UnthrottleKeyX = -1.000000
|
||||||
|
UnthrottleKeyY = -1.000000
|
||||||
|
UnthrottleKeyScale = 1.150000
|
||||||
|
ShowTouchUnthrottle = True
|
||||||
|
LKeyX = -1.000000
|
||||||
|
LKeyY = -1.000000
|
||||||
|
LKeyScale = 1.150000
|
||||||
|
ShowTouchLTrigger = True
|
||||||
|
RKeyX = -1.000000
|
||||||
|
RKeyY = -1.000000
|
||||||
|
RKeyScale = 1.150000
|
||||||
|
ShowTouchRTrigger = True
|
||||||
|
AnalogStickX = -1.000000
|
||||||
|
AnalogStickY = -1.000000
|
||||||
|
AnalogStickScale = 1.150000
|
||||||
|
ShowAnalogStick = True
|
||||||
|
RightAnalogStickX = -1.000000
|
||||||
|
RightAnalogStickY = -1.000000
|
||||||
|
RightAnalogStickScale = 1.150000
|
||||||
|
ShowRightAnalogStick = False
|
||||||
|
fcombo0X = -1.000000
|
||||||
|
fcombo0Y = -1.000000
|
||||||
|
comboKeyScale0 = 1.150000
|
||||||
|
ShowComboKey0 = False
|
||||||
|
fcombo1X = -1.000000
|
||||||
|
fcombo1Y = -1.000000
|
||||||
|
comboKeyScale1 = 1.150000
|
||||||
|
ShowComboKey1 = False
|
||||||
|
fcombo2X = -1.000000
|
||||||
|
fcombo2Y = -1.000000
|
||||||
|
comboKeyScale2 = 1.150000
|
||||||
|
ShowComboKey2 = False
|
||||||
|
fcombo3X = -1.000000
|
||||||
|
fcombo3Y = -1.000000
|
||||||
|
comboKeyScale3 = 1.150000
|
||||||
|
ShowComboKey3 = False
|
||||||
|
fcombo4X = -1.000000
|
||||||
|
fcombo4Y = -1.000000
|
||||||
|
comboKeyScale4 = 1.150000
|
||||||
|
ShowComboKey4 = False
|
||||||
|
fcombo5X = -1.000000
|
||||||
|
fcombo5Y = -1.000000
|
||||||
|
comboKeyScale5 = 1.150000
|
||||||
|
ShowComboKey5 = False
|
||||||
|
fcombo6X = -1.000000
|
||||||
|
fcombo6Y = -1.000000
|
||||||
|
comboKeyScale6 = 1.150000
|
||||||
|
ShowComboKey6 = False
|
||||||
|
fcombo7X = -1.000000
|
||||||
|
fcombo7Y = -1.000000
|
||||||
|
comboKeyScale7 = 1.150000
|
||||||
|
ShowComboKey7 = False
|
||||||
|
fcombo8X = -1.000000
|
||||||
|
fcombo8Y = -1.000000
|
||||||
|
comboKeyScale8 = 1.150000
|
||||||
|
ShowComboKey8 = False
|
||||||
|
fcombo9X = -1.000000
|
||||||
|
fcombo9Y = -1.000000
|
||||||
|
comboKeyScale9 = 1.150000
|
||||||
|
ShowComboKey9 = False
|
||||||
|
AnalogDeadzone = 0.150000
|
||||||
|
AnalogInverseDeadzone = 0.000000
|
||||||
|
AnalogSensitivity = 1.100000
|
||||||
|
AnalogIsCircular = False
|
||||||
|
AnalogLimiterDeadzone = 0.600000
|
||||||
|
LeftStickHeadScale = 1.000000
|
||||||
|
RightStickHeadScale = 1.000000
|
||||||
|
HideStickBackground = False
|
||||||
|
UseMouse = False
|
||||||
|
MapMouse = False
|
||||||
|
ConfineMap = False
|
||||||
|
MouseSensitivity = 0.100000
|
||||||
|
MouseSmoothing = 0.900000
|
||||||
|
SystemControls = True
|
||||||
|
[Network]
|
||||||
|
EnableWlan = False
|
||||||
|
EnableAdhocServer = False
|
||||||
|
proAdhocServer = socom.cc
|
||||||
|
PortOffset = 10000
|
||||||
|
MinTimeout = 0
|
||||||
|
ForcedFirstConnect = False
|
||||||
|
EnableUPnP = False
|
||||||
|
UPnPUseOriginalPort = False
|
||||||
|
EnableNetworkChat = False
|
||||||
|
ChatButtonPosition = 0
|
||||||
|
ChatScreenPosition = 0
|
||||||
|
EnableQuickChat = True
|
||||||
|
QuickChat1 = Quick Chat 1
|
||||||
|
QuickChat2 = Quick Chat 2
|
||||||
|
QuickChat3 = Quick Chat 3
|
||||||
|
QuickChat4 = Quick Chat 4
|
||||||
|
QuickChat5 = Quick Chat 5
|
||||||
|
[SystemParam]
|
||||||
|
PSPModel = 1
|
||||||
|
PSPFirmwareVersion = 660
|
||||||
|
NickName = PPSSPP
|
||||||
|
MacAddress = c8:56:7c:5c:fb:eb
|
||||||
|
Language = 1
|
||||||
|
ParamTimeFormat = 0
|
||||||
|
ParamDateFormat = 0
|
||||||
|
TimeZone = 0
|
||||||
|
DayLightSavings = False
|
||||||
|
ButtonPreference = 1
|
||||||
|
LockParentalLevel = 0
|
||||||
|
WlanAdhocChannel = 0
|
||||||
|
WlanPowerSave = False
|
||||||
|
EncryptSave = True
|
||||||
|
SavedataUpgradeVersion = True
|
||||||
|
MemStickSize = 16
|
||||||
|
[Debugger]
|
||||||
|
DisasmWindowX = -1
|
||||||
|
DisasmWindowY = -1
|
||||||
|
DisasmWindowW = -1
|
||||||
|
DisasmWindowH = -1
|
||||||
|
GEWindowX = -1
|
||||||
|
GEWindowY = -1
|
||||||
|
GEWindowW = -1
|
||||||
|
GEWindowH = -1
|
||||||
|
ConsoleWindowX = -1
|
||||||
|
ConsoleWindowY = -1
|
||||||
|
FontWidth = 8
|
||||||
|
FontHeight = 12
|
||||||
|
DisplayStatusBar = True
|
||||||
|
ShowBottomTabTitles = True
|
||||||
|
ShowDeveloperMenu = False
|
||||||
|
SkipDeadbeefFilling = False
|
||||||
|
FuncHashMap = False
|
||||||
|
MemInfoDetailed = False
|
||||||
|
DrawFrameGraph = False
|
||||||
|
[Upgrade]
|
||||||
|
UpgradeMessage =
|
||||||
|
UpgradeVersion =
|
||||||
|
DismissedVersion =
|
||||||
|
[Theme]
|
||||||
|
ThemeName = Default
|
||||||
|
[Recent]
|
||||||
|
MaxRecent = 60
|
||||||
|
[Log]
|
||||||
|
SYSTEMEnabled = True
|
||||||
|
SYSTEMLevel = 2
|
||||||
|
BOOTEnabled = True
|
||||||
|
BOOTLevel = 2
|
||||||
|
COMMONEnabled = True
|
||||||
|
COMMONLevel = 2
|
||||||
|
CPUEnabled = True
|
||||||
|
CPULevel = 2
|
||||||
|
FILESYSEnabled = True
|
||||||
|
FILESYSLevel = 2
|
||||||
|
G3DEnabled = True
|
||||||
|
G3DLevel = 2
|
||||||
|
HLEEnabled = True
|
||||||
|
HLELevel = 2
|
||||||
|
JITEnabled = True
|
||||||
|
JITLevel = 2
|
||||||
|
LOADEREnabled = True
|
||||||
|
LOADERLevel = 2
|
||||||
|
MEEnabled = True
|
||||||
|
MELevel = 2
|
||||||
|
MEMMAPEnabled = True
|
||||||
|
MEMMAPLevel = 2
|
||||||
|
SASMIXEnabled = True
|
||||||
|
SASMIXLevel = 2
|
||||||
|
SAVESTATEEnabled = True
|
||||||
|
SAVESTATELevel = 2
|
||||||
|
FRAMEBUFEnabled = True
|
||||||
|
FRAMEBUFLevel = 2
|
||||||
|
AUDIOEnabled = True
|
||||||
|
AUDIOLevel = 2
|
||||||
|
IOEnabled = True
|
||||||
|
IOLevel = 2
|
||||||
|
SCEAUDIOEnabled = True
|
||||||
|
SCEAUDIOLevel = 2
|
||||||
|
SCECTRLEnabled = True
|
||||||
|
SCECTRLLevel = 2
|
||||||
|
SCEDISPEnabled = True
|
||||||
|
SCEDISPLevel = 2
|
||||||
|
SCEFONTEnabled = True
|
||||||
|
SCEFONTLevel = 2
|
||||||
|
SCEGEEnabled = True
|
||||||
|
SCEGELevel = 2
|
||||||
|
SCEINTCEnabled = True
|
||||||
|
SCEINTCLevel = 2
|
||||||
|
SCEIOEnabled = True
|
||||||
|
SCEIOLevel = 2
|
||||||
|
SCEKERNELEnabled = True
|
||||||
|
SCEKERNELLevel = 2
|
||||||
|
SCEMODULEEnabled = True
|
||||||
|
SCEMODULELevel = 2
|
||||||
|
SCENETEnabled = True
|
||||||
|
SCENETLevel = 2
|
||||||
|
SCERTCEnabled = True
|
||||||
|
SCERTCLevel = 2
|
||||||
|
SCESASEnabled = True
|
||||||
|
SCESASLevel = 2
|
||||||
|
SCEUTILEnabled = True
|
||||||
|
SCEUTILLevel = 2
|
||||||
|
SCEMISCEnabled = True
|
||||||
|
SCEMISCLevel = 2
|
||||||
|
[PostShaderSetting]
|
||||||
|
BloomSettingValue1 = 0.600000
|
||||||
|
BloomSettingValue2 = 0.500000
|
||||||
|
CRTSettingValue1 = 1.000000
|
||||||
|
CartoonSettingValue1 = 0.500000
|
||||||
|
ColorCorrectionSettingValue1 = 1.000000
|
||||||
|
ColorCorrectionSettingValue2 = 1.000000
|
||||||
|
ColorCorrectionSettingValue3 = 1.000000
|
||||||
|
ColorCorrectionSettingValue4 = 1.000000
|
||||||
|
ScanlinesSettingValue1 = 1.000000
|
||||||
|
ScanlinesSettingValue2 = 0.500000
|
||||||
|
SharpenSettingValue1 = 1.500000
|
3198
emu-configs/defaults/retroarch/retroarch.cfg
Normal file
3198
emu-configs/defaults/retroarch/retroarch.cfg
Normal file
File diff suppressed because it is too large
Load diff
223
emu-configs/defaults/rpcs3/config.yml
Normal file
223
emu-configs/defaults/rpcs3/config.yml
Normal file
|
@ -0,0 +1,223 @@
|
||||||
|
Core:
|
||||||
|
PPU Decoder: Recompiler (LLVM)
|
||||||
|
PPU Threads: 2
|
||||||
|
PPU Debug: false
|
||||||
|
PPU Calling History: false
|
||||||
|
Save LLVM logs: false
|
||||||
|
Use LLVM CPU: ""
|
||||||
|
Max LLVM Compile Threads: 0
|
||||||
|
PPU LLVM Greedy Mode: false
|
||||||
|
PPU LLVM Precompilation: true
|
||||||
|
Thread Scheduler Mode: Operating System
|
||||||
|
Set DAZ and FTZ: false
|
||||||
|
SPU Decoder: Recompiler (LLVM)
|
||||||
|
SPU Reservation Busy Waiting Percentage: 0
|
||||||
|
SPU GETLLAR Busy Waiting Percentage: 100
|
||||||
|
SPU Debug: false
|
||||||
|
MFC Debug: false
|
||||||
|
Preferred SPU Threads: 0
|
||||||
|
SPU delay penalty: 3
|
||||||
|
SPU loop detection: false
|
||||||
|
Max SPURS Threads: 6
|
||||||
|
SPU Block Size: Safe
|
||||||
|
Accurate GETLLAR: false
|
||||||
|
Accurate SPU DMA: false
|
||||||
|
Accurate SPU Reservations: true
|
||||||
|
Accurate Cache Line Stores: false
|
||||||
|
Accurate RSX reservation access: false
|
||||||
|
RSX FIFO Accuracy: Fast
|
||||||
|
SPU Verification: true
|
||||||
|
SPU Cache: true
|
||||||
|
SPU Profiler: false
|
||||||
|
MFC Commands Shuffling Limit: 0
|
||||||
|
MFC Commands Timeout: 0
|
||||||
|
MFC Commands Shuffling In Steps: false
|
||||||
|
Enable TSX: Disabled
|
||||||
|
Accurate xfloat: false
|
||||||
|
Approximate xfloat: true
|
||||||
|
Relaxed xfloat: true
|
||||||
|
Accurate PPU 128-byte Reservation Op Max Length: 0
|
||||||
|
Stub PPU Traps: 0
|
||||||
|
Full Width AVX-512: false
|
||||||
|
PPU LLVM Java Mode Handling: true
|
||||||
|
Use Accurate DFMA: true
|
||||||
|
PPU Set Saturation Bit: false
|
||||||
|
PPU Accurate Non-Java Mode: false
|
||||||
|
PPU Fixup Vector NaN Values: false
|
||||||
|
PPU Accurate Vector NaN Values: false
|
||||||
|
PPU Set FPCC Bits: false
|
||||||
|
Debug Console Mode: false
|
||||||
|
Hook static functions: false
|
||||||
|
Libraries Control:
|
||||||
|
[]
|
||||||
|
HLE lwmutex: false
|
||||||
|
SPU LLVM Lower Bound: 0
|
||||||
|
SPU LLVM Upper Bound: 18446744073709551615
|
||||||
|
TSX Transaction First Limit: 800
|
||||||
|
TSX Transaction Second Limit: 2000
|
||||||
|
Clocks scale: 100
|
||||||
|
SPU Wake-Up Delay: 0
|
||||||
|
SPU Wake-Up Delay Thread Mask: 63
|
||||||
|
Max CPU Preempt Count: 0
|
||||||
|
Allow RSX CPU Preemptions: true
|
||||||
|
Sleep Timers Accuracy: As Host
|
||||||
|
Performance Report Threshold: 500
|
||||||
|
Enable Performance Report: false
|
||||||
|
Assume External Debugger: false
|
||||||
|
VFS:
|
||||||
|
Enable /host_root/: false
|
||||||
|
Initialize Directories: true
|
||||||
|
Limit disk cache size: false
|
||||||
|
Disk cache maximum size (MB): 5120
|
||||||
|
Empty /dev_hdd0/tmp/: true
|
||||||
|
Video:
|
||||||
|
Renderer: Vulkan
|
||||||
|
Resolution: 1280x720
|
||||||
|
Aspect ratio: 16:9
|
||||||
|
Frame limit: Auto
|
||||||
|
MSAA: Auto
|
||||||
|
Shader Mode: Async Shader Recompiler
|
||||||
|
Shader Precision: High
|
||||||
|
Write Color Buffers: false
|
||||||
|
Write Depth Buffer: false
|
||||||
|
Read Color Buffers: false
|
||||||
|
Read Depth Buffer: false
|
||||||
|
Log shader programs: false
|
||||||
|
VSync: false
|
||||||
|
Debug output: false
|
||||||
|
Debug overlay: false
|
||||||
|
Renderdoc Compatibility Mode: false
|
||||||
|
Use GPU texture scaling: false
|
||||||
|
Stretch To Display Area: false
|
||||||
|
Force High Precision Z buffer: false
|
||||||
|
Strict Rendering Mode: false
|
||||||
|
Disable ZCull Occlusion Queries: false
|
||||||
|
Disable Video Output: false
|
||||||
|
Disable Vertex Cache: false
|
||||||
|
Disable FIFO Reordering: false
|
||||||
|
Enable Frame Skip: false
|
||||||
|
Force CPU Blit: false
|
||||||
|
Disable On-Disk Shader Cache: false
|
||||||
|
Disable Vulkan Memory Allocator: false
|
||||||
|
Use full RGB output range: true
|
||||||
|
Strict Texture Flushing: false
|
||||||
|
Multithreaded RSX: false
|
||||||
|
Relaxed ZCULL Sync: false
|
||||||
|
Enable 3D: false
|
||||||
|
Debug Program Analyser: false
|
||||||
|
Accurate ZCULL stats: true
|
||||||
|
Consecutive Frames To Draw: 1
|
||||||
|
Consecutive Frames To Skip: 1
|
||||||
|
Resolution Scale: 100
|
||||||
|
Anisotropic Filter Override: 0
|
||||||
|
Texture LOD Bias Addend: 0
|
||||||
|
Minimum Scalable Dimension: 16
|
||||||
|
Shader Compiler Threads: 0
|
||||||
|
Driver Recovery Timeout: 1000000
|
||||||
|
Driver Wake-Up Delay: 1
|
||||||
|
Vblank Rate: 60
|
||||||
|
Vblank NTSC Fixup: false
|
||||||
|
DECR memory layout: false
|
||||||
|
Allow Host GPU Labels: false
|
||||||
|
Disable MSL Fast Math: false
|
||||||
|
Vulkan:
|
||||||
|
Adapter: llvmpipe (LLVM 14.0.6, 256 bits)
|
||||||
|
Force FIFO present mode: false
|
||||||
|
Force primitive restart flag: false
|
||||||
|
Force Disable Exclusive Fullscreen Mode: false
|
||||||
|
Asynchronous Texture Streaming 2: false
|
||||||
|
Enable FidelityFX Super Resolution Upscaling: false
|
||||||
|
FidelityFX CAS Sharpening Intensity: 50
|
||||||
|
Asynchronous Queue Scheduler: Safe
|
||||||
|
Performance Overlay:
|
||||||
|
Enabled: false
|
||||||
|
Enable Framerate Graph: false
|
||||||
|
Enable Frametime Graph: false
|
||||||
|
Framerate datapoints: 50
|
||||||
|
Frametime datapoints: 170
|
||||||
|
Detail level: Medium
|
||||||
|
Framerate graph detail level: All
|
||||||
|
Frametime graph detail level: All
|
||||||
|
Metrics update interval (ms): 350
|
||||||
|
Font size (px): 10
|
||||||
|
Position: Top Left
|
||||||
|
Font: n023055ms.ttf
|
||||||
|
Horizontal Margin (px): 50
|
||||||
|
Vertical Margin (px): 50
|
||||||
|
Center Horizontally: false
|
||||||
|
Center Vertically: false
|
||||||
|
Opacity (%): 70
|
||||||
|
Body Color (hex): "#FFE138FF"
|
||||||
|
Body Background (hex): "#002339FF"
|
||||||
|
Title Color (hex): "#F26C24FF"
|
||||||
|
Title Background (hex): "#00000000"
|
||||||
|
Shader Compilation Hint:
|
||||||
|
Position X (px): 20
|
||||||
|
Position Y (px): 690
|
||||||
|
Shader Loading Dialog:
|
||||||
|
Allow custom background: true
|
||||||
|
Darkening effect strength: 30
|
||||||
|
Blur effect strength: 0
|
||||||
|
Audio:
|
||||||
|
Renderer: Cubeb
|
||||||
|
Audio Provider: CellAudio
|
||||||
|
RSXAudio Avport: HDMI 0
|
||||||
|
Dump to file: false
|
||||||
|
Convert to 16 bit: false
|
||||||
|
Audio Format: Stereo
|
||||||
|
Audio Formats: 0
|
||||||
|
Audio Device: "@@@default@@@"
|
||||||
|
Master Volume: 100
|
||||||
|
Enable Buffering: true
|
||||||
|
Desired Audio Buffer Duration: 100
|
||||||
|
Enable Time Stretching: false
|
||||||
|
Time Stretching Threshold: 75
|
||||||
|
Microphone Type: "Null"
|
||||||
|
Microphone Devices: "@@@@@@@@@@@@"
|
||||||
|
Music Handler: Qt
|
||||||
|
Input/Output:
|
||||||
|
Keyboard: "Null"
|
||||||
|
Mouse: Basic
|
||||||
|
Camera: "Null"
|
||||||
|
Camera type: Unknown
|
||||||
|
Camera flip: None
|
||||||
|
Camera ID: Default
|
||||||
|
Move: "Null"
|
||||||
|
Buzz emulated controller: "Null"
|
||||||
|
Turntable emulated controller: "Null"
|
||||||
|
GHLtar emulated controller: "Null"
|
||||||
|
Pad handler mode: Single-threaded
|
||||||
|
Pad handler sleep (microseconds): 1000
|
||||||
|
Background input enabled: true
|
||||||
|
Show move cursor: false
|
||||||
|
System:
|
||||||
|
License Area: SCEA
|
||||||
|
Language: English (US)
|
||||||
|
Keyboard Type: English keyboard (US standard)
|
||||||
|
Enter button assignment: Enter with cross
|
||||||
|
Console time offset (s): 0
|
||||||
|
PSID high: 0
|
||||||
|
PSID low: 0
|
||||||
|
Net:
|
||||||
|
Internet enabled: Disconnected
|
||||||
|
IP address: 0.0.0.0
|
||||||
|
DNS address: 8.8.8.8
|
||||||
|
IP swap list: ""
|
||||||
|
PSN status: Disconnected
|
||||||
|
Savestate:
|
||||||
|
Start Paused: false
|
||||||
|
Suspend Emulation Savestate Mode: true
|
||||||
|
Inspection Mode Savestates: false
|
||||||
|
Save Disc Game Data: false
|
||||||
|
Miscellaneous:
|
||||||
|
Automatically start games after boot: true
|
||||||
|
Exit RPCS3 when process finishes: false
|
||||||
|
Start games in fullscreen mode: false
|
||||||
|
Prevent display sleep while running games: true
|
||||||
|
Show trophy popups: true
|
||||||
|
Show shader compilation hint: true
|
||||||
|
Use native user interface: true
|
||||||
|
GDB Server: 127.0.0.1:2345
|
||||||
|
Silence All Logs: false
|
||||||
|
Window Title Format: "FPS: %F | %R | %V | %T [%t]"
|
||||||
|
Log: {}
|
49
emu-configs/defaults/rpcs3/vfs.yml
Normal file
49
emu-configs/defaults/rpcs3/vfs.yml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
$(EmulatorDir): ""
|
||||||
|
/dev_hdd0/: $(EmulatorDir)dev_hdd0/
|
||||||
|
/dev_hdd1/: $(EmulatorDir)dev_hdd1/
|
||||||
|
/dev_flash/: $(EmulatorDir)dev_flash/
|
||||||
|
/dev_flash2/: $(EmulatorDir)dev_flash2/
|
||||||
|
/dev_flash3/: $(EmulatorDir)dev_flash3/
|
||||||
|
/dev_bdvd/: $(EmulatorDir)dev_bdvd/
|
||||||
|
/app_home/: ""
|
||||||
|
/dev_usb***/:
|
||||||
|
/dev_usb000:
|
||||||
|
Path: $(EmulatorDir)dev_usb000/
|
||||||
|
Serial: ""
|
||||||
|
VID: ""
|
||||||
|
PID: ""
|
||||||
|
/dev_usb001:
|
||||||
|
Path: ""
|
||||||
|
Serial: ""
|
||||||
|
VID: ""
|
||||||
|
PID: ""
|
||||||
|
/dev_usb002:
|
||||||
|
Path: ""
|
||||||
|
Serial: ""
|
||||||
|
VID: ""
|
||||||
|
PID: ""
|
||||||
|
/dev_usb003:
|
||||||
|
Path: ""
|
||||||
|
Serial: ""
|
||||||
|
VID: ""
|
||||||
|
PID: ""
|
||||||
|
/dev_usb004:
|
||||||
|
Path: ""
|
||||||
|
Serial: ""
|
||||||
|
VID: ""
|
||||||
|
PID: ""
|
||||||
|
/dev_usb005:
|
||||||
|
Path: ""
|
||||||
|
Serial: ""
|
||||||
|
VID: ""
|
||||||
|
PID: ""
|
||||||
|
/dev_usb006:
|
||||||
|
Path: ""
|
||||||
|
Serial: ""
|
||||||
|
VID: ""
|
||||||
|
PID: ""
|
||||||
|
/dev_usb007:
|
||||||
|
Path: ""
|
||||||
|
Serial: ""
|
||||||
|
VID: ""
|
||||||
|
PID: ""
|
9
emu-configs/defaults/xemu/xemu.toml
Normal file
9
emu-configs/defaults/xemu/xemu.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[general]
|
||||||
|
show_welcome = false
|
||||||
|
last_viewed_menu_index = 6
|
||||||
|
|
||||||
|
[display.window]
|
||||||
|
last_height = 885
|
||||||
|
|
||||||
|
[sys.files]
|
||||||
|
eeprom_path = '/home/deck/.var/app/app.xemu.xemu/data/xemu/xemu/eeprom.bin'
|
1203
emu-configs/defaults/yuzu/qt-config.ini
Normal file
1203
emu-configs/defaults/yuzu/qt-config.ini
Normal file
File diff suppressed because it is too large
Load diff
299
functions.sh
299
functions.sh
|
@ -65,14 +65,13 @@ move() {
|
||||||
fi
|
fi
|
||||||
debug_dialog "mv -v -t $2 $1"
|
debug_dialog "mv -v -t $2 $1"
|
||||||
) |
|
) |
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close --width=800 --height=600 \
|
zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--title "RetroDECK Configurator Utility - Move in Progress" \
|
--title "RetroDECK Configurator Utility - Move in Progress" \
|
||||||
--text="Moving directory $1 to new location of $2, please wait."
|
--text="Moving directory $1 to new location of $2, please wait."
|
||||||
|
|
||||||
else
|
else
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --error --no-wrap \
|
zenity --icon-name=net.retrodeck.retrodeck --error --no-wrap \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --width=800 --height=600 \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--title "RetroDECK Configurator Utility - Move Directories" \
|
--title "RetroDECK Configurator Utility - Move Directories" \
|
||||||
--text="The destination directory you have selected does not have enough free space for the files you are trying to move.\n\nPlease select a new destination or free up some space."
|
--text="The destination directory you have selected does not have enough free space for the files you are trying to move.\n\nPlease select a new destination or free up some space."
|
||||||
|
|
||||||
|
@ -140,6 +139,12 @@ case $4 in
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get_setting_name() {
|
||||||
|
# Function for getting the setting name from a full setting line from a config file
|
||||||
|
# USAGE: get_setting_name $setting_line $system (needed as different systems use different config file syntax)
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
get_setting_value() {
|
get_setting_value() {
|
||||||
# Function for getting the current value of a setting from a config file
|
# Function for getting the current value of a setting from a config file
|
||||||
# USAGE: get_setting_value $setting_file $setting_name $system (needed as different systems use different config file syntax)
|
# USAGE: get_setting_value $setting_file $setting_name $system (needed as different systems use different config file syntax)
|
||||||
|
@ -207,6 +212,106 @@ enable_setting() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
conf_write() {
|
||||||
|
# writes the variables in the retrodeck config file
|
||||||
|
|
||||||
|
echo "DEBUG: printing the config file content before writing it:"
|
||||||
|
cat "$rd_conf"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
echo "Writing the config file: $rd_conf"
|
||||||
|
|
||||||
|
# TODO: this can be optimized with a while and a list of variables to check
|
||||||
|
if [ ! -z "$version" ] #if the variable is not null then I update it
|
||||||
|
then
|
||||||
|
sed -i "s%version=.*%version=$version%" "$rd_conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$rdhome" ]
|
||||||
|
then
|
||||||
|
sed -i "s%rdhome=.*%rdhome=$rdhome%" "$rd_conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$roms_folder" ]
|
||||||
|
then
|
||||||
|
sed -i "s%roms_folder=.*%roms_folder=$roms_folder%" "$rd_conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$saves_folder" ]
|
||||||
|
then
|
||||||
|
sed -i "s%saves_folder=.*%saves_folder=$saves_folder%" "$rd_conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$states_folder" ]
|
||||||
|
then
|
||||||
|
sed -i "s%states_folder=.*%states_folder=$states_folder%" "$rd_conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$bios_folder" ]
|
||||||
|
then
|
||||||
|
sed -i "s%bios_folder=.*%bios_folder=$bios_folder%" "$rd_conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$media_folder" ]
|
||||||
|
then
|
||||||
|
sed -i "s%media_folder=.*%media_folder=$media_folder%" "$rd_conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$themes_folder" ]
|
||||||
|
then
|
||||||
|
sed -i "s%themes_folder=.*%themes_folder=$themes_folder%" "$rd_conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$sdcard" ]
|
||||||
|
then
|
||||||
|
sed -i "s%sdcard=.*%sdcard=$sdcard%" "$rd_conf"
|
||||||
|
fi
|
||||||
|
echo "DEBUG: New contents:"
|
||||||
|
cat "$rd_conf"
|
||||||
|
echo ""
|
||||||
|
}
|
||||||
|
|
||||||
|
dir_prep() {
|
||||||
|
# This script is creating a symlink preserving old folder contents and moving them in the new one
|
||||||
|
|
||||||
|
# Call me with:
|
||||||
|
# dir prep "real dir" "symlink location"
|
||||||
|
real="$1"
|
||||||
|
symlink="$2"
|
||||||
|
|
||||||
|
echo -e "\n[DIR PREP]\nMoving $symlink in $real" #DEBUG
|
||||||
|
|
||||||
|
# if the dest dir exists we want to backup it
|
||||||
|
if [ -d "$symlink" ];
|
||||||
|
then
|
||||||
|
echo "$symlink found" #DEBUG
|
||||||
|
mv -fv "$symlink" "$symlink.old"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# if the real dir doesn't exist we create it
|
||||||
|
if [ ! -d "$real" ];
|
||||||
|
then
|
||||||
|
echo "$real not found, creating it" #DEBUG
|
||||||
|
mkdir -pv "$real"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# creating the symlink
|
||||||
|
echo "linking $real in $symlink" #DEBUG
|
||||||
|
mkdir -pv "$(dirname "$symlink")" # creating the full path except the last folder
|
||||||
|
ln -svf "$real" "$symlink"
|
||||||
|
|
||||||
|
# moving everything from the old folder to the new one, delete the old one
|
||||||
|
if [ -d "$symlink.old" ];
|
||||||
|
then
|
||||||
|
echo "Moving the data from $symlink.old to $real" #DEBUG
|
||||||
|
mv -fv "$symlink".old/* $real
|
||||||
|
echo "Removing $symlink.old" #DEBUG
|
||||||
|
rm -rf "$symlink.old"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo -e "$symlink is now $real\n"
|
||||||
|
}
|
||||||
|
|
||||||
yuzu_init() {
|
yuzu_init() {
|
||||||
echo "----------------------"
|
echo "----------------------"
|
||||||
echo "Initializing YUZU"
|
echo "Initializing YUZU"
|
||||||
|
@ -219,6 +324,9 @@ yuzu_init() {
|
||||||
dir_prep "$rdhome/bios/switch/keys" "/var/data/yuzu/keys"
|
dir_prep "$rdhome/bios/switch/keys" "/var/data/yuzu/keys"
|
||||||
# initializing the firmware folder
|
# initializing the firmware folder
|
||||||
dir_prep "$rdhome/bios/switch/registered" "/var/data/yuzu/nand/system/Contents/registered"
|
dir_prep "$rdhome/bios/switch/registered" "/var/data/yuzu/nand/system/Contents/registered"
|
||||||
|
# initializing the save folders
|
||||||
|
dir_prep "$rdhome/saves/switch/yuzu/nand" "/var/data/yuzu/nand"
|
||||||
|
dir_prep "$rdhome/saves/switch/yuzy/sdmc" "/var/data/yuzu/sdmc"
|
||||||
# configuring Yuzu
|
# configuring Yuzu
|
||||||
dir_prep "$rdhome/.logs/yuzu" "/var/data/yuzu/log"
|
dir_prep "$rdhome/.logs/yuzu" "/var/data/yuzu/log"
|
||||||
mkdir -pv /var/config/yuzu/
|
mkdir -pv /var/config/yuzu/
|
||||||
|
@ -252,7 +360,10 @@ pcsx2_init() {
|
||||||
cp -fvr $emuconfigs/PCSX2/* /var/config/PCSX2/inis/
|
cp -fvr $emuconfigs/PCSX2/* /var/config/PCSX2/inis/
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/PCSX2/inis/PCSX2_ui.ini
|
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/PCSX2/inis/PCSX2_ui.ini
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/PCSX2/inis/PCSX2.ini
|
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/PCSX2/inis/PCSX2.ini
|
||||||
}
|
#dir_prep "$rdhome/states/ps2/pcsx2" "/var/config/PCSX2/sstates"
|
||||||
|
#dir_prep "$rdhome/screenshots" "/var/config/PCSX2/snaps"
|
||||||
|
#dir_prep "$rdhome/.logs" "/var/config/PCSX2/logs"
|
||||||
|
#dir_prep "$rdhome/bios" "$rdhome/bios/pcsx2"
|
||||||
|
|
||||||
melonds_init() {
|
melonds_init() {
|
||||||
echo "----------------------"
|
echo "----------------------"
|
||||||
|
@ -274,6 +385,7 @@ citra_init() {
|
||||||
mkdir -pv /var/config/citra-emu/
|
mkdir -pv /var/config/citra-emu/
|
||||||
mkdir -pv "$rdhome/saves/n3ds/citra/nand/"
|
mkdir -pv "$rdhome/saves/n3ds/citra/nand/"
|
||||||
mkdir -pv "$rdhome/saves/n3ds/citra/sdmc/"
|
mkdir -pv "$rdhome/saves/n3ds/citra/sdmc/"
|
||||||
|
dir_prep "$rdhome/bios/citra/sysdata" "/var/data/citra-emu/sysdata"
|
||||||
dir_prep "$rdhome/.logs/citra" "/var/data/citra-emu/log"
|
dir_prep "$rdhome/.logs/citra" "/var/data/citra-emu/log"
|
||||||
cp -fv $emuconfigs/citra-qt-config.ini /var/config/citra-emu/qt-config.ini
|
cp -fv $emuconfigs/citra-qt-config.ini /var/config/citra-emu/qt-config.ini
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/citra-emu/qt-config.ini
|
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/citra-emu/qt-config.ini
|
||||||
|
@ -302,7 +414,7 @@ xemu_init() {
|
||||||
if [ ! -f $rdhome/bios/xbox_hdd.qcow2 ]
|
if [ ! -f $rdhome/bios/xbox_hdd.qcow2 ]
|
||||||
then
|
then
|
||||||
wget "https://github.com/mborgerson/xemu-hdd-image/releases/latest/download/xbox_hdd.qcow2.zip" -P $rdhome/bios/
|
wget "https://github.com/mborgerson/xemu-hdd-image/releases/latest/download/xbox_hdd.qcow2.zip" -P $rdhome/bios/
|
||||||
unzip $rdhome/bios/xbox_hdd.qcow2.zip $rdhome/bios/
|
unzip -q $rdhome/bios/xbox_hdd.qcow2.zip $rdhome/bios/
|
||||||
rm -rfv $rdhome/bios/xbox_hdd.qcow2.zip
|
rm -rfv $rdhome/bios/xbox_hdd.qcow2.zip
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -351,7 +463,7 @@ debug_dialog() {
|
||||||
# This function is for displaying commands run by the Configurator without actually running them
|
# This function is for displaying commands run by the Configurator without actually running them
|
||||||
# USAGE: debug_dialog "command"
|
# USAGE: debug_dialog "command"
|
||||||
|
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --width=800 --height=600 \
|
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--title "RetroDECK Configurator Utility - Debug Dialog" \
|
--title "RetroDECK Configurator Utility - Debug Dialog" \
|
||||||
--text="$1"
|
--text="$1"
|
||||||
|
@ -360,7 +472,7 @@ debug_dialog() {
|
||||||
configurator_process_complete_dialog() {
|
configurator_process_complete_dialog() {
|
||||||
# This dialog shows when a process is complete.
|
# This dialog shows when a process is complete.
|
||||||
# USAGE: configurator_process_complete_dialog "process text"
|
# USAGE: configurator_process_complete_dialog "process text"
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --ok-label="Quit" --extra-button="OK" --width=800 --height=600 \
|
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --ok-label="Quit" --extra-button="OK" \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--title "RetroDECK Configurator Utility - Process Complete" \
|
--title "RetroDECK Configurator Utility - Process Complete" \
|
||||||
--text="The process of $1 is now complete.\n\nYou may need to quit and restart RetroDECK for your changes to take effect\n\nClick OK to return to the Main Menu or Quit to return to RetroDECK."
|
--text="The process of $1 is now complete.\n\nYou may need to quit and restart RetroDECK for your changes to take effect\n\nClick OK to return to the Main Menu or Quit to return to RetroDECK."
|
||||||
|
@ -374,7 +486,7 @@ configurator_process_complete_dialog() {
|
||||||
configurator_generic_dialog() {
|
configurator_generic_dialog() {
|
||||||
# This dialog is for showing temporary messages before another process happens.
|
# This dialog is for showing temporary messages before another process happens.
|
||||||
# USAGE: configurator_generid_dialog "info text"
|
# USAGE: configurator_generid_dialog "info text"
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --width=800 --height=600 \
|
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--title "RetroDECK Configurator Utility" \
|
--title "RetroDECK Configurator Utility" \
|
||||||
--text="$1"
|
--text="$1"
|
||||||
|
@ -384,7 +496,7 @@ configurator_destination_choice_dialog() {
|
||||||
# This dialog is for making things easy for new users to move files to common locations. Gives the options for "Internal", "SD Card" and "Custom" locations.
|
# This dialog is for making things easy for new users to move files to common locations. Gives the options for "Internal", "SD Card" and "Custom" locations.
|
||||||
# USAGE: $(configurator_destination_choice_dialog "folder being moved" "action text")
|
# USAGE: $(configurator_destination_choice_dialog "folder being moved" "action text")
|
||||||
# This function returns one of the values: "Back" "Internal Storage" "SD Card" "Custom Location"
|
# This function returns one of the values: "Back" "Internal Storage" "SD Card" "Custom Location"
|
||||||
choice=$(zenity --title "RetroDECK Configurator Utility - Moving $1 folder" --info --no-wrap --ok-label="Back" --extra-button="Internal Storage" --extra-button="SD Card" --extra-button="Custom Location" --width=800 --height=600 \
|
choice=$(zenity --title "RetroDECK Configurator Utility - Moving $1 folder" --info --no-wrap --ok-label="Back" --extra-button="Internal Storage" --extra-button="SD Card" --extra-button="Custom Location" \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--text="$2")
|
--text="$2")
|
||||||
|
|
||||||
|
@ -397,47 +509,6 @@ configurator_destination_choice_dialog() {
|
||||||
|
|
||||||
# These functions were pulled from retrodeck.sh or global.sh and should be consolidated eventually
|
# These functions were pulled from retrodeck.sh or global.sh and should be consolidated eventually
|
||||||
|
|
||||||
dir_prep() {
|
|
||||||
# This script is creating a symlink preserving old folder contents and moving them in the new one
|
|
||||||
|
|
||||||
# Call me with:
|
|
||||||
# dir prep "real dir" "symlink location"
|
|
||||||
real="$1"
|
|
||||||
symlink="$2"
|
|
||||||
|
|
||||||
echo -e "\n[DIR PREP]\nMoving $symlink in $real" #DEBUG
|
|
||||||
|
|
||||||
# if the dest dir exists we want to backup it
|
|
||||||
if [ -d "$symlink" ];
|
|
||||||
then
|
|
||||||
echo "$symlink found" #DEBUG
|
|
||||||
mv -fv "$symlink" "$symlink.old"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if the real dir doesn't exist we create it
|
|
||||||
if [ ! -d "$real" ];
|
|
||||||
then
|
|
||||||
echo "$real not found, creating it" #DEBUG
|
|
||||||
mkdir -pv "$real"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# creating the symlink
|
|
||||||
echo "linking $real in $symlink" #DEBUG
|
|
||||||
mkdir -pv "$(dirname "$symlink")" # creating the full path except the last folder
|
|
||||||
ln -sv "$real" "$symlink"
|
|
||||||
|
|
||||||
# moving everything from the old folder to the new one, delete the old one
|
|
||||||
if [ -d "$symlink.old" ];
|
|
||||||
then
|
|
||||||
echo "Moving the data from $symlink.old to $real" #DEBUG
|
|
||||||
mv -fv "$symlink".old/* $real
|
|
||||||
echo "Removing $symlink.old" #DEBUG
|
|
||||||
rm -rf "$symlink.old"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo -e "$symlink is now $real\n"
|
|
||||||
}
|
|
||||||
|
|
||||||
tools_init() {
|
tools_init() {
|
||||||
rm -rfv /var/config/retrodeck/tools/
|
rm -rfv /var/config/retrodeck/tools/
|
||||||
mkdir -pv /var/config/retrodeck/tools/
|
mkdir -pv /var/config/retrodeck/tools/
|
||||||
|
@ -450,10 +521,14 @@ tools_init() {
|
||||||
ra_init() {
|
ra_init() {
|
||||||
dir_prep "$rdhome/bios" "/var/config/retroarch/system"
|
dir_prep "$rdhome/bios" "/var/config/retroarch/system"
|
||||||
dir_prep "$rdhome/.logs/retroarch" "/var/config/retroarch/logs"
|
dir_prep "$rdhome/.logs/retroarch" "/var/config/retroarch/logs"
|
||||||
|
mkdir -pv /var/config/retroarch/shaders/
|
||||||
|
cp -rfv /app/share/libretro/shaders /var/config/retroarch/
|
||||||
|
dir_prep "$rdhome/shaders/retroarch" "/var/config/retroarch/shaders"
|
||||||
mkdir -pv /var/config/retroarch/cores/
|
mkdir -pv /var/config/retroarch/cores/
|
||||||
cp /app/share/libretro/cores/* /var/config/retroarch/cores/
|
cp -f /app/share/libretro/cores/* /var/config/retroarch/cores/
|
||||||
cp -fv $emuconfigs/retroarch.cfg /var/config/retroarch/
|
cp -fv $emuconfigs/retroarch.cfg /var/config/retroarch/
|
||||||
cp -fv $emuconfigs/retroarch-core-options.cfg /var/config/retroarch/
|
cp -fv $emuconfigs/retroarch-core-options.cfg /var/config/retroarch/
|
||||||
|
cp -rfv $emuconfigs/retroarch-core-overrides/* /var/config/retroarch/config
|
||||||
#rm -rf $rdhome/bios/bios # in some situations a double bios symlink is created
|
#rm -rf $rdhome/bios/bios # in some situations a double bios symlink is created
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/retroarch/retroarch.cfg
|
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/retroarch/retroarch.cfg
|
||||||
|
|
||||||
|
@ -469,7 +544,7 @@ ra_init() {
|
||||||
#if [ ! -f "$rdhome/bios/PPSSPP/ppge_atlas.zim" ]
|
#if [ ! -f "$rdhome/bios/PPSSPP/ppge_atlas.zim" ]
|
||||||
#then
|
#then
|
||||||
wget "https://github.com/hrydgard/ppsspp/archive/refs/heads/master.zip" -P $rdhome/bios/PPSSPP
|
wget "https://github.com/hrydgard/ppsspp/archive/refs/heads/master.zip" -P $rdhome/bios/PPSSPP
|
||||||
unzip "$rdhome/bios/PPSSPP/master.zip" -d $rdhome/bios/PPSSPP/
|
unzip -q "$rdhome/bios/PPSSPP/master.zip" -d $rdhome/bios/PPSSPP/
|
||||||
mv "$rdhome/bios/PPSSPP/ppsspp-master/assets/"* "$rdhome/bios/PPSSPP/"
|
mv "$rdhome/bios/PPSSPP/ppsspp-master/assets/"* "$rdhome/bios/PPSSPP/"
|
||||||
rm -rfv "$rdhome/bios/PPSSPP/master.zip"
|
rm -rfv "$rdhome/bios/PPSSPP/master.zip"
|
||||||
rm -rfv "$rdhome/bios/PPSSPP/ppsspp-master"
|
rm -rfv "$rdhome/bios/PPSSPP/ppsspp-master"
|
||||||
|
@ -479,17 +554,15 @@ ra_init() {
|
||||||
mv -fv $rdhome/bios/PPSSPP/flash0/font.bak $rdhome/bios/PPSSPP/flash0/font
|
mv -fv $rdhome/bios/PPSSPP/flash0/font.bak $rdhome/bios/PPSSPP/flash0/font
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# MSX / SVI / ColecoVision / SG-1000
|
# MSX / SVI / ColecoVision / SG-1000
|
||||||
echo "-----------------------------------------------------------"
|
echo "-----------------------------------------------------------"
|
||||||
echo "Initializing MSX / SVI / ColecoVision / SG-1000 LIBRETRO"
|
echo "Initializing MSX / SVI / ColecoVision / SG-1000 LIBRETRO"
|
||||||
echo "-----------------------------------------------------------"
|
echo "-----------------------------------------------------------"
|
||||||
wget "http://bluemsx.msxblue.com/rel_download/blueMSXv282full.zip" -P $rdhome/bios/MSX
|
wget "http://bluemsx.msxblue.com/rel_download/blueMSXv282full.zip" -P $rdhome/bios/MSX
|
||||||
unzip "$rdhome/bios/MSX/blueMSXv282full.zip" $rdhome/bios/MSX
|
unzip -q "$rdhome/bios/MSX/blueMSXv282full.zip" $rdhome/bios/MSX
|
||||||
mv -rfv $rdhome/bios/MSX/Databases $rdhome/bios/Databases
|
mv -rfv $rdhome/bios/MSX/Databases $rdhome/bios/Databases
|
||||||
mv -rfv $rdhome/bios/MSX/Machines $rdhome/bios/Machines
|
mv -rfv $rdhome/bios/MSX/Machines $rdhome/bios/Machines
|
||||||
rm -rfv $rdhome/bios/MSX
|
rm -rfv $rdhome/bios/MSX
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
create_lock() {
|
create_lock() {
|
||||||
|
@ -508,6 +581,9 @@ post_update() {
|
||||||
then
|
then
|
||||||
# ROMs on SD card
|
# ROMs on SD card
|
||||||
roms_folder="$default_sd/retrodeck/roms"
|
roms_folder="$default_sd/retrodeck/roms"
|
||||||
|
if [[ ! -L $rdhome && ! -L $rdhome/roms ]]; then # Add a roms folder symlink back to ~/retrodeck if missing, to fix things like PS2 autosaves until user migrates whole ~retrodeck directory
|
||||||
|
ln -s $roms_folder $rdhome/roms
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
# ROMs on Internal
|
# ROMs on Internal
|
||||||
roms_folder="$HOME/retrodeck/roms"
|
roms_folder="$HOME/retrodeck/roms"
|
||||||
|
@ -543,9 +619,14 @@ post_update() {
|
||||||
mv -fv /var/config/PCSX2/sstates/* $rdhome/states/ps2/pcsx2
|
mv -fv /var/config/PCSX2/sstates/* $rdhome/states/ps2/pcsx2
|
||||||
mv -fv /var/config/PCSX2/memcards/* $rdhome/saves/ps2/memcards
|
mv -fv /var/config/PCSX2/memcards/* $rdhome/saves/ps2/memcards
|
||||||
|
|
||||||
|
# Moving Citra saves from legacy location to 0.5.0b structure
|
||||||
|
|
||||||
|
mv -fv $rdhome/saves/Citra/* $rdhome/saves/n3ds/citra
|
||||||
|
rmdir $rdhome/saves/Citra # Old folder cleanup
|
||||||
|
|
||||||
versionwheresaveschanged="0.4.5b" # Hardcoded break point between unsorted and sorted saves
|
versionwheresaveschanged="0.4.5b" # Hardcoded break point between unsorted and sorted saves
|
||||||
|
|
||||||
if [[ $(sed -e "s/\.//g" <<< $hard_version) > $(sed -e "s/\.//g" <<< $versionwheresaveschanged) ]] && [[ ! $(sed -e "s/\.//g" <<< $hard_version) == $(sed -e "s/\.//g" <<< $version) ]]; then # Check if user is upgrading from the version where save organization was changed. Try not to reuse this, it things 0.4.5b is newer than 0.4.5
|
if [[ $(sed -e "s/\.//g" <<< $hard_version) > $(sed -e "s/\.//g" <<< $versionwheresaveschanged) ]] && [[ ! $(sed -e "s/\.//g" <<< $version) > $(sed -e "s/\.//g" <<< $versionwheresaveschanged) ]]; then # Check if user is upgrading from the version where save organization was changed. Try not to reuse this, it things 0.4.5b is newer than 0.4.5
|
||||||
migration_logfile=$rdhome/.logs/savemove_"$(date +"%Y_%m_%d_%I_%M_%p").log"
|
migration_logfile=$rdhome/.logs/savemove_"$(date +"%Y_%m_%d_%I_%M_%p").log"
|
||||||
save_backup_file=$rdhome/savebackup_"$(date +"%Y_%m_%d_%I_%M_%p").zip"
|
save_backup_file=$rdhome/savebackup_"$(date +"%Y_%m_%d_%I_%M_%p").zip"
|
||||||
state_backup_file=$rdhome/statesbackup_"$(date +"%Y_%m_%d_%I_%M_%p").zip"
|
state_backup_file=$rdhome/statesbackup_"$(date +"%Y_%m_%d_%I_%M_%p").zip"
|
||||||
|
@ -666,9 +747,15 @@ post_update() {
|
||||||
echo "Version" $version "is after the save and state organization was changed, no need to sort again"
|
echo "Version" $version "is after the save and state organization was changed, no need to sort again"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
(
|
||||||
ra_init
|
ra_init
|
||||||
standalones_init
|
standalones_init
|
||||||
tools_init
|
tools_init
|
||||||
|
) |
|
||||||
|
zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \
|
||||||
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
|
--title "RetroDECK Finishing Upgrade" \
|
||||||
|
--text="RetroDECK is finishing the upgrade process, please wait."
|
||||||
|
|
||||||
create_lock
|
create_lock
|
||||||
}
|
}
|
||||||
|
@ -679,13 +766,13 @@ start_retrodeck() {
|
||||||
emulationstation --home /var/config/emulationstation
|
emulationstation --home /var/config/emulationstation
|
||||||
}
|
}
|
||||||
|
|
||||||
browse(){
|
old_browse(){
|
||||||
# Function for browsing the sd card
|
# Function for browsing the sd card
|
||||||
path_selected=false
|
path_selected=false
|
||||||
while [ $path_selected == false ]
|
while [ $path_selected == false ]
|
||||||
do
|
do
|
||||||
sdcard="$(zenity --file-selection --title="Choose retrodeck folder location" --directory)"
|
sdcard="$(zenity --file-selection --title="Choose SD card location" --directory)"
|
||||||
echo "Path choosed: $sdcard, answer=$?"
|
echo "Path chosen: $sdcard, answer=$?"
|
||||||
zenity --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" \
|
zenity --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" \
|
||||||
--cancel-label="No" \
|
--cancel-label="No" \
|
||||||
--ok-label "Yes" \
|
--ok-label "Yes" \
|
||||||
|
@ -711,22 +798,17 @@ finit() {
|
||||||
echo "Executing finit"
|
echo "Executing finit"
|
||||||
|
|
||||||
# Internal or SD Card?
|
# Internal or SD Card?
|
||||||
choice=$(zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
choice=$(configurator_destination_choice_dialog "ROMs" "Welcome to the first configuration of RetroDECK.\nThe setup will be quick but please READ CAREFULLY each message in order to avoid misconfigurations.\n\nWhere do you want your roms folder to be located?" )
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" \
|
|
||||||
--ok-label "Cancel" \
|
|
||||||
--extra-button "Internal" \
|
|
||||||
--extra-button "SD Card" \
|
|
||||||
--text="Welcome to the first configuration of RetroDECK.\nThe setup will be quick but please READ CAREFULLY each message in order to avoid misconfigurations.\n\nWhere do you want your roms folder to be located?" )
|
|
||||||
echo "Choice is $choice"
|
echo "Choice is $choice"
|
||||||
|
|
||||||
case $choice in
|
case $choice in
|
||||||
|
|
||||||
"" ) # Cancel or X button quits
|
"" ) # Cancel or X button quits
|
||||||
echo "Now quitting"
|
echo "Now quitting"
|
||||||
kill $$
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Internal" ) # Internal
|
"Internal Storage" ) # Internal
|
||||||
echo "Internal selected"
|
echo "Internal selected"
|
||||||
roms_folder="$rdhome/roms"
|
roms_folder="$rdhome/roms"
|
||||||
;;
|
;;
|
||||||
|
@ -741,18 +823,23 @@ finit() {
|
||||||
--title "RetroDECK" --cancel-label="Cancel" \
|
--title "RetroDECK" --cancel-label="Cancel" \
|
||||||
--ok-label "Browse" \
|
--ok-label "Browse" \
|
||||||
--text="SD Card was not find in the default location.\nPlease choose the SD Card root.\nA retrodeck/roms folder will be created starting from the directory that you selected."
|
--text="SD Card was not find in the default location.\nPlease choose the SD Card root.\nA retrodeck/roms folder will be created starting from the directory that you selected."
|
||||||
browse # Calling the browse function
|
old_browse # Calling the browse function
|
||||||
|
elif [ ! -w "$sdcard" ] #SD card found but not writable
|
||||||
|
then
|
||||||
|
echo "Error: SD card found but not writable"
|
||||||
|
zenity --error --no-wrap \
|
||||||
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
|
--title "RetroDECK" \
|
||||||
|
--ok-label "Quit" \
|
||||||
|
--text="SD card was found but is not writable\nThis can happen with cards formatted on PC.\nPlease format the SD card through the Steam Deck's Game Mode and run RetroDECK again."
|
||||||
|
echo "Now quitting"
|
||||||
|
exit 0
|
||||||
else
|
else
|
||||||
roms_folder="$sdcard/retrodeck/roms" # sdcard variable is correct as its given by browse function
|
roms_folder="$sdcard/retrodeck/roms" # sdcard variable is correct as its given by browse function
|
||||||
echo "ROMs folder = $roms_folder"
|
echo "ROMs folder = $roms_folder"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
#"Advanced" ) # Browse + not found fallback
|
|
||||||
# echo "Advanced"
|
|
||||||
# advanced
|
|
||||||
#;;
|
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
mkdir -pv $roms_folder
|
mkdir -pv $roms_folder
|
||||||
|
@ -793,9 +880,15 @@ finit() {
|
||||||
# PICO-8
|
# PICO-8
|
||||||
dir_prep "$roms_folder/pico8" "$rdhome/bios/pico8/bbs/carts" #this is the folder where pico-8 is saving the carts
|
dir_prep "$roms_folder/pico8" "$rdhome/bios/pico8/bbs/carts" #this is the folder where pico-8 is saving the carts
|
||||||
|
|
||||||
|
(
|
||||||
ra_init
|
ra_init
|
||||||
standalones_init
|
standalones_init
|
||||||
tools_init
|
tools_init
|
||||||
|
) |
|
||||||
|
zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \
|
||||||
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
|
--title "RetroDECK Finishing Upgrade" \
|
||||||
|
--text="RetroDECK is finishing the upgrade process, please wait."
|
||||||
create_lock
|
create_lock
|
||||||
|
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
||||||
|
@ -804,63 +897,3 @@ finit() {
|
||||||
--text="Installation completed.\nPlease put your roms in:\n\n$roms_folder\n\nand your bioses in\n\n$rdhome/bios\n\nThen start the program again.\nIf you wish to change the roms location, you may use the tool located the tools section of RetroDECK.\n\nIMPORTANT NOTES:\n- RetroDECK must be manually added and launched from your Steam Library in order to work correctly.\n- It's recommended to use the 'RetroDECK Offical Controller Config' from Steam (under community layouts).\n- It's suggested to use BoilR to automatically add the SteamGridDB images to Steam (this will be automated soon).\nhttps://github.com/PhilipK/BoilR"
|
--text="Installation completed.\nPlease put your roms in:\n\n$roms_folder\n\nand your bioses in\n\n$rdhome/bios\n\nThen start the program again.\nIf you wish to change the roms location, you may use the tool located the tools section of RetroDECK.\n\nIMPORTANT NOTES:\n- RetroDECK must be manually added and launched from your Steam Library in order to work correctly.\n- It's recommended to use the 'RetroDECK Offical Controller Config' from Steam (under community layouts).\n- It's suggested to use BoilR to automatically add the SteamGridDB images to Steam (this will be automated soon).\nhttps://github.com/PhilipK/BoilR"
|
||||||
# TODO: Replace the stuff above with BoilR code when ready
|
# TODO: Replace the stuff above with BoilR code when ready
|
||||||
}
|
}
|
||||||
|
|
||||||
conf_write() {
|
|
||||||
# writes the variables in the retrodeck config file
|
|
||||||
|
|
||||||
echo "DEBUG: printing the config file content before writing it:"
|
|
||||||
cat "$rd_conf"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
echo "Writing the config file: $rd_conf"
|
|
||||||
|
|
||||||
# TODO: this can be optimized with a while and a list of variables to check
|
|
||||||
if [ ! -z "$version" ] #if the variable is not null then I update it
|
|
||||||
then
|
|
||||||
sed -i "s%version=.*%version=$version%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$rdhome" ]
|
|
||||||
then
|
|
||||||
sed -i "s%rdhome=.*%rdhome=$rdhome%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$roms_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%roms_folder=.*%roms_folder=$roms_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$saves_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%saves_folder=.*%saves_folder=$saves_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$states_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%states_folder=.*%states_folder=$states_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$bios_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%bios_folder=.*%bios_folder=$bios_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$media_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%media_folder=.*%media_folder=$media_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$themes_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%themes_folder=.*%themes_folder=$themes_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$sdcard" ]
|
|
||||||
then
|
|
||||||
sed -i "s%sdcard=.*%sdcard=$sdcard%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
echo "DEBUG: New contents:"
|
|
||||||
cat "$rd_conf"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
}
|
|
74
global.sh
74
global.sh
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
# This file is containing some global function needed for the script such as the config file tools
|
# This file is containing some global function needed for the script such as the config file tools
|
||||||
|
|
||||||
|
source /app/libexec/functions.sh
|
||||||
|
|
||||||
# Static variables
|
# Static variables
|
||||||
rd_conf="/var/config/retrodeck/retrodeck.cfg" # RetroDECK config file path
|
rd_conf="/var/config/retrodeck/retrodeck.cfg" # RetroDECK config file path
|
||||||
emuconfigs="/app/retrodeck/emu-configs" # folder with all the default emulator configs
|
emuconfigs="/app/retrodeck/emu-configs" # folder with all the default emulator configs
|
||||||
|
@ -9,66 +11,6 @@ lockfile="/var/config/retrodeck/.lock" # where the lockfile
|
||||||
default_sd="/run/media/mmcblk0p1" # Steam Deck SD default path
|
default_sd="/run/media/mmcblk0p1" # Steam Deck SD default path
|
||||||
hard_version="$(cat '/app/retrodeck/version')" # hardcoded version (in the readonly filesystem)
|
hard_version="$(cat '/app/retrodeck/version')" # hardcoded version (in the readonly filesystem)
|
||||||
|
|
||||||
conf_write() {
|
|
||||||
# writes the variables in the retrodeck config file
|
|
||||||
|
|
||||||
echo "DEBUG: printing the config file content before writing it:"
|
|
||||||
cat "$rd_conf"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
echo "Writing the config file: $rd_conf"
|
|
||||||
|
|
||||||
# TODO: this can be optimized with a while and a list of variables to check
|
|
||||||
if [ ! -z "$version" ] #if the variable is not null then I update it
|
|
||||||
then
|
|
||||||
sed -i "s%version=.*%version=$version%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$rdhome" ]
|
|
||||||
then
|
|
||||||
sed -i "s%rdhome=.*%rdhome=$rdhome%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$roms_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%roms_folder=.*%roms_folder=$roms_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$saves_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%saves_folder=.*%saves_folder=$saves_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$states_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%states_folder=.*%states_folder=$states_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$bios_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%bios_folder=.*%bios_folder=$bios_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$media_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%media_folder=.*%media_folder=$media_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$themes_folder" ]
|
|
||||||
then
|
|
||||||
sed -i "s%themes_folder=.*%themes_folder=$themes_folder%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$sdcard" ]
|
|
||||||
then
|
|
||||||
sed -i "s%sdcard=.*%sdcard=$sdcard%" "$rd_conf"
|
|
||||||
fi
|
|
||||||
echo "DEBUG: New contents:"
|
|
||||||
cat "$rd_conf"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
# If there is no config file I initalize the file with the the default values
|
# If there is no config file I initalize the file with the the default values
|
||||||
if [ ! -f "$rd_conf" ]
|
if [ ! -f "$rd_conf" ]
|
||||||
then
|
then
|
||||||
|
@ -76,11 +18,17 @@ then
|
||||||
mkdir -p /var/config/retrodeck
|
mkdir -p /var/config/retrodeck
|
||||||
echo "RetroDECK config file not found in $rd_conf"
|
echo "RetroDECK config file not found in $rd_conf"
|
||||||
echo "Initializing"
|
echo "Initializing"
|
||||||
|
# if we are here means that the we are in a new installation, so the version is valorized with the hardcoded one
|
||||||
# Initializing the variables
|
# Initializing the variables
|
||||||
if [ -z $version]; then
|
if [ -z $version]; then
|
||||||
version="$hard_version" # if we are here means that the we are in a new installation, so the version is valorized with the hardcoded one
|
if [[ $(cat $lockfile) == *"0.4."* ]] || [[ $(cat $lockfile) == *"0.3."* ]] || [[ $(cat $lockfile) == *"0.2."* ]] || [[ $(cat $lockfile) == *"0.1."* ]]; then
|
||||||
|
echo "Running version workaround"
|
||||||
|
version=$(cat $lockfile)
|
||||||
|
else
|
||||||
|
version="$hard_version"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
rdhome="$HOME/retrodeck" # the retrodeck home, aka ~/retrodeck
|
rdhome="$HOME/retrodeck" # the retrodeck home, aka ~/retrodeck
|
||||||
roms_folder="$rdhome/roms" # the default roms folder path
|
roms_folder="$rdhome/roms" # the default roms folder path
|
||||||
saves_folder="$rdhome/saves" # the default saves folder path
|
saves_folder="$rdhome/saves" # the default saves folder path
|
||||||
|
@ -103,7 +51,7 @@ then
|
||||||
echo "sdcard=$sdcard" >> $rd_conf
|
echo "sdcard=$sdcard" >> $rd_conf
|
||||||
|
|
||||||
echo "Setting config file permissions"
|
echo "Setting config file permissions"
|
||||||
chmod +rwx $rd_conf
|
chmod +rw $rd_conf
|
||||||
|
|
||||||
# If the config file is existing i just read the variables (source it)
|
# If the config file is existing i just read the variables (source it)
|
||||||
else
|
else
|
||||||
|
|
|
@ -398,8 +398,8 @@ modules:
|
||||||
- mv ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* /app/share/libretro/cores/
|
- mv ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* /app/share/libretro/cores/
|
||||||
sources:
|
sources:
|
||||||
- type: archive
|
- type: archive
|
||||||
url: https://buildbot.libretro.com/stable/1.11.1/linux/x86_64/RetroArch_cores.7z
|
url: https://buildbot.libretro.com/stable/1.12.0/linux/x86_64/RetroArch_cores.7z
|
||||||
sha256: fa98c9a5b3aab2b4808ce14726be0393cad36bd033ffe4b8378b7d5e5dede448
|
sha256: b5c87aa3462c023fa4e1aa171d1bd4f5b0b5cf9d8e4f0a6b5606ff26b05e0059
|
||||||
|
|
||||||
# PPSSPP - START
|
# PPSSPP - START
|
||||||
# https://github.com/flathub/org.ppsspp.PPSSPP
|
# https://github.com/flathub/org.ppsspp.PPSSPP
|
||||||
|
@ -1412,11 +1412,9 @@ modules:
|
||||||
- cp retrodeck.sh /app/bin/retrodeck.sh
|
- cp retrodeck.sh /app/bin/retrodeck.sh
|
||||||
- chmod +x /app/bin/retrodeck.sh
|
- chmod +x /app/bin/retrodeck.sh
|
||||||
|
|
||||||
- cp global.sh /app/bin/global.sh
|
- cp global.sh /app/libexec/global.sh
|
||||||
- chmod +x /app/bin/global.sh
|
|
||||||
|
|
||||||
- cp functions.sh /app/libexec/functions.sh
|
- cp functions.sh /app/libexec/functions.sh
|
||||||
- chmod +x /app/libexec/functions.sh
|
|
||||||
|
|
||||||
# Desktop entry
|
# Desktop entry
|
||||||
- cp net.retrodeck.retrodeck.desktop /app/share/applications/net.retrodeck.retrodeck.desktop
|
- cp net.retrodeck.retrodeck.desktop /app/share/applications/net.retrodeck.retrodeck.desktop
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 349 KiB |
Binary file not shown.
Before Width: | Height: | Size: 434 KiB |
616
retrodeck.sh
616
retrodeck.sh
|
@ -1,16 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# workaround to fix a bug when updating to 0.5.0b where the post update is not triggered
|
source /app/libexec/global.sh
|
||||||
# basically from 0.5 it's not reading the version from the lockfile so it doesn't know from which version it came from and the new rule of global.sh is that if version is unknown it's like a first boot
|
|
||||||
# remove it in the future
|
|
||||||
lockfile="/var/config/retrodeck/.lock"
|
|
||||||
if [[ $(cat $lockfile) == *"0.4."* ]] || [[ $(cat $lockfile) == *"0.3."* ]] || [[ $(cat $lockfile) == *"0.2."* ]] || [[ $(cat $lockfile) == *"0.1."* ]]
|
|
||||||
then
|
|
||||||
echo "Running version workaround"
|
|
||||||
version=$(cat $lockfile)
|
|
||||||
fi
|
|
||||||
|
|
||||||
source /app/bin/global.sh
|
|
||||||
|
|
||||||
# We moved the lockfile in /var/config/retrodeck in order to solve issue #53 - Remove in a few versions
|
# We moved the lockfile in /var/config/retrodeck in order to solve issue #53 - Remove in a few versions
|
||||||
if [ -f "$HOME/retrodeck/.lock" ]
|
if [ -f "$HOME/retrodeck/.lock" ]
|
||||||
|
@ -18,605 +8,6 @@ then
|
||||||
mv "$HOME/retrodeck/.lock" $lockfile
|
mv "$HOME/retrodeck/.lock" $lockfile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Functions area
|
|
||||||
|
|
||||||
dir_prep() {
|
|
||||||
# This script is creating a symlink preserving old folder contents and moving them in the new one
|
|
||||||
|
|
||||||
# Call me with:
|
|
||||||
# dir prep "real dir" "symlink location"
|
|
||||||
real="$1"
|
|
||||||
symlink="$2"
|
|
||||||
|
|
||||||
echo -e "\n[DIR PREP]\nMoving $symlink in $real" #DEBUG
|
|
||||||
|
|
||||||
# if the dest dir exists we want to backup it
|
|
||||||
if [ -d "$symlink" ];
|
|
||||||
then
|
|
||||||
echo "$symlink found" #DEBUG
|
|
||||||
mv -fv "$symlink" "$symlink.old"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if the real dir doesn't exist we create it
|
|
||||||
if [ ! -d "$real" ];
|
|
||||||
then
|
|
||||||
echo "$real not found, creating it" #DEBUG
|
|
||||||
mkdir -pv "$real"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# creating the symlink
|
|
||||||
echo "linking $real in $symlink" #DEBUG
|
|
||||||
mkdir -pv "$(dirname "$symlink")" # creating the full path except the last folder
|
|
||||||
ln -svf "$real" "$symlink"
|
|
||||||
|
|
||||||
# moving everything from the old folder to the new one, delete the old one
|
|
||||||
if [ -d "$symlink.old" ];
|
|
||||||
then
|
|
||||||
echo "Moving the data from $symlink.old to $real" #DEBUG
|
|
||||||
mv -fv "$symlink".old/* $real
|
|
||||||
echo "Removing $symlink.old" #DEBUG
|
|
||||||
rm -rf "$symlink.old"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo -e "$symlink is now $real\n"
|
|
||||||
}
|
|
||||||
|
|
||||||
tools_init() {
|
|
||||||
rm -rfv /var/config/retrodeck/tools/
|
|
||||||
mkdir -pv /var/config/retrodeck/tools/
|
|
||||||
cp -rfv /app/retrodeck/tools/* /var/config/retrodeck/tools/
|
|
||||||
mkdir -pv /var/config/emulationstation/.emulationstation/custom_systems/tools/
|
|
||||||
rm -rfv /var/config/retrodeck/tools/gamelist.xml
|
|
||||||
cp -fv /app/retrodeck/tools-gamelist.xml /var/config/retrodeck/tools/gamelist.xml
|
|
||||||
}
|
|
||||||
|
|
||||||
standalones_init() {
|
|
||||||
# This script is configuring the standalone emulators with the default files present in emuconfigs folder
|
|
||||||
|
|
||||||
echo "----------------------"
|
|
||||||
echo "Initializing standalone emulators"
|
|
||||||
echo "----------------------"
|
|
||||||
|
|
||||||
# Yuzu
|
|
||||||
echo "----------------------"
|
|
||||||
echo "Initializing YUZU"
|
|
||||||
echo "----------------------"
|
|
||||||
# removing dead symlinks as they were present in a past version
|
|
||||||
if [ -d $rdhome/bios/switch ]; then
|
|
||||||
find $rdhome/bios/switch -xtype l -exec rm {} \;
|
|
||||||
fi
|
|
||||||
# initializing the keys folder
|
|
||||||
dir_prep "$rdhome/bios/switch/keys" "/var/data/yuzu/keys"
|
|
||||||
# initializing the firmware folder
|
|
||||||
dir_prep "$rdhome/bios/switch/registered" "/var/data/yuzu/nand/system/Contents/registered"
|
|
||||||
# initializing the save folders
|
|
||||||
dir_prep "$rdhome/saves/switch/yuzu/nand" "/var/data/yuzu/nand"
|
|
||||||
dir_prep "$rdhome/saves/switch/yuzy/sdmc" "/var/data/yuzu/sdmc"
|
|
||||||
# configuring Yuzu
|
|
||||||
dir_prep "$rdhome/.logs/yuzu" "/var/data/yuzu/log"
|
|
||||||
mkdir -pv /var/config/yuzu/
|
|
||||||
cp -fvr $emuconfigs/yuzu/* /var/config/yuzu/
|
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/yuzu/qt-config.ini
|
|
||||||
dir_prep "$rdhome/screenshots" "/var/data/yuzu/screenshots"
|
|
||||||
|
|
||||||
# Dolphin
|
|
||||||
echo "----------------------"
|
|
||||||
echo "Initializing DOLPHIN"
|
|
||||||
echo "----------------------"
|
|
||||||
mkdir -pv /var/config/dolphin-emu/
|
|
||||||
cp -fvr "$emuconfigs/dolphin/"* /var/config/dolphin-emu/
|
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/dolphin-emu/Dolphin.ini
|
|
||||||
dir_prep "$rdhome/saves/gc/dolphin/EUR" "/var/data/dolphin-emu/GC/EUR"
|
|
||||||
dir_prep "$rdhome/saves/gc/dolphin/USA" "/var/data/dolphin-emu/GC/USA"
|
|
||||||
dir_prep "$rdhome/saves/gc/dolphin/JAP" "/var/data/dolphin-emu/GC/JAP"
|
|
||||||
dir_prep "$rdhome/screenshots" "/var/data/dolphin-emu/ScreenShots"
|
|
||||||
dir_prep "$rdhome/states" "/var/data/dolphin-emu/StateSaves"
|
|
||||||
dir_prep "$rdhome/saves/wii/dolphin" "/var/data/dolphin-emu/Wii/"
|
|
||||||
|
|
||||||
# pcsx2
|
|
||||||
echo "----------------------"
|
|
||||||
echo "Initializing PCSX2"
|
|
||||||
echo "----------------------"
|
|
||||||
mkdir -pv "/var/config/PCSX2/inis"
|
|
||||||
mkdir -pv "$rdhome/saves/ps2/pcsx2/memcards"
|
|
||||||
mkdir -pv "$rdhome/states/ps2/pcsx2"
|
|
||||||
cp -fvr $emuconfigs/PCSX2/* /var/config/PCSX2/inis/
|
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/PCSX2/inis/PCSX2_ui.ini
|
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/PCSX2/inis/PCSX2.ini
|
|
||||||
#dir_prep "$rdhome/states/ps2/pcsx2" "/var/config/PCSX2/sstates"
|
|
||||||
#dir_prep "$rdhome/screenshots" "/var/config/PCSX2/snaps"
|
|
||||||
#dir_prep "$rdhome/.logs" "/var/config/PCSX2/logs"
|
|
||||||
#dir_prep "$rdhome/bios" "$rdhome/bios/pcsx2"
|
|
||||||
|
|
||||||
# MelonDS
|
|
||||||
echo "----------------------"
|
|
||||||
echo "Initializing MELONDS"
|
|
||||||
echo "----------------------"
|
|
||||||
mkdir -pv /var/config/melonDS/
|
|
||||||
mkdir -pv "$rdhome/saves/nds/melonds"
|
|
||||||
mkdir -pv "$rdhome/states/nds/melonds"
|
|
||||||
dir_prep "$rdhome/bios" "/var/config/melonDS/bios"
|
|
||||||
cp -fvr $emuconfigs/melonDS.ini /var/config/melonDS/
|
|
||||||
# Replace ~/retrodeck with $rdhome as ~ cannot be understood by MelonDS
|
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/melonDS/melonDS.ini
|
|
||||||
|
|
||||||
# CITRA
|
|
||||||
echo "------------------------"
|
|
||||||
echo "Initializing CITRA"
|
|
||||||
echo "------------------------"
|
|
||||||
mkdir -pv /var/config/citra-emu/
|
|
||||||
mkdir -pv "$rdhome/saves/n3ds/citra/nand/"
|
|
||||||
mkdir -pv "$rdhome/saves/n3ds/citra/sdmc/"
|
|
||||||
dir_prep "$rdhome/bios/citra/sysdata" "/var/data/citra-emu/sysdata"
|
|
||||||
dir_prep "$rdhome/.logs/citra" "/var/data/citra-emu/log"
|
|
||||||
cp -fv $emuconfigs/citra-qt-config.ini /var/config/citra-emu/qt-config.ini
|
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/citra-emu/qt-config.ini
|
|
||||||
#TODO: do the same with roms folders after new variables is pushed (check even the others qt-emu)
|
|
||||||
#But actually everything is always symlinked to retrodeck/roms so it might be not needed
|
|
||||||
#sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/citra-emu/qt-config.ini
|
|
||||||
|
|
||||||
# RPCS3
|
|
||||||
echo "------------------------"
|
|
||||||
echo "Initializing RPCS3"
|
|
||||||
echo "------------------------"
|
|
||||||
mkdir -pv /var/config/rpcs3/
|
|
||||||
cp -fvr $emuconfigs/rpcs3/* /var/config/rpcs3/
|
|
||||||
sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/config/rpcs3/vfs.yml
|
|
||||||
|
|
||||||
# XEMU
|
|
||||||
echo "------------------------"
|
|
||||||
echo "Initializing XEMU"
|
|
||||||
echo "------------------------"
|
|
||||||
mkdir -pv $rdhome/saves/xbox/xemu/
|
|
||||||
cp -fv $emuconfigs/xemu.toml /var/data/xemu/xemu.toml
|
|
||||||
sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/data/xemu/xemu.toml
|
|
||||||
# Preparing HD dummy Image if the image is not found
|
|
||||||
if [ ! -f $rdhome/bios/xbox_hdd.qcow2 ]
|
|
||||||
then
|
|
||||||
wget "https://github.com/mborgerson/xemu-hdd-image/releases/latest/download/xbox_hdd.qcow2.zip" -P $rdhome/bios/
|
|
||||||
unzip -q $rdhome/bios/xbox_hdd.qcow2.zip $rdhome/bios/
|
|
||||||
rm -rfv $rdhome/bios/xbox_hdd.qcow2.zip
|
|
||||||
fi
|
|
||||||
|
|
||||||
# PPSSPPSDL
|
|
||||||
echo "------------------------"
|
|
||||||
echo "Initializing PPSSPPSDL"
|
|
||||||
echo "------------------------"
|
|
||||||
mkdir -p /var/config/ppsspp/PSP/SYSTEM/
|
|
||||||
cp -fv $emuconfigs/ppssppsdl/* /var/config/ppsspp/PSP/SYSTEM/
|
|
||||||
sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/config/ppsspp/PSP/SYSTEM/ppsspp.ini
|
|
||||||
|
|
||||||
# DUCKSTATION
|
|
||||||
echo "------------------------"
|
|
||||||
echo "Initializing DUCKSTATION"
|
|
||||||
echo "------------------------"
|
|
||||||
mkdir -p /var/config/duckstation/
|
|
||||||
cp -fv $emuconfigs/duckstation/* /var/config/duckstation
|
|
||||||
sed -i 's#/home/deck/retrodeck/bios#'$rdhome/bios'#g' /var/config/ppsspp/PSP/SYSTEM/settings.ini
|
|
||||||
|
|
||||||
|
|
||||||
# PICO-8
|
|
||||||
# Moved PICO-8 stuff in the finit as only it knows here roms folders is
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
ra_init() {
|
|
||||||
dir_prep "$rdhome/bios" "/var/config/retroarch/system"
|
|
||||||
dir_prep "$rdhome/.logs/retroarch" "/var/config/retroarch/logs"
|
|
||||||
mkdir -pv /var/config/retroarch/shaders/
|
|
||||||
cp -rfv /app/share/libretro/shaders /var/config/retroarch/
|
|
||||||
dir_prep "$rdhome/shaders/retroarch" "/var/config/retroarch/shaders"
|
|
||||||
mkdir -pv /var/config/retroarch/cores/
|
|
||||||
cp /app/share/libretro/cores/* /var/config/retroarch/cores/
|
|
||||||
cp -fv $emuconfigs/retroarch.cfg /var/config/retroarch/
|
|
||||||
cp -fv $emuconfigs/retroarch-core-options.cfg /var/config/retroarch/
|
|
||||||
cp -rfv $emuconfigs/retroarch-core-overrides/* /var/config/retroarch/config
|
|
||||||
#rm -rf $rdhome/bios/bios # in some situations a double bios symlink is created
|
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/retroarch/retroarch.cfg
|
|
||||||
|
|
||||||
# PPSSPP
|
|
||||||
echo "--------------------------------"
|
|
||||||
echo "Initializing PPSSPP_LIBRETRO"
|
|
||||||
echo "--------------------------------"
|
|
||||||
if [ -d $rdhome/bios/PPSSPP/flash0/font ]
|
|
||||||
then
|
|
||||||
mv -fv $rdhome/bios/PPSSPP/flash0/font $rdhome/bios/PPSSPP/flash0/font.bak
|
|
||||||
fi
|
|
||||||
mkdir -p $rdhome/bios/PPSSPP
|
|
||||||
#if [ ! -f "$rdhome/bios/PPSSPP/ppge_atlas.zim" ]
|
|
||||||
#then
|
|
||||||
wget "https://github.com/hrydgard/ppsspp/archive/refs/heads/master.zip" -P $rdhome/bios/PPSSPP
|
|
||||||
unzip -q "$rdhome/bios/PPSSPP/master.zip" -d $rdhome/bios/PPSSPP/
|
|
||||||
mv "$rdhome/bios/PPSSPP/ppsspp-master/assets/"* "$rdhome/bios/PPSSPP/"
|
|
||||||
rm -rfv "$rdhome/bios/PPSSPP/master.zip"
|
|
||||||
rm -rfv "$rdhome/bios/PPSSPP/ppsspp-master"
|
|
||||||
#fi
|
|
||||||
if [ -d $rdhome/bios/PPSSPP/flash0/font.bak ]
|
|
||||||
then
|
|
||||||
mv -fv $rdhome/bios/PPSSPP/flash0/font.bak $rdhome/bios/PPSSPP/flash0/font
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# MSX / SVI / ColecoVision / SG-1000
|
|
||||||
echo "-----------------------------------------------------------"
|
|
||||||
echo "Initializing MSX / SVI / ColecoVision / SG-1000 LIBRETRO"
|
|
||||||
echo "-----------------------------------------------------------"
|
|
||||||
wget "http://bluemsx.msxblue.com/rel_download/blueMSXv282full.zip" -P $rdhome/bios/MSX
|
|
||||||
unzip -q "$rdhome/bios/MSX/blueMSXv282full.zip" $rdhome/bios/MSX
|
|
||||||
mv -rfv $rdhome/bios/MSX/Databases $rdhome/bios/Databases
|
|
||||||
mv -rfv $rdhome/bios/MSX/Machines $rdhome/bios/Machines
|
|
||||||
rm -rfv $rdhome/bios/MSX
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
create_lock() {
|
|
||||||
# creating RetroDECK's lock file and writing the version in the config file
|
|
||||||
version=$hard_version
|
|
||||||
touch "$lockfile"
|
|
||||||
conf_write
|
|
||||||
}
|
|
||||||
|
|
||||||
post_update() {
|
|
||||||
# post update script
|
|
||||||
echo "Executing post-update script"
|
|
||||||
|
|
||||||
# Finding existing ROMs folder
|
|
||||||
if [ -d "$default_sd/retrodeck" ]
|
|
||||||
then
|
|
||||||
# ROMs on SD card
|
|
||||||
roms_folder="$default_sd/retrodeck/roms"
|
|
||||||
if [[ ! -L $rdhome && ! -L $rdhome/roms ]]; then # Add a roms folder symlink back to ~/retrodeck if missing, to fix things like PS2 autosaves until user migrates whole ~retrodeck directory
|
|
||||||
ln -s $roms_folder $rdhome/roms
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# ROMs on Internal
|
|
||||||
roms_folder="$HOME/retrodeck/roms"
|
|
||||||
fi
|
|
||||||
echo "ROMs folder found at $roms_folder"
|
|
||||||
|
|
||||||
# Unhiding downloaded media from the previous versions
|
|
||||||
if [ -d "$rdhome/.downloaded_media" ]
|
|
||||||
then
|
|
||||||
mv -fv "$rdhome/.downloaded_media" "$media_folder"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Unhiding themes folder from the previous versions
|
|
||||||
if [ -d "$rdhome/.themes" ]
|
|
||||||
then
|
|
||||||
mv -fv "$rdhome/.themes" "$themes_folder"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Doing the dir prep as we don't know from which version we came
|
|
||||||
dir_prep "$media_folder" "/var/config/emulationstation/.emulationstation/downloaded_media"
|
|
||||||
dir_prep "$themes_folder" "/var/config/emulationstation/.emulationstation/themes"
|
|
||||||
mkdir -pv $rdhome/.logs #this was added later, maybe safe to remove in a few versions
|
|
||||||
|
|
||||||
|
|
||||||
# Resetting es_settings, now we need it but in the future I should think a better solution, maybe with sed
|
|
||||||
cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4 -> 0.5
|
|
||||||
# Perform save and state migration if needed
|
|
||||||
|
|
||||||
# Moving PCSX2 Saves
|
|
||||||
mv -fv /var/config/PCSX2/sstates/* $rdhome/states/ps2/pcsx2
|
|
||||||
mv -fv /var/config/PCSX2/memcards/* $rdhome/saves/ps2/memcards
|
|
||||||
|
|
||||||
# Moving Citra saves from legacy location to 0.5.0b structure
|
|
||||||
|
|
||||||
mv -fv $rdhome/saves/Citra/* $rdhome/saves/n3ds/citra
|
|
||||||
rmdir $rdhome/saves/Citra # Old folder cleanup
|
|
||||||
|
|
||||||
versionwheresaveschanged="0.4.5b" # Hardcoded break point between unsorted and sorted saves
|
|
||||||
|
|
||||||
if [[ $(sed -e "s/\.//g" <<< $hard_version) > $(sed -e "s/\.//g" <<< $versionwheresaveschanged) ]] && [[ ! $(sed -e "s/\.//g" <<< $version) > $(sed -e "s/\.//g" <<< $versionwheresaveschanged) ]]; then # Check if user is upgrading from the version where save organization was changed. Try not to reuse this, it things 0.4.5b is newer than 0.4.5
|
|
||||||
migration_logfile=$rdhome/.logs/savemove_"$(date +"%Y_%m_%d_%I_%M_%p").log"
|
|
||||||
save_backup_file=$rdhome/savebackup_"$(date +"%Y_%m_%d_%I_%M_%p").zip"
|
|
||||||
state_backup_file=$rdhome/statesbackup_"$(date +"%Y_%m_%d_%I_%M_%p").zip"
|
|
||||||
|
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
|
||||||
--title "RetroDECK" \
|
|
||||||
--text="You are updating to a version of RetroDECK where save file locations have changed!\n\nYour existing files will be backed up for safety and then sorted automatically.\n\nIf a file cannot be sorted automatically it will remain where it is for manual sorting.\n\nPLEASE BE PATIENT! This process can take several minutes if you have a large ROM library."
|
|
||||||
|
|
||||||
allgames=($(find "$roms_folder" -maxdepth 2 -mindepth 2 ! -name "systeminfo.txt" ! -name "systems.txt" ! -name "gc" ! -name "n3ds" ! -name "nds" ! -name "wii" ! -name "xbox" ! -name "*^*" | sed -e "s/ /\^/g")) # Build an array of all games and multi-disc-game-containing folders, adding whitespace placeholder
|
|
||||||
|
|
||||||
allsaves=($(find "$saves_folder" -mindepth 1 -maxdepth 1 -name "*.*" ! -name "gc" ! -name "n3ds" ! -name "nds" ! -name "wii" ! -name "xbox" | sed -e "s/ /\^/g")) # Build an array of all save files, ignoring standalone emulator sub-folders, adding whitespace placeholder
|
|
||||||
|
|
||||||
allstates=($(find "$states_folder" -mindepth 1 -maxdepth 1 -name "*.*" ! -name "gc" ! -name "n3ds" ! -name "nds" ! -name "wii" ! -name "xbox" | sed -e "s/ /\^/g")) # Build an array of all state files, ignoring standalone emulator sub-folders, adding whitespace placeholder
|
|
||||||
|
|
||||||
totalsaves=${#allsaves[@]}
|
|
||||||
totalstates=${#allstates[@]}
|
|
||||||
filesleft=
|
|
||||||
current_dest_folder=
|
|
||||||
gamestoskip=
|
|
||||||
|
|
||||||
tar -C $rdhome -czf $save_backup_file saves # Backup save directory for safety
|
|
||||||
echo "Saves backed up to" $save_backup_file >> $migration_logfile
|
|
||||||
tar -C $rdhome -czf $state_backup_file states # Backup state directory for safety
|
|
||||||
echo "States backed up to" $state_backup_file >> $migration_logfile
|
|
||||||
|
|
||||||
(
|
|
||||||
movefile() { # Take matching save and rom files and sort save into appropriate system folder
|
|
||||||
echo "# $filesleft $currentlybeingmoved remaining..." # These lines update the Zenity progress bar
|
|
||||||
progress=$(( 100 - (( 100 / "$totalfiles" ) * "$filesleft" )))
|
|
||||||
echo $progress
|
|
||||||
filesleft=$((filesleft-1))
|
|
||||||
if [[ ! " ${gamestoskip[*]} " =~ " ${1} " ]]; then # If the current game name exists multiple times in array ie. /roms/snes/Mortal Kombat 3.zip and /roms/genesis/Mortal Kombat 3.zip, skip and alert user to sort manually
|
|
||||||
game=$(sed -e "s/\^/ /g" <<< "$1") # Remove whitespace placeholder
|
|
||||||
gamebasename=$(basename "$game" | sed -e 's/\..*//') # Extract pure file name ie. /roms/snes/game1.zip becomes game1
|
|
||||||
systemdir="$(basename "$(dirname "$1")")" # Extract parent directory identifying system ROM belongs to
|
|
||||||
matches=($(find "$roms_folder" -maxdepth 2 -mindepth 2 -name "$gamebasename"".*" | sed -e 's/ /^/g' | sed -e 's/\..*//')) # Search for multiple instances of pure game name, adding to skip list if found
|
|
||||||
if [[ ${#matches[@]} -gt 1 ]]; then
|
|
||||||
echo "ERROR: Multiple ROMS found with name:" $gamebasename "Please sort saves and states for these ROMS manually" >> $migration_logfile
|
|
||||||
gamestoskip+=("$1")
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
echo "INFO: Examining ROM file:" "$game" >> $migration_logfile
|
|
||||||
echo "INFO: System detected as" $systemdir >> $migration_logfile
|
|
||||||
sosfile=$(sed -e "s/\^/ /g" <<< "$2") # Remove whitespace placeholder from s-ave o-r s-tate file
|
|
||||||
sospurebasename="$(basename "$sosfile")" # Extract pure file name ie. /saves/game1.sav becomes game1
|
|
||||||
echo "INFO: Current save or state being examined for match:" $sosfile >> $migration_logfile
|
|
||||||
echo "INFO: Matching save or state" $sosfile "and game" $game "found." >> $migration_logfile
|
|
||||||
echo "INFO: Moving save or state to" $current_dest_folder"/"$systemdir"/"$sosbasename >> $migration_logfile
|
|
||||||
if [[ ! -d $current_dest_folder"/"$systemdir ]]; then # If system directory doesn't exist for save yet, create it
|
|
||||||
echo "WARNING: Creating missing system directory" $current_dest_folder"/"$systemdir
|
|
||||||
mkdir $current_dest_folder/$systemdir
|
|
||||||
fi
|
|
||||||
mv "$sosfile" -t $current_dest_folder/$systemdir # Move save to appropriate system directory
|
|
||||||
return
|
|
||||||
else
|
|
||||||
echo "WARNING: Game with name" "$(basename "$1" | sed -e "s/\^/ /g")" "already found. Skipping to next game..." >> $migration_logfile # Inform user of game being skipped due to duplicate ROM names
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
find "$roms_folder" -mindepth 2 -maxdepth 2 -name "*\^*" -exec echo "ERROR: Game named" {} "found, please move save manually" \; >> $migration_logfile # Warn user if any of their files have the whitespace replacement character used by the script
|
|
||||||
|
|
||||||
totalfiles=$totalsaves #set variables for save file migration
|
|
||||||
filesleft=$totalsaves
|
|
||||||
currentlybeingmoved="saves"
|
|
||||||
current_dest_folder=$saves_folder
|
|
||||||
|
|
||||||
for i in "${allsaves[@]}"; do # For each save file, compare to every ROM file name looking for a match
|
|
||||||
found=
|
|
||||||
currentsave=($(basename "$i" | sed -e 's/\..*//')) # Extract pure file name ie. /saves/game1.sav becomes game1
|
|
||||||
for j in "${allgames[@]}"; do
|
|
||||||
currentgame=($(basename "$j" | sed -e 's/\..*//')) # Extract pure file name ie. /roms/snes/game1.zip becomes game1
|
|
||||||
[[ $currentgame == $currentsave ]] && { found=1; break; } # If names match move to next stage, otherwise skip
|
|
||||||
done
|
|
||||||
[[ -n $found ]] && movefile $j $i || echo "ERROR: No ROM match found for save file" $i | sed -e 's/\^/ /g' >> $migration_logfile # If a match is found, run movefile() otherwise warn user of stranded save file
|
|
||||||
done
|
|
||||||
|
|
||||||
totalfiles=$totalstates #set variables for state file migration
|
|
||||||
filesleft=$totalstates
|
|
||||||
currentlybeingmoved="states"
|
|
||||||
current_dest_folder=$states_folder
|
|
||||||
|
|
||||||
for i in "${allstates[@]}"; do # For each state file, compare to every ROM file name looking for a match
|
|
||||||
found=
|
|
||||||
currentstate=($(basename "$i" | sed -e 's/\..*//')) # Extract pure file name ie. /states/game1.sav becomes game1
|
|
||||||
for j in "${allgames[@]}"; do
|
|
||||||
currentgame=($(basename "$j" | sed -e 's/\..*//')) # Extract pure file name ie. /roms/snes/game1.zip becomes game1
|
|
||||||
[[ $currentgame == $currentstate ]] && { found=1; break; } # If names match move to next stage, otherwise skip
|
|
||||||
done
|
|
||||||
[[ -n $found ]] && movefile $j $i || echo "ERROR: No ROM match found for state file" $i | sed -e 's/\^/ /g' >> $migration_logfile # If a match is found, run movefile() otherwise warn user of stranded state file
|
|
||||||
done
|
|
||||||
|
|
||||||
) |
|
|
||||||
zenity --progress \
|
|
||||||
--icon-name=net.retrodeck.retrodeck \
|
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
|
||||||
--title="Processing Files" \
|
|
||||||
--text="# files remaining..." \
|
|
||||||
--percentage=0 \
|
|
||||||
--no-cancel \
|
|
||||||
--auto-close
|
|
||||||
|
|
||||||
if [[ $(cat $migration_logfile | grep "ERROR" | wc -l) -eq 0 ]]; then
|
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
|
||||||
--title "RetroDECK" \
|
|
||||||
--text="The migration process has sorted all of your files automatically.\n\nEverything should be working normally, if you experience any issues please check the RetroDECK wiki or contact us directly on the Discord."
|
|
||||||
|
|
||||||
else
|
|
||||||
cat $migration_logfile | grep "ERROR" > "$rdhome/manual_sort_needed.log"
|
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
|
||||||
--title "RetroDECK" \
|
|
||||||
--text="The migration process was unable to sort $(cat $migration_logfile | grep "ERROR" | wc -l) files automatically.\n\nThese files will need to be moved manually to their new locations, find more detail on the RetroDECK wiki.\n\nA log of the files that need manual sorting can be found at $rdhome/manual_sort_needed.log"
|
|
||||||
fi
|
|
||||||
|
|
||||||
else
|
|
||||||
echo "Version" $version "is after the save and state organization was changed, no need to sort again"
|
|
||||||
fi
|
|
||||||
|
|
||||||
(
|
|
||||||
ra_init
|
|
||||||
standalones_init
|
|
||||||
tools_init
|
|
||||||
) |
|
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \
|
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
|
||||||
--title "RetroDECK Finishing Upgrade" \
|
|
||||||
--text="RetroDECK is finishing the upgrade process, please wait."
|
|
||||||
|
|
||||||
create_lock
|
|
||||||
}
|
|
||||||
|
|
||||||
start_retrodeck() {
|
|
||||||
# normal startup
|
|
||||||
echo "Starting RetroDECK v$version"
|
|
||||||
emulationstation --home /var/config/emulationstation
|
|
||||||
}
|
|
||||||
|
|
||||||
browse(){
|
|
||||||
# Function for browsing the sd card
|
|
||||||
path_selected=false
|
|
||||||
while [ $path_selected == false ]
|
|
||||||
do
|
|
||||||
sdcard="$(zenity --file-selection --title="Choose retrodeck folder location" --directory)"
|
|
||||||
# echo "Path choosed: $sdcard, answer=$?" # This echo breaks this function, the next "if" will always be answered yes if it is here
|
|
||||||
zenity --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" \
|
|
||||||
--cancel-label="No" \
|
|
||||||
--ok-label "Yes" \
|
|
||||||
--text="Your rom folder will be:\n\n$sdcard/retrodeck/roms\n\nis that ok?"
|
|
||||||
if [ $? == 0 ] #yes
|
|
||||||
then
|
|
||||||
path_selected == true
|
|
||||||
roms_folder="$sdcard/retrodeck/roms"
|
|
||||||
break
|
|
||||||
else
|
|
||||||
zenity --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --cancel-label="No" --ok-label "Yes" --text="Do you want to quit?"
|
|
||||||
if [ $? == 0 ] # yes, quit
|
|
||||||
then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
#advanced(){
|
|
||||||
# # function to give advanced install options
|
|
||||||
# echo "Advaced choosed"
|
|
||||||
#
|
|
||||||
# choice=$(zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
|
||||||
# --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" \
|
|
||||||
# --ok-label "ROMs" \
|
|
||||||
# --extra-button "Media" \
|
|
||||||
# --extra-button "Themes" \
|
|
||||||
# --extra-button "Back" \
|
|
||||||
# --text="What do you want to change?\n\nROMS folder = $roms_folder\nMedia folder (scraped data) = $media_folder\nThemes folder=$themes_folder" )
|
|
||||||
# echo "Choice is $choice"
|
|
||||||
#
|
|
||||||
# case $choice in
|
|
||||||
#
|
|
||||||
# "" ) # Internal (yes)
|
|
||||||
# echo "ROMs"
|
|
||||||
# ;;
|
|
||||||
#
|
|
||||||
# "Media" )
|
|
||||||
# echo "Media"
|
|
||||||
# ;;
|
|
||||||
#
|
|
||||||
# "Themes" )
|
|
||||||
# echo "Themes"
|
|
||||||
# ;;
|
|
||||||
#
|
|
||||||
# "Back" ) # Browse + not found fallback
|
|
||||||
# echo "Back"
|
|
||||||
# finit
|
|
||||||
# ;;
|
|
||||||
#
|
|
||||||
# esac
|
|
||||||
#}
|
|
||||||
|
|
||||||
finit() {
|
|
||||||
# Force/First init, depending on the situation
|
|
||||||
|
|
||||||
echo "Executing finit"
|
|
||||||
|
|
||||||
# Internal or SD Card?
|
|
||||||
choice=$(zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" \
|
|
||||||
--ok-label "Cancel" \
|
|
||||||
--extra-button "Internal" \
|
|
||||||
--extra-button "SD Card" \
|
|
||||||
--text="Welcome to the first configuration of RetroDECK.\nThe setup will be quick but please READ CAREFULLY each message in order to avoid misconfigurations.\n\nWhere do you want your roms folder to be located?" )
|
|
||||||
echo "Choice is $choice"
|
|
||||||
|
|
||||||
case $choice in
|
|
||||||
|
|
||||||
"" ) # Cancel or X button quits
|
|
||||||
echo "Now quitting"
|
|
||||||
kill $$
|
|
||||||
;;
|
|
||||||
|
|
||||||
"Internal" ) # Internal
|
|
||||||
echo "Internal selected"
|
|
||||||
roms_folder="$rdhome/roms"
|
|
||||||
;;
|
|
||||||
|
|
||||||
"SD Card" )
|
|
||||||
echo "SD Card selected"
|
|
||||||
if [ ! -d "$sdcard" ] # SD Card path is not existing
|
|
||||||
then
|
|
||||||
echo "Error: SD card not found"
|
|
||||||
zenity --question --no-wrap \
|
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
|
||||||
--title "RetroDECK" --cancel-label="Cancel" \
|
|
||||||
--ok-label "Browse" \
|
|
||||||
--text="SD Card was not find in the default location.\nPlease choose the SD Card root.\nA retrodeck/roms folder will be created starting from the directory that you selected."
|
|
||||||
browse # Calling the browse function
|
|
||||||
else
|
|
||||||
roms_folder="$sdcard/retrodeck/roms" # sdcard variable is correct as its given by browse function
|
|
||||||
echo "ROMs folder = $roms_folder"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
|
|
||||||
#"Advanced" ) # Browse + not found fallback
|
|
||||||
# echo "Advanced"
|
|
||||||
# advanced
|
|
||||||
#;;
|
|
||||||
|
|
||||||
esac
|
|
||||||
|
|
||||||
mkdir -pv $roms_folder
|
|
||||||
|
|
||||||
# TODO: after the next update of ES-DE this will not be needed
|
|
||||||
#zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --text="EmulationStation will now initialize the system.\nPlease DON'T EDIT THE ROMS LOCATION, just select:\n\nCREATE DIRECTORIES\nYES\nOK\nQUIT\n\nRetroDECK will manage the rest."
|
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --text="RetroDECK will now install the needed files.\nPlease wait up to one minute,\nanother message will notify when the process will be finished.\n\nPress OK to continue."
|
|
||||||
|
|
||||||
# Recreating the folder
|
|
||||||
rm -rfv /var/config/emulationstation/
|
|
||||||
rm -rfv /var/config/retrodeck/tools/
|
|
||||||
mkdir -pv /var/config/emulationstation/
|
|
||||||
|
|
||||||
# Initializing ES-DE
|
|
||||||
# TODO: after the next update of ES-DE this will not be needed - let's test it
|
|
||||||
emulationstation --home /var/config/emulationstation --create-system-dirs
|
|
||||||
|
|
||||||
mkdir -pv /var/config/retrodeck/tools/
|
|
||||||
|
|
||||||
#zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --text="RetroDECK will now install the needed files.\nPlease wait up to one minute,\nanother message will notify when the process will be finished.\n\nPress OK to continue."
|
|
||||||
|
|
||||||
# Initializing ROMs folder - Original in retrodeck home (or SD Card)
|
|
||||||
dir_prep $roms_folder "/var/config/emulationstation/ROMs"
|
|
||||||
|
|
||||||
mkdir -pv $rdhome/saves
|
|
||||||
mkdir -pv $rdhome/states
|
|
||||||
mkdir -pv $rdhome/screenshots
|
|
||||||
mkdir -pv $rdhome/bios/pico8
|
|
||||||
mkdir -pv $rdhome/.logs
|
|
||||||
|
|
||||||
# XMLSTARLET HERE
|
|
||||||
cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml
|
|
||||||
|
|
||||||
# ES-DE preparing themes and scraped folders
|
|
||||||
dir_prep "$rdhome/downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media"
|
|
||||||
dir_prep "$rdhome/themes" "/var/config/emulationstation/.emulationstation/themes"
|
|
||||||
|
|
||||||
# PICO-8
|
|
||||||
dir_prep "$roms_folder/pico8" "$rdhome/bios/pico8/bbs/carts" #this is the folder where pico-8 is saving the carts
|
|
||||||
|
|
||||||
(
|
|
||||||
ra_init
|
|
||||||
standalones_init
|
|
||||||
tools_init
|
|
||||||
) |
|
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \
|
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
|
||||||
--title "RetroDECK Finishing Upgrade" \
|
|
||||||
--text="RetroDECK is finishing the upgrade process, please wait."
|
|
||||||
create_lock
|
|
||||||
|
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
|
||||||
--title "RetroDECK" \
|
|
||||||
--text="Installation completed.\nPlease put your roms in:\n\n$roms_folder\n\nand your bioses in\n\n$rdhome/bios\n\nThen start the program again.\nIf you wish to change the roms location, you may use the tool located the tools section of RetroDECK.\n\nIMPORTANT NOTES:\n- RetroDECK must be manually added and launched from your Steam Library in order to work correctly.\n- It's recommended to use the 'RetroDECK Offical Controller Config' from Steam (under community layouts).\n- It's suggested to use BoilR to automatically add the SteamGridDB images to Steam (this will be automated soon).\nhttps://github.com/PhilipK/BoilR"
|
|
||||||
# TODO: Replace the stuff above with BoilR code when ready
|
|
||||||
}
|
|
||||||
|
|
||||||
# Arguments section
|
# Arguments section
|
||||||
|
|
||||||
for i in "$@"; do
|
for i in "$@"; do
|
||||||
|
@ -684,9 +75,6 @@ done
|
||||||
# if lockfile exists
|
# if lockfile exists
|
||||||
if [ -f "$lockfile" ]
|
if [ -f "$lockfile" ]
|
||||||
then
|
then
|
||||||
|
|
||||||
#conf_init # Initializing/reading the config file (sourced from global.sh)
|
|
||||||
|
|
||||||
# ...but the version doesn't match with the config file
|
# ...but the version doesn't match with the config file
|
||||||
if [ "$hard_version" != "$version" ];
|
if [ "$hard_version" != "$version" ];
|
||||||
then
|
then
|
||||||
|
@ -696,12 +84,10 @@ then
|
||||||
start_retrodeck
|
start_retrodeck
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Else, LOCKFILE IS NOT EXISTING (WAS REMOVED)
|
# Else, LOCKFILE IS NOT EXISTING (WAS REMOVED)
|
||||||
# if the lock file doesn't exist at all means that it's a fresh install or a triggered reset
|
# if the lock file doesn't exist at all means that it's a fresh install or a triggered reset
|
||||||
else
|
else
|
||||||
echo "Lockfile not found"
|
echo "Lockfile not found"
|
||||||
#conf_init # Initializing/reading the config file (sourced from global.sh)
|
|
||||||
finit # Executing First/Force init
|
finit # Executing First/Force init
|
||||||
conf_write # Writing variables in the config file (sourced from global.sh)
|
conf_write # Writing variables in the config file (sourced from global.sh)
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
# VARIABLES SECTION
|
# VARIABLES SECTION
|
||||||
|
|
||||||
rd_conf="retrodeck.cfg" # uncomment for standalone testing
|
#rd_conf="retrodeck.cfg" # uncomment for standalone testing
|
||||||
source functions.sh # uncomment for standalone testing
|
#source functions.sh # uncomment for standalone testing
|
||||||
|
|
||||||
#source /app/bin/global.sh # uncomment for flatpak testing
|
source /app/libexec/global.sh # uncomment for flatpak testing
|
||||||
#source /app/libexec/functions.sh # uncomment for flatpak testing
|
source /app/libexec/functions.sh # uncomment for flatpak testing
|
||||||
|
|
||||||
# Config files for emulators with single config files
|
# Config files for emulators with single config files
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@ citraconf="/var/config/citra-emu/qt-config.ini"
|
||||||
melondsconf="/var/config/melonDS/melonDS.ini"
|
melondsconf="/var/config/melonDS/melonDS.ini"
|
||||||
rpcs3conf="/var/config/rpcs3/config.yml"
|
rpcs3conf="/var/config/rpcs3/config.yml"
|
||||||
yuzuconf="/var/config/yuzu/qt-config.ini"
|
yuzuconf="/var/config/yuzu/qt-config.ini"
|
||||||
source $rd_conf
|
|
||||||
|
|
||||||
# ES-DE config files
|
# ES-DE config files
|
||||||
|
|
||||||
|
@ -80,7 +79,7 @@ pcsx2vmconf="/var/config/PCSX2/inis/PCSX2_vm.ini"
|
||||||
# DIALOG TREE FUNCTIONS
|
# DIALOG TREE FUNCTIONS
|
||||||
|
|
||||||
configurator_reset_dialog() {
|
configurator_reset_dialog() {
|
||||||
choice=$(zenity --list --title="RetroDECK Configurator Utility - Reset Options" --cancel-label="Back" --width=800 --height=600 \
|
choice=$(zenity --list --title="RetroDECK Configurator Utility - Reset Options" --cancel-label="Back" \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--column="Choice" --column="Action" \
|
--column="Choice" --column="Action" \
|
||||||
"Reset RetroArch" "Reset RetroArch to default settings" \
|
"Reset RetroArch" "Reset RetroArch to default settings" \
|
||||||
|
@ -98,7 +97,7 @@ configurator_reset_dialog() {
|
||||||
|
|
||||||
"Reset Specific Standalone" )
|
"Reset Specific Standalone" )
|
||||||
emulator_to_reset=$(zenity --list \
|
emulator_to_reset=$(zenity --list \
|
||||||
--title "RetroDECK Configurator Utility - Reset Specific Standalone Emulator" --cancel-label="Back" --width=800 --height=600 \
|
--title "RetroDECK Configurator Utility - Reset Specific Standalone Emulator" --cancel-label="Back" \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--text="Which emulator do you want to reset to default?" \
|
--text="Which emulator do you want to reset to default?" \
|
||||||
--hide-header \
|
--hide-header \
|
||||||
|
@ -184,7 +183,7 @@ configurator_reset_dialog() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Reset All" )
|
"Reset All" )
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --width=800 --height=600 \
|
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--title "RetroDECK Configurator Utility - Reset RetroDECK" \
|
--title "RetroDECK Configurator Utility - Reset RetroDECK" \
|
||||||
--text="You are resetting RetroDECK to its default state.\n\nAfter the process is complete you will need to exit RetroDECK and run it again."
|
--text="You are resetting RetroDECK to its default state.\n\nAfter the process is complete you will need to exit RetroDECK and run it again."
|
||||||
|
@ -200,7 +199,7 @@ configurator_reset_dialog() {
|
||||||
}
|
}
|
||||||
|
|
||||||
configurator_retroachivement_dialog() {
|
configurator_retroachivement_dialog() {
|
||||||
login=$(zenity --forms --title="RetroDECK Configurator Utility - RetroAchievements Login" --cancel-label="Back" --width=800 --height=600 \
|
login=$(zenity --forms --title="RetroDECK Configurator Utility - RetroAchievements Login" --cancel-label="Back" \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--text="Enter your RetroAchievements Account details.\n\nBe aware that this tool cannot verify your login details.\nFor registration and more info visit\nhttps://retroachievements.org/\n" \
|
--text="Enter your RetroAchievements Account details.\n\nBe aware that this tool cannot verify your login details.\nFor registration and more info visit\nhttps://retroachievements.org/\n" \
|
||||||
--separator="=SEP=" \
|
--separator="=SEP=" \
|
||||||
|
@ -231,7 +230,7 @@ configurator_update_dialog() {
|
||||||
}
|
}
|
||||||
|
|
||||||
configurator_power_user_changes_dialog() {
|
configurator_power_user_changes_dialog() {
|
||||||
zenity --title "RetroDECK Configurator Utility - Power User Options" --question --no-wrap --cancel-label="Back" --width=800 --height=600 \
|
zenity --title "RetroDECK Configurator Utility - Power User Options" --question --no-wrap --cancel-label="Back" \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--text="Making manual changes to an emulators configuration may create serious issues,\nand some settings may be overwitten during RetroDECK updates.\n\nplease continue only if you know what you're doing.\n\nDo you want to continue?"
|
--text="Making manual changes to an emulators configuration may create serious issues,\nand some settings may be overwitten during RetroDECK updates.\n\nplease continue only if you know what you're doing.\n\nDo you want to continue?"
|
||||||
|
|
||||||
|
@ -241,7 +240,7 @@ configurator_power_user_changes_dialog() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
emulator=$(zenity --list \
|
emulator=$(zenity --list \
|
||||||
--title "RetroDECK Configurator Utility - Power User Options" --cancel-label="Back" --width=800 --height=600 \
|
--title "RetroDECK Configurator Utility - Power User Options" --cancel-label="Back" \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--text="Which emulator do you want to configure?" \
|
--text="Which emulator do you want to configure?" \
|
||||||
--hide-header \
|
--hide-header \
|
||||||
|
@ -313,7 +312,7 @@ configurator_power_user_changes_dialog() {
|
||||||
|
|
||||||
configurator_retroarch_rewind_dialog() {
|
configurator_retroarch_rewind_dialog() {
|
||||||
if [[ $(get_setting_value $raconf rewind_enable retroarch) == "true" ]]; then
|
if [[ $(get_setting_value $raconf rewind_enable retroarch) == "true" ]]; then
|
||||||
zenity --question --width=800 --height=600 \
|
zenity --question \
|
||||||
--no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--title "RetroDECK Configurator - Rewind" \
|
--title "RetroDECK Configurator - Rewind" \
|
||||||
--text="Rewind is currently enabled. Do you want to disable it?."
|
--text="Rewind is currently enabled. Do you want to disable it?."
|
||||||
|
@ -326,7 +325,7 @@ configurator_retroarch_rewind_dialog() {
|
||||||
configurator_options_dialog
|
configurator_options_dialog
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
zenity --question --width=800 --height=600 \
|
zenity --question \
|
||||||
--no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--title "RetroDECK Configurator - Rewind" \
|
--title "RetroDECK Configurator - Rewind" \
|
||||||
--text="Rewind is currently disabled, do you want to enable it?\n\nNOTE:\nThis may impact performance expecially on the latest systems."
|
--text="Rewind is currently disabled, do you want to enable it?\n\nNOTE:\nThis may impact performance expecially on the latest systems."
|
||||||
|
@ -342,7 +341,7 @@ configurator_retroarch_rewind_dialog() {
|
||||||
}
|
}
|
||||||
|
|
||||||
configurator_retroarch_options_dialog() {
|
configurator_retroarch_options_dialog() {
|
||||||
choice=$(zenity --list --title="RetroDECK Configurator Utility - RetroArch Options" --cancel-label="Back" --width=800 --height=600 \
|
choice=$(zenity --list --title="RetroDECK Configurator Utility - RetroArch Options" --cancel-label="Back" \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--column="Choice" --column="Action" \
|
--column="Choice" --column="Action" \
|
||||||
"Change Rewind Setting" "Enable or disable the Rewind function in RetroArch" )
|
"Change Rewind Setting" "Enable or disable the Rewind function in RetroArch" )
|
||||||
|
@ -361,7 +360,7 @@ configurator_retroarch_options_dialog() {
|
||||||
}
|
}
|
||||||
|
|
||||||
configurator_options_dialog() {
|
configurator_options_dialog() {
|
||||||
choice=$(zenity --list --title="RetroDECK Configurator Utility - Change Options" --cancel-label="Back" --width=800 --height=600 \
|
choice=$(zenity --list --title="RetroDECK Configurator Utility - Change Options" --cancel-label="Back" \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--column="Choice" --column="Action" \
|
--column="Choice" --column="Action" \
|
||||||
"Change RetroArch Settings" "Change settings specific to RetroArch" \
|
"Change RetroArch Settings" "Change settings specific to RetroArch" \
|
||||||
|
@ -385,12 +384,13 @@ configurator_options_dialog() {
|
||||||
}
|
}
|
||||||
|
|
||||||
configurator_move_dialog() {
|
configurator_move_dialog() {
|
||||||
choice=$(zenity --list --title="RetroDECK Configurator Utility - Move Directories" --cancel-label="Back" --width=800 --height=600 \
|
choice=$(zenity --list --title="RetroDECK Configurator Utility - Move Directories" --cancel-label="Back" \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--column="Choice" --column="Action" \
|
--column="Choice" --column="Action" \
|
||||||
"Move ROMs" "Move your ROMs directory to a new location" \
|
"Move ROMs" "Move your ROMs directory to a new location" \
|
||||||
"Move BIOS" "Move your BIOS directory to a new location" \
|
"Move BIOS" "Move your BIOS directory to a new location" \
|
||||||
"Move Downloaded Media" "Move your downloaded media directory to a new location" )
|
"Move Downloaded Media" "Move your downloaded media directory to a new location" \
|
||||||
|
"Move Everything" "Move the entire RetroDECK user directory to a new location" )
|
||||||
|
|
||||||
case $choice in
|
case $choice in
|
||||||
|
|
||||||
|
@ -576,7 +576,6 @@ configurator_move_dialog() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
configurator_welcome_dialog() {
|
configurator_welcome_dialog() {
|
||||||
|
@ -587,7 +586,7 @@ configurator_welcome_dialog() {
|
||||||
setting=
|
setting=
|
||||||
setting_value=
|
setting_value=
|
||||||
|
|
||||||
choice=$(zenity --list --title="RetroDECK Configurator Utility" --cancel-label="Quit" --width=800 --height=600 \
|
choice=$(zenity --list --title="RetroDECK Configurator Utility" --cancel-label="Quit" \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
--column="Choice" --column="Action" \
|
--column="Choice" --column="Action" \
|
||||||
"Move Files" "Move files between internal/SD card or to custom locations" \
|
"Move Files" "Move files between internal/SD card or to custom locations" \
|
||||||
|
|
Loading…
Reference in a new issue