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:
ruckus7382sfgsgdf
2026-11-28 10:54:41 -06:00
parent 2df08c751e
commit b527e29adb
203 changed files with 18821 additions and 2051 deletions

View File

@@ -102,7 +102,7 @@ public sealed class Release
using var response = await http.GetAsync(ApiUrl(ctx), both.Token).ConfigureAwait(false);
if (response.StatusCode == HttpStatusCode.NotFound) throw new NoReleaseException();
response.EnsureSuccessStatusCode();
var r = Parse(await response.Content.ReadAsStringAsync(both.Token).ConfigureAwait(false));
var r = Parse(await Downloader.TextAsync(response.Content, 4 << 20, both.Token).ConfigureAwait(false));
if (r.Tag.Length == 0) throw new NoReleaseException(); // (an empty list: nothing published)
return r;
}
@@ -143,7 +143,8 @@ public static class ReleaseNotes
/// <summary>Markdown out: [text](link) -> text, `code` -> code, ** and __ gone, &amp;amp; and the like read.</summary>
public static string Plain(string s)
{
s = Regex.Replace(s, @"\[([^\]]*)\]\([^)]*\)", "$1");
// ((Triforce, 11-26) without backtracking: a long line of "[" took the regex quadratic time)
s = Regex.Replace(s, @"\[([^\]]*)\]\([^)]*\)", "$1", RegexOptions.NonBacktracking);
s = s.Replace("**", "").Replace("__", "").Replace("`", "");
s = WebUtility.HtmlDecode(s);
return Regex.Replace(s, @"\s+", " ").Trim();