Author Topic: How to set up a Quake II linux server using the OpenTDM mod?  (Read 330 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:

 

RyU

September 03, 2024, 05:15:49 PM
And wow Derrick is still playing lol
 

RyU

September 03, 2024, 05:15:15 PM
Just know yesterday is gone and soon tomorrow will be gone too  :)
 

Lejionator

August 08, 2024, 07:28:01 PM
It's tiem to QuakeCon!!!  ;)

https://www.youtube.com/watch?v=ThQd_UJaTys
 

ImperiusDamian

July 26, 2024, 09:34:53 PM
In nomine Quake II et Id Software et Spiritus John Carmack, Amen.
 

QuakeDuke

July 26, 2024, 05:10:30 PM
Hey, shout, summertime blues
Jump up and down in you blue suede shoes
Hey, did you rock and roll? Rock on!!  ...QD
 

Yotematoi

July 24, 2024, 01:31:20 PM
Ayer me mato 5 veces para robarme en la vida real hará lo mismo? [img]<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid0wXU2VgS7atesBcSoMz5BWMJCJajeZFVT6GzSU6TtpJGddN9kLTvWNgcZaskkbKFQl&amp;show_text=true&amp;width=500
https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid0wXU2VgS7atesBcSoMz5BWMJCJajeZFVT6GzSU6TtpJGddN9kLTvWNgcZaskkbKFQl&show_text=true&width=500" width="500"
 

Yotematoi

July 24, 2024, 01:25:59 PM
hi ya está la basura de Martin, se cambió el nombre es un ladron estupido, asi llegó a 10000[img]<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&amp;show_text
https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&show_text
 

Yotematoi

July 24, 2024, 01:25:59 PM
hi ya está la basura de Martin, se cambió el nombre es un ladron estupido, asi llegó a 10000[img]<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&amp;show_text
https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fzoloyoze.torito%2Fposts%2Fpfbid03hZrkDUBJPZKCuFgy5hRUy831ekKJYVRzC7ajXaKQbJ6xcPgKftLukUDfovFyEq3l&show_text
 

-Unh0ly-

July 05, 2024, 05:20:36 AM

Show 50 latest
Welcome, Guest. Please login or register.
September 19, 2024, 09:34:06 PM

Login with username, password and session length