Triforce v0.3.6

This commit is contained in:
ruckus7382sfgsgdf
2026-11-14 00:33:23 -06:00
parent 2f1e350320
commit a02bcb21a9
106 changed files with 7683 additions and 1422 deletions

View File

@@ -264,6 +264,7 @@ public partial class MainWindow : Window
if (!string.IsNullOrEmpty(s.Out)) OutPath.Text = s.Out;
DlssTick.IsChecked = s.Dlss;
FsrTick.IsChecked = s.Fsr;
RenodxTick.IsChecked = s.Renodx;
if (s.Romfs != null && s.Exefs != null && Directory.Exists(s.Romfs) && File.Exists(System.IO.Path.Combine(s.Exefs, "main")))
{
romfs = s.Romfs;
@@ -287,6 +288,7 @@ public partial class MainWindow : Window
{
var s = new BuilderSettings { Out = OutPath.Text, Nup = romfs == null ? chosenNup : null, Romfs = romfs, Exefs = exefs,
Dlss = DlssTick.IsChecked == true, Fsr = FsrTick.IsChecked == true,
Renodx = RenodxTick.IsChecked == true,
PrepareLater = PrepareTick.IsChecked != true };
Directory.CreateDirectory(System.IO.Path.GetDirectoryName(SettingsPath)!);
File.WriteAllText(SettingsPath, System.Text.Json.JsonSerializer.Serialize(s));
@@ -703,6 +705,7 @@ public partial class MainWindow : Window
else return;
args.AddRange(new[] { "--out", OutPath.Text, "--language", lang.Code });
if (FsrTick.IsChecked == true) args.Add("--fsr"); // (an --update of the folder keeps it: make_game.py's mark)
if (RenodxTick.IsChecked == true) args.Add("--renodx"); // (the same: its shaders are fetched and compiled by the build)
prepareNow = PrepareTick.IsChecked == true;
Run(tools, ShaderStep.Args(args, prepareNow), dlss: DlssTick.IsChecked == true);
}