mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #3376] [MERGED] Game specific configs #3422
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3422
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3376
Author: @kalaposfos13
Created: 8/3/2025
Status: ✅ Merged
Merged: 9/4/2025
Merged by: @georgemoralis
Base:
main← Head:game-specific-configs📝 Commits (10+)
ab335a9pocf6cbd76Set up variable game specific variable copies384d9b9Set up getters to return the game specific option if it existsc79264aAvoid exceptions if a value isn't in the config7cfc49cMake sure the custom configs folder exists85e6297Merge remote-tracking branch 'origin/main' into game-specific-configscae958cUpdate + review comments + rewritef545e1eThe loathsome clang-formatter5a38d80Merge remote-tracking branch 'origin/main' into game-specific-configsa6040f0Specify which getter/setter is used everywhere📊 Changes
5 files changed (+393 additions, -328 deletions)
View changed files
📝
src/common/config.cpp(+386 -327)📝
src/common/config.h(+1 -1)📝
src/common/path_util.cpp(+1 -0)📝
src/common/path_util.h(+2 -0)📝
src/emulator.cpp(+3 -0)📄 Description
With this PR, you can create a new config file in userdir/configs/ named CUSAXXXXX.toml, where CUSAXXXXX is the ID of the game you're making the config for, and you can put any option in it that you'd like overwritten for that game only. For example, if you want to have readbacks turned on for every game, but have DMA only for SotC, you can turn on readbacks in the main config (which is still userdir/config.toml), have DMA turned off there, then make the userdir/custom_configs/CUSA08809.toml file and put the following in it:
If you have a game running, and update your settings from the GUI by opening settings and clicking save for example, these game-specific changes won't override your main config, however you can't reload them either by doing that.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.