mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-29 04:18:49 -04:00
Triforce v0.8.5
A Randomizer page in the launcher, a new title screen with Mods and Save Select tabs, scaling changes applied in game, the Jabu-Jabu bars fixed, renderer frame-time work and the brightness-flash fix, and fixes from the 0.8.4 reports.
This commit is contained in:
@@ -101,9 +101,11 @@ public static class BuildProtocol
|
||||
var d = new Dictionary<string, double>();
|
||||
foreach (var part in text.Split(", "))
|
||||
{
|
||||
var m = Regex.Match(part.Trim(), @"^(.*\S)\s+(\d+(?::\d{1,2}){1,2})$");
|
||||
// ((Triforce, 11-26) digits 0-9, at most 9 of them in the first part: "x 99999999999:00" threw OverflowException in the
|
||||
// build's output reader, which ended the launcher)
|
||||
var m = Regex.Match(part.Trim(), @"^(.*\S)\s+([0-9]{1,9}(?::[0-9]{1,2}){1,2})$");
|
||||
if (!m.Success) continue;
|
||||
var secs = m.Groups[2].Value.Split(':').Aggregate(0.0, (acc, x) => acc * 60 + int.Parse(x));
|
||||
var secs = m.Groups[2].Value.Split(':').Aggregate(0.0, (acc, x) => acc * 60 + int.Parse(x, System.Globalization.CultureInfo.InvariantCulture));
|
||||
d[m.Groups[1].Value] = secs;
|
||||
}
|
||||
return d;
|
||||
|
||||
Reference in New Issue
Block a user