Jump to content


Photo

Installation of TDM 2.0 with ubuntu 13.04

ubuntu installation linux tdm 2.0

  • Please log in to reply
10 replies to this topic

#1 fraten

fraten

    Member

  • Member
  • PipPip
  • 73 posts

Posted 11 October 2013 - 10:18 AM

Hi!

Since I am trying out ubuntu 13.04 right now, I thought that I should try installing TDM 2.0. So I checked the wiki and tried my best.
As it is a standalone version now, I saved the TDM Updater (tdm_update_linux.zip) in the folder ~/.darkmod/ (instead of in a doom3 folder)
(btw: why does it need to be a hidden folder?).
I extracted the file, made it executable by right-clicking it
(Properties->Permissions->Allow executing file as program (Checkbox)).
Then I double-clicked the tdm_update.linux. Magically files did appear (also a folder 'fms' containing the training mission and tears of st lucia).
But now I'm stuck. Double-clicking the .pk4 files did not work. Dash gives no results for neither darkmod nor tdm. How do I get to play it?

Well, I'm pretty sure I provoked some severe facepalms by now, but every help is highly appreciated...

#2 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 7530 posts

Posted 11 October 2013 - 10:37 AM

You need to make open the executable not the pk4.

I think it's thedarkmod.x86
Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

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

#3 grayman

grayman

    Master Builder, Coder

  • Active Developer
  • PipPipPipPipPip
  • 11620 posts

Posted 11 October 2013 - 10:40 AM

You need to make open the executable not the pk4.

I think it's thedarkmod.x86


Yes, make "thedarkmod.x86" executable (I'm pretty sure the updater does that for you.)

Then run that, and the game should start.

#4 fraten

fraten

    Member

  • Member
  • PipPip
  • 73 posts

Posted 11 October 2013 - 10:53 AM

Thanks for the quick replies! But... um... no such file... is it possible that the updater is still running/downloading? How can I check that?
Please see screenshot. Posted Image

#5 taaaki

taaaki

    Forum Hoster

  • Root
  • 818 posts

Posted 11 October 2013 - 11:13 AM

That doesn't look like a complete download. Run the updater again to see if it still has stuff to download. Also, it mustn't be in a hidden folder. Just rename it to "darkmod" -> ~/darkmod/

I am the bat. The night is mine.


#6 lost_soul

lost_soul

    Advanced Member

  • Member
  • PipPipPip
  • 1456 posts

Posted 11 October 2013 - 12:14 PM

Under Linux, the general rule is if you want to execute a binary in the current directory, you call it like this:

./thedarkmod.x86

(not thedarkmod.x86)
If you try typing thedarkmod.x86 while it is in the current directory, it will indeed tell you there is no such file or directory.
You can double-click thedarkmod.x86 once its made executable.
Remember that file names in Linux are case sensitive.
Also, run the updater in a terminal so you can see the output. It will tell you "Your TDM installation is up to date".

Edited by lost_soul, 11 October 2013 - 12:19 PM.

--- War does not decide who is right, war decides who is left.


#7 fraten

fraten

    Member

  • Member
  • PipPip
  • 73 posts

Posted 11 October 2013 - 01:04 PM

...
Also, run the updater in a terminal so you can see the output. It will tell you "Your TDM installation is up to date".


Ah, now I see what the computer is actually doing! I needed to find out how to run a programm from the terminal, but google knew.
Sorry for being so stupid, but I'm willing to learn. Thanks a lot!

#8 fraten

fraten

    Member

  • Member
  • PipPip
  • 73 posts

Posted 11 October 2013 - 04:21 PM

It's me again, because this does not look right:

ubuntu@ubuntu-OptiPlex-745:~$ /home/ubuntu/darkmod/tdm_update.linux
TDM Updater v0.61 (c) 2009-2013 by tels & greebo. Part of The Dark Mod (http://www.thedarkmod.com).
----------------------------------------------------------------------------
Initialising...
Done.
----------------------------------------------------------------------------
Cleaning up previous update session...
Done.
----------------------------------------------------------------------------
Downloading mirror information...
Done downloading mirrors.
   Found 4 mirrors.
----------------------------------------------------------------------------
Downloading CRC file...
Downloading from Mirror waffles.za.net: crc_info.txt
[=========================] 100.0% at 2 kB/sec							   
----------------------------------------------------------------------------
Downloading version info file...
Downloading from Mirror roggen.jmnet.us: tdm_version_info.txt
[=========================] 100.0% at 9 kB/sec							   
Done downloading versions. Newest version is 2.00.
----------------------------------------------------------------------------
Trying to match local files to version definitions...
[=========================] 100.0% File:									 
Done comparing local files: no luck, PK4 files do not match.
----------------------------------------------------------------------------
Comparing local files to server definitions...
[=========================] 100.0% File:									 
Done comparing local files to server definitions.
Updates are available.  64 files need to be downloaded (size: 2.25 GB).
----------------------------------------------------------------------------
Downloading updates...
Downloading from Mirror waffles.za.net: saintlucia.pk4
[======================== ] 100.0% at 5 kB/sec							    terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
  what():  boost::filesystem::file_size: No such file or directory: "/home/ubuntu/fms/saintlucia/__saintlucia.pk4"
[======================== ] 100.0% at 5 kB/sec							   
Abort signal received, trying to exit gracefully.
Abort signal received, trying to exit gracefully.
Abgebrochen (Speicherabzug geschrieben)

I will restart and try again...

#9 lost_soul

lost_soul

    Advanced Member

  • Member
  • PipPipPip
  • 1456 posts

Posted 11 October 2013 - 06:23 PM

I wonder if you have the boost libraries installed? I'm not SURE if that's the problem, but I think TDM requires them. Hopefully one of the devs who is familiar with Linux can answer that. I'm familiar with Linux, I'm juist not a developer.

--- War does not decide who is right, war decides who is left.


#10 taaaki

taaaki

    Forum Hoster

  • Root
  • 818 posts

Posted 12 October 2013 - 02:12 AM

Um, don't run it like this: /home/ubuntu/darkmod/tdm_update.linux
I think the updater works off your PWD and not the executable path.

Do this instead:

cd /home/ubuntu/darkmod
./tdm_update.linux

I am the bat. The night is mine.


#11 fraten

fraten

    Member

  • Member
  • PipPip
  • 73 posts

Posted 12 October 2013 - 03:48 PM

Yay! It worked (no boost libraries were neeeded) It took about 23 hours of downloading, but it's running now. Although there's a sound problem, but that's a different thread...
Thanks to you all!
:wub:





Also tagged with one or more of these keywords: ubuntu, installation, linux, tdm 2.0

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users