diff --git a/Cargo.lock b/Cargo.lock index ea09d4c..bdeeaa3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -648,7 +648,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "victory" -version = "0.8.4" +version = "0.8.3" dependencies = [ "anyhow", "blake3", @@ -668,7 +668,7 @@ dependencies = [ [[package]] name = "victory-core" -version = "0.8.4" +version = "0.8.3" dependencies = [ "anyhow", "serde", @@ -680,11 +680,11 @@ dependencies = [ [[package]] name = "victory-formats" -version = "0.8.4" +version = "0.8.3" [[package]] name = "victory-game" -version = "0.8.4" +version = "0.8.3" dependencies = [ "memchr", "zlib-rs", @@ -692,7 +692,7 @@ dependencies = [ [[package]] name = "victory-gpu" -version = "0.8.4" +version = "0.8.3" dependencies = [ "anyhow", "blake3", @@ -711,7 +711,7 @@ dependencies = [ [[package]] name = "victory-hle" -version = "0.8.4" +version = "0.8.3" dependencies = [ "blake3", "opus-pure", @@ -730,7 +730,7 @@ dependencies = [ [[package]] name = "victory-loader" -version = "0.8.4" +version = "0.8.3" dependencies = [ "anyhow", "blake3", @@ -745,7 +745,7 @@ dependencies = [ [[package]] name = "victory-pe" -version = "0.8.4" +version = "0.8.3" dependencies = [ "object", "thiserror", @@ -753,7 +753,7 @@ dependencies = [ [[package]] name = "victory-pipeline" -version = "0.8.4" +version = "0.8.3" dependencies = [ "anyhow", "blake3", @@ -764,7 +764,7 @@ dependencies = [ [[package]] name = "victory-profile" -version = "0.8.4" +version = "0.8.3" dependencies = [ "blake3", "serde", @@ -775,7 +775,7 @@ dependencies = [ [[package]] name = "victory-shader" -version = "0.8.4" +version = "0.8.3" dependencies = [ "thiserror", "victory-profile", @@ -930,7 +930,7 @@ checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef" [[package]] name = "xtask" -version = "0.8.4" +version = "0.8.3" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 479b02d..2456469 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ members = ["crates/*", "apps/*", "xtask"] exclude = ["tests/fixtures"] [workspace.package] -version = "0.8.4" +version = "0.8.3" edition = "2024" rust-version = "1.88" license = "GPL-3.0-or-later" diff --git a/README.md b/README.md index 3e5a080..9199a99 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ No tools and no build: about 10 minutes. 8. **The "Getting ready" window** comes up before the first start and after updates: it translates the program's shaders (a few minutes, once per version of foxhound and set of switches) and compiles the pipelines earlier runs used (seconds; minutes after an update of foxhound or of the graphics driver). With a title profile that lists - the program's pipelines (0.8.4's does), the first time compiles all of them ahead: many minutes, once (16 minutes + the program's pipelines (0.8.3.5's does), the first time compiles all of them ahead: many minutes, once (16 minutes for 88,604 pipelines on the PC it was measured on), those drawn first first. **Let it finish.** It has no close box; "Cancel" asks first and keeps what is done. During pipeline compiling, **"Skip: compile while playing"** starts at once, with a slow picture in new scenes at first. @@ -84,11 +84,11 @@ No tools and no build: about 10 minutes. **Without a pipeline list, the very first run is slow, once.** A scene shown for the first time on your PC compiles its pipelines while you play: for about a minute the picture runs at a few frames a second and objects are missing. Every pipeline is written down; from the next start on, the "Getting ready" window compiles them ahead. A title -profile with a pipeline list (0.8.4's) has them compiled before the first start instead. +profile with a pipeline list (0.8.3.5's) has them compiled before the first start instead. ## Recommended settings -What the launcher's **Recommended settings** button picks, by card memory and RAM (version 0.8.4). **Only one PC +What the launcher's **Recommended settings** button picks, by card memory and RAM (version 0.8.3.5). **Only one PC was measured: a 12 GB NVIDIA RTX card with 32 GB of RAM, with the title profile loaded.** Every other row follows the button's rules and how much memory the program uses, not a test on that hardware; testers' reports are welcome (see *Reporting a problem*). Every row assumes the title profile: without it, the Series X profile runs the @@ -138,12 +138,12 @@ start*, step 5). The same profile and memory rules apply. No AMD card has been t - Close other programs while playing. - A source build started with `scripts/play-foxhound.ps1` gets the saver with `-More`. -**0.8.4 goes back to 0.8.2's defaults** where 0.8.3 changed them without a comparison on more than one PC. Each +**0.8.3.5 goes back to 0.8.2's defaults** where 0.8.3 changed them without a comparison on more than one PC. Each 0.8.3 value can still be set in **Further switches** (one per line): -| 0.8.4, as 0.8.2 | 0.8.3's value | What it does | +| 0.8.3.5, as 0.8.2 | 0.8.3's value | What it does | |---|---|---| -| `KEEP_SHOWN=1` | `KEEP_SHOWN=2` | `2`: a texture slot that gets a new texture shows the old one until the new one is up. 0.8.4's `2` does so only when both are read the same way, so wrong colours no longer show while a texture loads | +| `KEEP_SHOWN=1` | `KEEP_SHOWN=2` | `2`: a texture slot that gets a new texture shows the old one until the new one is up. 0.8.3.5's `2` does so only when both are read the same way, so wrong colours no longer show while a texture loads | | `NEUTRAL_ALPHA=128` | `NEUTRAL_ALPHA=127` | the alpha of the stand-in shown before a texture is up | | `QUEUE_SNAPSHOT=0` | `QUEUE_SNAPSHOT=1` | the texture pass works through a copy of its queue | | `TEXTURE_STAGE_MS=16` | `TEXTURE_STAGE_MS=24` | the texture pass's time a frame (the 8 ms cap of `TEXSPK_PASS_MS` bound in most frames anyway) | @@ -203,7 +203,7 @@ releases hold none (see [docs/asset-policy.md](docs/asset-policy.md)); a profile The profile row then says **Loaded** and the folder it came from. It also says when the table file is missing, when another copy was found and not used, and when the profile was made for another copy of the program's executable (then its shader fixes are used and its patches are not). -- **The profile handed out with 0.8.4** adds the interface canvas: at 1440p the HUD and menus keep the console's size. +- **The profile handed out with 0.8.3.5** adds the interface canvas: at 1440p the HUD and menus keep the console's size. The 0.8.3 profile still works, with the HUD and menus drawn larger at 1440p; the profile row says so. - **Without one** the layer runs, with less, and the launcher greys what needs a profile and names it at Play: - the Series X profile runs the program's own 4K output: no 1440p or 3440x1440, no DLSS or FSR, no frame @@ -236,9 +236,9 @@ releases hold none (see [docs/asset-policy.md](docs/asset-policy.md)); a profile and skips the Windows 10 question; if it still asks, set `VICTORY_D3D12_CHECK=0` in **Further switches**. Compiled pipelines are kept between starts. The layer's own small shaders are precompiled, so Proton's shader compiler is not needed (builds before 0.8.3 needed `d3dcompiler_47` in the prefix). -- **The HUD and menus are too large at 1440p.** Load the title profile handed out with 0.8.4 (see *Title +- **The HUD and menus are too large at 1440p.** Load the title profile handed out with 0.8.3.5 (see *Title profiles*). With it the log says `interface on the console's 3840x2160 canvas`. -- **Under 1 fps for minutes in a new scene.** 0.8.3 let every draw wait for its pipeline; 0.8.4 waits as 0.8.2 did. +- **Under 1 fps for minutes in a new scene.** 0.8.3 let every draw wait for its pipeline; 0.8.3.5 waits as 0.8.2 did. While pipelines are being made, the frame-rate counter shows `MAKING` and how many. - **I closed the "Getting ready" window (or pressed Cancel).** Nothing is lost: what was done is kept and the rest is done at the next start. "Skip" starts at once and compiles pipelines while you play (slow at first in new scenes). @@ -303,7 +303,7 @@ releases hold none (see [docs/asset-policy.md](docs/asset-policy.md)); a profile ### Switches Every `VICTORY_...` switch is described in a comment where the code reads it. The launcher's full set is in -`scripts/play-foxhound.ps1`; these are the ones foxhound added or changed. Those 0.8.3 and 0.8.4 added or changed, +`scripts/play-foxhound.ps1`; these are the ones foxhound added or changed. Those 0.8.3 and 0.8.3.5 added or changed, the translator's among them, are in [docs/commands.md](docs/commands.md): | Switch | Launcher | What | diff --git a/docs/commands.md b/docs/commands.md index b0d46fd..95d24fb 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -137,9 +137,9 @@ The on/off switches below (`...=1`) are off when unset or set to `0`. | `VICTORY_AUDIO_CAPTURE=` | records what the program plays (our process only) | | `VICTORY_XMA_DUMP=` | saves the first 32 XMA voices' context and input | -## Switches added or changed in 0.8.3 and 0.8.4 +## Switches added or changed in 0.8.3 and 0.8.3.5 -The README's table has the switches most players meet. These are the others that 0.8.3 or 0.8.4 added or whose +The README's table has the switches most players meet. These are the others that 0.8.3 or 0.8.3.5 added or whose default changed. "Translation" marks a switch that changes the translated shaders: the shader cache keys on every such switch, so changing one translates again (a few minutes, once). @@ -182,7 +182,7 @@ such switch, so changing one translates again (a few minutes, once). | `VICTORY_SMALL_WHEN_FULL` | off | `1`: with no room left on the card, textures show their small levels instead of waiting (with "Detail on demand") | | `VICTORY_PRESSURE_RELATIVE` | off | `1`: memory pressure judged by the PC's own size, with floors of 1.5 GiB to enter and 2.5 GiB to leave; measured on a 32 GB PC only | | `VICTORY_LOOSE_READ` | on with fine windows | the windows' table is read without the shared lock where the windows are finer than 4 MB (`WINDOW_KB`, `WINDOW_TAILS`); `0`: off | -| `VICTORY_PIPELINE_*`, `VICTORY_SCREEN_WAIT_MS`, `VICTORY_COMPUTE_WAIT_MS`, `VICTORY_FACE_SHAPES_WAIT_MS` | see *Debugging* | the pipeline waits; 0.8.4 has 0.8.2's 500 ms budget, and `WAIT_ALL` is off | +| `VICTORY_PIPELINE_*`, `VICTORY_SCREEN_WAIT_MS`, `VICTORY_COMPUTE_WAIT_MS`, `VICTORY_FACE_SHAPES_WAIT_MS` | see *Debugging* | the pipeline waits; 0.8.3.5 has 0.8.2's 500 ms budget, and `WAIT_ALL` is off | | `VICTORY_THIN_THREADS` | 8, fewer where there are fewer logical processors | the list translator threads; 0.8.3 had 6 or 4 below 16 logical processors | | `VICTORY_ASK_PRIORITY`, `VICTORY_XMA_PRIORITY` | the helpers' priority | `2`: the write-watch asking thread, or the audio decoding thread, at the highest priority (0.8.3 had it for the asking thread) | | `VICTORY_ASK_NEAR` | 8 MiB | write-watch askings join ranges up to this far apart; `1`: 512 KiB, 0.8.3's | diff --git a/docs/status.md b/docs/status.md index 0de43dd..3f48284 100644 --- a/docs/status.md +++ b/docs/status.md @@ -48,8 +48,8 @@ What is known to be wrong: without the launcher runs them. Without a profile the light estimate and the bake uploads find their passes by rules that name no program, which may miss; the picture without the interface for frame generation is not taken; the water fixes are not applied. The log names each. -- **HUD at 1440p:** with a title profile older than 0.8.4's, the HUD and menus are drawn larger than on the - console, and menus can run past the screen. The 0.8.4 profile's interface canvas keeps their size. +- **HUD at 1440p:** with a title profile older than 0.8.3.5's, the HUD and menus are drawn larger than on the + console, and menus can run past the screen. The 0.8.3.5 profile's interface canvas keeps their size. - **Frame rate:** see above. The launcher's 40 and 60 fps settings tell the program to run faster; the layer does not reach them. DLSS Frame Generation shows twice the frames the program renders. - **Also reported:** soft surface textures, flicker at the draw distance, objects that load only when near (with @@ -65,10 +65,10 @@ rate drops into the mid 20s on a 12 GB card. Each release's notes ([Releases](https://github.com/readmet3xt-lab/foxhound/releases)) give the details and measurements. In short, since the first public build: -- **0.8.4:** the title profile and its table file are found where players put them, and the launcher greys and names +- **0.8.3.5:** the title profile and its table file are found where players put them, and the launcher greys and names what is lost without them; pipeline waits are back to 0.8.2's shape (0.8.3 held frames for seconds on a cold cache); 0.8.2's defaults are back where 0.8.3 changed them without a comparison; a picture larger than the monitor - is scaled down in fullscreen; with the 0.8.4 profile the HUD keeps its console size at 1440p. The release notes + is scaled down in fullscreen; with the 0.8.3.5 profile the HUD keeps its console size at 1440p. The release notes list every change. - **Shader translation:** four kinds of the console's float instructions (max, min, median of three and the diff --git a/docs/title-profile-format.md b/docs/title-profile-format.md index 60eb676..66dfba6 100644 --- a/docs/title-profile-format.md +++ b/docs/title-profile-format.md @@ -51,7 +51,7 @@ A run with `VICTORY_PIPELINE_BOOK=1` (the launcher sets it) writes down every pi `victory warm` adds the listed entries the record lacks before it compiles. It reads each shader they need from the title's own files, found by its hash (the folder of `VICTORY_TITLE_EXE`, else the configured game folder), and says what came of it in one line: `title profile pipelines: listed, in the record already, added, without their shaders in the game's files`. An entry whose shaders are not all found (another version of the title) is not added. `VICTORY_PIPELINE_LIST=` takes a list file in place of the table. -`victory title-profile pipelines ` writes the record in the cache folder as such a list, the pipelines that runs drew with first (`warm` compiles in the list's order after those), and prints the `[[table]]` lines that name it. Engines before 0.8.4 read the profile and ignore the table. +`victory title-profile pipelines ` writes the record in the cache folder as such a list, the pipelines that runs drew with first (`warm` compiles in the list's order after those), and prints the `[[table]]` lines that name it. Engines before 0.8.3.5 read the profile and ignore the table. ## The file diff --git a/launcher/Launcher.cs b/launcher/Launcher.cs index fb810c3..2edb8bc 100644 --- a/launcher/Launcher.cs +++ b/launcher/Launcher.cs @@ -39,8 +39,8 @@ using Microsoft.Win32; [assembly: AssemblyDescription("Settings and start for the foxhound layer")] [assembly: AssemblyCompany("readmet3xt-lab")] [assembly: AssemblyCopyright("GPL-3.0-or-later")] -[assembly: AssemblyVersion("0.8.4.0")] -[assembly: AssemblyFileVersion("0.8.4.0")] +[assembly: AssemblyVersion("0.8.3.5")] +[assembly: AssemblyFileVersion("0.8.3.5")] namespace Foxhound { @@ -791,7 +791,7 @@ namespace Foxhound // The switch set tested on a 12 GB RTX card (see scripts\play-foxhound.ps1 for what each is). v0.8.2's, less its // leave-out (passed below when no title profile names those programs) and its texture pass time (the engine's - // default since 0.8.4). The launcher sets no engine defaults of its own beyond these: 0.8.3's KEEP_SHOWN=2, + // default since 0.8.3.5). The launcher sets no engine defaults of its own beyond these: 0.8.3's KEEP_SHOWN=2, // QUEUE_SNAPSHOT=1, TEXTURE_STAGE_MS=24, PRESSURE_RELATIVE and the 16 GB window layout were never measured as // shipped and are gone (the last is the "PC memory" row now). static readonly string[] Base = { diff --git a/launcher/README.txt b/launcher/README.txt index 77ea01d..741edc2 100644 --- a/launcher/README.txt +++ b/launcher/README.txt @@ -52,7 +52,7 @@ Start 6. "Getting ready": the game's shaders are translated (a few minutes, once per version of Foxhound and of the title profile) and the pipelines earlier runs used are compiled (seconds; minutes after an update of Foxhound or of - the graphics driver). The 0.8.4 title profile lists the game's pipelines: + the graphics driver). The 0.8.3.5 title profile lists the game's pipelines: the first time, all of them are compiled before the game starts (many minutes, once; those the game draws first come first). Let it finish. Cancel keeps what is done. "Skip: start now" starts the game at once: the