commit
07b43e7846
14 changed files with 0 additions and 2458 deletions
|
@ -1,11 +0,0 @@
|
|||
SYSTEM_NAME="switch"
|
||||
SYSTEM_FULLNAME="Switch"
|
||||
SYSTEM_MANUFACTURER="Nintendo"
|
||||
SYSTEM_RELEASE="2017"
|
||||
SYSTEM_HARDWARE="console"
|
||||
SYSTEM_PATH="/storage/roms/switch"
|
||||
SYSTEM_EXTENSION=".xci .nsp .nca .nso .nro"
|
||||
SYSTEM_COMMAND="/usr/bin/runemu.sh %ROM% -P%SYSTEM% --core=%CORE% --emulator=%EMULATOR% --controllers=\"%CONTROLLERSCONFIG%\""
|
||||
SYSTEM_PLATFORM="switch"
|
||||
SYSTEM_THEME="switch"
|
||||
SYSTEM_WIKI_PATH="switch"
|
|
@ -83,7 +83,6 @@ This document describes all available systems emulators and cores available for
|
|||
|Nintendo|Super NES MSU-1 (snesmsu1)|2012|`snesmsu1`|.smc .fig .sfc .swc .zip .7z|**retroarch:** snes9x (default)<br>**retroarch:** beetle_supafaust<br>**mednafen:** snes_faust<br>|
|
||||
|Nintendo|Super Nintendo (Hacks) (snesh)|1991|`snesh`|.smc .fig .sfc .swc .zip .7z|**retroarch:** snes9x (default)<br>**retroarch:** snes9x2010<br>**retroarch:** snes9x2002<br>**retroarch:** snes9x2005_plus<br>**retroarch:** beetle_supafaust<br>**retroarch:** bsnes_mercury_performance<br>**retroarch:** bsnes<br>**retroarch:** bsnes_hd_beta<br>**mednafen:** snes<br>**mednafen:** snes_faust<br>|
|
||||
|Nintendo|Super Nintendo (snes)|1991|`snes`|.smc .fig .sfc .swc .zip .7z|**retroarch:** snes9x (default)<br>**retroarch:** snes9x2010<br>**retroarch:** snes9x2002<br>**retroarch:** snes9x2005_plus<br>**retroarch:** beetle_supafaust<br>**retroarch:** bsnes_mercury_performance<br>**retroarch:** bsnes<br>**retroarch:** bsnes_hd_beta<br>**mednafen:** snes_faust<br>**mednafen:** snes<br>|
|
||||
|Nintendo|Switch (switch)|2017|`switch`|.xci .nsp .nca .nso .nro|**yuzu:** yuzu-sa (default)<br>**ryujinx:** ryujinx-sa<br>|
|
||||
|Nintendo|Virtual Boy (virtualboy)|1995|`virtualboy`|.vb .zip .7z|**retroarch:** beetle_vb (default)<br>**mednafen:** vb<br>|
|
||||
|Nintendo|Wii (wii)|2006|`wii`|.gcm .iso .gcz .ciso .wbfs .rvz .dol .wad|**dolphin:** dolphin-sa-wii (default)<br>**retroarch:** dolphin<br>|
|
||||
|Nintendo|Wii U (wiiu)|2012|`wiiu`|.wud .wux .wua|**cemu:** cemu-sa (default)<br>|
|
||||
|
|
|
@ -1,152 +0,0 @@
|
|||
{
|
||||
"version": 44,
|
||||
"enable_file_log": true,
|
||||
"backend_threading": "On",
|
||||
"res_scale": 1,
|
||||
"res_scale_custom": 1,
|
||||
"max_anisotropy": -1,
|
||||
"aspect_ratio": "Fixed16x9",
|
||||
"anti_aliasing": "None",
|
||||
"scaling_filter": "Bilinear",
|
||||
"scaling_filter_level": 80,
|
||||
"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": "USA",
|
||||
"system_time_zone": "UTC",
|
||||
"system_time_offset": 0,
|
||||
"docked_mode": true,
|
||||
"enable_discord_integration": false,
|
||||
"check_updates_on_start": false,
|
||||
"show_confirm_exit": false,
|
||||
"hide_cursor_on_idle": true,
|
||||
"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": "OpenAl",
|
||||
"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": [],
|
||||
"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": true,
|
||||
"show_console": true,
|
||||
"enable_keyboard": false,
|
||||
"enable_mouse": false,
|
||||
"hotkeys": {
|
||||
"toggle_vsync": "F1",
|
||||
"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": {
|
||||
"joystick": "Left",
|
||||
"invert_stick_x": false,
|
||||
"invert_stick_y": false,
|
||||
"rotate90_cw": false,
|
||||
"stick_button": "LeftStick"
|
||||
},
|
||||
"right_joycon_stick": {
|
||||
"joystick": "Right",
|
||||
"invert_stick_x": false,
|
||||
"invert_stick_y": false,
|
||||
"rotate90_cw": false,
|
||||
"stick_button": "RightStick"
|
||||
},
|
||||
"deadzone_left": 0.1,
|
||||
"deadzone_right": 0.1,
|
||||
"range_left": 1,
|
||||
"range_right": 1,
|
||||
"trigger_threshold": 0,
|
||||
"motion": {
|
||||
"motion_backend": "GamepadDriver",
|
||||
"sensitivity": 100,
|
||||
"gyro_deadzone": 1,
|
||||
"enable_motion": false
|
||||
},
|
||||
"rumble": {
|
||||
"strong_rumble": 1,
|
||||
"weak_rumble": 1,
|
||||
"enable_rumble": false
|
||||
},
|
||||
"left_joycon": {
|
||||
"button_minus": "Minus",
|
||||
"button_l": "LeftShoulder",
|
||||
"button_zl": "LeftTrigger",
|
||||
"button_sl": "Unbound",
|
||||
"button_sr": "Unbound",
|
||||
"dpad_up": "DpadUp",
|
||||
"dpad_down": "DpadDown",
|
||||
"dpad_left": "DpadLeft",
|
||||
"dpad_right": "DpadRight"
|
||||
},
|
||||
"right_joycon": {
|
||||
"button_plus": "Plus",
|
||||
"button_r": "RightShoulder",
|
||||
"button_zr": "RightTrigger",
|
||||
"button_sl": "Unbound",
|
||||
"button_sr": "Unbound",
|
||||
"button_x": "Y",
|
||||
"button_b": "Y",
|
||||
"button_y": "X",
|
||||
"button_a": "B"
|
||||
},
|
||||
"version": 1,
|
||||
"backend": "GamepadSDL2",
|
||||
"id": "0-f0030003-045e-0000-8e02-000010010000",
|
||||
"controller_type": "ProController",
|
||||
"player_index": "Player1"
|
||||
}
|
||||
],
|
||||
"graphics_backend": "Vulkan",
|
||||
"preferred_gpu": "0x1002_0x1638",
|
||||
"use_hypervisor": true
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2022-present JELOS (https://github.com/JustEnoughLinuxOS)
|
||||
|
||||
PKG_NAME="ryujinx-sa"
|
||||
PKG_VERSION="1.1.999"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/Ryujinx"
|
||||
PKG_URL="${PKG_SITE}/release-channel-master/releases/download/${PKG_VERSION}/ryujinx-${PKG_VERSION}-linux_x64.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain librsvg SDL2 openal-soft icu"
|
||||
PKG_LONGDESC="Ryujinx - Nintendo Switch Emulator"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
makeinstall_target() {
|
||||
export STRIP=true
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp -rf ${PKG_DIR}/scripts/* ${INSTALL}/usr/bin
|
||||
|
||||
chmod +x ${INSTALL}/usr/bin/start_ryujinx.sh
|
||||
|
||||
mkdir -p ${INSTALL}/usr/config/Ryujinx
|
||||
cp -rf ${PKG_BUILD}/Ryujinx ${INSTALL}/usr/config/Ryujinx/
|
||||
cp -rf ${PKG_BUILD}/mime ${INSTALL}/usr/config/Ryujinx
|
||||
cp -rf ${PKG_BUILD}/LICENSE.txt ${INSTALL}/usr/config/Ryujinx
|
||||
cp -rf ${PKG_DIR}/config/* ${INSTALL}/usr/config/Ryujinx
|
||||
}
|
|
@ -1,58 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2022-present JELOS (https://github.com/JustEnoughLinuxOS)
|
||||
|
||||
. /etc/profile
|
||||
set_kill set "-9 Ryujinx"
|
||||
|
||||
if [ ! -d "/storage/.config/Ryujinx" ]; then
|
||||
mkdir -p "/storage/.config/Ryujinx"
|
||||
cp -r "/usr/config/Ryujinx" "/storage/.config/"
|
||||
fi
|
||||
|
||||
#Move ryujinx nand to bios folder
|
||||
if [ ! -d "/storage/roms/bios/ryujinx/nand" ]; then
|
||||
mkdir -p "/storage/roms/bios/ryujinx/nand"
|
||||
fi
|
||||
rm -rf /storage/.config/Ryujinx/bis/system/Contents/registered
|
||||
mkdir -p /storage/.config/Ryujinx/bis/system/Contents/
|
||||
ln -sf /storage/roms/bios/ryujinx/nand/ /storage/.config/Ryujinx/bis/system/Contents/registered
|
||||
|
||||
#Link ryujinx keys to bios folder
|
||||
if [ ! -d "/storage/roms/bios/ryujinx/keys" ]; then
|
||||
mkdir -p "/storage/roms/bios/ryujinx/keys"
|
||||
fi
|
||||
rm -rf /storage/.config/Ryujinx/system
|
||||
ln -sf /storage/roms/bios/ryujinx/keys/ /storage/.config/Ryujinx/system
|
||||
|
||||
#Emulation Station Features
|
||||
GAME=$(echo "${1}"| sed "s#^/.*/##")
|
||||
GRENDERER=$(get_setting graphics_backend switch "${GAME}")
|
||||
SUI=$(get_setting start_ui switch "${GAME}")
|
||||
|
||||
#Graphics Backend
|
||||
if [ "$GRENDERER" = "0" ]
|
||||
then
|
||||
sed -i '/^ "graphics_backend": /c\ "graphics_backend": "OpenGL",' /storage/.config/Ryujinx/Config.json
|
||||
fi
|
||||
if [ "$GRENDERER" = "1" ]
|
||||
then
|
||||
sed -i '/^ "graphics_backend": /c\ "graphics_backend": "Vulkan",' /storage/.config/Ryujinx/Config.json
|
||||
fi
|
||||
|
||||
#Always grab the latest ryujinx bin
|
||||
shasum1=$(sha1sum /usr/config/Ryujinx/Ryujinx | awk '{print $1}')
|
||||
shasum2=$(sha1sum /storage/.config/Ryujinx/Ryujinx | awk '{print $1}')
|
||||
|
||||
if [ "$shasum1" <> "$shasum2" ]; then
|
||||
cp -r "/usr/config/Ryujinx/Ryujinx" "/storage/.config/Ryujinx/Ryujinx"
|
||||
fi
|
||||
|
||||
#Run Yuzu emulator
|
||||
if [ "$SUI" = "1" ]
|
||||
then
|
||||
/storage/.config/Ryujinx/Ryujinx
|
||||
else
|
||||
/storage/.config/Ryujinx/Ryujinx "${1}"
|
||||
fi
|
File diff suppressed because it is too large
Load diff
|
@ -1,484 +0,0 @@
|
|||
|
||||
|
||||
[ControlsP0]
|
||||
# The input devices and parameters for each Switch native input
|
||||
# The config section determines the player number where the config will be applied on. For example "ControlsP0", "ControlsP1", ...
|
||||
# It should be in the format of "engine:[engine_name],[param1]:[value1],[param2]:[value2]..."
|
||||
# Escape characters $0 (for ':'), $1 (for ',') and $2 (for '$') can be used in values
|
||||
|
||||
# Indicates if this player should be connected at boot
|
||||
connected=1
|
||||
|
||||
# for button input, the following devices are available:
|
||||
# - "keyboard" (default) for keyboard input. Required parameters:
|
||||
# - "code": the code of the key to bind
|
||||
# - "sdl" for joystick input using SDL. Required parameters:
|
||||
# - "guid": SDL identification GUID of the joystick
|
||||
# - "port": the index of the joystick to bind
|
||||
# - "button"(optional): the index of the button to bind
|
||||
# - "hat"(optional): the index of the hat to bind as direction buttons
|
||||
# - "axis"(optional): the index of the axis to bind
|
||||
# - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", "down", "left" or "right"
|
||||
# - "threshold"(only used for axis): a float value in (-1.0, 1.0) which the button is
|
||||
# triggered if the axis value crosses
|
||||
# - "direction"(only used for axis): "+" means the button is triggered when the axis value
|
||||
# is greater than the threshold; "-" means the button is triggered when the axis value
|
||||
# is smaller than the threshold
|
||||
button_a=button:1,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_b=button:0,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_x=button:3,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_y=button:2,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_lstick=button:9,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_rstick=button:10,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_l=button:4,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_r=button:5,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_zl=threshold:0.500000,axis:2,guid:030000005e0400008e02000010010000,port:0,invert:+,engine:sdl
|
||||
button_zr=threshold:0.500000,axis:5,guid:030000005e0400008e02000010010000,port:0,invert:+,engine:sdl
|
||||
button_plus=button:7,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_minus=button:6,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_dleft=hat:0,direction:left,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_dup=hat:0,direction:up,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_dright=hat:0,direction:right,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_ddown=hat:0,direction:down,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_lstick_left=
|
||||
button_lstick_up=
|
||||
button_lstick_right=
|
||||
button_lstick_down=
|
||||
button_sl=
|
||||
button_sr=
|
||||
button_home=button:8,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
button_screenshot=
|
||||
|
||||
# for analog input, the following devices are available:
|
||||
# - "analog_from_button" (default) for emulating analog input from direction buttons. Required parameters:
|
||||
# - "up", "down", "left", "right": sub-devices for each direction.
|
||||
# Should be in the format as a button input devices using escape characters, for example, "engine$0keyboard$1code$00"
|
||||
# - "modifier": sub-devices as a modifier.
|
||||
# - "modifier_scale": a float number representing the applied modifier scale to the analog input.
|
||||
# Must be in range of 0.0-1.0. Defaults to 0.5
|
||||
# - "sdl" for joystick input using SDL. Required parameters:
|
||||
# - "guid": SDL identification GUID of the joystick
|
||||
# - "port": the index of the joystick to bind
|
||||
# - "axis_x": the index of the axis to bind as x-axis (default to 0)
|
||||
# - "axis_y": the index of the axis to bind as y-axis (default to 1)
|
||||
lstick=deadzone:0.150000,invert_y:+,invert_x:+,offset_y:0.000000,axis_y:1,offset_x:-0.000000,axis_x:0,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
rstick=deadzone:0.150000,invert_y:+,invert_x:+,offset_y:0.000000,axis_y:4,offset_x:-0.000000,axis_x:3,guid:030000005e0400008e02000010010000,port:0,engine:sdl
|
||||
|
||||
# for motion input, the following devices are available:
|
||||
# - "keyboard" (default) for emulating random motion input from buttons. Required parameters:
|
||||
# - "code": the code of the key to bind
|
||||
# - "sdl" for motion input using SDL. Required parameters:
|
||||
# - "guid": SDL identification GUID of the joystick
|
||||
# - "port": the index of the joystick to bind
|
||||
# - "motion": the index of the motion sensor to bind
|
||||
# - "cemuhookudp" for motion input using Cemu Hook protocol. Required parameters:
|
||||
# - "guid": the IP address of the cemu hook server encoded to a hex string. for example 192.168.0.1 = "c0a80001"
|
||||
# - "port": the port of the cemu hook server
|
||||
# - "pad": the index of the joystick
|
||||
# - "motion": the index of the motion sensor of the joystick to bind
|
||||
motionleft=
|
||||
motionright=
|
||||
|
||||
[ControlsGeneral]
|
||||
# To use the debug_pad, prepend `debug_pad_` before each button setting above.
|
||||
# i.e. debug_pad_button_a=
|
||||
|
||||
# Enable debug pad inputs to the guest
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
debug_pad_enabled =
|
||||
|
||||
# Whether to enable or disable vibration
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
vibration_enabled=
|
||||
|
||||
# Whether to enable or disable accurate vibrations
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
enable_accurate_vibrations=
|
||||
|
||||
# Enables controller motion inputs
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
motion_enabled =
|
||||
|
||||
# Defines the udp device's touch screen coordinate system for cemuhookudp devices
|
||||
# - "min_x", "min_y", "max_x", "max_y"
|
||||
touch_device=
|
||||
|
||||
# for mapping buttons to touch inputs.
|
||||
#touch_from_button_map=1
|
||||
#touch_from_button_maps_0_name=default
|
||||
#touch_from_button_maps_0_count=2
|
||||
#touch_from_button_maps_0_bind_0=foo
|
||||
#touch_from_button_maps_0_bind_1=bar
|
||||
# etc.
|
||||
|
||||
# List of Cemuhook UDP servers, delimited by ','.
|
||||
# Default: 127.0.0.1:26760
|
||||
# Example: 127.0.0.1:26760,123.4.5.67:26761
|
||||
udp_input_servers =
|
||||
|
||||
# Enable controlling an axis via a mouse input.
|
||||
# 0 (default): Off, 1: On
|
||||
mouse_panning =
|
||||
|
||||
# Set mouse sensitivity.
|
||||
# Default: 1.0
|
||||
mouse_panning_sensitivity =
|
||||
|
||||
# Emulate an analog control stick from keyboard inputs.
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
emulate_analog_keyboard =
|
||||
|
||||
# Enable mouse inputs to the guest
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
mouse_enabled =
|
||||
|
||||
# Enable keyboard inputs to the guest
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
keyboard_enabled =
|
||||
|
||||
[Core]
|
||||
# Whether to use multi-core for CPU emulation
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
use_multi_core =
|
||||
|
||||
# Enable extended guest system memory layout (6GB DRAM)
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
use_extended_memory_layout =
|
||||
|
||||
[Cpu]
|
||||
# Adjusts various optimizations.
|
||||
# Auto-select mode enables choice unsafe optimizations.
|
||||
# Accurate enables only safe optimizations.
|
||||
# Unsafe allows any unsafe optimizations.
|
||||
# 0 (default): Auto-select, 1: Accurate, 2: Enable unsafe optimizations
|
||||
cpu_accuracy =
|
||||
|
||||
# Allow disabling safe optimizations.
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
cpu_debug_mode =
|
||||
|
||||
# Enable inline page tables optimization (faster guest memory access)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_page_tables =
|
||||
|
||||
# Enable block linking CPU optimization (reduce block dispatcher use during predictable jumps)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_block_linking =
|
||||
|
||||
# Enable return stack buffer CPU optimization (reduce block dispatcher use during predictable returns)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_return_stack_buffer =
|
||||
|
||||
# Enable fast dispatcher CPU optimization (use a two-tiered dispatcher architecture)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_fast_dispatcher =
|
||||
|
||||
# Enable context elimination CPU Optimization (reduce host memory use for guest context)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_context_elimination =
|
||||
|
||||
# Enable constant propagation CPU optimization (basic IR optimization)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_const_prop =
|
||||
|
||||
# Enable miscellaneous CPU optimizations (basic IR optimization)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_misc_ir =
|
||||
|
||||
# Enable reduction of memory misalignment checks (reduce memory fallbacks for misaligned access)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_reduce_misalign_checks =
|
||||
|
||||
# Enable Host MMU Emulation (faster guest memory access)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_fastmem =
|
||||
|
||||
# Enable Host MMU Emulation for exclusive memory instructions (faster guest memory access)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_fastmem_exclusives =
|
||||
|
||||
# Enable fallback on failure of fastmem of exclusive memory instructions (faster guest memory access)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_recompile_exclusives =
|
||||
|
||||
# Enable optimization to ignore invalid memory accesses (faster guest memory access)
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_ignore_memory_aborts =
|
||||
|
||||
# Enable unfuse FMA (improve performance on CPUs without FMA)
|
||||
# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select.
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_unsafe_unfuse_fma =
|
||||
|
||||
# Enable faster FRSQRTE and FRECPE
|
||||
# Only enabled if cpu_accuracy is set to Unsafe.
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_unsafe_reduce_fp_error =
|
||||
|
||||
# Enable faster ASIMD instructions (32 bits only)
|
||||
# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select.
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_unsafe_ignore_standard_fpcr =
|
||||
|
||||
# Enable inaccurate NaN handling
|
||||
# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select.
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_unsafe_inaccurate_nan =
|
||||
|
||||
# Disable address space checks (64 bits only)
|
||||
# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select.
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_unsafe_fastmem_check =
|
||||
|
||||
# Enable faster exclusive instructions
|
||||
# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select.
|
||||
# 0: Disabled, 1 (default): Enabled
|
||||
cpuopt_unsafe_ignore_global_monitor =
|
||||
|
||||
[Renderer]
|
||||
# Which backend API to use.
|
||||
# 0: OpenGL, 1 (default): Vulkan
|
||||
backend = 1
|
||||
|
||||
# Enable graphics API debugging mode.
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
debug =
|
||||
|
||||
# Enable shader feedback.
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
renderer_shader_feedback =
|
||||
|
||||
# Enable Nsight Aftermath crash dumps
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
nsight_aftermath =
|
||||
|
||||
# Disable shader loop safety checks, executing the shader without loop logic changes
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
disable_shader_loop_safety_checks =
|
||||
|
||||
# Which Vulkan physical device to use (defaults to 0)
|
||||
vulkan_device =
|
||||
|
||||
# 0: 0.5x (360p/540p) [EXPERIMENTAL]
|
||||
# 1: 0.75x (540p/810p) [EXPERIMENTAL]
|
||||
# 2 (default): 1x (720p/1080p)
|
||||
# 3: 2x (1440p/2160p)
|
||||
# 4: 3x (2160p/3240p)
|
||||
# 5: 4x (2880p/4320p)
|
||||
# 6: 5x (3600p/5400p)
|
||||
# 7: 6x (4320p/6480p)
|
||||
resolution_setup = 0
|
||||
|
||||
# Pixel filter to use when up- or down-sampling rendered frames.
|
||||
# 0: Nearest Neighbor
|
||||
# 1 (default): Bilinear
|
||||
# 2: Bicubic
|
||||
# 3: Gaussian
|
||||
# 4: ScaleForce
|
||||
# 5: AMD FidelityFX™️ Super Resolution [Vulkan Only]
|
||||
scaling_filter =
|
||||
|
||||
# Anti-Aliasing (AA)
|
||||
# 0 (default): None, 1: FXAA
|
||||
anti_aliasing =
|
||||
|
||||
# Whether to use fullscreen or borderless window mode
|
||||
# 0 (Windows default): Borderless window, 1 (All other default): Exclusive fullscreen
|
||||
fullscreen_mode =
|
||||
|
||||
# Aspect ratio
|
||||
# 0: Default (16:9), 1: Force 4:3, 2: Force 21:9, 3: Stretch to Window
|
||||
aspect_ratio =
|
||||
|
||||
# Anisotropic filtering
|
||||
# 0: Default, 1: 2x, 2: 4x, 3: 8x, 4: 16x
|
||||
max_anisotropy =
|
||||
|
||||
# Whether to enable V-Sync (caps the framerate at 60FPS) or not.
|
||||
# 0 (default): Off, 1: On
|
||||
use_vsync =
|
||||
|
||||
# Selects the OpenGL shader backend. NV_gpu_program5 is required for GLASM. If NV_gpu_program5 is
|
||||
# not available and GLASM is selected, GLSL will be used.
|
||||
# 0: GLSL, 1 (default): GLASM, 2: SPIR-V
|
||||
shader_backend =
|
||||
|
||||
# Whether to allow asynchronous shader building.
|
||||
# 0 (default): Off, 1: On
|
||||
use_asynchronous_shaders =
|
||||
|
||||
# NVDEC emulation.
|
||||
# 0: Disabled, 1: CPU Decoding, 2 (default): GPU Decoding
|
||||
nvdec_emulation =
|
||||
|
||||
# Accelerate ASTC texture decoding.
|
||||
# 0: Off, 1 (default): On
|
||||
accelerate_astc = 0
|
||||
|
||||
# Turns on the speed limiter, which will limit the emulation speed to the desired speed limit value
|
||||
# 0: Off, 1: On (default)
|
||||
use_speed_limit =
|
||||
|
||||
# Limits the speed of the game to run no faster than this value as a percentage of target speed
|
||||
# 1 - 9999: Speed limit as a percentage of target game speed. 100 (default)
|
||||
speed_limit =
|
||||
|
||||
# Whether to use disk based shader cache
|
||||
# 0: Off, 1 (default): On
|
||||
use_disk_shader_cache =
|
||||
|
||||
# Which gpu accuracy level to use
|
||||
# 0: Normal, 1 (default): High, 2: Extreme (Very slow)
|
||||
gpu_accuracy =
|
||||
|
||||
# Whether to use asynchronous GPU emulation
|
||||
# 0 : Off (slow), 1 (default): On (fast)
|
||||
use_asynchronous_gpu_emulation =
|
||||
|
||||
# Inform the guest that GPU operations completed more quickly than they did.
|
||||
# 0: Off, 1 (default): On
|
||||
use_fast_gpu_time =
|
||||
|
||||
# Force unmodified buffers to be flushed, which can cost performance.
|
||||
# 0: Off (default), 1: On
|
||||
use_pessimistic_flushes =
|
||||
|
||||
# Whether to use garbage collection or not for GPU caches.
|
||||
# 0 (default): Off, 1: On
|
||||
use_caches_gc =
|
||||
|
||||
# The clear color for the renderer. What shows up on the sides of the bottom screen.
|
||||
# Must be in range of 0-255. Defaults to 0 for all.
|
||||
bg_red =
|
||||
bg_blue =
|
||||
bg_green =
|
||||
|
||||
[Audio]
|
||||
# Which audio output engine to use.
|
||||
# auto (default): Auto-select
|
||||
# cubeb: Cubeb audio engine (if available)
|
||||
# sdl2: SDL2 audio engine (if available)
|
||||
# null: No audio output
|
||||
output_engine =
|
||||
|
||||
# Which audio device to use.
|
||||
# auto (default): Auto-select
|
||||
output_device =
|
||||
|
||||
# Output volume.
|
||||
# 100 (default): 100%, 0; mute
|
||||
volume =
|
||||
|
||||
[Data Storage]
|
||||
# Whether to create a virtual SD card.
|
||||
# 1 (default): Yes, 0: No
|
||||
use_virtual_sd =
|
||||
|
||||
# Whether or not to enable gamecard emulation
|
||||
# 1: Yes, 0 (default): No
|
||||
gamecard_inserted =
|
||||
|
||||
# Whether or not the gamecard should be emulated as the current game
|
||||
# If 'gamecard_inserted' is 0 this setting is irrelevant
|
||||
# 1: Yes, 0 (default): No
|
||||
gamecard_current_game =
|
||||
|
||||
# Path to an XCI file to use as the gamecard
|
||||
# If 'gamecard_inserted' is 0 this setting is irrelevant
|
||||
# If 'gamecard_current_game' is 1 this setting is irrelevant
|
||||
gamecard_path =
|
||||
|
||||
[System]
|
||||
# Whether the system is docked
|
||||
# 1 (default): Yes, 0: No
|
||||
use_docked_mode =
|
||||
|
||||
# Sets the seed for the RNG generator built into the switch
|
||||
# rng_seed will be ignored and randomly generated if rng_seed_enabled is false
|
||||
rng_seed_enabled =
|
||||
rng_seed =
|
||||
|
||||
# Sets the current time (in seconds since 12:00 AM Jan 1, 1970) that will be used by the time service
|
||||
# This will auto-increment, with the time set being the time the game is started
|
||||
# This override will only occur if custom_rtc_enabled is true, otherwise the current time is used
|
||||
custom_rtc_enabled =
|
||||
custom_rtc =
|
||||
|
||||
# Sets the systems language index
|
||||
# 0: Japanese, 1: English (default), 2: French, 3: German, 4: Italian, 5: Spanish, 6: Chinese,
|
||||
# 7: Korean, 8: Dutch, 9: Portuguese, 10: Russian, 11: Taiwanese, 12: British English, 13: Canadian French,
|
||||
# 14: Latin American Spanish, 15: Simplified Chinese, 16: Traditional Chinese, 17: Brazilian Portuguese
|
||||
language_index =
|
||||
|
||||
# The system region that yuzu will use during emulation
|
||||
# -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan
|
||||
region_index =
|
||||
|
||||
# The system time zone that yuzu will use during emulation
|
||||
# 0: Auto-select (default), 1: Default (system archive value), Others: Index for specified time zone
|
||||
time_zone_index =
|
||||
|
||||
# Sets the sound output mode.
|
||||
# 0: Mono, 1 (default): Stereo, 2: Surround
|
||||
sound_index =
|
||||
|
||||
[Miscellaneous]
|
||||
# A filter which removes logs below a certain logging level.
|
||||
# Examples: *:Debug Kernel.SVC:Trace Service.*:Critical
|
||||
log_filter = *:Trace
|
||||
|
||||
# Use developer keys
|
||||
# 0 (default): Disabled, 1: Enabled
|
||||
use_dev_keys =
|
||||
|
||||
[Debugging]
|
||||
# Record frame time data, can be found in the log directory. Boolean value
|
||||
record_frame_times =
|
||||
# Determines whether or not yuzu will dump the ExeFS of all games it attempts to load while loading them
|
||||
dump_exefs=false
|
||||
# Determines whether or not yuzu will dump all NSOs it attempts to load while loading them
|
||||
dump_nso=false
|
||||
# Determines whether or not yuzu will save the filesystem access log.
|
||||
enable_fs_access_log=false
|
||||
# Enables verbose reporting services
|
||||
reporting_services =
|
||||
# Determines whether or not yuzu will report to the game that the emulated console is in Kiosk Mode
|
||||
# false: Retail/Normal Mode (default), true: Kiosk Mode
|
||||
quest_flag =
|
||||
# Determines whether debug asserts should be enabled, which will throw an exception on asserts.
|
||||
# false: Disabled (default), true: Enabled
|
||||
use_debug_asserts =
|
||||
# Determines whether unimplemented HLE service calls should be automatically stubbed.
|
||||
# false: Disabled (default), true: Enabled
|
||||
use_auto_stub =
|
||||
# Enables/Disables the macro JIT compiler
|
||||
disable_macro_jit=false
|
||||
# Determines whether to enable the GDB stub and wait for the debugger to attach before running.
|
||||
# false: Disabled (default), true: Enabled
|
||||
use_gdbstub=false
|
||||
# The port to use for the GDB server, if it is enabled.
|
||||
gdbstub_port=6543
|
||||
|
||||
[WebService]
|
||||
# Whether or not to enable telemetry
|
||||
# 0: No, 1 (default): Yes
|
||||
enable_telemetry =
|
||||
# URL for Web API
|
||||
web_api_url = https://api.yuzu-emu.org
|
||||
# Username and token for yuzu Web Service
|
||||
# See https://profile.yuzu-emu.org/ for more info
|
||||
yuzu_username =
|
||||
yuzu_token =
|
||||
|
||||
[Network]
|
||||
# Name of the network interface device to use with yuzu LAN play.
|
||||
# e.g. On *nix: 'enp7s0', 'wlp6s0u1u3u3', 'lo'
|
||||
# e.g. On Windows: 'Ethernet', 'Wi-Fi'
|
||||
network_interface =
|
||||
|
||||
[AddOns]
|
||||
# Used to disable add-ons
|
||||
# List of title IDs of games that will have add-ons disabled (separated by '|'):
|
||||
title_ids =
|
||||
# For each title ID, have a key/value pair called `disabled_<title_id>` equal to the names of the add-ons to disable (sep. by '|')
|
||||
# e.x. disabled_0100000000010000 = Update|DLC <- disables Updates and DLC on Super Mario Odyssey
|
|
@ -1,65 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2022-present JELOS (https://github.com/JustEnoughLinuxOS)
|
||||
|
||||
PKG_NAME="yuzu-sa"
|
||||
PKG_VERSION="ad4ae399033853e6fe45a5e2a0009c614ab199fc"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://github.com/yuzu-emu/yuzu"
|
||||
PKG_URL="${PKG_SITE}.git"
|
||||
PKG_DEPENDS_TARGET="toolchain libfmt boost ffmpeg zstd zlib libzip lz4 opus libusb nlohmann-json qt5"
|
||||
PKG_SHORTDESC="Nintendo Switch emulator"
|
||||
PKG_TOOLCHAIN="cmake"
|
||||
GET_HANDLER_SUPPORT="git"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" -DENABLE_X11=OFF"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
if [ "${DISPLAYSERVER}" = "wl" ]; then
|
||||
PKG_DEPENDS_TARGET+=" wayland ${WINDOWMANAGER} xwayland xrandr libXi"
|
||||
fi
|
||||
|
||||
if [ "${VULKAN_SUPPORT}" = "yes" ]
|
||||
then
|
||||
PKG_DEPENDS_TARGET+=" vulkan-loader vulkan-headers"
|
||||
fi
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DENABLE_QT=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DYUZU_USE_BUNDLED_SDL2=OFF \
|
||||
-DYUZU_USE_BUNDLED_QT=OFF \
|
||||
-DYUZU_TESTS=OFF \
|
||||
-DENABLE_SDL2=ON \
|
||||
-DARCHITECTURE_x86_64=ON \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DENABLE_WEB_SERVICE=OFF \
|
||||
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
|
||||
-DYUZU_USE_BUNDLED_FFMPEG=OFF \
|
||||
-DYUZU_USE_EXTERNAL_VULKAN_HEADERS=OFF \
|
||||
-DYUZU_USE_EXTERNAL_SDL2=OFF \
|
||||
-DYUZU_USE_FASTER_LD=OFF \
|
||||
-DYUZU_USE_PRECOMPILED_HEADERS=OFF \
|
||||
-DYUZU_USE_QT_MULTIMEDIA=ON \
|
||||
-DYUZU_USE_QT_WEB_ENGINE=OFF \
|
||||
-DUSE_DISCORD_PRESENCE=OFF"
|
||||
pre_configure_target() {
|
||||
CFLAGS=$(echo ${CFLAGS} | sed -e "s|-Ofast|-O3|")
|
||||
CXXFLAGS=$(echo ${CXXFLAGS} | sed -e "s|-Ofast|-O3|")
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp -rf ${PKG_BUILD}/.${TARGET_NAME}/bin/yuzu* ${INSTALL}/usr/bin
|
||||
cp -rf ${PKG_DIR}/scripts/* ${INSTALL}/usr/bin
|
||||
|
||||
chmod +x ${INSTALL}/usr/bin/start_yuzu.sh
|
||||
|
||||
mkdir -p ${INSTALL}/usr/config/yuzu
|
||||
cp -rf ${PKG_DIR}/config/* ${INSTALL}/usr/config/yuzu
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
diff --git a/src/core/hle/service/nvnflinger/hardware_composer.cpp b/src/core/hle/service/nvnflinger/hardware_composer.cpp
|
||||
index be7eb97a..cb660c01 100644
|
||||
--- a/src/core/hle/service/nvnflinger/hardware_composer.cpp
|
||||
+++ b/src/core/hle/service/nvnflinger/hardware_composer.cpp
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "core/hle/service/nvnflinger/ui/graphic_buffer.h"
|
||||
#include "core/hle/service/vi/display/vi_display.h"
|
||||
#include "core/hle/service/vi/layer/vi_layer.h"
|
||||
+#include <optional>
|
||||
|
||||
namespace Service::Nvnflinger {
|
||||
|
|
@ -1,277 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2022-present JELOS (https://github.com/JustEnoughLinuxOS)
|
||||
|
||||
. /etc/profile
|
||||
|
||||
#Check if yuzu exists in .config
|
||||
if [ ! -d "/storage/.config/yuzu" ]; then
|
||||
mkdir -p "/storage/.config/yuzu"
|
||||
cp -r "/usr/config/yuzu" "/storage/.config/"
|
||||
fi
|
||||
|
||||
#Check if qt-config.ini exists in .config/yuzu
|
||||
if [ ! -f "/storage/.config/yuzu/qt-config.ini" ]; then
|
||||
cp -r "/usr/config/yuzu/qt-config.ini" "/storage/.config/yuzu/qt-config.ini"
|
||||
fi
|
||||
|
||||
#Move Nand / Saves to switch roms folder
|
||||
if [ ! -d "/storage/roms/bios/yuzu/nand" ]; then
|
||||
mkdir -p "/storage/roms/bios/yuzu/nand"
|
||||
fi
|
||||
rm -rf /storage/.config/yuzu/nand
|
||||
ln -sf /storage/roms/bios/yuzu/nand /storage/.config/yuzu/nand
|
||||
|
||||
#Link yuzu keys to bios folder
|
||||
if [ ! -d "/storage/roms/bios/yuzu/keys" ]; then
|
||||
mkdir -p "/storage/roms/bios/yuzu/keys"
|
||||
fi
|
||||
rm -rf /storage/.config/yuzu/keys
|
||||
ln -sf /storage/roms/bios/yuzu/keys /storage/.config/yuzu/keys
|
||||
|
||||
#Emulation Station Features
|
||||
GAME=$(echo "${1}"| sed "s#^/.*/##")
|
||||
AF=$(get_setting anisotropic_filtering switch "${GAME}")
|
||||
AA=$(get_setting anti_aliasing switch "${GAME}")
|
||||
ASPECT=$(get_setting aspect_ratio switch "${GAME}")
|
||||
ASTCD=$(get_setting astc_decoding_method switch "${GAME}")
|
||||
CACCURACY=$(get_setting cpu_accuracy switch "${GAME}")
|
||||
GACCURACY=$(get_setting gpu_accuracy switch "${GAME}")
|
||||
GRENDERER=$(get_setting graphics_backend switch "${GAME}")
|
||||
IRES=$(get_setting internal_resolution switch "${GAME}")
|
||||
PFILTER=$(get_setting pixel_filter switch "${GAME}")
|
||||
RUMBLE=$(get_setting rumble switch "${GAME}")
|
||||
RUMBLESTR=$(get_setting rumble_strength switch "${GAME}")
|
||||
SDOCK=$(get_setting switch_mode switch "${GAME}")
|
||||
SUI=$(get_setting start_ui switch "${GAME}")
|
||||
VSYNC=$(get_setting vsync switch "${GAME}")
|
||||
|
||||
#Anisotropic Filtering
|
||||
sed -i '/^max_anisotropy\\default=/c\max_anisotropy\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$AF" = "0" ]
|
||||
then
|
||||
sed -i '/^max_anisotropy=/c\max_anisotropy=0' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$AF" = "1" ]
|
||||
then
|
||||
sed -i '/^max_anisotropy=/c\max_anisotropy=1' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$AF" = "2" ]
|
||||
then
|
||||
sed -i '/^max_anisotropy=/c\max_anisotropy=2' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$AF" = "3" ]
|
||||
then
|
||||
sed -i '/^max_anisotropy=/c\max_anisotropy=3' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$AF" = "4" ]
|
||||
then
|
||||
sed -i '/^max_anisotropy=/c\max_anisotropy=4' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#Anti-Aliasing
|
||||
sed -i '/^anti_aliasing\\default=/c\anti_aliasing\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$AA" = "0" ]
|
||||
then
|
||||
sed -i '/^anti_aliasing=/c\anti_aliasing=0' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$AA" = "1" ]
|
||||
then
|
||||
sed -i '/^anti_aliasing=/c\anti_aliasing=1' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#Aspect Ratio
|
||||
sed -i '/^aspect_ratio\\default=/c\aspect_ratio\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$ASPECT" = "0" ]
|
||||
then
|
||||
sed -i '/^aspect_ratio=/c\aspect_ratio=0' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$ASPECT" = "1" ]
|
||||
then
|
||||
sed -i '/^aspect_ratio=/c\aspect_ratio=1' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$ASPECT" = "2" ]
|
||||
then
|
||||
sed -i '/^aspect_ratio=/c\aspect_ratio=2' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
if [ "$ASPECT" = "3" ]
|
||||
then
|
||||
sed -i '/^aspect_ratio=/c\aspect_ratio=3' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$ASPECT" = "4" ]
|
||||
then
|
||||
sed -i '/^aspect_ratio=/c\aspect_ratio=4' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#ASTC Acceleration (default to 1/GPU)
|
||||
sed -i '/^accelerate_astc\\default=/c\accelerate_astc\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$ASTCD" = "0" ]
|
||||
then
|
||||
sed -i '/^accelerate_astc=/c\accelerate_astc=0' /storage/.config/yuzu/qt-config.ini
|
||||
elif [ "$ASTCD" = "2" ]
|
||||
then
|
||||
sed -i '/^accelerate_astc=/c\accelerate_astc=2' /storage/.config/yuzu/qt-config.ini
|
||||
else
|
||||
sed -i '/^accelerate_astc=/c\accelerate_astc=1' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#GPU Accuracy
|
||||
sed -i '/^cpu_accuracy\\default=/c\cpu_accuracy\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$CACCURACY" = "1" ]
|
||||
then
|
||||
sed -i '/^cpu_accuracy=/c\cpu_accuracy=1' /storage/.config/yuzu/qt-config.ini
|
||||
elif [ "$CACCURACY" = "2" ]
|
||||
then
|
||||
sed -i '/^cpu_accuracy=/c\cpu_accuracy=2' /storage/.config/yuzu/qt-config.ini
|
||||
elif [ "$CACCURACY" = "3" ]
|
||||
then
|
||||
sed -i '/^cpu_accuracy=/c\cpu_accuracy=3' /storage/.config/yuzu/qt-config.ini
|
||||
else
|
||||
sed -i '/^cpu_accuracy=/c\cpu_accuracy=0' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#GPU Accuracy
|
||||
sed -i '/^gpu_accuracy\\default=/c\gpu_accuracy\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$GACCURACY" = "0" ]
|
||||
then
|
||||
sed -i '/^gpu_accuracy=/c\gpu_accuracy=0' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$GACCURACY" = "1" ]
|
||||
then
|
||||
sed -i '/^gpu_accuracy=/c\gpu_accuracy=1' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$GACCURACY" = "2" ]
|
||||
then
|
||||
sed -i '/^gpu_accuracy=/c\gpu_accuracy=2' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#Graphics Backend
|
||||
sed -i '/^backend\\default=/c\backend\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$GRENDERER" = "0" ]
|
||||
then
|
||||
sed -i '/^backend=/c\backend=0' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$GRENDERER" = "1" ]
|
||||
then
|
||||
sed -i '/^backend=/c\backend=1' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#Internal Resolution
|
||||
sed -i '/^resolution_setup\\default=/c\resolution_setup\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$IRES" = "0" ]
|
||||
then
|
||||
sed -i '/^resolution_setup=/c\resolution_setup=0' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$IRES" = "1" ]
|
||||
then
|
||||
sed -i '/^resolution_setup=/c\resolution_setup=1' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$IRES" = "2" ]
|
||||
then
|
||||
sed -i '/^resolution_setup=/c\resolution_setup=2' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#Pixel Filter
|
||||
sed -i '/^scaling_filter\\default=/c\scaling_filter\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$PFILTER" = "0" ]
|
||||
then
|
||||
sed -i '/^scaling_filter=/c\scaling_filter=0' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$PFILTER" = "1" ]
|
||||
then
|
||||
sed -i '/^scaling_filter=/c\scaling_filter=1' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$PFILTER" = "2" ]
|
||||
then
|
||||
sed -i '/^scaling_filter=/c\scaling_filter=2' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$PFILTER" = "3" ]
|
||||
then
|
||||
sed -i '/^scaling_filter=/c\scaling_filter=3' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$PFILTER" = "4" ]
|
||||
then
|
||||
sed -i '/^scaling_filter =/c\scaling_filter=4' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$PFILTER" = "5" ]
|
||||
then
|
||||
sed -i '/^scaling_filter =/c\scaling_filter=5' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#RUMBLE
|
||||
sed -i '/^vibration_enabled\\default=/c\vibration_enabled\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$RUMBLE" = "0" ]
|
||||
then
|
||||
sed -i '/^vibration_enabled=/c\vibration_enabled=false' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$RUMBLE" = "1" ]
|
||||
then
|
||||
sed -i '/^vibration_enabled=/c\vibration_enabled=true' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#RUMBLE STRENGTH
|
||||
sed -i '/^player_0_vibration_strength\\default=/c\player_0_vibration_strength\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$RUMBLESTR" = "100" ]
|
||||
then
|
||||
sed -i '/^player_0_vibration_strength=/c\player_0_vibration_strength=100' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$RUMBLESTR" = "75" ]
|
||||
then
|
||||
sed -i '/^player_0_vibration_strength=/c\player_0_vibration_strength=75' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$RUMBLESTR" = "50" ]
|
||||
then
|
||||
sed -i '/^player_0_vibration_strength=/c\player_0_vibration_strength=50' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$RUMBLESTR" = "25" ]
|
||||
then
|
||||
sed -i '/^player_0_vibration_strength=/c\player_0_vibration_strength=25' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#Switch Mode
|
||||
sed -i '/^use_docked_mode\\default=/c\use_docked_mode\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$SDOCK" = "0" ]
|
||||
then
|
||||
sed -i '/^use_docked_mode=/c\use_docked_mode=false' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$SDOCK" = "1" ]
|
||||
then
|
||||
sed -i '/^use_docked_mode=/c\use_docked_mode=true' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#Vysnc
|
||||
sed -i '/^use_vsync\\default=/c\use_vsync\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$VSYNC" = "0" ]
|
||||
then
|
||||
sed -i '/^use_vsync=/c\use_vsync=false' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$VSYNC" = "1" ]
|
||||
then
|
||||
sed -i '/^use_vsync=/c\use_vsync=true' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#Never ask to confrim close
|
||||
sed -i '/^confirmStop\\default=/c\confirmStop\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
sed -i '/^confirmStop=/c\confirmStop=3' /storage/.config/yuzu/qt-config.ini
|
||||
|
||||
#Link .config/yuzu to .local
|
||||
rm -rf /storage/.local/share/yuzu
|
||||
ln -sf /storage/.config/yuzu /storage/.local/share/yuzu
|
||||
|
||||
#Set QT Platform to Wayland-EGL
|
||||
export QT_QPA_PLATFORM=wayland-egl
|
||||
|
||||
#Yuzu won't work with the pipewire driver yet
|
||||
export SDL_AUDIODRIVER=pulseaudio
|
||||
|
||||
set_kill set "-9 yuzu"
|
||||
|
||||
#Run Yuzu emulator
|
||||
if [ "$SUI" = "1" ]
|
||||
then
|
||||
/usr/bin/yuzu
|
||||
else
|
||||
/usr/bin/yuzu -f -g "${1}"
|
||||
fi
|
|
@ -206,16 +206,4 @@
|
|||
<players>1</players>
|
||||
<image>./images/xemu.svg</image>
|
||||
</game>
|
||||
<game>
|
||||
<path>./Start Yuzu.sh</path>
|
||||
<name>Start Yuzu</name>
|
||||
<desc>Opens the Yuzu GUI (Switch) to enable global configuration changes to be made directly to the emulator. It's recommended to have a mouse and keyboard available to modify settings. Yuzu is an experimental open-source emulator for the Nintendo Switch from the creators of Citra.</desc>
|
||||
<developer>JELOS</developer>
|
||||
<publisher>JELOS</publisher>
|
||||
<rating>5.0</rating>
|
||||
<releasedate>2023</releasedate>
|
||||
<genre>Emulator</genre>
|
||||
<players>1</players>
|
||||
<image>./images/yuzu.svg</image>
|
||||
</game>
|
||||
</gameList>
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="100%" height="100%" viewBox="0 0 1200 1080" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||
<g transform="matrix(1,0,0,1.09091,-720,207.273)">
|
||||
<rect x="720" y="-190" width="1200" height="990" style="fill:rgb(46,46,46);"/>
|
||||
</g>
|
||||
<g transform="matrix(0.707107,-0.707107,0.707107,0.707107,-575.938,-155.145)">
|
||||
<path d="M-466.129,1280.63L207,607.5L207,1953.76L-466.129,1280.63Z" style="fill:rgb(51,51,51);"/>
|
||||
</g>
|
||||
<g id="Yuzu">
|
||||
<g transform="matrix(1,0,0,1,159.905,228.74)">
|
||||
<g id="path835" transform="matrix(0.558692,0,0,0.558692,268.793,50.2081)">
|
||||
<path d="M340.81,138L340.81,682.08C491.07,682.08 612.87,560.27 612.87,410.02C612.87,259.77 491.07,138 340.81,138M394,197.55C491.102,221.921 559.733,309.906 559.733,410.02C559.733,510.134 491.102,598.119 394,622.49L394,197.55" style="fill:white;fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g id="path847" transform="matrix(0.558692,0,0,0.558692,268.793,50.2081)">
|
||||
<path d="M272.79,1.92C122.53,1.92 0.73,123.73 0.73,274C0.73,424.27 122.53,546.07 272.79,546.07L272.79,1.92ZM219.65,61.51L219.65,486.51C122.51,462.194 53.828,374.202 53.828,274.065C53.828,215.991 76.928,160.237 118,119.18C145.985,91.046 181.143,71.099 219.65,61.51" style="fill:white;fill-rule:nonzero;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="matrix(1,0,0,1,14.6837,-61.2735)">
|
||||
<path d="M509.191,840.419L509.191,816.211L488.066,779.378L500.316,779.378L514.858,805.794L529.483,779.378L541.566,779.378L520.525,816.003L520.525,840.419L509.191,840.419Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M578.441,836.836C574.802,839.808 570.011,841.294 564.066,841.294C558.122,841.294 553.337,839.808 549.712,836.836C546.087,833.864 544.275,829.503 544.275,823.753L544.275,794.628L555.233,794.628L555.233,823.336C555.233,826.753 555.948,829.225 557.379,830.753C558.809,832.28 561.08,833.044 564.191,833.044C567.247,833.044 569.476,832.287 570.879,830.774C572.282,829.26 572.983,826.78 572.983,823.336L572.983,794.628L583.9,794.628L583.9,823.753C583.9,829.475 582.08,833.836 578.441,836.836Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M591.025,840.419L591.025,833.794L613.691,802.211L592.108,802.211L592.108,794.628L625.775,794.628L625.775,802.086L604.316,832.461L626.525,832.461L626.525,840.419L591.025,840.419Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
<path d="M667.608,836.836C663.969,839.808 659.177,841.294 653.233,841.294C647.289,841.294 642.504,839.808 638.879,836.836C635.254,833.864 633.441,829.503 633.441,823.753L633.441,794.628L644.4,794.628L644.4,823.336C644.4,826.753 645.115,829.225 646.545,830.753C647.976,832.28 650.247,833.044 653.358,833.044C656.414,833.044 658.643,832.287 660.045,830.774C661.448,829.26 662.15,826.78 662.15,823.336L662.15,794.628L673.066,794.628L673.066,823.753C673.066,829.475 671.247,833.836 667.608,836.836Z" style="fill:white;fill-rule:nonzero;"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 3.3 KiB |
|
@ -542,87 +542,6 @@
|
|||
</core>
|
||||
</cores>
|
||||
</emulator>
|
||||
<emulator name="yuzu">
|
||||
<cores>
|
||||
<core name="yuzu-sa">
|
||||
<features>
|
||||
<feature name="astc decoding method">
|
||||
<choice name="gpu" value="1"/>
|
||||
<choice name="cpu" value="0"/>
|
||||
<choice name="cpu asynchronous" value="2"/>
|
||||
</feature>
|
||||
<feature name="anisotropic filtering">
|
||||
<choice name="off" value="0"/>
|
||||
<choice name="2x" value="1"/>
|
||||
<choice name="4x" value="2"/>
|
||||
<choice name="8x" value="3"/>
|
||||
<choice name="16x" value="4"/>
|
||||
</feature>
|
||||
<feature name="anti aliasing">
|
||||
<choice name="off" value="0"/>
|
||||
<choice name="fxaa" value="1"/>
|
||||
</feature>
|
||||
<feature name="aspect ratio">
|
||||
<choice name="16/9" value="0"/>
|
||||
<choice name="4/3" value="1"/>
|
||||
<choice name="21/9" value="2"/>
|
||||
<choice name="16/10" value="3"/>
|
||||
<choice name="stretch" value="4"/>
|
||||
</feature>
|
||||
<feature name="cpu accuracy">
|
||||
<choice name="auto" value="0"/>
|
||||
<choice name="accurate" value="1"/>
|
||||
<choice name="unsafe" value="2"/>
|
||||
<choice name="paranoid" value="3"/>
|
||||
</feature>
|
||||
<feature name="gpu accuracy">
|
||||
<choice name="low" value="0"/>
|
||||
<choice name="medium" value="1"/>
|
||||
<choice name="high" value="2"/>
|
||||
</feature>
|
||||
<feature name="graphics backend">
|
||||
<choice name="opengl" value="0"/>
|
||||
<choice name="vulkan" value="1"/>
|
||||
</feature>
|
||||
<feature name="internal resolution">
|
||||
<choice name="0.5x (360p/540p)" value="0"/>
|
||||
<choice name="0.75x (540p/810p)" value="1"/>
|
||||
<choice name="1x (720p/1080p)" value="2"/>
|
||||
</feature>
|
||||
<feature name="pixel filter">
|
||||
<choice name="nearest neighbor" value="0"/>
|
||||
<choice name="bilinear" value="1"/>
|
||||
<choice name="bicubic" value="2"/>
|
||||
<choice name="gaussian" value="3"/>
|
||||
<choice name="scaleforce" value="4"/>
|
||||
<choice name="amd fidelityfx" value="5"/>
|
||||
</feature>
|
||||
<feature name="rumble">
|
||||
<choice name="off" value="0"/>
|
||||
<choice name="on" value="1"/>
|
||||
</feature>
|
||||
<feature name="rumble strength">
|
||||
<choice name="100%" value="100"/>
|
||||
<choice name="75%" value="75"/>
|
||||
<choice name="50%" value="50"/>
|
||||
<choice name="25%" value="25"/>
|
||||
</feature>
|
||||
<feature name="switch mode">
|
||||
<choice name="handheld" value="0"/>
|
||||
<choice name="docked" value="1"/>
|
||||
</feature>
|
||||
<feature name="vsync">
|
||||
<choice name="off" value="0"/>
|
||||
<choice name="on" value="1"/>
|
||||
</feature>
|
||||
<feature name="start ui">
|
||||
<choice name="off" value="0"/>
|
||||
<choice name="on" value="1"/>
|
||||
</feature>
|
||||
</features>
|
||||
</core>
|
||||
</cores>
|
||||
</emulator>
|
||||
<emulator name="citra">
|
||||
<cores>
|
||||
<core name="citra-sa">"
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
||||
|
||||
source /etc/profile
|
||||
|
||||
set_kill set "yuzu"
|
||||
|
||||
/usr/bin/yuzu >/dev/null 2>&1
|
Loading…
Reference in a new issue