mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-02-16 11:25:39 +00:00
Added Ryujinx config
This commit is contained in:
parent
02885d9be7
commit
07ca04ea41
134
emu-configs/ryujinx/Config.json
Normal file
134
emu-configs/ryujinx/Config.json
Normal file
|
@ -0,0 +1,134 @@
|
|||
{
|
||||
"version": 42,
|
||||
"enable_file_log": true,
|
||||
"backend_threading": "Auto",
|
||||
"res_scale": 1,
|
||||
"res_scale_custom": 1,
|
||||
"max_anisotropy": -1,
|
||||
"aspect_ratio": "Fixed16x9",
|
||||
"graphics_shaders_dump_path": "",
|
||||
"logging_enable_debug": false,
|
||||
"logging_enable_stub": true,
|
||||
"logging_enable_info": true,
|
||||
"logging_enable_warn": true,
|
||||
"logging_enable_error": true,
|
||||
"logging_enable_trace": false,
|
||||
"logging_enable_guest": true,
|
||||
"logging_enable_fs_access_log": false,
|
||||
"logging_filtered_classes": [],
|
||||
"logging_graphics_debug_level": "None",
|
||||
"system_language": "AmericanEnglish",
|
||||
"system_region": "Europe",
|
||||
"system_time_zone": "UTC",
|
||||
"system_time_offset": 0,
|
||||
"docked_mode": true,
|
||||
"enable_discord_integration": true,
|
||||
"check_updates_on_start": true,
|
||||
"show_confirm_exit": true,
|
||||
"hide_cursor_on_idle": false,
|
||||
"enable_vsync": true,
|
||||
"enable_shader_cache": true,
|
||||
"enable_texture_recompression": false,
|
||||
"enable_macro_hle": true,
|
||||
"enable_ptc": true,
|
||||
"enable_internet_access": false,
|
||||
"enable_fs_integrity_checks": true,
|
||||
"fs_global_access_log_mode": 0,
|
||||
"audio_backend": "SDL2",
|
||||
"audio_volume": 1,
|
||||
"memory_manager_mode": "HostMappedUnsafe",
|
||||
"expand_ram": false,
|
||||
"ignore_missing_services": false,
|
||||
"gui_columns": {
|
||||
"fav_column": true,
|
||||
"icon_column": true,
|
||||
"app_column": true,
|
||||
"dev_column": true,
|
||||
"version_column": true,
|
||||
"time_played_column": true,
|
||||
"last_played_column": true,
|
||||
"file_ext_column": true,
|
||||
"file_size_column": true,
|
||||
"path_column": true
|
||||
},
|
||||
"column_sort": {
|
||||
"sort_column_id": 0,
|
||||
"sort_ascending": false
|
||||
},
|
||||
"game_dirs": [
|
||||
"/home/deck/retrodeck/roms/switch"
|
||||
],
|
||||
"language_code": "en_US",
|
||||
"enable_custom_theme": false,
|
||||
"custom_theme_path": "",
|
||||
"base_style": "Dark",
|
||||
"game_list_view_mode": 0,
|
||||
"show_names": true,
|
||||
"grid_size": 2,
|
||||
"application_sort": 0,
|
||||
"is_ascending_order": true,
|
||||
"start_fullscreen": false,
|
||||
"show_console": true,
|
||||
"enable_keyboard": false,
|
||||
"enable_mouse": false,
|
||||
"hotkeys": {
|
||||
"toggle_vsync": "Tab",
|
||||
"screenshot": "F8",
|
||||
"show_ui": "F4",
|
||||
"pause": "F5",
|
||||
"toggle_mute": "F2",
|
||||
"res_scale_up": "Unbound",
|
||||
"res_scale_down": "Unbound",
|
||||
"volume_up": "Unbound",
|
||||
"volume_down": "Unbound"
|
||||
},
|
||||
"keyboard_config": [],
|
||||
"controller_config": [],
|
||||
"input_config": [
|
||||
{
|
||||
"left_joycon_stick": {
|
||||
"stick_up": "W",
|
||||
"stick_down": "S",
|
||||
"stick_left": "A",
|
||||
"stick_right": "D",
|
||||
"stick_button": "F"
|
||||
},
|
||||
"right_joycon_stick": {
|
||||
"stick_up": "I",
|
||||
"stick_down": "K",
|
||||
"stick_left": "J",
|
||||
"stick_right": "L",
|
||||
"stick_button": "H"
|
||||
},
|
||||
"left_joycon": {
|
||||
"button_minus": "Minus",
|
||||
"button_l": "E",
|
||||
"button_zl": "Q",
|
||||
"button_sl": "Unbound",
|
||||
"button_sr": "Unbound",
|
||||
"dpad_up": "Up",
|
||||
"dpad_down": "Down",
|
||||
"dpad_left": "Left",
|
||||
"dpad_right": "Right"
|
||||
},
|
||||
"right_joycon": {
|
||||
"button_plus": "Plus",
|
||||
"button_r": "U",
|
||||
"button_zr": "O",
|
||||
"button_sl": "Unbound",
|
||||
"button_sr": "Unbound",
|
||||
"button_x": "C",
|
||||
"button_b": "X",
|
||||
"button_y": "V",
|
||||
"button_a": "Z"
|
||||
},
|
||||
"version": 1,
|
||||
"backend": "WindowKeyboard",
|
||||
"id": "0",
|
||||
"controller_type": "JoyconPair",
|
||||
"player_index": "Player1"
|
||||
}
|
||||
],
|
||||
"graphics_backend": "Vulkan",
|
||||
"preferred_gpu": "0x1002_0x163F"
|
||||
}
|
15
functions.sh
15
functions.sh
|
@ -654,12 +654,22 @@ duckstation_init() {
|
|||
sed -i 's#/home/deck/retrodeck/bios#'$rdhome/bios'#g' /var/config/duckstation/settings.ini
|
||||
}
|
||||
|
||||
ryujinx_init() {
|
||||
echo "------------------------"
|
||||
echo "Initializing RYUJINX"
|
||||
echo "------------------------"
|
||||
mkdir -p /var/config/Ryujinx/system
|
||||
cp -fv $emuconfigs/ryujinx/* /var/config/Ryujinx
|
||||
sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/config/Ryujinx/Config.json
|
||||
ln -s $rdhome/bios/switch/keys /var/config/Ryujinx/system
|
||||
}
|
||||
|
||||
standalones_init() {
|
||||
# This script is configuring the standalone emulators with the default files present in emuconfigs folder
|
||||
|
||||
echo "----------------------"
|
||||
echo "------------------------------------"
|
||||
echo "Initializing standalone emulators"
|
||||
echo "----------------------"
|
||||
echo "------------------------------------"
|
||||
|
||||
yuzu_init
|
||||
citra_init
|
||||
|
@ -670,6 +680,7 @@ standalones_init() {
|
|||
rpcs3_init
|
||||
xemu_init
|
||||
duckstation_init
|
||||
ryujinx_init
|
||||
}
|
||||
|
||||
emulators_post_move() {
|
||||
|
|
|
@ -72,6 +72,7 @@ configurator_reset_dialog() {
|
|||
"PCSX2" \
|
||||
"PPSSPP" \
|
||||
"RPCS3" \
|
||||
"Ryujinx" \
|
||||
"XEMU" \
|
||||
"Yuzu")
|
||||
|
||||
|
@ -112,6 +113,11 @@ configurator_reset_dialog() {
|
|||
configurator_process_complete_dialog "resetting $emulator_to_reset"
|
||||
;;
|
||||
|
||||
"Ryujinx" )
|
||||
ryujinx_init
|
||||
configurator_process_complete_dialog "resetting $emulator_to_reset"
|
||||
;;
|
||||
|
||||
"RPCS3" )
|
||||
rpcs3_init
|
||||
configurator_process_complete_dialog "resetting $emulator_to_reset"
|
||||
|
|
Loading…
Reference in a new issue