New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report - Other: Switching profiles does not update save game directory #4956
Comments
I can't reproduce the issue. In your example you say you switch from SSE to Fallout NV - but you're thereby switching to the Fallout NV profile you used last with NV. The ini file doesn't have to be updated at that point because it would have had to be wrong before. I don't think I'm explaining this well. Even when you're managing SSE in Vortex you should be able to start Fallout NV (e.g. through steam) and it should play right. The fact that you're managing SSE shouldn't matter for Fallout NV. Switching to/from SSE shouldn't affect Fallout NV. So there are two possibilities here |
Just make a mark on the wall then. |
There are no hardlinks involved with the savegames. The important part of my post is this: When you switch profiles within a game (e.g. from one New Vegas profile to another New Vegas profiles), Vortex should deploy automatically! But if Vortex does deploy on profile switch and does update the parameter then the only remaining explanation is that the ini was changed outside Vortex. Whether you did it yourself or through a different tool (bethini, wrye bash, MO, the game launcher, ...) doesn't matter. |
I have this in Skyrim Vr |
Yeah, SkrimVR we were writing to the wrong savegame. Not sure why, whether this was changed in a patch or whether I were completely blind in testing. |
Just tested in v1.0.0, steps to replicate bug, using Skyrim as test-setup: Meaning in step 4, the file that does NOT include "sLocalPathSave" is now used as ini-file for the game and you'll either have no save-games at all or you'll have save-games for the wrong profile. If you now Deploy, the ini-file in Documents does get correct "sLocalPathSave", but since none of the changes ever makes it back to %appdata%\vortex\skyrim\profiles(profile_specifc)\ next time you switches between games or between profile and back again, you'll have the wrong save-games until you Deploy. Note, tested with Documents under OneDrive, in case this has any effects. |
Thanks for testing this. Results sure match the effects I see.
…On Tue, Jul 30, 2019 at 5:40 AM Rattledagger ***@***.***> wrote:
Just tested in v1.0.0, steps to replicate bug, using Skyrim as test-setup:
1: Create a new profile using "This profile has its own game settings".
2: Switch to this new profile, check
%appdata%\vortex\skyrim\profiles(profile_specific)\Skyrim.ini and see this
file does not have any "sLocalPathSave" as it should have. The file
"…\Documents\My Games\Skyrim\Skyrim.ini" on the other hand does include
"sLocalPathSave" as it should.
3: Regardless of what you do, example changing resolution, enabling
sub-titles in-game etc., neither Skyrim.ini or SkyrimPrefs.ini under
%appdata%\vortex\skyrim\profiles(profile_specific)\ is ever updated.
4: Every time you switches to this new profile, Skyrim.ini and
SkyrimPrefs.ini from %appdata%\vortex\skyrim\profiles(profile_specific)\ is
copied over to …\Documents\…
Meaning in step 4, the file that does NOT include "sLocalPathSave" is now
used as ini-file for the game and you'll either have no save-games at all
or you'll have save-games for the wrong profile.
If you now Deploy, the ini-file in Documents does get correct
"sLocalPathSave", but since none of the changes ever makes it back to
%appdata%\vortex\skyrim\profiles(profile_specifc)\ next time you switches
between games or between profile and back again, you'll have the wrong
save-games until you Deploy.
Note, tested with Documents under OneDrive, in case this has any effects.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4956?email_source=notifications&email_token=AAFIUGH7Z4ZZGIFLLNSGKHTQCAZDHA5CNFSM4H3FBVYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3D2QLY#issuecomment-516401199>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFIUGCWLMLJOOVPJNLECSTQCAZDHANCNFSM4H3FBVYA>
.
--
Robert Mitchell <rmm2013@gmail.com>
|
The steps you described are the intended behavior. The ini files in profiles are supposed to reflect the ini edits you (the user) made to the ini file excluding the ini settings Vortex does based on its configuration. The issue here is that the settings are tied to the deploy step and the deploy doesn't get run after you switched to the game. At some point I guess we thought it was a smart move to skip the deployment for performance reasons if no mods had been changed and forgot that this also meant ini settings wouldn't be updated. EDIT: Wait, how - So where does the ini file get reset to a version with sLocalPathSave set to default when the profile has local save games enabled? |
Doing a few tests, this actually seems to be correct, so no idea why got a different result before. The Vortex.log also includes a few lines like Sun, 08 Sep 2019 12:25:17 GMT - debug: apply savegame settings filePath=C:\Users\XXX\Documents\My Games\Skyrim\Skyrim.ini, gameId=skyrim
This very clearly isn't correct, and a quick look in Vortex.log shows: Sun, 08 Sep 2019 12:08:47 GMT - info: activating game gameId=skyrim With switching between games where's no accompanying "apply savegame settings", as it should have been.
Ok, so the part with Vortex-specific settings not working as it should is solved by Deploy. But, this doesn't fix the other problem, the fact the ini-files does not reflect the edits you've done in-game or manually to the files. Taking a quick look on the log, Vortex on Deploy doesn't seem to do anything at all to the ini-files, except update save-path and while it isn't mentioned it does seem to copy contents of *.ini to *.ini.base. On switching between profiles you do have the logic: Sun, 08 Sep 2019 12:51:40 GMT - debug: refresh profile local_game_settings=true, local_saves=true, gameId=skyrim, id=9bC8ddX-F, lastActivated=1567946446388, enabled=true, enabled=true, enabled=true, enabled=true, enabled=true, enabled=true, name=just_for_testing At least to me this seems very strange and broken logic, since for starters the actual files are called Skyrim.ini and SkyrimPrefs.ini, the files you've just edited by using the game launcher, in-game, or by manually editing the files. Very confusedly Vortex doesn't use these actual files, but instead copies two different files called *.ini.base, two files that does NOT include the edits you've done since last time you Deployed. As an added bonus, the files that does not include the latest edits are copied to the profile-independent part by Vortex, while some profile-specific files are copied in the other direction. So while you do keep the save-path for switching between profiles, where's still at least 3 bugs here: Also see #5226 |
Vortex Version: 0.18.12 Reported by: pndragon65 |
Vortex Version: 1.0.0 Reported by: Flyingunicorn47 |
Vortex Version: 1.1.5 Reported by: dizietemblesssma |
First of all: Forget about .ini.baked and .ini.base, these are Vortex internal files. Don't delete them, don't edit them. They are necessary for Vortex to operate correctly but you're not supposed to do anything with them. You use the regular .ini just like you would if you were modding the game without vortex. For the internas, .ini.base is effectively a copy of the ini file containing your custom settings but none of the things vortex put in but this file is only getting updated when deployment happens, automatically or manually. That's why we copy .ini.base to your profile: we "backup" your settings, we don't need to backup the stuff Vortex adds. The "profile-independent ini-files" are basically the inis to be used when not using a profile with profile-local settings. So the algorithm Vortex uses is perfectly sensible but surprising because during early development there was a change to how profiles work and the ini handling wasn't updated accordingly. Initially we wanted to disable the profile if you switch away from it. So when you switch from, say, Skyrim to Witcher 3, it would effectively revert the Skyrim game directory to vanilla and reset everything (including ini files) to the state without Vortex. We moved away from that, leaving the in its last modded state except for the ini files. As far as I can tell the issue was introduced here: Nexus-Mods/extension-local-gamesettings@88cfd41 It should be fixed in this commit: Nexus-Mods/extension-local-gamesettings@519837a And then I changed the behavior in general to be more consistent, meaning that Vortex will no longer swap the ini files when switching to a different game like I described in my earlier comment: I think this will fix this issue but I'll leave it open until you had time to test. |
Is it at all useful to note that while I stll have the issue I reported above, I also found that while changing langauge in steam to test an MCM translation file, I then found no saves present and had to quit, deploy in Vortex and restart SkyrimSE? |
Testing v1.1.8, games tested original Skyrim and SSE. The good, switching between profiles for same game seems to keep all changes to settings, at least if "game settings" == "yes" (not tested with choice "no"). More good, if switches from game1, profile1 to game2 and back to game1 but profile2, everything is ok in game1, including using correct save-game-location. The bad, if switches from game1 to game2, plays game1 and in-game edit some of game1 settings, then switches back to game1 all changes to settings are replaced with the settings from before switched away from game1. The ugly, if switches from game1, profile1, to game2 and back to game1, profile1, the save-game-location is missing, until you hit "Deploy". |
Thanks for the testing, I'll look into these. |
@Rattledagger 1.1.9 is out, could you test again please? |
First result, starting with completely vanilla state in original Skyrim and SSE, and starting with completely new %appdata%\vortex, after first adding original Skyrim followed by SSE I got this error-message: |
More tests with v1.1.9, it seems the "bad" and the "ugly" from 3 days ago is finally working, with save-game path surviving switching between games, and changes made while running another game is still kept then switches back to the other game. So, unless has overlooked something, the multiple bugs with ini-files seems to have been fixed, with the possible exception of the new warning-message that seems to pop-up for each newly added game. |
Ok, the exception you got is fixed in 1.1.10 so I'm assuming this is finally fixed. Thank you for your patience and the testing! |
Vortex Version: 0.18.9
Memory: 31.92 GB
System: win32 x64 (10.0.17763)
This happens often enough I figure I better report it.
On the support forum, I always tell people to manually Deploy after switching profiles.
I had a Skyrim SE profile active, and switched to Fallout NV.
Vortex Saves page shows the correct list of saves.
Start Fallout NV. The list of saves is not correct. It has access to either Default or Global.
Exiting and using Deploy fixes it.
Reported by: rmm200
The text was updated successfully, but these errors were encountered: