How to set a custom screen resolution

To set a non-standard resolution in Call of Duty modify the following CVARs either directly in your config file config_mp.cfg or via the in-game console.
It’s important to set r_mode to -1 for this to work.

/r_mode "-1"
/r_customWidth ""
/r_customHeight ""

If you did these in the in-game console also execute the /vid_restart command for the changes to take effect.


4:3 Aspect Ratio (black borders on left/right side)

This is the proper resolution for the game.

FullHD (1440×1080)

/r_customWidth "1440"
/r_customHeight "1080"

2K (1536×1080)

/r_customWidth "1536"
/r_customHeight "1080"

QHD (1920×1440)

/r_customWidth "1920"
/r_customHeight "1440"

UHD (2880×2160)

/r_customWidth "2880"
/r_customHeight "2160"

4K (3072×2160)

/r_customWidth "3072"
/r_customHeight "2160"


16:9 Aspect Ratio (stretched image)

This stretches the image to fit the screen and remove some vertical viewable data (zoomed-in).

FullHD (1920×1080)

/r_customWidth "1920"
/r_customHeight "1080"

2K (2048×1080)

/r_customWidth "2048"
/r_customHeight "1080"

QHD (2560×1440)

/r_customWidth "2560"
/r_customHeight "1440"

UHD (3840×2160)

/r_customWidth "3840"
/r_customHeight "2160"

4K (4096×2160)

/r_customWidth "4096"
/r_customHeight "2160"


Pro tip from Muzz

For those that like the image stretched without borders; a trick you can do in NVIDIA Control Panel is to create a custom resolution to stretch the 4:3 aspect ratio into a 16:9 aspect ratio which gives you more vertical viewable data on screen. This is far better than the 16:9 in-game. 🙂

For example:

First create a custom resolution in your NVIDIA Control Panel for 1440x1080 and then use the same in-game.

/r_customWidth "1440"
/r_customHeight "1080"

Author(s): Cato
Created on: 2022-12-06 00:49:12
Last update: 2022-12-09 23:08:27