mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-19 16:20:01 -04:00
Triforce v0.3.7
Setup's Convert saves page finds NX2navi saves by itself. Nothing else changed since v0.3.6's main.
This commit is contained in:
@@ -80,6 +80,22 @@ static class Program
|
||||
Log("convert-saves " + args[cv + 1] + " -> " + args[cv + 2] + ", backup " + (b ?? "none"));
|
||||
return 0;
|
||||
}
|
||||
// (testing: --find-saves writes every save of the game the Convert saves page would list to setup.log; --find-saves <folder>
|
||||
// the save Choose a folder would take from that folder)
|
||||
var fs = Array.IndexOf(args, "--find-saves");
|
||||
if (fs >= 0)
|
||||
{
|
||||
if (fs + 1 < args.Length && !args[fs + 1].StartsWith("--"))
|
||||
{
|
||||
var set = Saves.FindIn(args[fs + 1]);
|
||||
Log("find-saves " + args[fs + 1] + ": " + (set ?? "none"));
|
||||
return set != null ? 0 : 1;
|
||||
}
|
||||
var sets = Saves.FindEmulatorSaves();
|
||||
foreach (var set in sets) Log("find-saves: " + set.Name + ", " + set.Slots + " slot(s), " + set.Folder);
|
||||
Log("find-saves: " + sets.Count + " found");
|
||||
return 0;
|
||||
}
|
||||
// (testing: --check-game <.nup | exefs folder> writes the version check's answer to setup.log)
|
||||
var cg = Array.IndexOf(args, "--check-game");
|
||||
if (cg >= 0 && cg + 1 < args.Length)
|
||||
|
||||
Reference in New Issue
Block a user