Project

General

Profile

Actions

Emulator Issues #9389

closed

[Windows] Re-installing Dolphin doesn't delete old GameSettings

Added by JosJuice about 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Windows
Issue type:
Bug
Milestone:
Current
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
Yes
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What's the problem? Describe what went wrong.

When installing Dolphin on a computer that already has an old Dolphin install, the GameSettings directory gets copied to the install directory, with new files overwriting old files. However, old files that don't have files with equivalent names in the new version are left untouched instead of being deleted. If this problem will be present in 5.0, upgrading from 4.0 to 5.0 using the installer will leave around about 1500 files that take up unnecessary space, with some of them containing outdated settings that will override the correct ones.

The problem also applies to other directories like Themes. While this also wastes a little bit of space, it won't have an effect on running Dolphin, so it's not as much as a problem. It does however mean that the Clean themes readme file that has been deleted from the development versions won't be deleted.

I don't know if there are similar problems on operating systems other than Windows. If anyone is aware of one, please submit it as a separate issue report, because the fix isn't going to be the same as for Windows.

What steps will reproduce the problem?

First, install Dolphin 4.0.2 x64 using the installer available on dolphin-emu.org. Then, follow the instructions in Readme.md to create an installer of a development build, and run that installer. Once the install is complete, check the Sys/GameSettings/ directory in the install directory.

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

I used 4.0-8901 to test. I haven't tested any older versions, but the installer hasn't been edited since 4.0.

What are your PC specifications? (CPU, GPU, Operating System, more)

Windows 7, NSIS 2.50

Actions

Also available in: Atom PDF