This fork of the singleplayer client modification (iw3sp_mod) for Call of Duty 4: Modern Warfare (IW3)
makes the game compatible with nvidia's rtx-remix. The client is originally based on the IW4x Client
- Download the latest iw3sp-mod-rtx release
- Extract the contents into your cod4 root directory.
- Skip to Step 5 if you are not interested in nightly builds (featuring the latest changes)
-
Install the latest full release (step above)
-
[rtx only] [optional] Install the latest full rtx-remix release (0.5.1 at this time)
https://github.com/NVIDIAGameWorks/rtx-remix/tags
- [rtx only] [optional] Install the latest
github action
builds of:
remix bridge - https://github.com/NVIDIAGameWorks/bridge-remix/actions
remix runtime - https://github.com/NVIDIAGameWorks/dxvk-remix/actions
- Download the latest iw3sp-mod-rtx
github actions
build:
Release-binaries-rtx
- https://github.com/xoxor4d/iw3sp-mod-rtx/actions
- Drop
game.dll
and the contents of theassets-remix
folder into your cod4 root directory and start the game.
- Run
iw3sp_mod.exe
to start the game
- Read the
Dvars / Console Commands
andCurrent issues
sections
🔷 To clarify, this client mod is only making CoD4 compatible with remix. 🔷
My actual remix-mod with enhanced materials, meshes and lights can be found over at ModDB:
https://www.moddb.com/mods/cod4-mp-rtx-remix-iw3xo
(the rtx-remix
directory contains small and simple sp-specific changes that are not part of the ModDB release)
(read the included README)
-
A. Commandline Arguments:
-no_rtx
:: disable rtx modules-no_default_sky
:: disable sky spawning (map settings)-no_sun
:: disable sun spawning (map settings)-no_fog
:: disable fog (map settings)-stock_effects
:: render effects using shaders-no_forced_lod
:: do not setr_forceLod
tohigh
by default-load_normal_spec
:: enable loading of specular and normal maps (if you need to for some reason)
- commandline example:
c:\path\iw3sp_mod.exe -no_forced_lod -no_fog
-
B. Dvars:
🟩 encouraged to be tweaked
🟦 can be useful in edge case scenarios
🟧 shouldn't be touched🟩
rtx_culling_tweak_mins
:: prevents a bit of culling
🟩rtx_culling_tweak_maxs
:: prevents a lot of culling
🟩rtx_culling_tweak_frustum
:: disables frustum culling
🟩rtx_culling_tweak_smodel
:: disables static model culling
🟩rtx_culling_plane_dist
:: distance of frustum culling planes🟩
r_forceLod
:: force all models to a specific LOD
🟩r_forceLod_second_lowest
:: prevent game from using the lowest LOD (sometimes used to hide the model)
🟩r_lodScaleRigid
:: adjust static model draw distances (lower values increase draw distance)
🟩r_showTess
:: draws material info (incl. all image names) of surfaces (geometry / models)
🟩r_showCellIndex
:: show portal index info (useful for manual culling overrides via map settings)
🟩r_showModelNames
:: draw names of static models around the player🟧
rtx_extend_smodel_drawing
:: disable static model draw limit (max amount of static models drawn at once)
- C. Console Commands :
mapsettings_update
:: reload map settingsmapsettings_get_defaults
:: prints sun direction, color and intensity in map_settings format based on the stock map settings to the consle
🔸 Tweak sunlight / color, skybox and fog settings
🔸 Override culling per portal / cell (to fix light or shadow culling - dvar r_showCellIndex
)
🔸 Spawn unique anchor meshes that can be used to attach unique prims and lights to
-
Swift changes in geometry (eg. teleporting) can crash the game.
- Decrease geometry drawing by increasing culling or play with
r_lodScaleRigid
- Decrease geometry drawing by increasing culling or play with
-
Remix might try to use your onboard gpu (that is a general CoD issue), so its best to disable it in the bios or within the device manager
-
Some effects will slow down the game (really depends on the effect and the amount)
visit the rtx-remix showcase discord and check out the cod4 thread (
remix-projects
channel)
- join the iw3xo discord if you have questions related to this modification
- join the iw3sp-mod discord if you have questions related to iw3sp_mod
- people of the showcase discord (for testing, feedback and ideas)
- nvidia - rtx-remix
- Increased asset limits for IW3
- FX: 1200
- Image: 7168
- Loaded Sound: 2700
- Streamed Sound: 24000
- Material: 8192
- Weapon: 2400
- Xmodel: 5125
- Added game achievements;
- Added gamepad support with aim assist;
- Added custom methods and functions for GSC;
- Added loading of additional .ff files
[level name]_patch.ff
; - Added FOV logic from multiplayer to singleplayer;
- Added map entities editing for the stock maps and more (Wiki)
- Download the latest release
- Place the .zip contents into your cod4 root folder
- Start iw3sp_mod.exe
- Clone this repository. I recommend using git-scm.
P.S: (Downloading the zip does not include deps!) - Find any directory which you want the placed the content of repository, then open context menu and find "Git Bash Here" and write next line in the cmd:
git clone https://github.com/xoxor4d/iw3sp-mod-rtx.git
- After cloning click the generate.bat and wait when all files will be ready.
- Open build folder and find the iw3sp_dev.sln file and compile.
- Jerry4LT - IW3SP_Mod
- Bogdan Konstantinou
- xoxor4d - IW3xo
- X Labs Team
- AlterWare
- fed - h2-mod
- Nukem9 - LinkerMod
- CoD4X Server/Client
- Vlad Loktionov
- ocornut - Dear ImGui
- curl
- juliettef - imgui_markdown
- discord-rpc
- nlohmann - json
- DirectX SDK
- LibTomCrypt
- LibTomMath
This software has been created purely for the purposes of academic research. Project maintainers are not responsible or liable for misuse of the software. Use responsibly.