Author Topic: How to set up a Quake II linux server using the OpenTDM mod?  (Read 360 times)

Offline Patrol1985

  • Newbie
  • *
  • Posts: 4
    • View Profile
  • Rated:
How to set up a Quake II linux server using the OpenTDM mod?
« on: February 19, 2024, 04:24:48 AM »
Hello,

I would like to set up a Quake II server under linux and utilizing the OpenTDM mod, but I am having trouble. I will describe below what I did so far. If you know what the root of the problem is, I would appreciate help :)

As recommended on http://opentdm.net/ I wanted to compile OpenTDM from the source located at Andrey Nazarov's repo (skullernet): https://github.com/skullernet/opentdm. I couldn't find any explicit compilation instructions at the repo itself so I tried doing it on my own. Since the same developer also created Q2PRO, which does feature compilation instructions, I figured there would be some overlap and did the following:

1. I installed the following dependencies

Code: [Select]
sudo apt install meson gcc libc6-dev libsdl2-dev libopenal-dev \
                libpng-dev libjpeg-dev zlib1g-dev mesa-common-dev \
                libcurl4-gnutls-dev libx11-dev libxi-dev \
                libwayland-dev wayland-protocols libdecor-0-dev \
                libavcodec-dev libavformat-dev libavutil-dev \
                libswresample-dev libswscale-dev

2. I downloaded the ZIP with the source from the master branch
3. I unzipped the source into a temp directory, entered it and followed compilation instructions from Q2PRO documentation:

Code: [Select]
meson setup builddir
meson configure builddir
meson compile -C builddir

4. As a result I received the "gamex86_64.so" file, with read, write and execute permissions on it
5. I created the "opentdm" directory in the Quake II server folder and put the file "gamex86_64.so" inside along with "q2server.cfg" (the server config file I have been using with the vanilla server)
6. I ran the Quake II server with the "+set game opentdm" parameter
7. I connected to the server, but it seemed it was still running in "vanilla" mode. I entered the "rcon game" command to make sure that the game folder was set to "opentdm" (it was).

Additionally, I did the following test:
1. I downloaded the gamei386.so.gz for the mod from the OpenTDM site (http://opentdm.net/binaries/unstable/linux/), uncompressed it, set the "read / write / execute" permissions on it and put the file in the "opentdm" directory
2. I renamed the "gamex86_64.so" file (the one I had compiled) to "gamex86_64.so.old" so Quake II wouldn't "see" it
3. I ran the server with "+set game opentdm" and connected to it
4. The mod was running (I was greeted with the expected menu of choosing teams), but crashed a few seconds later

It seems then that I ran the server with the proper command line parameters, but there is something wrong with the .so I compiled. Please let me know if you know how to solve the issue.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline Patrol1985

  • Newbie
  • *
  • Posts: 4
    • View Profile
  • Rated:
Re: How to set up a Quake II linux server using the OpenTDM mod?
« Reply #1 on: February 19, 2024, 07:02:31 AM »
Phatman helped me (much appreciated!) on Tastyspleen Discord (http://discord.tastyspleen.net/). He discovered that only a 32-bit version of the mod is currently functional and compiling it in a 64-bit system takes some effort, so the alternative is to use the compiled version I found on OpenTDM site (http://opentdm.net/binaries/unstable/linux/).

As I had written, I already tried using that version and it kept crashing my server, but upon a server restart I noticed a message stating that it is recommended to use updated server binaries (R1Q2 or possibly also Q2PRO) for proper functionality. I haven't tried that yet (I have only used the vanilla 3.20 Quake II server), but I'll leave this information here in case someone encounters a similar problem and would like to know which way to possibly go from there.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

 

El Box de Shoutamente

Last 10 Shouts:

 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.
 

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM
 

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.
 

Costigan_Q2

October 09, 2024, 01:35:05 PM
Et tu rikwad?

Please don't feed the degenerate lies of a sexually-perverted devil-worshipping barking dog like Focalor.

Show 50 latest
Welcome, Guest. Please login or register.
November 10, 2024, 12:13:37 AM

Login with username, password and session length