[PR #3181] [MERGED] Core: Update config files on startup #3289

Closed
opened 2026-02-27 22:03:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3181
Author: @StevenMiller123
Created: 7/2/2025
Status: Merged
Merged: 7/6/2025
Merged by: @georgemoralis

Base: mainHead: config-update


📝 Commits (8)

  • 1f6891f Organize settings and fix defaults
  • c162ec2 Set alternative settings based on defaults
  • 018819c Run save after loading to fill in missing config entries
  • 6543a0e Clang
  • 5b831e0 Only update config when necessary
  • 583df9a Clang
  • 0059ffe Merge remote-tracking branch 'upstream/main' into config-update
  • 59bce7c Clang

📊 Changes

1 file changed (+161 additions, -89 deletions)

View changed files

📝 src/common/config.cpp (+161 -89)

📄 Description

This PR cleans up the config code, unifies our default settings, and updates config files on each emulator boot to fill in missing fields.

This fixes a handful of strange default and backup settings, and addresses #397

Opening as a draft since I'm not setup to test GUI-side changes, like the additional defaults added to setDefaultValues()


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3181 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 7/2/2025 **Status:** ✅ Merged **Merged:** 7/6/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `config-update` --- ### 📝 Commits (8) - [`1f6891f`](https://github.com/shadps4-emu/shadPS4/commit/1f6891fc605f476e806e06fcc791c71e0ffaae98) Organize settings and fix defaults - [`c162ec2`](https://github.com/shadps4-emu/shadPS4/commit/c162ec2701c51d42a12c8616a707c3b8fc77892e) Set alternative settings based on defaults - [`018819c`](https://github.com/shadps4-emu/shadPS4/commit/018819caff42fc9286cb6285545b7e1601f696ce) Run save after loading to fill in missing config entries - [`6543a0e`](https://github.com/shadps4-emu/shadPS4/commit/6543a0ea0f82604bdecea7dda96b79174a5c26e3) Clang - [`5b831e0`](https://github.com/shadps4-emu/shadPS4/commit/5b831e0bf26611a281114fb2aa7f915cbdb1394c) Only update config when necessary - [`583df9a`](https://github.com/shadps4-emu/shadPS4/commit/583df9a35dec3b9cdc39772a37226bd67c60710c) Clang - [`0059ffe`](https://github.com/shadps4-emu/shadPS4/commit/0059ffe7a23e67d655bb28326c289c8d87ed673a) Merge remote-tracking branch 'upstream/main' into config-update - [`59bce7c`](https://github.com/shadps4-emu/shadPS4/commit/59bce7c9a1d6d99d52dc001696bcc0df35e08fbe) Clang ### 📊 Changes **1 file changed** (+161 additions, -89 deletions) <details> <summary>View changed files</summary> 📝 `src/common/config.cpp` (+161 -89) </details> ### 📄 Description This PR cleans up the config code, unifies our default settings, and updates config files on each emulator boot to fill in missing fields. This fixes a handful of strange default and backup settings, and addresses #397 Opening as a draft since I'm not setup to test GUI-side changes, like the additional defaults added to `setDefaultValues()` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:09 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3289
No description provided.