wrye-bash / wrye-bash

A swiss army knife for modding Bethesda games.
https://wrye-bash.github.io
GNU General Public License v3.0
479 stars 81 forks source link

Show a warning when switching games via Settings #399

Closed RavenMind closed 5 years ago

RavenMind commented 6 years ago

Ref threads here, and here.

Possible related issue: Switching games more than twice causes WB to close/reopen only to the last selected game. (See first "Noticed Behavior" below.)

Setup:

Repro:

  1. Launch Wrye Bash via Wrye Bash Launcher.pyw, Wrye Bash Debug.bat, or shortcut.
  2. Click Settings "gear" icon.
  3. Mouse over Game, choose any other game.
  4. WB closes, then reopens to selected game. (Triggers Status Bar launcher issue.)
  5. Repeat 2-4. (game doesn't matter)
  6. Repeat 2-4 once more, triggers first noticed behavior)

Noticed Behaviors:

Utumno commented 6 years ago

@RavenMind

Switching games more than twice does not work. Wrye Bash will close/reopen to the last selected game.

Had different behavior - started for Fallout4 that's not installed in registry then naturally disappeared but switching games worked. More info needed on this one

Status bar apps are incorrect. E.g., only shows apps added via INI or Apps folder for the game WB originally launched for.

Nothing we can do - Bash launches the same install just redirecting the game via -o cli argument

xEdit & xLODGen are showing "TES4" instead of "SSE"/"FO4", and when launched, operate on Oblivion not SSE or FO4.

That needs investigating

Command line window does not reappear after switching games, when originally launched in Debug mode.

Does this affect debug functionality (ie the Dump) ?


Quick tests above performed on utumno-wip (that is with rewritten Restart) - @RavenMind could you check that branch ?

@D4id4los - could you take this up - again boot/restart related, but should be much easier than the rest.

It's also related to #250, Apps/game management

Infernio commented 5 years ago

How relevant this issue at this point?

Switching games more than twice does not work. Wrye Bash will close/reopen to the last selected game.

Can't reproduce. Tried switching like this: FNV -> FO3 -> Enderal -> FNV -> Skyrim -> SkyrimSE -> FNV. Worked fine.

Status bar apps are incorrect. E.g., only shows apps added via INI or Apps folder for the game WB originally launched for. LOOT, which is included in the ..\Skyrim Special Edition\Mopy\Apps directory, (and FO4), does not appear.

Like Utumno said, this is expected. I'll add a dialogue warning about that.

xEdit & xLODGen are showing "TES4" instead of "SSE"/"FO4", and when launched, operate on Oblivion not SSE or FO4.

Can't reproduce. Launched in FNV, where the xEdit link launched FNVEdit, then switched to SSE, where the xEdit link launched SSEEdit.

Command line window does not reappear after switching games, when originally launched in Debug mode.

Pretty sure this no longer applies. I get no command line windows when I run the installer debug versions.

Infernio commented 5 years ago

See 2ce09f3f32baeaa714b907882cace3814b691c6b - @Utumno is Link.Frame fine there? I couldn't think of anything else that would work as parent, IIRC None would crash on systems that can't do vista dialogs.

Arthmoor commented 5 years ago

I've never been able to reproduce any of this behavior. I had heard about it before but didn't realize there was an open issue for it. Switching games has been working perfectly fine for me with no noticeable effects.

Infernio commented 5 years ago

The status bar launchers definitely don't update. I have no files in G:\steam\steamapps\common\Fallout New Vegas\Mopy\Apps, but 6 shortcuts in G:\steam\steamapps\common\Skyrim Special Edition\Mopy\Apps. If I launch Wrye Bash - FalloutNV from the start menu, no launchers appear (as expected), and when I switch to SSE, it still has no launchers. This is expected behavior too, since we just relaunch the same installation with a different -o parameter.

Everything else seems to have been fixed somewhere along the way, I guess.

Utumno commented 5 years ago

Thanks for looking at this - well real fix is ... #250. Moving to 308 we should revisit the whole wrye Bash install. The idea of one install per game does not make sense - we should install in a central location and create profiles per game. Main thing that has to change is exactly the App folder - it should have subfolders per game and top level common for all games

This will simplify the installer also - not an accident all those recent issues with game select etc

Infernio commented 5 years ago

Should I keep the commit above for 307, or toss it entirely in preference of (eventual) profiles?

Utumno commented 5 years ago

Keep it I would say and we can close this in favor of 250