mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-19 16:20:01 -04:00
Triforce v0.3.6
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user