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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 5 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...