diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-11 15:55:55 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-11 15:55:55 -0500 |
| commit | 7bac34cf083fc0a0036b2df210e4943a0f7707be (patch) | |
| tree | 5b4e19a1b3c35d53cd182aab9377e5d9860cbb1d /libs/basic_games_native/src/basicgamesproxy.cpp | |
| parent | eefa488da7292876f93e952af09638b8cca81ef2 (diff) | |
Fix VFS rename failing for backing and mod files
xEdit (and similar tools) rename game files to create backups before
saving (e.g. DLCHorseArmor.esp -> TES4Edit Backups/...backup...).
OverwriteManager::rename() only searches staging and overwrite
directories, so renames of backing (game) or mod files failed with
EACCES since those files live in the real game/mod directories.
Now when OverwriteManager::rename() can't find the source file, the
VFS copies it to staging at the destination path via COW instead of
failing. The file disappears from its old path and appears at the new
path in the virtual view, without modifying the real game/mod dirs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'libs/basic_games_native/src/basicgamesproxy.cpp')
0 files changed, 0 insertions, 0 deletions
