Jump to content
The Dark Mod Forums

Compiling SVN Version on Linux


DasCapschen

Recommended Posts

I'm a bit confused about compiling the SVN version of TDM on linux.

As far as I understood, after installing prerequisites one should simply run the `linuxBuild.sh`, and while scons produces `thedarkmod` executable, the script also references a `gamex86-base.so` and a `tdm_game02.pk4` file, both of which do not exist before, nor are they created during compilation...

So is the script simply outdated and these these files no longer needed or am I doing something wrong?

 

Thanks in advance :)

Link to comment
Share on other sites

Just a quick question:

Have you played TDM yet? If not, why compile code, if you can just download the binaries using the updater?

(or set the needed folders using the tdm rpm/deb packages)

 

Have a read on tdm compilation guide and please do a search on this forum for this subject.

you will find topics such like compiling-tdm-204-under linux.

Please compare that info with the wiki article and

 

please post your findings here, so we can add this to the article.

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Yes I have played TDM yet, I was compiling the SVN version because I wanted to see if I could help development of TDM.

I have read the compilation guide, but that just tells me to run the linuxBuild.sh.

I'd really just like to know if gamex86-base.so and tdm_game02.pk4 should be created by the compilation process or not, because I did not run into any error messages, yet they are missing although linuxBuild.sh mentions them.

Should it be an error that these files are missing I would investigate why that is and post my finding here :)

  • Like 1
Link to comment
Share on other sites

I have read the compilation guide, but that just tells me to run the linuxBuild.sh.

I'd really just like to know if gamex86-base.so and tdm_game02.pk4 should be created by the compilation process or not, because I did not run into any error messages, yet they are missing although linuxBuild.sh mentions them.

 

I think we should remove this linuxBuild.sh.

I did not update it after last changes.

I have no idea why is it needed at all, given that scons file can run any python code itself.

 

Please build TDM by invoking scons directly.

Simply go into source directory, and run "scons" or "scons --help".

 

UPDATE: This command should work:

  scons BUILD="release"
  • Like 1
Link to comment
Share on other sites

Yes thanks, the scons build runs just fine, as I said I just didn't know if the linuxBuild.sh was up-to-date, apparently not :)

Now I can actually go and find and report bugs, as before I couldn't be sure I wasn't the problem.

Thanks for your answer! :D

Link to comment
Share on other sites

  • 11 months later...

I have question regarding 2.06 on SVN.

 

There is a directory called 'release2.06' in the source tree that also contains the sources. Why is it there and which do I need to build the mod?

 

Thanks.

 

That should give you the same 2.06 source files as on our Downloads page:

 

http://www.thedarkmod.com/sources/thedarkmod.2.06.src.7z

 

 

If you want to be ahead of 2.06, the main SVN sources would do that:

 

https://svn.thedarkmod.com/publicsvn/darkmod_src/trunk

 

I've been compiling Windows binaries for the VBO Beta from that.

 

https://www.moddb.com/mods/the-dark-mod/downloads/tdm-206-vertex-buffer-beta

 

the VBO beta has the latest glprogs and GUI files from SVN too.

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

Thanks.

 

That should give you the same 2.06 source files as on our Downloads page:

Isn't that was version control is for? Just curious.

If you want to be ahead of 2.06, the main SVN sources would do that:

How stable is trunk? Does it break or fail to compile often?

Link to comment
Share on other sites

We always make a branch for each release but the last few releases we haven't done the whole

"merge back into trunk" game. Instead we've just branched at the end of the cycle.

 

Trunk is pretty stable now. The big issue right now is some strange behavior around SSE\SIMD detection.

You can force it to prevent "accidentally detecting AVX support in CPU's that don't have it" via "com_tempAllowAVX 0"

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

How stable is trunk? Does it break or fail to compile often?

The latest trunk does not compile on Linux due to latest Duzenko changes.

 

Overally, trunk is very unstable starting from the end of 2.06.

Things are improving steadily, but unfortunately in a "two step forward, one step back" fashion (if I'm not mistaken in the ratio) :(

 

If you want to compile latest SVN, you can try rev 7532.

Link to comment
Share on other sites

Revision 7532 compiles and seems to run fine. I haven't updated the data files yet though.

 

The machine I'm currently using is a notebook with an Intel Celeron (N2840@2.16GHz) on Archlinux with the Mesa OpenGL drivers. Not really suited for gaming but it is playable.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

I'm still trying to compile this on Arch Linux. Should I post every issue here or rather commit my fixes to SVN?

 

For example: This does not compile:

#define idQueue( type, next )    idQueueTemplate<type, (int)(size_t)&(((type*)NULL)->next)>

=>

#define idQueue( type, next )    idQueueTemplate<type, (int)(offsetof (type, next) >
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 1 reply
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...