Installer and Manual Installation

From The DarkMod Wiki
Jump to navigationJump to search

Introduction

For those who have difficulties to manual install The Dark Mod on there system, there are several ways who are described in this article.

Installation on Windows

Using the installer

Step 1:

Download the "The Dark Mod installer Windows" executable package from:

 http://www.moddb.com/mods/the-dark-mod/downloads/the-dark-mod-204-gui-installer-windows


Step 2:

Unpack the zip file and execute "tdm_installer"


Step 3:

At the welcome screen, click "next"


Step 4:

Read the licence and click "I agree"


Step 5:

At the choose components-screen, click "Next". (or select the components you want to install)


Step 6:

At the "choose install location", use the automaticly selected location for the gamefolder and click "install" (or change the location using the "browse" button)


Step 7:

After the installation, in the "completeing the darkmod installer setup", click finisch. so the the system automaticly run the updater. (or if you dont want to run the updater, uncheck button "launch the dark mod updater" and click finisch) In the updater you only have to click "continue" to download automaticly the files.


Notes

  • Start TDM

The game and updater can be executed via their startmenu/desktop shortcuts or directly from the tdm folder.

  • Delete TDM

The game and files can be uninstalled using the uninstaller in the folder where installed tdm to. Or via the startmenu or "software & components". windows configuration screen > software and components > "the dark mod"

  • Update TDM

To update TDM, run the updater from the folder where you installed tdm to. or using the menushortcut.

  • Installing in program files

To install TDM in programfiles-folder, please run the installer as administrator. (but not supported)

Installation on a Linux Distribution

There are several ways to install TDM on a Linux Distribution.

  • By a manual installation.
  • By installing a RPM/Deb package
  • Or using application "Play on Linux" (a WINE frontend)

Manual installation on a Linux Distribution

Step 1:

Create a folder and set the permissions. By opening a terminal window and enter the following commands:

   sudo mkdir -p /usr/share/games/darkmod
   sudo chown -R nobody:users /usr/share/games/darkmod
   sudo chmod uga+w /usr/share/games/darkmod
   exit


Step 2:

Now the updater needs to be downloaded, unpacked in the install foler and permissions need to be set. open the terminal again and enter the following lines:

   cd /usr/share/games/darkmod
   wget http://www.fidcal.com/darkuser/tdm_update_linux.zip
   unzip ./tdm_update_linux.zip -d /usr/share/games/darkmod
   rm ./tdm_update_linux.zip
   chmod uga+x ./tdm_update.linux


Step 3:

Run the updater

   ./tdm_update.linux


Step 4:

Wait until the updater ends, then

   chmod uga+x ./thedarkmod.x86

Manual Installation on Ubuntu Linux 64 bit

Step 1:

Open your terminal and enter the following commands:

   sudo dpkg --add-architecture i386
   sudo apt-get install libc6:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 libxxf86vm1:i386 libpng12-0:i386 libasound2-plugins:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386 wget unzip
   sudo mkdir -p /usr/share/games/darkmod
   sudo chown -R nobody:users /usr/share/games/darkmod
   sudo chmod uga+w /usr/share/games/darkmod
   exit

Step 2:

open the terminal again and enter the following lines:

   cd /usr/share/games/darkmod
   wget http://www.fidcal.com/darkuser/tdm_update_linux.zip
   unzip ./tdm_update_linux.zip -d /usr/share/games/darkmod
   rm ./tdm_update_linux.zip
   chmod uga+x ./tdm_update.linux

Step 3: Run the updater

   ./tdm_update.linux

Step 4: Wait until the updater ends, then:

   chmod uga+x ./thedarkmod.x86

Notes If you want to have some desktop shortcuts for the tdm-executable and the tdm-updater, create them and use the following settings: settings for updater-shortcut

   Path=/usr/share/games/darkmod/
   Exec=sh -c /usr/share/games/darkmod/tdm_update.linux;$SHELL
   Categories=Game;ArcadeGame;
   Type=Application

settings for the gameexecutable-shortcut

   Path=/usr/share/games/darkmod/
   Exec=sh -c /usr/share/games/darkmod/thedarkmod.x86;$SHELL
   Type=Application
   Terminal=false

DEB Package

Important:The DEB Package does not install dependencies packages.

Step 1:

Download the "The Dark Mod" deb package from: a site


Step 2:

Save the package in your "downloads" folder.


Step 3:

Go to your download folder and execute the deb-package. Or go to your terminal, navigate to the download file and run the following command:

   sudo dpkg -i darkmod.deb


Step 4:

A package manager will appear to install the package. Please follow the needed steps.


Step 5:

Run the tdm-updater. Open your terminal and enter the following command:

   cd /usr/share/games/darkmod; ./tdm_update.linux;

Or run the updater using the menushortcut.


Notes

  • TDM install

Its possible you need install several packages if needed. If the package manager doesnt install the package, install the package manually: Open a terminal window. type in the following command, hit the enter-keyboardbutton and insert your password if needed:

   sudo dpkg -i ~/Downloads/thedarkmod.deb
  • TDM Start

you will find the Shortcuts in your applications menu. Or open a terminal and exectute the following command:

   cd /usr/share/games/darkmod; ./thedarkmod.x86
  • TDM Update

Run the updater, by using the menushortcut. Or open a terminal and exectute the following command:

   cd /usr/share/games/darkmod; ./tdm_update.linux
  • TDM Delete

Remove tdm using your packagemanager Or open a terminal, exectute the following command:

   sudo dpkg -r darkmod
  • In the future the TDM-package will be publisched on popular repo's.

So you can install/update tdm with your favorite packagemanager.

RPM Package

Important:The RPM Package does not install dependencies packages.

Step 1:

Download the "The Dark Mod" rpm package from: a site


Step 2:

Save the package in your "downloads" folder.


Step 3:

Go to your download folder and execute the rpm-package.

Or open the terminal, navigate to the downloaded rpm-package and execute the following command:

   sudo rpm -ivh --ignorearch darkmod.rpm

A package manager will appear to install the package. Please follow the needed steps.


Step 4:

Run the tdm-updater. Manual: Open your terminal and enter the following command:

cd /usr/share/games/darkmod; ./tdm_update.linux;

Or run the updater using the desktopshortcut.

Step 5:

end


Notes

  • TDM install

Its possible you need install several packages if needed.

  • TDM Start

you will find the Shortcuts in your applications menu. Or open a terminal and exectute the following command:

cd /usr/share/games/darkmod; ./thedarkmod.x86
  • TDM Update

Run the updater, by using the menushortcut. Or open a terminal and exectute the following command:

cd /usr/share/games/darkmod; ./tdm_update.linux
  • TDM Delete

Remove tdm using your packagemanager or: sudo rpm -e darkmod

  • In the future the TDM-package will be publisched on popular repo's. So you can install/update tdm with your favorite packagemanager.

Installation on Mac OS

Because there is no native application for TDM on mac os. TDM needs to run on WINE, using Winery or Play on Mac.

Installation TDM:

Step 1:

Download and unpack the zip from: a site


Step 2:

mount the dmg-file, drag Thedarkmod to your applications home folder and close the folder.

Step 3:

umount the tdm image, remove the tdm image and zip file

Step 4:

Run the application from your applications home folder.

Step 5:

The TDM Launcher will open, select the dark mod updater and hit "close". (I need to change the label of that button)

Step 6:

Download the tdm-files with the tdm-updater.

Step 7:

close the updater

Step 8:

end


Running TDM

Step 1:

Go to your applications folder


Step 2:

run thedarkmod.app. The launcher will start.


Step 3:

select in the tdm launcher "The dark mod" and hit close. Wait for TDM to start.


Step 4:

end

Update TDM

Step 1:

Run the application from your applications home folder.


Step 2:

The TDM Launcher will open, select the dark mod updater and hit "close". (I need to change the label of that button)


Step 3:

Update the files using the updater.


Step 4:

close the updater


Delete tdm:

Just move the dark mod app to your trashbin and empty your trashbin.


Notes

  • This is a work-in-progress (early alpha) testversion. Tested with Mac os Mavericks (10.9.5) - intel.
  • TDM app is not a native mac application, It uses wineskin (a wine-wrapper) to run the application.
  • Its a big appication file (221 mb), because it contains everything you need to run tdm and its updater on Mac os.

But you have to download the gamefiles using the included tdm-updater (included in the app-file)

  • Created with Wineskin Winery 1.7, NSIS and Apple's diskutility.

Installation on Mac/Linux, using Play on Mac/Linux

TDM can also run on WINE, using WINE-frontend "Play on Mac" and "Play on Linux" https://www.playonlinux.com/ https://www.playonmac.com

Step 1:

first download and install PlayonMac / PlayonLinux


Step 2:

Then start Pol/Pom (playonlinux/playonmac)


Step 3:

Select the +-button (install).


Step 4:

In the next window, select the "Games" button, click checkbox "no-cd needed".


Step 5:

A popup window will appear to warn you about no-cd patched. Accept this by clicking the "OK"-button.


Step 6:

Select "The Darkmod" and click on the "install" button.


Step 7:

Several warning-popupwindows will appear, click the "ok" buttons, to accept them.


Step 8:

The Pol/Pom installation wizard starts, select next.


Step 9:

Select one of the three options and click on the "next"-button. my advice is to select the "online" option. (if you have the tdm_updater zip file, select "local updater zip" or if you have standalone darkmod 2.0,


Step 10:

select "local standalone zip") automatically the wizard installs the needed wine environment, the tdm-updater and shortcuts.


Step 11:

a popup-window can appear to install the mono installer, click on the "install" button.


Step 12:

The pol/pom installation wizard would like to run the updater, click on the "next" button.


Step 13:

The updater starts, click on the "continue"-button to download automaticly the needed game files. After the download procedure, close the updater. The Pol/Pom installation wizard creates some pol/pom shortcuts.


Step 14:

The wizard shows the end-of-script window, click on "next".


Step 15:

end


Notes

  • Text in Pol/Pom are automatically translated.
  • TDM Start

you will find the Shortcuts to TDM in the pol/pom main window.

  • TDM Delete

select configure button. In the next window select on the left side "TheDarkMod", click on the "remove"-button and accept the "remove virtual drive"-warning.

  • TDM Update

Run the updater, by using the shortcut from the pol/pom main window.