RynthCore as of 2026-10-05 (internal 0d3c210): dashboard slide-outs on the left (Ranges with the selected monster, Files, Patrol), fixed draggable vital bar, click an item to add a loot rule, loot rules by WCID, chat and loot editor typing no longer leaks into the game, title-bar text size, plugin API v76 (close container), plugin exception traces, plates drawn under the game UI (in testing), launcher account passwords encrypted with Windows DPAPI (in testing), release 2026.10.5.1

This commit is contained in:
Tom Bohar 2026-10-05 08:03:08 -04:00
commit c3e15480e5
50 changed files with 3315 additions and 490 deletions

View file

@ -27,9 +27,11 @@ internal partial class AccountProfileDialog : Window
AccountBox.Text = profile.AccountName;
AliasBox.Text = profile.Alias;
UserPrefsPathBox.Text = profile.UserPrefsPath;
PasswordHintText.Text = string.IsNullOrEmpty(profile.Password)
? "No password is saved for this profile yet."
: "A password is already saved for this profile. It stays hidden unless you replace or clear it.";
PasswordHintText.Text = profile.PasswordNeedsReentry
? "Password needs re-entering: the saved one can't be read on this Windows user (settings copied from another user or PC?). Type it again to launch this account."
: !profile.HasSavedPassword
? "No password is saved for this profile yet."
: "A password is saved for this profile, encrypted for this Windows user. It stays hidden unless you replace or clear it.";
SaveButton.Click += (_, _) => SaveAndClose();
CancelButton.Click += (_, _) => Close(false);
@ -116,12 +118,14 @@ internal partial class AccountProfileDialog : Window
_profile.AccountName = AccountBox.Text.Trim();
if (ClearPasswordCheckBox.IsChecked == true)
{
_profile.Password = string.Empty;
_profile.ClearPassword();
}
else if (!string.IsNullOrEmpty(PasswordBox.Text))
{
_profile.Password = PasswordBox.Text;
// Encrypted at once (DPAPI, this Windows user); the plain text isn't kept on the profile.
_profile.SetPassword(PasswordBox.Text);
}
PasswordBox.Text = string.Empty;
_profile.Alias = AliasBox.Text?.Trim() ?? string.Empty;
_profile.UserPrefsPath = UserPrefsPathBox.Text?.Trim() ?? string.Empty;

View file

@ -199,7 +199,7 @@
<Grid RowDefinitions="Auto,Auto,*,Auto">
<TextBlock Text="Account Profiles" FontSize="16" FontWeight="SemiBold" Foreground="#26C1A6" />
<TextBlock Grid.Row="1"
Text="Passwords stay persisted in settings."
Text="Passwords are saved encrypted for this Windows user."
TextWrapping="Wrap"
Foreground="#9AA8B3"
Margin="0,8,0,0" />

View file

@ -215,6 +215,17 @@ internal partial class MainWindow : Window
LauncherDiag.Info("SETTINGS: " + migration);
try { AppendActivity("Settings: " + migration); } catch { }
}
// Password notes carry counts and account names only, never a password.
if (AppSettingsStore.LastPasswordMigrationNote is string passwordMigration)
{
LauncherDiag.Info("SETTINGS: " + passwordMigration);
try { AppendActivity("Settings: " + passwordMigration); } catch { }
}
if (AppSettingsStore.LastPasswordProblemNote is string passwordProblem)
{
LauncherDiag.Info("SETTINGS: " + passwordProblem);
try { AppendActivity("Settings: " + passwordProblem); } catch { }
}
_settings.ServerProfiles ??= [];
_settings.AccountProfiles ??= [];
_settings.CheckedLaunchAccountProfileIds ??= [];
@ -3247,12 +3258,8 @@ internal partial class MainWindow : Window
{
try
{
string args = _launchArgumentBuilder.BuildArguments(server, account);
string password = account.Password ?? string.Empty;
if (!string.IsNullOrEmpty(password))
args = args.Replace(password, "********", StringComparison.Ordinal);
return args;
// Never decrypts: a saved password shows as the mask.
return _launchArgumentBuilder.BuildMaskedArguments(server, account);
}
catch (Exception ex)
{
@ -4338,7 +4345,8 @@ internal partial class MainWindow : Window
{
int digits = Math.Max(2, _settings.AccountProfiles.Count.ToString().Length);
return _settings.AccountProfiles
.Select((account, index) => $"{FormatOrdinal(index, digits)} {account.DisplayName}")
.Select((account, index) => $"{FormatOrdinal(index, digits)} {account.DisplayName}" +
(account.PasswordNeedsReentry ? " [password needs re-entering]" : string.Empty))
.ToArray();
}

View file

@ -30,6 +30,7 @@
<ItemGroup>
<Compile Include="..\RynthCore.App\LaunchServerProfile.cs" Link="Shared\LaunchServerProfile.cs" />
<Compile Include="..\RynthCore.App\LaunchAccountProfile.cs" Link="Shared\LaunchAccountProfile.cs" />
<Compile Include="..\RynthCore.App\AccountPasswordProtection.cs" Link="Shared\AccountPasswordProtection.cs" />
<Compile Include="..\RynthCore.App\InjectionMode.cs" Link="Shared\InjectionMode.cs" />
<Compile Include="..\RynthCore.App\DecalLocator.cs" Link="Shared\DecalLocator.cs" />
<Compile Include="..\RynthCore.App\DecalBridgeRegistration.cs" Link="Shared\DecalBridgeRegistration.cs" />