From 4f25d2e46c138ba2b23c4eeabaf5916485400201 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 29 Apr 2022 23:07:01 +0900 Subject: [PATCH] RPCS3: initial configuration --- emu-configs/config.yml | 203 ++++++++++++++++++++++++++++++++++++ net.retrodeck.retrodeck.yml | 5 +- retrodeck.sh | 4 + tools/start-rpcs3.sh | 7 ++ 4 files changed, 217 insertions(+), 2 deletions(-) create mode 100644 emu-configs/config.yml create mode 100644 tools/start-rpcs3.sh diff --git a/emu-configs/config.yml b/emu-configs/config.yml new file mode 100644 index 00000000..b57d6713 --- /dev/null +++ b/emu-configs/config.yml @@ -0,0 +1,203 @@ +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 GETLLAR polling detection: false + 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 Cache Line Stores: false + Accurate RSX reservation access: false + 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 + 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 +Video: + Renderer: Vulkan + Resolution: 1280x720 + Aspect ratio: 16:9 + Frame limit: Auto + MSAA: Auto + Shader Mode: Async Shader Recompiler + 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 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 + Disable native float16 support: 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 + Software VkSemaphore: false + Vulkan: + Adapter: llvmpipe (LLVM 12.0.1, 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 + Dump to file: false + Convert to 16 bit: false + Audio Channels: Downmix to Stereo + 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 +System: + License Area: SCEE + Language: English (US) + Keyboard Type: English keyboard (US standard) + Enter button assignment: Enter with cross + Console time offset (s): 0 +Net: + Internet enabled: Disconnected + IP address: 0.0.0.0 + DNS address: 8.8.8.8 + IP swap list: "" + PSN status: Disconnected +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: {} \ No newline at end of file diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 535fbcb9..2f13da68 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -940,8 +940,7 @@ modules: # Tools - mkdir -p ${FLATPAK_DEST}/retrodeck/tools/ - - cp start-retroarch.sh ${FLATPAK_DEST}/retrodeck/tools/ - - cp start-splore.sh ${FLATPAK_DEST}/retrodeck/tools/ + - cp start-*.sh ${FLATPAK_DEST}/retrodeck/tools/ - cp move-roms.sh ${FLATPAK_DEST}/retrodeck/tools/ - cp tools-gamelist.xml ${FLATPAK_DEST}/retrodeck/ @@ -971,6 +970,8 @@ modules: - cp melonDS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/ # CITRA - cp citra-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/ + # RPCS3 + - cp config.yml ${FLATPAK_DEST}/retrodeck/emu-configs/ #cleanup: ['*'] sources: diff --git a/retrodeck.sh b/retrodeck.sh index 0f0f3dd1..5aa584fe 100755 --- a/retrodeck.sh +++ b/retrodeck.sh @@ -105,6 +105,10 @@ then # CITRA mkdir -p /var/config/citra-emu/ cp $emuconfigs/citra-qt-config.ini /var/config/citra-emu/qt-config.ini + + # RPCS3 + mkdir -p /var/config/rpcs3/ + cp $emuconfigs/config.yml /var/config/rpcs3/ # Locking RetroDECK diff --git a/tools/start-rpcs3.sh b/tools/start-rpcs3.sh new file mode 100644 index 00000000..ccfb38d5 --- /dev/null +++ b/tools/start-rpcs3.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +kdialog --title "RetroDECK" --warningyesno "Doing some changes in the emulator's configuration may create serious issues, please continue only if you know what you're doing.\n\nDo you want to continue?" +if [ $? == 0 ] +then + rpcs3 +fi \ No newline at end of file