Skip to content

Commit d763857

Browse files
committed
v5.3
1 parent 9dfe849 commit d763857

9 files changed

Lines changed: 230 additions & 112 deletions

Form1.cs

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ public partial class mainForm : Form
2626
private Button btnNewVersion;
2727

2828
public string valueForSettings;
29+
public List<string> pendingModsForSettings { get; set; }
30+
2931
public string valueListModsForSettings;
3032
public bool? valueSigForSettings;
3133
public bool valueDlssOverlayForSettings;
@@ -48,6 +50,7 @@ public mainForm()
4850
null, sidebar, new object[] { true });
4951

5052
ScanGames(GetGameNames(), StorageHelper.GetGameDirectories().ToList());
53+
5154
}
5255

5356
public void ScanGames(List<string> gameNames = null, List<string> possiblePaths = null)
@@ -224,7 +227,7 @@ public static List<string> GetGameNames()
224227
"Sifu", "Six Days in Fallujah", "Smalland", "Marvel's Spider-Man Remastered", "Marvel's Spider-Man Miles Morales", "Stalker 2", "Jedi Survivor", "Star Wars Outlaws",
225228
"Steelrising", "Soulslinger Envoy of Death", "Soulstice", "South of Midnight", "SuicideSquadKTJL", "Tainted Grail Fall of Avalon","Test Drive Unlimited Solar Crown", "The Alters","The Ascent", "The Callisto Protocol", "The Casting Of Frank Stone", "The First Berserker: Khazan",
226229
"The Last of Us Part I", "The Last of Us Part II", "The Outlast Trials", "The Talos Principle 2", "The Witcher 3", "Thymesia", "Uncharted Legacy Of Thieves", "Unknown 9: Awakening", "Until Dawn", "Wanted Dead", "Space Marine 2", "Way Of The Hunter",
227-
"Wayfinder"
230+
"Wayfinder", "Wuchang: Fallen Feathers"
228231
};
229232
#endregion
230233
}
@@ -329,7 +332,7 @@ public async void loadForm(Type formType, string pathT = null, string selectedGa
329332
{
330333
if (homeForm == null)
331334
{
332-
homeForm = new formHome();
335+
homeForm = new formHome(this);
333336
homeForm.TopLevel = false;
334337
homeForm.Dock = DockStyle.Fill;
335338
this.mainPanel.Controls.Add(homeForm);
@@ -351,7 +354,7 @@ public async void loadForm(Type formType, string pathT = null, string selectedGa
351354

352355
if (homeSettings == null)
353356
{
354-
homeSettings = formSettings.Instance;
357+
homeSettings = new formSettings(this);
355358

356359
homeSettings.gpuNameSettings = GpuName;
357360

@@ -364,6 +367,12 @@ public async void loadForm(Type formType, string pathT = null, string selectedGa
364367
this.mainPanel.Controls.Add(homeSettings);
365368
this.mainPanel.Tag = homeSettings;
366369

370+
if (pendingModsForSettings != null && pendingModsForSettings.Any())
371+
{
372+
homeSettings.ClearListMods();
373+
homeSettings.AddItemlistMods(pendingModsForSettings, formHome.modsDefaultList);
374+
}
375+
367376
if (valueSigForSettings.HasValue)
368377
{
369378
homeSettings.EnableSigChecked = this.valueSigForSettings.Value; // Passes the bool from CheckBoxPreset in formLibrary to Enable Sig Over/Disable Sig Over in formSettings when it is opened for the first time
@@ -406,7 +415,7 @@ public async void loadForm(Type formType, string pathT = null, string selectedGa
406415

407416
if (homeLibrary == null)
408417
{
409-
homeLibrary = new formLibrary();
418+
homeLibrary = new formLibrary(this);
410419
homeLibrary.gpuName = GpuName;
411420
homeLibrary.TopLevel = false;
412421
homeLibrary.Dock = DockStyle.Fill;
@@ -425,7 +434,7 @@ public async void loadForm(Type formType, string pathT = null, string selectedGa
425434
{
426435
if (homeGuide == null)
427436
{
428-
homeGuide = new formGuide();
437+
homeGuide = new formGuide(this);
429438
homeGuide.TopLevel = false;
430439
homeGuide.Dock = DockStyle.Fill;
431440
this.mainPanel.Controls.Add(homeGuide);
@@ -499,7 +508,7 @@ public bool GuideExists(string gameName)
499508
{
500509
if (homeGuide == null || homeGuide.IsDisposed)
501510
{
502-
homeGuide = new formGuide();
511+
homeGuide = new formGuide(this);
503512
}
504513

505514
return homeGuide.ShowGameGuide(gameName);
@@ -508,7 +517,7 @@ public bool GuideExists(string gameName)
508517
public async Task<bool> CheckVersion()
509518
{
510519
System.Windows.Forms.Timer swingTimer;
511-
Version currentVersion = new Version("5.2");
520+
Version currentVersion = new Version("5.3");
512521
labelVersion.Text = $"v{currentVersion.ToString()}";
513522
labelVersion.Font = new Font("Segoe UI Semibold", 10, FontStyle.Bold);
514523

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# FSR3-Mod-Setup-Utility-Enhanced
2-
### Download the FSR3 Mod Setup Utility Enhanced [Here](https://sharemods.com/qzipe92zbpun/FSR3_v5.2.rar.html)
2+
### Download the FSR3 Mod Setup Utility Enhanced [Here](https://sharemods.com/4oeyxqij1nyr/FSR3_v5.3.rar.html)
33

44
### Repository FSR3 Mod Setup Utility Standard Version [Here](https://github.com/P4TOLINO06/FSR3.0-Mod-Setup-Utility)
55

formGuide.Designer.cs

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)