Skip to content

Commit

Permalink
shadps4 wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Dec 25, 2024
1 parent 4f4ddb6 commit 3b5200f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 35 deletions.
68 changes: 34 additions & 34 deletions configs/shadps4/config.toml
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
# ShadPS4 Settings/Config file

[General]
isPS4Pro = false
Fullscreen = false
playBGM = false
BGMvolume = 50
logType = "async"
separateUpdateEnabled = false
showSplash = true
Fullscreen = true
checkCompatibilityOnStartup = true
updateChannel = "Nightly"
logFilter = ""
enableDiscordRPC = false
logType = "async" # Configures logging synchronization (sync/async)
logFilter = "" # Sets the logging category for various logging classes
userName = "shadPS4"
updateChannel = "Release"
showSplash = false
compatibilityEnabled = true
autoUpdate = false
separateUpdateEnabled = false
userName = "shadPS4"
isTrophyPopupDisabled = false
playBGM = false
isPS4Pro = false
BGMvolume = 50

[Input]
cursorState = 0 # HideCursorState::Idle
cursorState = 1
cursorHideTimeout = 5
backButtonBehavior = "left"
useSpecialPad = false
specialPadClass = 1
useSpecialPad = false

[GPU]
# Configures the game window width and height e.g. '800' for OLED Steameck (16:10 Aspect Ratio)
screenWidth = 1280
screenHeight = 720
nullGpu = false # Disables rendering
nullGpu = false
copyGPUBuffers = false
dumpShaders = false # Dump shaders that are loaded by the emulator. Dump path: ../user/shader/dumps
patchShaders = true
vblankDivider = 1
dumpShaders = false
patchShaders = true

[Vulkan]
gpuId = -1
validation = false
rdocMarkersEnable = false
validation_sync = false
validation_gpu = false
rdocEnable = false # Automatically hook RenderDoc when installed. Useful for debugging shaders and game rendering
rdocMarkersEnable = false # Enable automatic RenderDoc event annotation
rdocEnable = false
crashDiagnostic = false

[Debug]
DebugDump = false
CollectShader = false

[GUI]
theme = 0
iconSize = 36
iconSizeGrid = 69
sliderPos = 0
sliderPosGrid = 0
gameTableMode = 0
mw_width = 1280
mw_height = 720 # Need to set to '800' for OLED Deck (16:10 Aspect Ratio)
geometry_x = 400
geometry_y = 400
geometry_w = 1280
geometry_h = 720 # Need to set to '800' for OLED Deck (16:10 Aspect Ratio)
installDirs = "/run/media/mmcblk0p1/Emulation/storage/shadps4/games"
geometry_x = 0
iconSize = 36
emulatorLanguage = "en"
iconSizeGrid = 69
elfDirs = []
mw_height = 718
addonInstallDir = "/run/media/mmcblk0p1/Emulation/storage/shadps4/dlc"
pkgDirs = []
elfDirs = []
sliderPosGrid = 0
geometry_h = 718
geometry_y = 28
recentFiles = []
emulatorLanguage = "en"
sliderPos = 0
installDirs = ["/run/media/mmcblk0p1/Emulation/storage/shadps4/games"]
theme = 0
geometry_w = 1280

[Settings]
consoleLanguage = 1 # english
consoleLanguage = 1
4 changes: 3 additions & 1 deletion functions/EmuScripts/emuDeckShadPS4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ ShadPS4_setEmulationFolder(){

ShadPS4_setLanguage(){
setMSG "Setting ShadPS4 Language"
changeLine "emulatorLanguage = " "emulatorLanguage = ${emulatorLanguage}" $ShadPS4_configFile
local language=$(locale | grep LANG | cut -d= -f2 | cut -d_ -f1)
#TODO: call this somewhere, and input the $language from somewhere (args?)
changeLine "emulatorLanguage = " "emulatorLanguage = ${language}" $ShadPS4_configFile
echo "ShadPS4 language '${emulatorLanguage}' configuration completed."
}

Expand Down

0 comments on commit 3b5200f

Please sign in to comment.