cpuopt is an experimental Astera Loader plugin that fixes a handful of specific problems in Monster Hunter: World's CPU code, found by measuring the running game. It changes them in memory while the game runs and changes no game files.
It is not a general speed-up. Apart from these problems, the game looks reasonably well optimized from what we measured: once they are fixed, the CPU time that remains goes to real work, spread over the engine's job threads, with no single waste left that we could find, and the graphics side spends its time on what its options ask for (ambient occlusion High, for example, is expensive by design, not by mistake). What cpuopt gives you therefore depends on two things: whether these problems hit your CPU, which differs a lot between CPU architectures, and whether the CPU is what limits your frame rate at all.
What it fixes:
- One real bug, the biggest: effects (fire, ice, sparks, dust) build their vertex data in memory meant for the graphics card, and the game read every record back from that memory eight times. The CPU can only read that kind of memory very slowly. On the test PC's Ryzen 9 9950X3D this made effect drawing about ten times slower than it needs to be and dropped heavy effect moments (Fatalis's nova) to 60 fps.
- Some smaller waste: Steam's server time asked for several times a frame, the slowest drawing jobs started last, hit detection left on one thread although the engine has a parallel version, a frame limiter that keeps a core busy while it waits, an update threshold that keeps work off the job threads.
- A frame-rate bug (from 0.18.0): multi-hit attacks (pierce and element ammo, and more) lose ticks at frame rates other than 60: about 10% at 144 fps, up to a quarter at odd rates like 61. cpuopt keeps them on the 60 fps schedule (measured: Pierce Lv3 at 144 fps from 18 back to 20 ticks a second). This is the only switch that changes what happens in a fight rather than how fast the game runs: it makes every frame rate behave as 60 fps does, for monsters' multi-hit attacks on you too.
- On dual-die X3D CPUs (7900X3D, 7950X3D, 9900X3D, 9950X3D): Windows often spreads the game over both dies; cpuopt keeps it on the die with the large cache.
From the Mods page's benchmark (below) and the test PC's measurements, at 2560x1440 unless noted. "Game thread" is the CPU time the game's main thread needs per frame, the work cpuopt cuts; it shows the effect even where the frame rate cannot rise.
| CPU | Graphics card, settings | Frame rate without → with | Game thread per frame | What limits the frame rate with cpuopt |
|---|---|---|---|---|
| Ryzen 9 9950X3D | RTX 5080, DLSS performance, Elder's Recess, nothing pinning the game | 137 → 258 fps (+88%) | 7.20 → 3.19 ms (-56%) | the graphics card (the CPU alone: about 313 fps) |
| Ryzen 9 9950X3D (test PC) | RTX 5090, DLSS quality, Ancient Forest, nothing pinning the game | 147 → 265 fps (+80%) | 6.81 → 3.75 ms (-45%) | the CPU |
| Ryzen 9 9950X3D (test PC) | the same, Ancient Forest, with a Process Lasso rule already keeping MHW on the cache die | 172 → 271 fps (+58%) | 5.03 → 3.44 ms (-32%) | the CPU |
| Ryzen 9 9950X3D (test PC) | the same, Arch-Tempered Velkhana fight in Elder's Recess | 175 → 286 fps (+63%) | 5.70 → 3.15 ms (-45%) | the graphics card (97% busy) |
| Ryzen 5 5600 | RX 7600, 1920x1080, scene not stated | 84 → 85 fps (+2%, within the noise) | 10.46 → 10.03 ms (-4%) | the graphics card, in both |
| Core i7-13700K | RTX 3080 Ti, DLSS performance, Elder's Recess | 159 → 159 fps (+0%) | 5.68 → 5.15 ms (-9%) | the graphics card, in both |
| Core i5-12400F | RTX 3060, 1920x1080, V-Sync on | 82 → 83 fps (+1%) | 6.90 → 6.38 ms (-8%) | the graphics card or V-Sync, in both |
| Core i5-12600KF | RTX 3060 Ti, Reflex on, Elder's Recess, the game held to 6 threads by another tool | 116 → 116 fps (+0%) | not measured (Reflex) | the graphics card, in both |
The worst frames improve with the average on the Ryzen: the forest's 99th
percentile frame time went from 16.7 to 4.3 ms on the test PC, Elder's
Recess's from 8.6 to 5.8 ms on the RTX 5080 PC. More CPUs, among them non-X3D and single-die
Ryzen, will be added as players send them (docs/sending-results.md).
- The effect bug costs far more on the 9950X3D (two PCs) than on any other CPU measured so far. Reading that graphics memory back was the single biggest cost there: the game thread gained 32 to 56% (part of it from staying on the cache die, below). In Elder's Recess, the most effect-heavy area, the 13700K showed none of the bug's frame-time spikes and gained 9%; in scenes their testers did not name, the i5-12400F gained 8% and the first non-X3D Ryzen, a Ryzen 5 5600, 4%. So the big gain is not simply a Ryzen one. Whether it comes with the 3D V-Cache, with the newest Ryzen generation or with the scene is still open; results from more CPUs will tell.
- Dual-die X3D CPUs gain the most when nothing else keeps the game on the cache die: "Stay on the cache die" alone was worth up to +40% on the test PC. With a Process Lasso rule already doing that, the gain is smaller (+58% instead of +80%).
- Everything else (the smaller fixes) is worth a few percent each on the test PC, and should help any CPU about as much.
Only where the CPU is what holds it back: a fast graphics card (an RTX 4090, 5080 or 5090 at 1440p, for example) or a lower resolution, heavy scenes and fights, high refresh rates, and so far most on AMD Ryzen. If the graphics card is already fully busy, as on every mid-range card measured so far, cpuopt cannot raise the frame rate; it still lowers the CPU time every frame needs, which keeps frames steadier where effects pile up and leaves room for a faster graphics card later. With the DLSS mod's Reflex on, a shorter CPU frame most likely means lower input latency too. The Mods page's "Limited by" line shows live what holds your frame rate, and the benchmark (below) measures both.
Status: experimental, 0.18.0. Tested with MHW 421810, the final version, on Windows. On Linux with Proton, 0.16.0 and earlier closed the game during start-up; 0.16.1 and newer fix the cause but are not yet tested there.
Each optimization is a switch on its own page in the game's Mods menu (with
CMFM) or in cpuopt.ini; all of them
are on by default except the experimental one. The multi-hit fix is on by
default too, in its own "Fixes" section, and stays as you set it when the
on/off hotkey flips the optimizations.
| Switch | What it does | Measured |
|---|---|---|
| Effect drawing | Effects (fire, ice, sparks, dust) build their vertex data in memory the graphics card reads from. That memory is very slow to read from the CPU, and the game's loop read every record back eight times without needing to. cpuopt rewrites 56 bytes of that loop so it only writes. | the biggest gain: effect drawing about ten times cheaper, heavy effect moments (Fatalis's nova) no longer drop to 60 fps |
| Draw job order | Each frame the engine hands drawing work to its job threads in a fixed order, and the expensive jobs often came last, so every thread waited for them. cpuopt starts the slowest jobs first (learned per object type). | +4.8% at the hub |
| Steam server time | The game asked Steam for the server time several times a frame, each time waiting on a lock inside Steam. cpuopt asks once a second. | +3% at the hub |
| Update threads | The engine runs a batch of object updates on its job threads only above 60 microseconds of work; at 40, more of it runs in parallel. | +2.8% in the Ancient Forest |
| Stay on the cache die | On CPUs with two dies where one has 3D V-Cache (7900X3D, 7950X3D, 9900X3D, 9950X3D), the game runs on the cache die only, with its job threads sized to it. Greyed out on other CPUs. | +40% where Windows spread the game over both dies |
| Parallel hit detection | The engine has a parallel version of its collision pass but never turns it on, because it decides before its job threads exist. cpuopt sets the engine's own flag after they do, and runs the hit reactions, which the game wrote for one thread, one at a time (from 0.17.0; 0.16 could crash in big fights without that). | about 0.12 ms a frame back in fights |
| Sleeping frame limiter | With a frame rate limit set, the game keeps a core busy while it waits for the next frame. cpuopt sleeps on a precise timer until 1 ms before, then lets the game finish the wait. | same frame pacing with about a fifth less game-thread CPU time at a 300 fps limit |
| Multi-hit timing as at 60 fps (fix, on) | A multi-hit attack may hit the same target again once its timer, counted in 60 fps frames, runs out, but only on a frame, and the game throws the time past zero away: every tick waits for the next whole frame. cpuopt gives that time back to the same attack's next tick, so ticks land on the 60 fps schedule at any frame rate. Moonbunnie's "Effects of FPS" research measured the problem first. | Pierce Lv3 at 144 fps: tick interval 11% too long without it, on schedule with it; uncapped: 3.7% too long without |
| Remove 300 fps limit (experimental, off) | The engine stops at 300 fps even with the frame rate set to No Limit. This raises that to 1000. A lower limit you set in the options stays. | for fast PCs and measuring |
Every change is made in memory at code that cpuopt finds by its bytes and checks to match exactly once. If anything does not match (another game version, another mod changing the same code), that switch stays off, is greyed out on the page with the reason, and the game runs that part as it always did. Everything goes back when a switch is turned off and when the game exits. No gameplay values are changed: hit detection runs the game's own code, only on more threads.
You need:
- Monster Hunter: World on Steam, version 421810 (the current one).
- Astera Loader 0.2.2 or newer (on Linux with Proton, 0.2.3 or newer for the loader itself, and cpuopt 0.16.1 or newer, see Status above).
- Recommended: CMFM 0.1.1 or newer, the
in-game Mods menu (0.1.0's page takes no input when it is the only mod
page). Without it, settings are in
cpuopt.ini.
Download the zip from the
GitHub releases or from
Nexus Mods (the
same archive). Then put cpuopt.dll here, or install the zip as a mod in
Mod Organizer 2 (it has this layout):
<game folder>\AsteraLoader\plugins\cpuopt\cpuopt.dll
Start the game. cpuopt.ini (the settings) and cpuopt-session.log (what cpuopt
found and did, new each start) appear next to the DLL. In the Mods menu
(below Options on the title screen, or in the Start menu's System tab), the
CPU optimizations page should say "all 7 optimizations on" ("all 6" on
CPUs without a cache die).
To uninstall, delete the cpuopt folder or turn the mod off in Mod
Organizer 2. Nothing else on the PC or in the game is changed.
- All optimizations: everything at once. Give it a hotkey on the page (the row below it) to compare with and without cpuopt while you play.
- The switches: each optimization on its own, applied at once.
- Status: the frame rate and how many optimizations run; if one could
not start, it says so and
cpuopt-session.logsays why. - Limited by: what sets your frame rate right now: the CPU, the graphics card (with what your CPU alone could do), V-Sync, a frame rate limit, or both about even. When it says graphics card, cpuopt cannot raise your fps there; it still cuts the CPU time every frame needs.
cpuopt.iniholds the same settings with a comment on each line. Edits made while the game runs are picked up within a second.
The page's Run benchmark measures your PC with and without the optimizations in the spot where you stand:
- Go somewhere busy and stand still: a camp in the Ancient Forest, or the middle of Astera or Seliana. Keep the camera still too.
- Mods menu, CPU optimizations, Run benchmark, Yes. Close all menus.
- It starts 10 seconds later and takes under two minutes: 8 pairs of 6 seconds, the optimizations off and on in turns. Opening a menu or switching to another window pauses it; that part is measured again. A sound plays when it is done.
- The result shows on the page, and the full report is added to
cpuopt-benchmark.txtnext to the DLL: frame rate, frame times, CPU time per frame, your CPU, graphics card and game settings. It contains no file paths or user names.
The frame rate only shows the gain where the CPU is the limit. With a frame rate limit, V-Sync, or a graphics card that is already fully busy, look at the CPU time per frame: the report says when that is the case.
- Dual-die X3D CPUs: with "Stay on the cache die" on, MHW needs no Process Lasso rule or Game Bar setting. On the test PC, Windows Game Mode with AMD's chipset driver cost about 10% on top: it parks the other die for the focused game, so everything else running also crowds onto the cache die. If you get less than expected, try with Game Mode off.
- CPU affinity tools: if a Process Lasso rule or another tool puts MHW on particular cores, either point it at the cache die or turn "Stay on the cache die" off, so the two do not fight.
- Frame rate limit: with a limit set (60, 120, 144...), the frame rate will not rise, but the game then needs less CPU per frame: cooler, quieter and steadier.
- Hitches when a menu opens or the window changes: check window tools first. On the test PC, the Borderless Gaming app caused exactly these; the game's own Borderless mode avoids the extra tool where your screen allows it.
Say what happened and attach cpuopt-session.log from that session (it is replaced
at each start) and cpuopt-benchmark.txt if you ran one. The log contains
the paths of the game and mod folders, which can include your Windows user
name. Benchmark results from your PC help most, especially from CPUs not
in the table above: docs/sending-results.md says what to run and send.
Every switch started as a measurement: a stack sampler and per-job timing
inside the running game found where the game thread spends its time, and
each change was measured on and off in the same scene before it was kept.
The game thread was about 94% busy; most of that was waiting for the job
threads to finish one or two late, expensive jobs per round, and the rest
was a handful of slow loops and calls. The details, with the numbers and the
functions involved, are in docs/research/engine-notes.md; what is kept,
rejected and planned is in docs/roadmap.md.
cpuopt also has a research mode (a run folder named by a sidecar file):
per-frame timing, CPU per thread, a stack sampler and every switch
controlled live from a file. docs/runtime-protocol.md describes it.
Windows, Visual Studio 2026 (x64), CMake 3.24 or newer:
cmake -S . -B build -G "Visual Studio 18 2026" -A x64
cmake --build build --config Release
ctest --test-dir build -C Release
src/core/: pure logic (signatures, histograms, settings, the benchmark's summary), unit tested.src/plugin/: the plugin.third_party/: the Astera Loader and CMFM interface headers (MIT), pinned.tests/:core_tests,plugin_tests, andal_host_smoke, which runs the built DLL under a stand-in Astera Loader and CMFM with a fake game.tools/: research runs and reports.
No game files, executables, decoded images, databases or logs are in this
repository. Research notes name functions by address in MHW 421810
(SHA-256 c2ebbbd2c49f216d484e31a5219bed419eb1e5e7d206d02cba040a3ab79d90ea),
with names from Fexty's annotated database where they exist. AGENTS.md
holds the working rules for the project's AI coding agents.
MIT (LICENSE). The Astera Loader and CMFM headers in third_party are MIT
as well.