navigation

How to Start a Prboom Multi Player Game in Linux

Method 1 of 2:

On computer 1

  1. Open a terminal window within the GUI.
  2. Navigate to the directory that stores your PrBoom files.
  3. Make sure you have the prboom-game-server file in the directory. If not you cannot host a multi-player game.
  4. Enter the following text into the command line.
    1. prboom-game-server
    2. Press Enter.
      1. It will say that it is "listening on port 5030, waiting for 2 players. Join (channel 0) as player 0."
  5. Leave the current terminal window open.
  6. Open another terminal window within the GUI.
  7. Within the new terminal, navigate to the directory that stores your PrBoom Files.
  8. Enter the following text into the command line.
    1. prboom -net localhost
    2. Press Enter.
      1. PrBoom will start running but stop at the line D_CheckNetGame: waiting for server to signal game start. The other terminal will start displaying "[r ]" over and over again. That is normal as it is listening to the port and printing the results. It basically means that it found one client on the network. That client is you.
  9. Note: localhost is usually configured as your loopback on your NIC. It uses the 127.0.0.1 IP address.
Method 2 of 2:

Computer 2

  1. Type the following command.
    1. ifconfig
    2. Press enter.
  2. Look for your ip address on the network. It will look something like the following: inet addr: 192.168.1.1 if you are logged into a home network. The address might vary depending on what router you have.
  3. On computer 2 type the following text. The xxxs in the text below represent your ip address.
    1. prboom -net xxx.xxx.xxx.xxx
    2. Press enter.
      1. The terminal running the prboom-game-server on computer 1 should be displaying something like this. "[pp ]" over and over again. That means that both computers are communicating with each other. PrBoom should load up and run now and startup. Your friend should be right next to you in the game.
  4. Have Fun.
Update 04 March 2020