个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证MW2 (2009) running inside Risk of Rain 2 as a new survivor. BepInEx mod (Rust + C#) that reads your own MW2 install.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
MW2 (2009) running inside Risk of Rain 2. You play the MW2 Soldier, a new survivor built out of MW2:
its movement, guns, viewmodel and animations, sounds, recoil, HUD and menus, all read from your own
copy of MW2. Risk of Rain 2 handles the damage, items and enemies, so your RoR2 items work off MW2
guns.查看完整 README ↗MW2 (2009) inside Risk of Rain 2. You play the MW2 Soldier, a new survivor built from your own MW2 install: its guns, movement, viewmodel, sounds, HUD and menus. Risk of Rain 2 still runs the damage, items and enemies, so your RoR2 items work off MW2 guns.
Tuned for RoR2's big stages and endless waves: faster movement, unlimited sprint, RoR2-style ammo, scaled damage and longer killstreaks. Each is a setting.
https://github.com/user-attachments/assets/95c1cf51-5248-4b14-bf3f-a19d3c2d4766
2-minute showcase, sound on (MP4 download, 9.5 MB).
Get it: MW2xRoR2 on Thunderstore for any Risk of Rain 2 mod manager, or the manual zip from Releases. Steps are under Install.
MW2's minimap, rank, perks, killstreaks and ammo alongside RoR2's health, skills and objective.
BepInEx\mw2_stuck.log so you can send it in.MW2xRoR2 is on Thunderstore, so any Risk of Rain 2 mod manager can install it and keep it updated. Or install it by hand with the manual zip. The mod finds MW2 in your Steam libraries by itself. Pick the MW2 Soldier on character select.
Or click Install with App on the Thunderstore page.
Install mods, search for MW2xRoR2, Install, then Launch modded.
BepInExPack folder into your Risk of
Rain 2 folder, so winhttp.dll sits next to Risk of Rain 2.exe.MW2xRoR2-v<version>-manual.zip from Releases and extract it into the
same folder. The mod ends up in BepInEx\plugins\MW2xRoR2, with
RoR2BepInExPack beside it
in BepInEx\plugins\RoR2BepInExPack. Mod managers install that one too, and co-op needs everyone
to have it.To play without mods, rename winhttp.dll in the game folder (for example to winhttp.dll.off), and
rename it back to play with them.
| Action | Key |
|---|---|
| Fire / aim down sights | RoR2's primary / secondary skill keys (left / right mouse by default) |
| Reload | R |
| Sprint (holds your breath while aiming) | your MW2 key (or RoR2's sprint key) |
| Crouch / prone | your MW2 keys (Left Ctrl / Z) |
| Primary / secondary weapon | 1 / 2 (your MW2 weapon-switch key works too) |
| Lethal (hold to cook) / tactical | your MW2 keys (G / F) |
| Knife | your MW2 key (V) |
| Underbarrel attachment | your MW2 key (3) |
| Use killstreak | your MW2 key (5) |
| Tactical Insertion | X (also RoR2's special-skill key, unless that's R) |
| Create-a-Class / Create-a-Streak (character select) | F3 / F5 |
| Change class (see below) | F4 |
| First / third person | F7 |
| MW2 mode off / on (to get unstuck) | F6 |
"Your MW2 key" means the mod reads your MW2 config (MW2's or IW4x's) and uses your own binds, so they work like they did in MW2. The key in brackets is only for players without an MW2 config.
In the game. On character select, the MW2 Soldier's Loadout tab has:
In a run, F4 opens Choose Class, with MW2's rule: right after you spawn the new class is yours on the spot, but once you've fought it comes with your next spawn (the next stage, a revive or a Tactical Insertion). One Man Army, the MW2 Soldier's utility skill, is the mid-fight change. F7 switches first / third person (you spawn in third person). RoR2's Settings > Gameplay has MW2 First-Person FOV (65-90) and MW2 Third Person Only.
In the config file. Everything else is in com.buhhrad.mw2ror2.cfg. Open it from your mod
manager's config editor, or in BepInEx\config\, and edit it with the game closed. Every setting is
explained in the file; these are the ones you're most likely to want:
| Setting | Default | What it does |
|---|---|---|
[Keys], [Equipment], [MW2], [Killstreaks] key settings | see Controls | Rebind the mod's keys (F7 is fixed). Keys from your MW2 config win; set [Keys] UseMw2Binds to false to use these instead |
[Ammo] RoR2Ammo | true | Guns never run out of reserve; launchers, grenades and tacticals recharge on cooldowns. Off: [MW2] AmmoMode (Scavenger, Infinite or Stock) |
[Killstreaks] KillScale | 4 | Kills a streak needs, times MW2's (RoR2 sends far more enemies). 1 = MW2's |
[Killstreaks] ChestChance | 0.05 | Chance a chest drops a killstreak instead of its item |
[Killstreaks] Faction | US | Announcer voice: US, UK, NS, PG, RU or AB |
[Balance] DamageMultiplier | 1.25 | Damage of every MW2 round (snipers, explosives and equipment have their own scales on top) |
[Balance] DamageTakenScale | 1 | Damage you take from enemies |
[Balance] MoveSpeedBoost | 1.45 | How much faster than MW2's own speed you move (RoR2's maps are big) |
[Balance] UnlimitedSprint | true | Sprint never runs out |
[Balance] RegenDelay | 0 | MW2 health regen after this many seconds unhurt. 0 = off, RoR2's healing only (MW2's was 5) |
[Progress] KillXpScale | 0.1 | XP per kill as a share of MW2's 100 |
[MW2] Prematch | true | MW2's match start on the first stage: Choose Class, countdown, no drop pod |
[MW2] WeaponVolume | 0.35 | Volume of MW2's gun sounds |
[View] ThirdPersonStart | true | Spawn in third person |
[General] SkipIntro | true | Skip RoR2's opening cutscene |
[General] FlinchScale | 0.35 |
CommonMpPath in com.buhhrad.mw2ror2.cfg to your MW2 folder's zone\<language>\common_mp.ff.BepInEx\LogOutput.log to an issue. With
a mod manager it's in the profile's folder (the manager's settings can open it).BepInEx folder: its settings (config\com.buhhrad.mw2ror2.cfg), your MW2
progress (config\mw2-ror2\) and its logs.mw2_stuck.log and saves a screenshot of it to
mw2_stuck\ (at most 12 per session), so stuck spots can be reported and fixed.hangs\.None of it leaves your PC unless you attach it to an issue yourself.
You can read every line of the mod here, and build it yourself.
BepInEx\core) in deps\bepinexpack. It isn't in the repo.cargo build --release -p mw2sim builds mw2sim.dll. Cargo fetches the IW4L crates from
chasmlol/2010-rust-rewrite-mashup at a
pinned commit.dotnet build plugin\MW2RoR2.csproj -c Release builds MW2RoR2.dll against your own Risk of Rain
2 install (pass -p:RoR2Managed=<path>\Risk of Rain 2_Data\Managed if it isn't in the default
Steam folder).target\release\mw2sim.dll and plugin\bin\Release\netstandard2.1\MW2RoR2.dll over the
ones in your install's plugin folder.buhhrad designed this mod, directed the work and playtested it. The code was written with an AI coding agent (Anthropic's Claude, through Claude Code).
tools/installer/licenses/THIRD-PARTY.txt.Source-available, not open source: read it, check it, play it, build it for yourself. Don't reupload or redistribute it anywhere. See LICENSE.md. Third-party parts keep their own licenses.
Not affiliated with or endorsed by Activision, Infinity Ward, Hopoo Games or Gearbox.
| How hard your view jolts when you're hit (1 = MW2's) |
[MW2] CommonMpPath | found through Steam | Where your MW2 is, if it's not in a Steam library |