Merge pull request #1036 from brooksytech/dev

Adding RPCS3 Support
This commit is contained in:
Brooksytech 2023-02-08 15:14:30 -08:00 committed by GitHub
commit 08772f89cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 1066 additions and 8 deletions

View file

@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2019-present Frank Hartung (supervisedthinking (@) gmail.com)
PKG_NAME="glew-cmake"
PKG_VERSION="2.2.0"
PKG_SHA256="cdd82afba80f7cf34548cf5c902240d6721ec5a27ec9e075851b4a3a79ec6907"
PKG_LICENSE="The OpenGL Extension Wrangler Library"
PKG_SITE="https://github.com/Perlmint/glew-cmake"
PKG_URL="https://github.com/Perlmint/glew-cmake/archive/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libXi glu"
PKG_LONGDESC="The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library."
PKG_CMAKE_OPTS_TARGET="-Dglew-cmake_BUILD_STATIC=off \
-DUSE_GLU=on \
-DPKG_CONFIG_REPRESENTATIVE_TARGET="libglew_shared" \
-DONLY_LIBS=on"

View file

@ -0,0 +1,78 @@
From c4936e08b7553f565f4ec3c1b097de411a0b6b5c Mon Sep 17 00:00:00 2001
From: Gyusun Yeom <omniavinco@gmail.com>
Date: Thu, 4 Feb 2021 22:10:43 +0900
Subject: [PATCH 1/2] Install libGLEW symbolic links
---
CMakeLists.txt | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5bfdcb2e..03a025fc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,8 +97,12 @@ if(glew-cmake_BUILD_STATIC)
OUTPUT_NAME "glew"
DEBUG_POSTFIX d)
- target_compile_definitions(libglew_static PUBLIC GLEW_STATIC)
+ target_compile_definitions(libglew_static PUBLIC GLEW_STATIC)
list(APPEND GLEW_TARGETS libglew_static)
+ if(NOT WIN32)
+ file(CREATE_LINK "libglew.a" "${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}/libGLEW.a" SYMBOLIC)
+ install(FILES ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}/libGLEW.a TYPE LIB)
+ endif()
endif()
if(glew-cmake_BUILD_SHARED)
@@ -112,6 +116,10 @@ if(glew-cmake_BUILD_SHARED)
set_target_properties(libglew_shared PROPERTIES
OUTPUT_NAME "glew"
DEBUG_POSTFIX d)
+ if(NOT WIN32)
+ file(CREATE_LINK "libglew.so" "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}libGLEW.so" SYMBOLIC)
+ install(FILES ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libGLEW.so TYPE LIB)
+ endif()
endif()
target_compile_definitions(libglew_shared PRIVATE GLEW_BUILD)
From 81b97ab31e789d02e488d18dac5889d9399de813 Mon Sep 17 00:00:00 2001
From: Gyusun Yeom <omniavinco@gmail.com>
Date: Sat, 6 Feb 2021 16:04:38 +0900
Subject: [PATCH 2/2] Use POST_BUILD script
---
CMakeLists.txt | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03a025fc..3d28ad7b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -100,7 +100,11 @@ if(glew-cmake_BUILD_STATIC)
target_compile_definitions(libglew_static PUBLIC GLEW_STATIC)
list(APPEND GLEW_TARGETS libglew_static)
if(NOT WIN32)
- file(CREATE_LINK "libglew.a" "${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}/libGLEW.a" SYMBOLIC)
+ add_custom_command(TARGET libglew_static POST_BUILD
+ COMMAND ${CMAKE_COMMAND} ARGS -E create_symlink libglew.a libGLEW.a
+ WORKING_DIRECTORY ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}
+ BYPRODUCTS ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}/libGLEW.a
+ COMMENT "create libGLEW symbolic link")
install(FILES ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}/libGLEW.a TYPE LIB)
endif()
endif()
@@ -117,7 +121,11 @@ if(glew-cmake_BUILD_SHARED)
OUTPUT_NAME "glew"
DEBUG_POSTFIX d)
if(NOT WIN32)
- file(CREATE_LINK "libglew.so" "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}libGLEW.so" SYMBOLIC)
+ add_custom_command(TARGET libglew_shared POST_BUILD
+ COMMAND ${CMAKE_COMMAND} ARGS -E create_symlink libglew.so libGLEW.so
+ WORKING_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
+ BYPRODUCTS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libGLEW.so
+ COMMENT "create libGLEW symbolic link")
install(FILES ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libGLEW.so TYPE LIB)
endif()
endif()

View file

@ -0,0 +1,12 @@
PKG_NAME="libp11-kit"
PKG_VERSION="0.24.1"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/p11-glue/p11-kit"
PKG_URL="https://github.com/p11-glue/p11-kit/releases/download/${PKG_VERSION}/p11-kit-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="p11-kit aims to solve problems with coordinating the use of PKCS 11 by different components or libraries. "
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib
cp -rf ${PKG_BUILD}/.${TARGET_NAME}/p11-kit/libp11-kit.so* ${INSTALL}/usr/lib/
}

View file

@ -2,7 +2,7 @@
# Copyright (C) 2018-present Frank Hartung (supervisedthinking @ gmail.com)
PKG_NAME="qt5"
PKG_VERSION="87c5b4694ffd6fd891c26fce02776fc65cac1bd1" # 5.15.7+r176 (KDE Qt5PatchCollection)
PKG_VERSION="8e65ddffeaf77b312c26d3097c26e525b7c5e220" # 5.15.8+r174 (KDE Qt5PatchCollection)
PKG_LICENSE="GPL"
PKG_SITE="http://qt-project.org"
PKG_URL="https://invent.kde.org/qt/qt/qt5.git"

View file

@ -0,0 +1,234 @@
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
SPU GETLLAR polling detection: 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: 720x480
Aspect ratio: 16:9
Frame limit: Off
Second Frame Limit: 0.000000
MSAA: Disabled
Shader Mode: Async Shader Recompiler
Shader Precision: Low
Write Color Buffers: false
Write Depth Buffer: false
Read Color Buffers: false
Read Depth Buffer: false
Log shader programs: false
VSync: true
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: true
Enable 3D: false
Debug Program Analyser: false
Accurate ZCULL stats: false
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
Output Scaling Mode: Bilinear
Vulkan:
Adapter: AMD Unknown (RADV RENOIR)
Force FIFO present mode: false
Force primitive restart flag: false
Exclusive Fullscreen Mode: Automatic
Asynchronous Texture Streaming 2: false
FidelityFX CAS Sharpening Intensity: 50
Asynchronous Queue Scheduler: Safe
Force Disable Exclusive Fullscreen Mode: false
Enable FidelityFX Super Resolution Upscaling: false
Metal Semaphore: MTLEvent preferred
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 Loading Dialog:
Allow custom background: true
Darkening effect strength: 30
Blur effect strength: 0
Disable native float16 support: false
Shader Compilation Hint:
Position X (px): 20
Position Y (px): 690
Audio:
Renderer: Cubeb
Audio Provider: CellAudio
RSXAudio Avport: AV multiout
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
Disable Sampling Skip: false
Time Stretching Threshold: 75
Microphone Type: "Null"
Microphone Devices: "@@@@@@@@@@@@"
Music Handler: Qt
Audio provider: CellAudio
Audio Channels: Downmix to Stereo
Input/Output:
Keyboard: Basic
Mouse: Basic
Camera: "Null"
Camera type: Unknown
Camera flip: None
Camera ID: Default
Move: Mouse
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: SCEE
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
Bind 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: false
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: true
Prevent display sleep while running games: true
Show trophy popups: true
Show shader compilation hint: false
Use native user interface: true
GDB Server: 127.0.0.1:2345
Silence All Logs: true
Window Title Format: "FPS: %F | %R | %V | %T [%t]"
Pause Emulation During Home Menu: false
Log: {}

View file

@ -0,0 +1,2 @@
Active Profiles:
global: Default

View file

@ -0,0 +1,546 @@
Player 1 Input:
Handler: Evdev
Device: Microsoft X-Box 360 pad
Config:
Left Stick Left: LX-
Left Stick Down: LY+
Left Stick Right: LX+
Left Stick Up: LY-
Right Stick Left: RX-
Right Stick Down: RY+
Right Stick Right: RX+
Right Stick Up: RY-
Start: Start
Select: Select
PS Button: Mode
Square: X
Cross: A
Circle: B
Triangle: Y
Left: Hat0 X-
Down: Hat0 Y+
Right: Hat0 X+
Up: Hat0 Y-
R1: TR
R2: RZ+
R3: Thumb R
L1: TL
L2: LZ+
L3: Thumb L
Motion Sensor X:
Axis: X
Mirrored: false
Shift: 0
Motion Sensor Y:
Axis: Y
Mirrored: false
Shift: 0
Motion Sensor Z:
Axis: Z
Mirrored: false
Shift: 0
Motion Sensor G:
Axis: RY
Mirrored: false
Shift: 0
Pressure Intensity Button: ""
Pressure Intensity Percent: 50
Left Stick Multiplier: 100
Right Stick Multiplier: 100
Left Stick Deadzone: 30
Right Stick Deadzone: 30
Left Trigger Threshold: 0
Right Trigger Threshold: 0
Left Pad Squircling Factor: 5000
Right Pad Squircling Factor: 5000
Color Value R: 0
Color Value G: 0
Color Value B: 0
Blink LED when battery is below 20%: true
Use LED as a battery indicator: false
LED battery indicator brightness: 50
Player LED enabled: true
Enable Large Vibration Motor: true
Enable Small Vibration Motor: true
Switch Vibration Motors: false
Mouse Movement Mode: Relative
Mouse Deadzone X Axis: 60
Mouse Deadzone Y Axis: 60
Mouse Acceleration X Axis: 200
Mouse Acceleration Y Axis: 250
Left Stick Lerp Factor: 100
Right Stick Lerp Factor: 100
Analog Button Lerp Factor: 100
Trigger Lerp Factor: 100
Device Class Type: 0
Vendor ID: 1356
Product ID: 616
Buddy Device: ""
Player 2 Input:
Handler: "Null"
Device: "Null"
Config:
Left Stick Left: ""
Left Stick Down: ""
Left Stick Right: ""
Left Stick Up: ""
Right Stick Left: ""
Right Stick Down: ""
Right Stick Right: ""
Right Stick Up: ""
Start: ""
Select: ""
PS Button: ""
Square: ""
Cross: ""
Circle: ""
Triangle: ""
Left: ""
Down: ""
Right: ""
Up: ""
R1: ""
R2: ""
R3: ""
L1: ""
L2: ""
L3: ""
Motion Sensor X:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Y:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Z:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor G:
Axis: ""
Mirrored: false
Shift: 0
Pressure Intensity Button: ""
Pressure Intensity Percent: 50
Left Stick Multiplier: 100
Right Stick Multiplier: 100
Left Stick Deadzone: 0
Right Stick Deadzone: 0
Left Trigger Threshold: 0
Right Trigger Threshold: 0
Left Pad Squircling Factor: 0
Right Pad Squircling Factor: 0
Color Value R: 0
Color Value G: 0
Color Value B: 0
Blink LED when battery is below 20%: true
Use LED as a battery indicator: false
LED battery indicator brightness: 50
Player LED enabled: true
Enable Large Vibration Motor: true
Enable Small Vibration Motor: true
Switch Vibration Motors: false
Mouse Movement Mode: Relative
Mouse Deadzone X Axis: 60
Mouse Deadzone Y Axis: 60
Mouse Acceleration X Axis: 200
Mouse Acceleration Y Axis: 250
Left Stick Lerp Factor: 100
Right Stick Lerp Factor: 100
Analog Button Lerp Factor: 100
Trigger Lerp Factor: 100
Device Class Type: 0
Vendor ID: 0
Product ID: 0
Buddy Device: "Null"
Player 3 Input:
Handler: "Null"
Device: "Null"
Config:
Left Stick Left: ""
Left Stick Down: ""
Left Stick Right: ""
Left Stick Up: ""
Right Stick Left: ""
Right Stick Down: ""
Right Stick Right: ""
Right Stick Up: ""
Start: ""
Select: ""
PS Button: ""
Square: ""
Cross: ""
Circle: ""
Triangle: ""
Left: ""
Down: ""
Right: ""
Up: ""
R1: ""
R2: ""
R3: ""
L1: ""
L2: ""
L3: ""
Motion Sensor X:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Y:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Z:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor G:
Axis: ""
Mirrored: false
Shift: 0
Pressure Intensity Button: ""
Pressure Intensity Percent: 50
Left Stick Multiplier: 100
Right Stick Multiplier: 100
Left Stick Deadzone: 0
Right Stick Deadzone: 0
Left Trigger Threshold: 0
Right Trigger Threshold: 0
Left Pad Squircling Factor: 0
Right Pad Squircling Factor: 0
Color Value R: 0
Color Value G: 0
Color Value B: 0
Blink LED when battery is below 20%: true
Use LED as a battery indicator: false
LED battery indicator brightness: 50
Player LED enabled: true
Enable Large Vibration Motor: true
Enable Small Vibration Motor: true
Switch Vibration Motors: false
Mouse Movement Mode: Relative
Mouse Deadzone X Axis: 60
Mouse Deadzone Y Axis: 60
Mouse Acceleration X Axis: 200
Mouse Acceleration Y Axis: 250
Left Stick Lerp Factor: 100
Right Stick Lerp Factor: 100
Analog Button Lerp Factor: 100
Trigger Lerp Factor: 100
Device Class Type: 0
Vendor ID: 0
Product ID: 0
Buddy Device: "Null"
Player 4 Input:
Handler: "Null"
Device: "Null"
Config:
Left Stick Left: ""
Left Stick Down: ""
Left Stick Right: ""
Left Stick Up: ""
Right Stick Left: ""
Right Stick Down: ""
Right Stick Right: ""
Right Stick Up: ""
Start: ""
Select: ""
PS Button: ""
Square: ""
Cross: ""
Circle: ""
Triangle: ""
Left: ""
Down: ""
Right: ""
Up: ""
R1: ""
R2: ""
R3: ""
L1: ""
L2: ""
L3: ""
Motion Sensor X:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Y:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Z:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor G:
Axis: ""
Mirrored: false
Shift: 0
Pressure Intensity Button: ""
Pressure Intensity Percent: 50
Left Stick Multiplier: 100
Right Stick Multiplier: 100
Left Stick Deadzone: 0
Right Stick Deadzone: 0
Left Trigger Threshold: 0
Right Trigger Threshold: 0
Left Pad Squircling Factor: 0
Right Pad Squircling Factor: 0
Color Value R: 0
Color Value G: 0
Color Value B: 0
Blink LED when battery is below 20%: true
Use LED as a battery indicator: false
LED battery indicator brightness: 50
Player LED enabled: true
Enable Large Vibration Motor: true
Enable Small Vibration Motor: true
Switch Vibration Motors: false
Mouse Movement Mode: Relative
Mouse Deadzone X Axis: 60
Mouse Deadzone Y Axis: 60
Mouse Acceleration X Axis: 200
Mouse Acceleration Y Axis: 250
Left Stick Lerp Factor: 100
Right Stick Lerp Factor: 100
Analog Button Lerp Factor: 100
Trigger Lerp Factor: 100
Device Class Type: 0
Vendor ID: 0
Product ID: 0
Buddy Device: "Null"
Player 5 Input:
Handler: "Null"
Device: "Null"
Config:
Left Stick Left: ""
Left Stick Down: ""
Left Stick Right: ""
Left Stick Up: ""
Right Stick Left: ""
Right Stick Down: ""
Right Stick Right: ""
Right Stick Up: ""
Start: ""
Select: ""
PS Button: ""
Square: ""
Cross: ""
Circle: ""
Triangle: ""
Left: ""
Down: ""
Right: ""
Up: ""
R1: ""
R2: ""
R3: ""
L1: ""
L2: ""
L3: ""
Motion Sensor X:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Y:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Z:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor G:
Axis: ""
Mirrored: false
Shift: 0
Pressure Intensity Button: ""
Pressure Intensity Percent: 50
Left Stick Multiplier: 100
Right Stick Multiplier: 100
Left Stick Deadzone: 0
Right Stick Deadzone: 0
Left Trigger Threshold: 0
Right Trigger Threshold: 0
Left Pad Squircling Factor: 0
Right Pad Squircling Factor: 0
Color Value R: 0
Color Value G: 0
Color Value B: 0
Blink LED when battery is below 20%: true
Use LED as a battery indicator: false
LED battery indicator brightness: 50
Player LED enabled: true
Enable Large Vibration Motor: true
Enable Small Vibration Motor: true
Switch Vibration Motors: false
Mouse Movement Mode: Relative
Mouse Deadzone X Axis: 60
Mouse Deadzone Y Axis: 60
Mouse Acceleration X Axis: 200
Mouse Acceleration Y Axis: 250
Left Stick Lerp Factor: 100
Right Stick Lerp Factor: 100
Analog Button Lerp Factor: 100
Trigger Lerp Factor: 100
Device Class Type: 0
Vendor ID: 0
Product ID: 0
Buddy Device: "Null"
Player 6 Input:
Handler: "Null"
Device: "Null"
Config:
Left Stick Left: ""
Left Stick Down: ""
Left Stick Right: ""
Left Stick Up: ""
Right Stick Left: ""
Right Stick Down: ""
Right Stick Right: ""
Right Stick Up: ""
Start: ""
Select: ""
PS Button: ""
Square: ""
Cross: ""
Circle: ""
Triangle: ""
Left: ""
Down: ""
Right: ""
Up: ""
R1: ""
R2: ""
R3: ""
L1: ""
L2: ""
L3: ""
Motion Sensor X:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Y:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Z:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor G:
Axis: ""
Mirrored: false
Shift: 0
Pressure Intensity Button: ""
Pressure Intensity Percent: 50
Left Stick Multiplier: 100
Right Stick Multiplier: 100
Left Stick Deadzone: 0
Right Stick Deadzone: 0
Left Trigger Threshold: 0
Right Trigger Threshold: 0
Left Pad Squircling Factor: 0
Right Pad Squircling Factor: 0
Color Value R: 0
Color Value G: 0
Color Value B: 0
Blink LED when battery is below 20%: true
Use LED as a battery indicator: false
LED battery indicator brightness: 50
Player LED enabled: true
Enable Large Vibration Motor: true
Enable Small Vibration Motor: true
Switch Vibration Motors: false
Mouse Movement Mode: Relative
Mouse Deadzone X Axis: 60
Mouse Deadzone Y Axis: 60
Mouse Acceleration X Axis: 200
Mouse Acceleration Y Axis: 250
Left Stick Lerp Factor: 100
Right Stick Lerp Factor: 100
Analog Button Lerp Factor: 100
Trigger Lerp Factor: 100
Device Class Type: 0
Vendor ID: 0
Product ID: 0
Buddy Device: "Null"
Player 7 Input:
Handler: "Null"
Device: "Null"
Config:
Left Stick Left: ""
Left Stick Down: ""
Left Stick Right: ""
Left Stick Up: ""
Right Stick Left: ""
Right Stick Down: ""
Right Stick Right: ""
Right Stick Up: ""
Start: ""
Select: ""
PS Button: ""
Square: ""
Cross: ""
Circle: ""
Triangle: ""
Left: ""
Down: ""
Right: ""
Up: ""
R1: ""
R2: ""
R3: ""
L1: ""
L2: ""
L3: ""
Motion Sensor X:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Y:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor Z:
Axis: ""
Mirrored: false
Shift: 0
Motion Sensor G:
Axis: ""
Mirrored: false
Shift: 0
Pressure Intensity Button: ""
Pressure Intensity Percent: 50
Left Stick Multiplier: 100
Right Stick Multiplier: 100
Left Stick Deadzone: 0
Right Stick Deadzone: 0
Left Trigger Threshold: 0
Right Trigger Threshold: 0
Left Pad Squircling Factor: 0
Right Pad Squircling Factor: 0
Color Value R: 0
Color Value G: 0
Color Value B: 0
Blink LED when battery is below 20%: true
Use LED as a battery indicator: false
LED battery indicator brightness: 50
Player LED enabled: true
Enable Large Vibration Motor: true
Enable Small Vibration Motor: true
Switch Vibration Motors: false
Mouse Movement Mode: Relative
Mouse Deadzone X Axis: 60
Mouse Deadzone Y Axis: 60
Mouse Acceleration X Axis: 200
Mouse Acceleration Y Axis: 250
Left Stick Lerp Factor: 100
Right Stick Lerp Factor: 100
Analog Button Lerp Factor: 100
Trigger Lerp Factor: 100
Device Class Type: 0
Vendor ID: 0
Product ID: 0
Buddy Device: "Null"

View file

@ -0,0 +1,81 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2019-present Frank Hartung (supervisedthinking (@) gmail.com)
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="rpcs3sa"
PKG_VERSION="27cad422b9211c13c58f31f701ff93a9659e26f1" # r0.0.26-14604
PKG_ARCH="x86_64"
PKG_LICENSE="GPL-2.0-or-later"
PKG_SITE="https://rpcs3.net"
PKG_URL="https://github.com/RPCS3/rpcs3.git"
PKG_DEPENDS_HOST="toolchain:host"
PKG_DEPENDS_TARGET="toolchain linux glibc systemd pulseaudio mesa xorg-server libevdev curl ffmpeg libpng zlib glew-cmake libSM SDL2 enet qt5 rpcs3sa:host vulkan-headers vulkan-loader vulkan-tools libp11-kit"
PKG_LONGDESC="RPCS3 is an experimental open-source Sony PlayStation 3 emulator and debugger."
GET_HANDLER_SUPPORT="git"
PKG_GIT_CLONE_BRANCH="master"
PKG_GIT_CLONE_SINGLE="yes"
pre_configure_host() {
PKG_CMAKE_SCRIPT="${PKG_BUILD}/llvm/CMakeLists.txt"
PKG_CMAKE_OPTS_HOST="-DLLVM_TARGETS_TO_BUILD="X86" \
-DLLVM_BUILD_RUNTIME=OFF \
-DLLVM_BUILD_TOOLS=OFF \
-DLLVM_INCLUDE_BENCHMARKS=OFF \
-DLLVM_INCLUDE_DOCS=OFF \
-DLLVM_INCLUDE_EXAMPLES=OFF \
-DLLVM_INCLUDE_TESTS=OFF \
-DLLVM_INCLUDE_TOOLS=OFF \
-DLLVM_INCLUDE_UTILS=OFF \
-DLLVM_CCACHE_BUILD=ON \
-Wno-dev"
}
pre_configure_target() {
PKG_CMAKE_OPTS_TARGET=(-DUSE_NATIVE_INSTRUCTIONS=OFF \
-DBUILD_LLVM_SUBMODULE=ON \
-DCMAKE_C_FLAGS="${CFLAGS}" \
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
-DLLVM_TARGET_ARCH="${TARGET_ARCH}" \
-DLLVM_TABLEGEN=${PKG_BUILD}/.${HOST_NAME}/bin/llvm-tblgen \
-DUSE_DISCORD_RPC=OFF \
-DCMAKE_SKIP_RPATH=ON \
-DUSE_SYSTEM_FFMPEG=ON \
-DUSE_SYSTEM_LIBPNG=ON \
-DUSE_SYSTEM_ZLIB=ON \
-DUSE_SYSTEM_CURL=ON \
-DUSE_VULKAN=ON \
-Wno-dev)
}
configure_target() {
echo "Executing (target): cmake ${CMAKE_GENERATOR_NINJA} ${TARGET_CMAKE_OPTS} "${PKG_CMAKE_OPTS_TARGET[@]}" $(dirname ${PKG_CMAKE_SCRIPT})" | tr -s " "
cmake ${CMAKE_GENERATOR_NINJA} ${TARGET_CMAKE_OPTS} "${PKG_CMAKE_OPTS_TARGET[@]}" $(dirname ${PKG_CMAKE_SCRIPT})
}
make_host() {
ninja ${NINJA_OPTS} llvm-tblgen
}
makeinstall_host() {
:
}
pre_make_target() {
# fix cross compiling
find ${PKG_BUILD} -name flags.make -exec sed -i "s:isystem :I:g" \{} \;
find ${PKG_BUILD} -name build.ninja -exec sed -i "s:isystem :I:g" \{} \;
}
post_makeinstall_target() {
# Copy scripts
mkdir -p ${INSTALL}/usr/bin/
cp ${PKG_DIR}/scripts/* ${INSTALL}/usr/bin/
# Copy config & resources
mkdir -p ${INSTALL}/usr/config/rpcs3
cp -PR ${PKG_DIR}/config/rpcs3 ${INSTALL}/usr/config/rpcs3/
cp -PR ${INSTALL}/usr/share/rpcs3/{GuiConfigs,Icons} ${INSTALL}/usr/config/rpcs3/
# Clean up
safe_remove ${INSTALL}/usr/share
}

View file

@ -0,0 +1,30 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="rpcs3sa"
PKG_VERSION="5a63271f0ea2fd2bb7aa866c85ca80a03992ef92"
PKG_RELEASE="v0.0.26-14690-5a63271f"
PKG_ARCH="x86_64"
PKG_LICENSE="LGPL"
PKG_SITE="https://github.com/RPCS3/rpcs3-binaries-linux/releases/download/build"
PKG_URL="${PKG_SITE}-${PKG_VERSION}/rpcs3-${PKG_RELEASE}_linux64.AppImage"
PKG_DEPENDS_TARGET="toolchain qt5 libSM libp11 libp11-kit libevdev curl ffmpeg libpng zlib vulkan-loader vulkan-headers"
PKG_LONGDESC="PS3 Emulator appimage"
PKG_TOOLCHAIN="manual"
makeinstall_target() {
# Redefine strip or the AppImage will be stripped rendering it unusable.
export STRIP=true
mkdir -p ${INSTALL}/usr/lib
cp -rf ${PKG_DIR}/lib/* ${INSTALL}/usr/lib
mkdir -p ${INSTALL}/usr/bin
cp ${PKG_BUILD}/*.AppImage ${INSTALL}/usr/bin/${PKG_NAME}
cp -rf ${PKG_DIR}/scripts/start_rpcs3sa.sh ${INSTALL}/usr/bin
sed -e "s/@APPIMAGE@/${PKG_NAME}/g" -i ${INSTALL}/usr/bin/start_rpcs3sa.sh
chmod 755 ${INSTALL}/usr/bin/*
mkdir -p ${INSTALL}/usr/config
cp -rf ${PKG_DIR}/config/rpcs3 ${INSTALL}/usr/config
}

View file

@ -0,0 +1,26 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023-present BrooksyTech (https://github.com/brooksytech)
. /etc/profile
#Check if rpcs3 exists in .config
if [ ! -d "/storage/.config/rpcs3" ]; then
mkdir -p "/storage/.config/rpcs3"
cp -r "/usr/config/rpcs3" "/storage/.config/"
fi
#Link rpcs3sa dev_flash to bios folder
if [ ! -d "/storage/roms/bios/rpcs3/dev_flash" ]; then
mkdir -p "/storage/bios/rpcs3/dev_flash"
fi
rm -rf /storage/.config/rpcs3/dev_flash
ln -sf /storage/roms/bios/rpcs3/dev_flash /storage/.config/rpcs3/dev_flash
#Set QT enviornment to xwayland
export QT_QPA_PLATFORM=xcb
rr_audio.sh pulseaudio
export SDL_AUDIODRIVER=pulseaudio
rpcs3 --no-gui "${1}"

View file

@ -36,8 +36,8 @@ pre_configure_target() {
-DBUILD_WSI_XLIB_SUPPORT=ON \
-DBUILD_WSI_WAYLAND_SUPPORT=OFF"
elif [ "${DISPLAYSERVER}" = "wl" ]; then
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_WSI_XCB_SUPPORT=OFF \
-DBUILD_WSI_XLIB_SUPPORT=OFF \
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_WSI_XCB_SUPPORT=ON \
-DBUILD_WSI_XLIB_SUPPORT=ON \
-DBUILD_WSI_WAYLAND_SUPPORT=ON"
else
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_WSI_XCB_SUPPORT=OFF \

View file

@ -36,8 +36,8 @@ pre_configure_target() {
-DCUBE_WSI_SELECTION=XCB"
elif [ "${DISPLAYSERVER}" = "wl" ]; then
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_CUBE=ON \
-DBUILD_WSI_XCB_SUPPORT=OFF \
-DBUILD_WSI_XLIB_SUPPORT=OFF \
-DBUILD_WSI_XCB_SUPPORT=ON \
-DBUILD_WSI_XLIB_SUPPORT=ON \
-DBUILD_WSI_WAYLAND_SUPPORT=ON
-DCUBE_WSI_SELECTION=WAYLAND"
else

View file

@ -295,6 +295,12 @@ then
RUNTHIS='${TBASH} /usr/bin/start_aethersx2.sh "${ROMNAME}"'
fi
;;
"ps3")
jslisten set "-9 rpcs3"
if [ "$EMU" = "rpcs3sa" ]; then
RUNTHIS='${TBASH} /usr/bin/start_rpcs3sa.sh "${ROMNAME}"'
fi
;;
"gamecube")
jslisten set "-9 dolphin-emu-nogui"
if [ "$EMU" = "dolphinsa-gc" ]; then

View file

@ -241,6 +241,13 @@
</feature>
</features>
</emulator>
<emulator name="rpcs3sa">
<features>
<feature name="internal resolution">
<choice name="720x480" value="1"/>
</feature>
</features>
</emulator>
<emulator name="retroarch" features="ratio, smooth, shaders, pixel_perfect, latency_reduction, game_translation">
<cores>
<core name="2048" features="netplay, rewind, autosave" />

View file

@ -1549,6 +1549,25 @@
</emulator>
</emulators>
</system>
<system>
<name>ps3</name>
<fullname>PlayStation 3</fullname>
<manufacturer>Sony</manufacturer>
<release>2006</release>
<hardware>console</hardware>
<path>/storage/roms/ps3</path>
<extension>.ps3 .PS3 .bin .BIN</extension>
<command>/usr/bin/runemu.sh %ROM% -P%SYSTEM% --core=%CORE% --emulator=%EMULATOR% --controllers="%CONTROLLERSCONFIG%"</command>
<platform>ps3</platform>
<theme>ps3</theme>
<emulators>
<emulator name="rpcs3sa">
<cores>
<core>rpcs3sa</core>
</cores>
</emulator>
</emulators>
</system>
<system>
<name>psp</name>
<fullname>PlayStation Portable</fullname>

View file

@ -32,7 +32,7 @@ PKG_DEPENDS_TARGET="${PKG_EMUS} ${PKG_RETROARCH} ${LIBRETRO_CORES}"
case "${DEVICE}" in
handheld)
PKG_DEPENDS_TARGET+=" dolphinsa cemu citra citrasa desmume lrps2 melondssa minivmac minivmacsa \
pcsx2sa play primehack yuzusa"
pcsx2sa play primehack rpcs3sa yuzusa"
;;
RK3588)
PKG_DEPENDS_TARGET+=" aethersx2"

View file

@ -73,6 +73,7 @@ d /storage/roms/pet 0777 root root - -
d /storage/roms/pico-8 0777 root root - -
d /storage/roms/pokemini 0777 root root - -
d /storage/roms/ps2 0777 root root - -
d /storage/roms/ps3 0777 root root - -
d /storage/roms/psp 0777 root root - -
d /storage/roms/pspminis 0777 root root - -
d /storage/roms/psx 0777 root root - -

View file

@ -12,6 +12,6 @@ PKG_DEPENDS_TARGET="toolchain util-macros xtrans"
PKG_LONGDESC="X Inter-Client Exchange (ICE) protocol library."
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
--enable-shared \
--disable-ipv6 \
--without-xmlto"

View file

@ -12,7 +12,7 @@ PKG_DEPENDS_TARGET="toolchain util-macros util-linux libICE"
PKG_LONGDESC="This package provides the main interface to the X11 Session Management library."
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
--enable-shared \
--with-libuuid \
--without-xmlto \
--without-fop"