You will need the following:
- The Visual C++ 2010 Redistributable Package and the Visual C++ 2015-2019 Redistributable Package.
- Visual Studio Code, Notepad++ or Sublime Text (You may use whatever editor you choose but we do not recommend Windows Notepad).
- Computer or VPS that is online 24/7 with a decent connection that has average or above specs (We strongly advise a VPS).
- Some technical knowledge/background knowledge of computers.
- An original copy of the game. You can buy it on Steam @ Call of Duty®: Modern Warfare® 2 (2009) on Steam
SERVER SETUP
- Install the IW4x client distributed by the launcher. Download it and place it into your game folder. Then run it so it automatically downloads the client files. Pro tip: use the terminal to run the launcher with the
--update
command line argument. - Download the server configurations from our Git, and unzip the contents of the
iw4serverconfigs
folder into the game folder. - Carefully review and edit the configuration settings file to your liking. Give it a hostname, gametype, and remove or add the maps you want, etc.
- Save the server.cfg file you just edited after you are done.
- Forward the
net_port
(default value: 28960) which is defined in the “start” bat scripts. If you changed the default port or are adding another server, you may need to open the following additional ports. This step is not required on a dedicated server or VPS. If you enabled the firewall. Make sure to open thenet_port
for both UDP and TCP traffic. - Run the “start” bat file for the type of server you want and it shall open provided you completed all the previous steps successfully.