MFG Unlocker as an F1 option: downloaded and loaded at start when on
F1, MFG UNLOCKER (MOD, RTX 20/30), off by default. When it is on, the launcher fetches MFG Unlocker v1.7.2 from its author's GitHub release into %LOCALAPPDATA%\victory\mfg-unlocker. The zip and MFGUnlocker.dll are both checked against the SHA-256 the author published (scripts\get-mfg-unlocker.ps1). victory.exe then loads the DLL under its own name before the device is made or Streamline is loaded, so nothing is renamed or put beside the game. - RTX 20 and 30 cards with DLSS on are asked once at the first start (default No), unless the choice was made or a mod DLL is already beside victory.exe. - `victory get-mfg` fetches it by hand. - The menu explains the item while it is picked. - The log records the load. - README updated. The download and the mod itself are not tested here (RTX 50 only). The load path was tested with a Windows DLL in its place: loaded before Streamline, game ran normally. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
10862a6d87
commit
0cef07e9d7
6 files changed
+268
-9
No files matched your search
@@ -188,6 +188,12 @@ enum Command {
|
||||
/// does it by itself where it is needed.
|
||||
#[cfg(windows)]
|
||||
GetD3d12,
|
||||
/// Fetch MFG Unlocker (someone else's mod, github.com/dashdogy/MFG-Unlocker,
|
||||
/// about 5 MB): DLSS frame generation on RTX 20 and 30 cards, which NVIDIA
|
||||
/// does not support. `play` loads it with F1's MFG UNLOCKER on, and fetches
|
||||
/// it by itself then.
|
||||
#[cfg(windows)]
|
||||
GetMfg,
|
||||
/// Print the highest shader model the default GPU runs here (`play`
|
||||
/// asks it in a process of its own).
|
||||
#[cfg(windows)]
|
||||
@@ -274,6 +280,8 @@ fn main() -> Result<()> {
|
||||
play::preload(&ready.exe);
|
||||
}
|
||||
victory_core::logging::init("info");
|
||||
// F1's MFG UNLOCKER: the mod, before the layer makes its device or loads Streamline.
|
||||
play::load_mfg();
|
||||
let console = if ready.series_s { Console::SeriesS } else { Console::SeriesX };
|
||||
run::run(&ready.exe, Unimplemented::Trap, false, true, console)
|
||||
});
|
||||
@@ -343,6 +351,8 @@ fn main() -> Result<()> {
|
||||
#[cfg(windows)]
|
||||
Command::GetD3d12 => play::get_d3d12(),
|
||||
#[cfg(windows)]
|
||||
Command::GetMfg => play::get_mfg(),
|
||||
#[cfg(windows)]
|
||||
Command::ShaderModel => {
|
||||
let model = victory_hle::streamline::highest_shader_model();
|
||||
if let Some(core) = victory_hle::streamline::d3d12_core_path() {
|
||||
|
||||
Reference in new issue
Block a user