Installer and Manual Installation: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
 
(197 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Introduction ==
== Introduction ==


For those who want to install The Dark Mod on their system,  
For those who want to install The Dark Mod on their system.<br>
there are several ways to do this, like:
Its possible to play this game on Windows, Linux and Mac os.<br>
 
The main method is:
# Create a folder and give it the name "darkmod"
# run the TDM-installer
# Set the right permissions shortcuts, install dependencies software packages (if there are needed).
 
And for the people who have difficulties to do this,<br>
the TDM-installer is created to do this automatically for them.
There are several ways to install TDM on your system, like:


'''Windows'''
'''Windows'''
* Installing TDM on Windows, using the installer
* Installing TDM on Windows, using the TDM installer
* Installing TDM on Windows, using the updater
* Installing TDM on Windows, using the unofficial freyks installer


'''Linux'''
'''Linux'''
* Manual installation on a Linux Distribution
* Manual installation on a Linux Distribution
* Manual Installation on Ubuntu Linux 64 bit
* Installing TDM on a linux distribtution, using a DEB Package
* Installing TDM on a linux distribtution, using a DEB Package
* Installing TDM on a linux distribtution, using RPM Package
* Installing TDM on a linux distribtution, using RPM Package
Line 19: Line 28:
* Installing TDM on on Mac/Linux, using Play on Mac/Linux
* Installing TDM on on Mac/Linux, using Play on Mac/Linux


== Install TDM on Windows, using the updater ==
== Windows ==
 
==== Install TDM on Windows, using the Installer ====


#As of version 2.01, TDM can be installed wherever you like. But is has to be in a folder named "Darkmod".<br>(And make sure you have read and write access to the folder:<br>righ click on folder > preferences > tab "security > edit > select users > full control)
#Create a folder,wherever you like and give it the name "Darkmod".
#Download the [http://wiki.thedarkmod.com/index.php?title=Tdm_update TDM Updater]
#Give all the users full acces-permission on that folder: <br>righ click on the darkmod folder > preferences > tab "security > edit > select users > full control
#Extract the '''tdm_update.exe''' from the downloaded ZIP and copy it into your '''darkmod''' directory.  
#Download the TDM installer from our [https://www.thedarkmod.com/downloads/ Download page].
#Start the tdm_update.exe. The installer will connect to one of our download mirrors and start the download process.
#Extract the '''tdm_installer.exe''' from the downloaded ZIP and copy it into your '''darkmod''' directory.  
#Be patient and wait. The download weighs > 2 GB and will probably take a while.
#Start the tdm_installer.exe.  
#First you will see the file location page. Do not select anything and just click on next-button.<br>The installer will connect to one of our download mirrors and downloads automaticcaly some information files.
#The summary page will be displayed. Click on the start-button, to start the download progress.
#The installer start to download the needed files. <br>Be patient and wait. The download weighs > 2 GB and will probably take a while.<br>Its possible that the updater stops downloading. Then close the updater and start the updater again.
#After installation, you’ll find an executable TheDarkMod.exe in your darkmod folder.<br>Use this to start The Dark Mod.
#After installation, you’ll find an executable TheDarkMod.exe in your darkmod folder.<br>Use this to start The Dark Mod.


== Install TDM on Windows, using the Installer ==
==== Install TDM on Windows, using freyks Installer ====
=== Installing TDM ===
===== Installing TDM =====
Using the installer
Using the installer


#Download the "The Dark Mod installer Windows" executable package from: http://www.moddb.com/mods/the-dark-mod/downloads/the-dark-mod-gui-installer-windows
#Download the "Freyk unofficial Dark Mod installer" executable package from: http://www.thedarkmod.com/downloads/
#Unpack the zip file and execute "tdm_installer"
#Unpack the zip file and execute "tdm_installer"
#At the welcome screen, click "next"
#At the welcome screen, click "next"
Line 41: Line 55:
#The installer then starts automaticly the updater. <br>(or if you dont want to runthe updater, uncheck button "launch the dark mod updater" and click finisch).  
#The installer then starts automaticly the updater. <br>(or if you dont want to runthe 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.
#In the updater you only have to click "continue" to download automaticly the files.
#Close the updater and start the updater and click on "continue" again, to check if you got all the files.
#close the updater
#end
#end


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


===  Updating TDM===   
=====  Updating TDM =====   
To update TDM, run the updater from the folder where you installed tdm to. or using the menushortcut.
To update TDM, run the installer from the folder where you installed tdm to. or using the menu shortcut.


=== Removing TDM===
===== Removing TDM =====
The game and files can be uninstalled using the uninstaller in the folder where installed tdm to. <br>
The game and files can be uninstalled by removing the darkmod folder<br>
Or if you installed tdm using the tdm-installer, use the installer: <br>
This can be started from:
This can be started from:
* the uninstaller in the the startmenu  
* the unsinstaller "TDM_uninstaller" inside the darkmod folder.
* Or "software & components". windows configuration screen > software and components > "the dark mod"
* the uninstaller in the the startmenu (the darkmod > uninstall the dark mod)
* Or windows settings > "software & components". windows configuration screen > software and components > "the dark mod"
 
===== Notes =====
* To read and write data in the tdm folder, give all the users the system permission to do this:<br> Locate the dark mod folder.<br>right click on the darkmod folder > preferences > tab "security > edit > select users > full control > ok > ok.<br>
* Installing in program files: <br>Its possible to place the darkmod-folder inside this folder.<br>But you have to set permissions as a administrator listed above.<br>(or use the TDM-installer)


=== Notes===
== Linux ==
* Installing in program files: To install TDM in programfiles-folder, please run the installer as administrator. (but not supported)


== Install TDM on a Linux Distribution ==
=== Install TDM on a Linux Distribution ===


You can play TDM also on several Linux distributions.<br>
You can play TDM also on several Linux distributions.<br>
(Tested on Ubuntu, Opensuse)
(Tested on Ubuntu, Opensuse)
The main method is to install TDM is:<br>
# install dependencies software packages (if there are needed).
# Create a folder and give it the name "darkmod", set write permissions to the folder (including subfolders en files)
# Download the installer/updater,
# extract the installer/updater in the darkmod folder.
# set the execute permissions to the executables.
# run the tdm_installer / updater to download the neeeded files.


There are several ways to install TDM on a Linux Distribution.
There are several ways to install TDM on a Linux Distribution.
* By using the Packagemanager of your Linux distribution
* By a manual installation.
* By a manual installation.
* By using the Packagemanager of your Linux distribution
* By installing a RPM/DEB softwarepackage  
* By installing a RPM/DEB softwarepackage  
* Or using application "Play on Linux" (a WINE frontend)
* Or using the windows application on Wine variant (like proton, "Play on Linux")


== Installing TDM on Linux, manually ==
===== Installing TDM on Linux, manually =====


=== Installing TDM ===
===== Installing TDM =====
Step 1:
<b>Step 1:</b>


Create a folder and set the permissions.
Create a folder and set the permissions.
Line 78: Line 107:
     sudo mkdir -p /usr/share/games/darkmod
     sudo mkdir -p /usr/share/games/darkmod
     sudo chown -R nobody:users /usr/share/games/darkmod
     sudo chown -R nobody:users /usr/share/games/darkmod
     sudo chmod uga+w /usr/share/games/darkmod
     sudo chmod -R uga+w /usr/share/games/darkmod
     exit
     exit




Step 2:
<b>Step 2:</b>


Now the updater needs to be downloaded, unpacked in the install folder and permissions need to be set.<br>
Now the updater needs to be downloaded, unpacked in the install folder and permissions need to be set.<br>
To do this, open the terminal again and enter the following lines:
To do this, open the terminal again and enter the following lines:
   
     cd /usr/share/games/darkmod
     cd /usr/share/games/darkmod
     wget http://www.fidcal.com/darkuser/tdm_update_linux.zip
     wget https://update.thedarkmod.com/zipsync/tdm_installer.linux64.zip
     unzip ./tdm_update_linux.zip -d /usr/share/games/darkmod
     unzip ./tdm_installer.linux64.zip -d /usr/share/games/darkmod
     rm ./tdm_update_linux.zip
     rm ./tdm_installer.linux64.zip
     chmod uga+x ./tdm_update.linux
     chmod uga+x ./tdm_installer.linux64


 
<b>Step 3:</b>
Step 3:


Run the updater
Run the updater
     ./tdm_update.linux
     ./tdm_installer.linux64
 
<b>Step 4:</b>
 
Step 4:


Wait until the updater ends, then give everybody the permission to start the applicationfile "thedarkmod.x86".
Wait until the updater ends, then give everybody the permission to start the applicationfile "thedarkmod.x86".
     chmod uga+x ./thedarkmod.x86
     chmod uga+x ./thedarkmod.x64
(for the 32 bit: chmod uga+x ./tdm_update.x86)<br>
<br>
'''Note:'''<br>
Its possible you need to install some required packages before or after the installation.<br>
The packages you need will be displayed as an cryptic error. See the notes below.<br>


===  Running TDM ===  
=====  Running TDM =====
Open a terminal and run the following command:
Open a terminal and run the following command:
  cd /usr/share/games/darkmod; ./thedarkmod.x86
  cd /usr/share/games/darkmod; ./thedarkmod.x64
===  Updating TDM ===  
 
=====  Updating TDM =====  
Open a terminal and run the following command:
Open a terminal and run the following command:
  cd /usr/share/games/darkmod; ./tdm_update.linux
  cd /usr/share/games/darkmod; ./tdm_installer.linux64
===  Removing TDM ===  
 
=====  Removing TDM =====
Open a terminal and run the following command:
Open a terminal and run the following command:
  rm -rf /usr/share/games/darkmod
  rm -rf /usr/share/games/darkmod


== Installing TDM on Linux, using the Packagemanager ==
==== Installing Dependencies ====
The dark mod can be installed using the packagemanager of your linux distribution.
Its possible you need to install some required libraries/packages before or after the installation.<br>
But you have to find applications-repositories, that contains "The dark mod" softwarepackage.
Packages like "OpenAL" (audio), "MESA" (video), "libxext", "libxxf86vm1", "libpng" <br>And maybe drivers for the video card.<br>
<br>
First install the packages mentioned above, using your packagemanager<br>
Then determine the other packages you need, using command "ldd" or TDM's application errors.<br>
Do a quick internet search using the name of the missing package to search and install the package.


=== Installing TDM, using the packagemanager ===
To determine the other packages you need is:<br>
#Open your packagemanager.
* by using the command "ldd" <br>
#Add the address of the  application respository, that contains the TDM Software package.
* Or to look for application errors when you start the application<br>(or look for error in the darkmod.log)
#Search for the dark mod inside the packagemanager.
#Install The dark mod.  


===  Running TDM ===
Use command "ldd" like:  
Open a terminal and run the following command:
  ldd ./thedarkmod.x64
cd /usr/share/games/darkmod; ./thedarkmod.x86


An example output would be:
  linux-vdso.so.1 (0x00007ffe6c57d000)
  librt.so.1 => /lib64/librt.so.1 (0x00007f8e67217000)
  libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f8e66e8d000)
  libm.so.6 => /lib64/libm.so.6 (0x00007f8e66b42000)
  libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8e6692a000)
  libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8e6670c000)
  libc.so.6 => /lib64/libc.so.6 (0x00007f8e66352000)
  /lib64/ld-linux-x86-64.so.2 (0x00007f8e6741f000)
When a package is not found, it will display the error "not found" between the lines.<br>
<br>
And other way is to run TDM application/updater binary and look for errors that will be displayed<br>
Application errors are like these: <br>
  ./thedarkmod.x64: error while loading shared libraries: <the_needed_package> :cannot open shared object file: No such file or directory


=== Updating TDM, using the packagemanager ===
After determining the missing packages,<br>
run with your terminal file "tdm_update.x86" inside the dark mod folder.<br>
A quick internet search using the name of the missing package,<br>
or<br>
gives the names of the packages you have to install.<br>
Update TDM using your packagemanager.
#Open your packagemanager.
#Search for the dark mod package.
#update the dark mod package.


=== Removing TDM, using the packagemanager ===
An example of the required packages for tdm 2.07 on opensuse leap:<br>
#Open your packagemanager.
libm,libstdc++,libgcc_s,libstdc++,libgcc_s,libpthread,libX11<br>
#Search for the dark mod package.
libdl,libstdc++,libopenal,libpthread,libboost_system,libcurl,libjpeg,libm<br>
#remove the dark mod package.
libstdc++,libz,libboost_filesystem,libstdc++,libXext,libboost_program_options,<br>
libIL,libXxf86vm,libavcodec,libavformat,libavutil,libswscale,libswresample<br>and xdg-utils


== Installing TDM on Linux, using DEB Softwarepackage ==
=== Installing TDM ===
'''Important:'''This DEB Package does not install dependencies packages.<br><br>


Step 1:


Download the "The Dark Mod" deb package from:
'''Notes'''<br>
[https://freyk.wordpress.com/tdm-installer/ https://freyk.wordpress.com/tdm-installer/]
* Its possible you need to install some required packages before or after the installation.<br>


=== Install TDM using a Packagemanager / installation software of your Linux distribution  ===
Every linux distribution has its own methods to install the game using his packagemanager.<br>
Most of the time is first adding a link in the packagemanager config to a data repository.<br>
Then install the package using the packagemanager.<br>
After this, set the write permissions to the darkmod folder and the exectution permissions to the binaries. <br>
If you want to remove the package, use the package manager.<br>
If you want to update TDM use the TDM updater inside your TDM game folder.
<br>
<br>
==== OpenSuse ====
Add the opensuse "games repo" to you packagemanager [https://en.opensuse.org/openSUSE:Games Howto], <br>
Install "thedarkmod" with software management (yast > software management). <br>
After the installation , set the write permissions to the darkmod folder, <br>
download the updater put it inside the folder, <br>
set the execution permissions to the binaries and run the updater.<br>
To do this, open an console window and run the lines:
  sudo chown -R nobody:users /usr/share/games/darkmod
  sudo chmod -R uga+w /usr/share/games/darkmod
  chmod uga+x ./tdm_update.linux
  chmod uga+x ./tdm_update.linux64
  ./tdm_update.linux
  chmod uga+x ./thedarkmod.x64
<br>
Open a terminal and run the following command:
cd /usr/share/games/darkmod; ./thedarkmod.x86
Or your an application shortcut.<br>
<br>
<b>Build repository:</b> [https://build.opensuse.org/package/show/games/thedarkmod Build repository]<br>
<b>Search:</b> [https://software.opensuse.org/package/thedarkmod?search_term=the+dark+mod Opensuse software Search]<br>




Step 2:
==== Gentoo ====
<b>Ebuild with systemwide files (2xsaiko):</b><br>
Ebuild: https://git.sr.ht/~dblsaiko/ebuilds/tree/master/games-rpg/thedarkmod<br>
You can install the game by enabling that Portage overlay and then emerging the games-rpg/thedarkmod package:
  eselect repository enable 2xsaiko # (alternatively, add the repo using layman)
  emerge games-rpg/thedarkmod
forum topic: <br>
https://forums.thedarkmod.com/index.php?/topic/20698-i-made-a-gentoo-package-for-the-dark-mod/<br>
<br>
<br>


Save the package in your "downloads" folder.
=== Installing TDM on Linux, using DEB Softwarepackage ===
==== Installing TDM ====


<b>Step 1:</b><br>
Download the "The Dark Mod" deb package from:
[https://freyk.wordpress.com/tdm-installer/ https://freyk.wordpress.com/tdm-installer/]


Step 3:
<b>Step 2:</b><br>
Save the package in your "downloads" folder.


<b>Step 3:</b><br>
Go to your download folder and execute the deb-package.
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:
Or go to your terminal, navigate to the download file and run the following command:
     sudo dpkg -i darkmod.deb
     sudo dpkg -i darkmod.deb


 
<b>Step 4:</b><br>
Step 4:
 
A package manager will appear to install the package. Please follow the needed steps.
A package manager will appear to install the package. Please follow the needed steps.


 
<b>Step 5:</b><br>
Step 5:
 
Run the tdm-updater.
Run the tdm-updater.
Open your terminal and enter the following command:  
Open your terminal and enter the following command:  
Line 177: Line 259:
Or run the updater using the menushortcut.
Or run the updater using the menushortcut.


=== Running TDM===  
<b>Important:</b><br>
This DEB Package does not install dependencies packages.<br><br>
 
==== Running TDM====  
you will find the Shortcuts in your applications menu.<br>
you will find the Shortcuts in your applications menu.<br>
Or open a terminal and exectute the following command:
Or open a terminal and exectute the following command:
     cd /usr/share/games/darkmod; ./thedarkmod.x86
     cd /usr/share/games/darkmod; ./thedarkmod.x86
=== Updating TDM===  
==== Updating TDM====
Run the updater, by using the menushortcut.<br>
Run the updater, by using the menushortcut.<br>
Or open a terminal and exectute the following command:
Or open a terminal and exectute the following command:
     cd /usr/share/games/darkmod; ./tdm_update.linux
     cd /usr/share/games/darkmod; ./tdm_update.linux
=== Removing TDM===  
==== Removing TDM====  
Remove tdm using your packagemanager<br>
Remove tdm using your packagemanager<br>
Or open a terminal, exectute the following command:
Or open a terminal, exectute the following command:
Line 193: Line 278:




=== Notes===  
==== Notes====  
* Its possible you need install several dependencies packages<br>
* Its possible you need install several dependencies packages<br>
* In the future the TDM-package will be publisched on popular repo's.<br>So you can install/update/remove TDM with your favorite packagemanager.
* In the future the TDM-package will be publisched on popular repo's.<br>So you can install/update/remove TDM with your favorite packagemanager.


== Installing TDM on Linux, using a RPM Softwarepackage ==
=== Installing TDM on Linux, using a RPM Softwarepackage ===
=== Installing TDM ===
==== Installing TDM ====


'''Important:'''<br>
'''Important:'''<br>
Line 233: Line 318:
End.
End.


=== Running TDM Start===  
==== Running TDM Start====
Use the Shortcuts in your applications menu.
Use the Shortcuts in your applications menu.
Or open a terminal and execute the following command:
Or open a terminal and execute the following command:
  cd /usr/share/games/darkmod; ./thedarkmod.x86
  cd /usr/share/games/darkmod; ./thedarkmod.x86
=== Updating TDM===  
==== Updating TDM====  
Run the updater, by using the menushortcut.
Run the updater, by using the menushortcut.
Or open a terminal and exectute the following command:
Or open a terminal and exectute the following command:
  cd /usr/share/games/darkmod; ./tdm_update.linux
  cd /usr/share/games/darkmod; ./tdm_update.linux
=== Removing TDM===  
==== Removing TDM====  
Remove tdm using your packagemanager or: sudo rpm -e darkmod
Remove tdm using your packagemanager or: sudo rpm -e darkmod


=== Notes===  
==== Notes====  
* It's possible you need install several packages if needed.
* It's possible you need install several packages if needed.
* In the future the TDM-package will be publisched on popular repo's.<br>So you can install/update tdm with your favorite packagemanager.
* In the future the TDM-package will be publisched on popular repo's.<br>So you can install/update tdm with your favorite packagemanager.


== Installing TDM on Linux 64 bit, manually ==
=== Installing TDM on Linux: Creating application shortcuts ===
 
'''Important:'''<br>
The TDM linux binary is 32 bit.<br>
To run this binary on your 64 bit system, you have to install some 32 bit packages.
 
=== Installing TDM ===
Step 1:
Create the dark mod folder in your /usr/share, set permissions and download the needed 32bit packages.
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:
Download the updater zip-package, extract it, remove the zip-package and set permission
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
 
Step 5:
End
 
=== Running TDM ===
Use the Shortcuts in your applications menu.
Or open a terminal and execute the following command:
cd /usr/share/games/darkmod; ./thedarkmod.x86
 
=== Updating TDM===
Run the updater, by using the menushortcut.
Or open a terminal and exectute the following command:
cd /usr/share/games/darkmod; ./tdm_update.linux
=== Removing TDM===
Remove the game folder:
rm -rf /usr/share/games/darkmod
 
 
'''Notes'''
* maybe you need also to install some 32bit libraries for your videocard:
** for nvidea: libgl1-nvidia-glx:i386
* For black screen, you may install 32-bit S3TC libraries.
 
== Installing TDM on Linux: Creating application shortcuts ==
If you want to have some desktop shortcuts for the tdm-executable and the tdm-updater,<br>
If you want to have some desktop shortcuts for the tdm-executable and the tdm-updater,<br>
Its advisable to create a shortcut that opens a terminal and runs the game.<br>
Its advisable to create a shortcut that opens a terminal and runs the game.<br>
Just create or shortcut file, using the default way to create shortscuts in your desktopmanager (in KDE or gnome)<br>
And change the the shortcut settings so its starts TDM in a shell window.


Create these shortcuts using the following settings:<br>
Create a empty file, give it a name and end with the .desktop extesion.
    touch  $HOME/Desktop/thedarkmod.desktop
Then open the file with your favorite texteditor and put in the following codelines.<br>


Settings for updater-shortcut
Codelines for updater-shortcut:
     Path=/usr/share/games/darkmod/
     Path=/usr/share/games/darkmod/
     Exec=sh -c /usr/share/games/darkmod/tdm_update.linux;$SHELL
     Exec=sh -c /usr/share/games/darkmod/tdm_update.linux64;$SHELL
     Categories=Game;ArcadeGame;
     Categories=Game;ArcadeGame;
     Type=Application
     Type=Application
 
(or for the 32 bit: Exec=sh -c /usr/share/games/darkmod/tdm_update.linux;$SHELL)
Settings for the gameexecutable-shortcut
<br>
<br>
Codelines for the gameexecutable-shortcut:
     Path=/usr/share/games/darkmod/
     Path=/usr/share/games/darkmod/
     Exec=sh -c /usr/share/games/darkmod/thedarkmod.x86;$SHELL
     Exec=sh -c /usr/share/games/darkmod/thedarkmod.x64;$SHELL
     Type=Application
     Type=Application
     Terminal=false
     Terminal=false
(or for the 32 bit: Exec=sh -c /usr/share/games/darkmod/thedarkmod.x86;$SHELL)
<br>
=== Video drivers ===
If you get the following error: Unable to initialize OpenGL<br>
TDM cannot start his video engine. Video drivers needs to be installed/updated. <br>
<br>
=== Running 32 bit application on a 64 bit system ===
You can also use the The Darkmod 2.05 (or earlier) uses 32-bit binaries<br>If you want to run them on a 64 bit system, you need to install 32 bit environment packages:
* Running 32-bit apps on ubuntu 64 bit:<br> sudo dpkg --add-architecture i386; sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386;
* Running 32-bit apps on opensuse (method 1):<br>zypper install patterns-openSUSE-x86
* Running 32-bit apps on opensuse (method 2):<br>open yast software manager > paterns > install "x86 runtime environment"
* Other 32bit libraries you may need:<br>libc6:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 libxxf86vm1:i386 libpng12-0:i386<br>libasound2-plugins:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386
* For black screen, you may install 32-bit S3TC libraries.
* maybe you need also to install some 32bit libraries for your videocard:
* for nvidea: libgl1-nvidia-glx:i386
<br>
<br>


== Installing TDM on Mac OS ==
 
 
== Mac OS ==
=== Installing TDM on Mac OS ===


There are several ways to run TDM on Mac Os.
There are several ways to run TDM on Mac Os.


You can  
You can  
* install TDM 2.05
* install TDM 2.05 (32 bit) on 32 bit supported Mac OS.
* install TDM in WINE
* Running the recent TDM version of the windows game in WINE on Mac OS.
** Using PlayonMac
** Using the Winery package
** Using the Winery package
** Using PlayonMac
<br>
<br>
<b>Note:</b><br>
The preferred method to run the most recent version of the game,<br>
is to run the windows version using WINE on Mac OS.<br>
Because there are people who don't want, or are unexperienced, <br>
to create a recent/universal-version mac os binaries for it.<br>
OFFICIAL MESSAGE: MAC OS is not supported by the TDM Team.


== Installing TDM on Mac OS, version 2.05 ==
=== Installing TDM on Mac OS, version 2.05 ===
=== Installing TDM ===
Installing TDM 2.05 on a 32bit supported Mac OS.<br>
===== Installing TDM =====
#Download packages 2.0 (full) and the updatepackages to update 2.05.
#Download the OSX binary from [http://www.moddb.com/mods/the-dark-mod/downloads/the-dark-mod-205-native-osx-binaries MODDB], [http://www.moddb.com/mods/the-dark-mod/downloads/the-dark-mod-205-native-osx-binaries http://www.moddb.com/mods/the-dark-mod/downloads/the-dark-mod-205-native-osx-binaries]
#Download the OSX binary from [http://www.moddb.com/mods/the-dark-mod/downloads/the-dark-mod-205-native-osx-binaries MODDB], [http://www.moddb.com/mods/the-dark-mod/downloads/the-dark-mod-205-native-osx-binaries http://www.moddb.com/mods/the-dark-mod/downloads/the-dark-mod-205-native-osx-binaries]
#Go to your home folder and create folder "games"
#Go to your home folder and create folder "games"
#navigate to yet created folder games, and create another folder names "darkmod"
#navigate to yet created folder games, and create another folder names "darkmod"
#Go to the downloads folder and move file "OSX_TDM_205.zip" to the darkmod folder.  
#Go to the downloads folder and all tdm releated files to the darkmod folder.  
#Go to the darkmod folder and extract "OSX_TDM_205.zip" and remove the zip-file
#Go to the darkmod folder and extract first the 2.0 full package, extract all update packages 2.05 and extract "OSX_TDM_205.zip" and remove all zip-files
#Then extract "The Dark mod.app.zip" and "tdm_update_macosx.zip" and remove those zip-files.
#Then extract "The Dark mod.app.zip" and "tdm_update_macosx.zip" and remove those zip-files.
#open "Terminal" (go to finder, search for "terminal")
#open "Terminal" (go to finder, search for "terminal")
#enter to following lines and hit the enter-button after every line:
#enter to following lines and hit the enter-button after every line:
    cd ~/games/darkmod
#cd ~/games/darkmod
    ./tdm_update.macosx
#chmod uga+x ./tdm_update.macosx
#./tdm_update.macosx
#The updater will start to download the files.<br>Wait until all the needed files are downloaded.<br>Note: you can cancel the application by pressing combination ctrl+c
#The updater will start to download the files.<br>Wait until all the needed files are downloaded.<br>Note: you can cancel the application by pressing combination ctrl+c
#close terminal
#close terminal
<br>
<br>


===Running TDM 2.05 on Mac OS===
===== Running TDM 2.05 on Mac OS =====
#navigate to your homefolder. From there open folders games and darkmod.
#navigate to your homefolder. From there open folders games and darkmod.
#run the app "The Dark Mod".
#run the app "The Dark Mod".
<br>
<br>
'''Note:''' If the application doesnt start, check your security panel to give the permission to run the application.
'''Note:'''<br>
If the application doesnt start, check your security panel to give the permission to run the application.<br>
Or use the following terminal command:
    spctl --add ~/games/darkmod/The\ Dark\ Mod.app
or
    sudo spctl --master-disable
After changing this setting in the commandline, the setting needs to reset to the new setting.<br>
Then goto security & privacy > click on the lock > use password and check if the checkbox "from anywhere" is checked.<br>
click on the lock > use password > select "app store" > click on the lock.<br>
click on the lock > use password > select "from anywhere" > and click on popup message "from anyware" and click on the lock. <br>
<br>
<br>


===Updating TDM 2.05 on Mac OS===
===== Updating TDM 2.05 on Mac OS =====
#open "Terminal" (go to finder, search for "terminal")
#open "Terminal" (go to finder, search for "terminal")
#enter to following lines and hit the enter-button after every line:
#enter to following lines and hit the enter-button after every line:
Line 365: Line 441:
<br>
<br>


===Deleting TDM 2.05 on Mac OS===
=====Deleting TDM 2.05 on Mac OS=====


#move the tdm folder (in your games folder) to the trashcan.
#move the tdm folder (in your games folder) to the trashcan.
Line 371: Line 447:
<br>
<br>


===Debuggin===
=====Debugging TDM on Mac OS, using version 2.05 =====
To debug tdm,  
To debug tdm,  
#open terminal
#open terminal
#navigate with the terminal to the dark mod folder, <br>using command: cd ~/games/darkmod/
#navigate with the terminal to the dark mod folder, <br>using command: cd ~/games/darkmod/
#navigate into the app: cd The\ Dark\ Mod.app/Contents/MacOS/
#navigate into the app: cd The\ Dark\ Mod.app/Contents/MacOS/
#run the application: .\The\ Dark\ Mod
#run the application (including a [http://wiki.thedarkmod.com/index.php?title=Debugging_TDM_systemerrors arguments], like):<br> .\The\ Dark\ Mod +condump ~/game/darkmod/mylog.txt


== Installing TDM on Mac OS, using WINE ==
=== Installing TDM on Mac OS, using WINE ===


For every new version of TDM, the developers need to create an executable for the version.<br>
For every new version of TDM, the developers need to create an executable for the version.<br>
This can take a while.<br>
This can take a while.<br>
In the meantime, you can run the TDM (for windows) on MAC OS, using WINE.<br>
In the meantime, you can run the TDM (for windows) on MAC OS, using WINE.<br>
WINE is a collection of files to run Windows Applications on non-windows systems.
WINE is a collection of application to run Windows Applications on non-windows systems.
   
   
To run TDM on mac os using WINE,<br>We advice to use:  
To run TDM on mac os using WINE, we advice to use:  
* the Winery package  
* or Playonmac (a front-end for WINE).
* or Playonmac.<br>
* or the Winery package (all-in-one package)<br>  


Freyk, creator of the TDM installer and other TDM-softwareinstallation packages, advices you to use the winery package.<br>
Freyk, creator of the TDM installer and other TDM-softwareinstallation packages, <br>
Because you dont have to install other applications to run TDM.
advices you to use [https://www.playonmac.com Playonmac].<br>
<br>
<br>


== Installation of TDM on Mac OS, using wineskin ==
=== Installation of TDM on Mac OS, using wineskin ===
The wineskin package is an all-in-one application.<br>
The wineskin package is an all-in-one application.<br>
It includes the updater, the tdm-launcher and several other files to run TDM in WINE.<br>
It includes the updater, the tdm-launcher and several other files to run TDM in WINE on Mac OS<br>
<br>
<br>
'''Note:''' There are no other depended software installations needed.<br>
'''Note:''' There are no other depended software installations needed.<br>
<br>
<br>


===Installation TDM===
===== Installation TDM =====


#Download the DMG-file from: [https://freyk.wordpress.com/tdm-installer/ https://freyk.wordpress.com/tdm-installer/]
#Download the DMG-file from: [https://drive.google.com/drive/folders/0B11KjeFMVuwMNUpZUEc5TFdUUXM?resourcekey=0-grrBix9MguqbGM9APQEQAw&usp=sharing Freyks google drive]
#Extract the dmg-file from the zipfile.
#Extract the dmg-file from the zipfile.
#Mount the dmg-file (dbyoubleclick on the dmg-file)
#Mount the dmg-file (dbyoubleclick on the dmg-file)
Line 415: Line 491:
#end.
#end.


===Running TDM===
=====Running TDM=====


#Go to your applications folder
#Go to your applications folder
Line 428: Line 504:
*If TDM application doesnt start from the launcher, run the updater.
*If TDM application doesnt start from the launcher, run the updater.


===Updating TDM===
=====Updating TDM=====


#Run the application from your applications home folder.
#Run the application from your applications home folder.
Line 437: Line 513:




===Removing TDM===
=====Removing TDM=====


Just move "the dark mod" app from your application folder to your trashbin<br>and empty your trashbin.
Just move "the dark mod" app from your application folder to your trashbin<br>and empty your trashbin.




=== Notes===  
===== Notes=====
* If the application doesnt start, check mac os security panel to give the permission to run the application.<br>Or rightclick on the application > open > and in the popupsecuritywarning select "open".
* If the application doesnt start, check mac os security panel to give the permission to run the application.<br>Or rightclick on the application > open > and in the popupsecuritywarning select "open".
* This application package doesnot include the main-files for TDM. <br>The files has to be downloaded, using the updater.
* This application package doesnot include the main-files for TDM. <br>The files has to be downloaded, using the updater.
Line 451: Line 527:


== Installing TDM on Linux/Mac OS, using PlayonMac/PlayonLinux ==
== Installing TDM on Linux/Mac OS, using PlayonMac/PlayonLinux ==
[https://www.playonmac.com Playonmac] and [https://www.playonlinux.com PlayOnLinux] and are application suites. <br>Theses suites contains WINE to run Windows-based applications<br> and a Graphical front-end to manage this all<br>
[https://www.playonmac.com Playonmac](pom) and [https://www.playonlinux.com PlayOnLinux](pol) and are WINE application suites. <br>
From this application-suite you can install TDM.
Theses suites contains WINE, a collection of applications, to run Windows-based applications on Mac os.<br>  
and a user-friendly front-end to manage this all.<br>
*https://www.playonlinux.com  
*https://www.playonlinux.com  
*https://www.playonmac.com
*https://www.playonmac.com
<br>
<br>
=== Installing TDM ===
=== Installing TDM (method 1) ===
# First download, install and start PlayonMac (pol) / PlayonLinux (pom).
# Download the windows version of the TDM Installer from the [https://www.thedarkmod.com/downloads/ TDM download page]<br>extract the zip file, so you only have exe-file.
# Click on "install a program"
# The "install menu" appears. click on "Install a non-listed program"
# The Wizard window appears, with displaying a warning third-developer warning.<br>Ignore this and click next.
# You get the question "What would you like to do", <br> select "install a program in a new virtual drive", click next
# The wizard window ask you to you to give the virtual drive a name, call it: Darkmod
# The following question "What would you like to do before installation".<br>Keep everything unticked and click next
# The following question "what king of virtual drive do you want to create",<br>select "64 bit windows installation" and click next
# The wizard window automatically create now a virtual drive
# Also it wants you to install Wine mono installer.<br>The application automaticly get Wine mono installer for you.<br>The Wine mono installer will appear, click on "install".
# Also it wants you to install Wine Gecko installer.<br>The wizard window automaticly get Wine Gecko installer for you.<br>The Wine Gecko installer will appear, click on "install".
# The wizard ask you to select the installation file.<br>click "browse" and select the tdm updater.<br> in another window, select the tdm updater and click "open" > "next".
# Now the tdm installer will start.<br>When the TDM installer is started, follow its close it (we will run the installer later).
# After following the TDM updater instructions or close the updater,<br> the wizard ask you to select the files you want to make shortcuts to.
# The wizard ask again you to select the files you want to make a shortcut to.
# Select the dark mod, click next, give it a name, click next
# the wizard ask you to select the files you want to make shortcuts to.
# Select the TDM installer, click next, give it a name, click next.
# The wizard ask again you to select the files you want to make a shortcut to,<br> but now select "i dont want to make another shortcut" and click on "next".
# The shortcuts of TDM application and its installer will be shown in pol/pom and created on your desktop.
# Run the tdm installer again from your pol/pom menu, to download the game-files.
# done.
<br>
<b>Note:</b><br>
Its possible that the TDM updater will give you some errors, during the first start of the updater.<br>
close the tdm updater, create shortcuts to it and run the updater again using the shortcut.<br>
You can also run first the windows version of Freyks Unofficial installer, instead of the TDM updater<br>
This install will create the gamefolder and runs the updater after this.<br>
 
=== Installing TDM (method 2) ===
To install TDM in PlayonLinux/PlayonMac, first install Playonmac/PlayonLinux on your system<br>
and then follow the installation methods for Windows (manual, updater or tdm installer).<br>
Or install TDM by selecting the game in the application list of PlayonMac/PlayonLinux.<br>
<br>
#First download and install PlayonMac (pol) / PlayonLinux (pom)
#First download and install PlayonMac (pol) / PlayonLinux (pom)
#Then start Pol/Pom.  
#Then start Pol/Pom.  
Line 466: Line 578:
#The Pol/Pom installation wizard starts, select next.
#The Pol/Pom installation wizard starts, select next.
#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)  
#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)  
#select "local standalone zip") automatically the wizard installs the needed wine environment, the tdm-updater and shortcuts.
#select "online" or "local standalone zip" automatically the wizard installs the needed wine environment, the tdm-updater and shortcuts.
#a popup-window can appear to install the mono installer, click on the "install" button.
#a popup-window can appear to install the mono installer, click on the "install" button.
#The pol/pom installation wizard would like to run the updater, click on the "next" button.
#The pol/pom installation wizard would like to run the updater, click on the "next" button.
Line 472: Line 584:
#After the download procedure, close the updater. The Pol/Pom installation wizard creates some pol/pom shortcuts.
#After the download procedure, close the updater. The Pol/Pom installation wizard creates some pol/pom shortcuts.
#The wizard shows the end-of-script window, click on "next".
#The wizard shows the end-of-script window, click on "next".
#For TDM 2.06 and later msvc needs to be installed in the playonmac/playonlinux container of The dark mod or The dark mod updater:
#Start playonmac/playonlinux > click on playonmac/playonlinux container of "The dark mod" or "The dark mod updater" > left side column, click on "configure" > select tab "install components" > select "vcrun2013" (or something like that) > install.
#end
#end


Line 493: Line 607:
* 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 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.
* TDM Update: Run the updater, by using the shortcut from the pol/pom main window.
[[Category:Installation]]
[[Category:General]]

Latest revision as of 08:47, 6 February 2023

Introduction

For those who want to install The Dark Mod on their system.
Its possible to play this game on Windows, Linux and Mac os.

The main method is:

  1. Create a folder and give it the name "darkmod"
  2. run the TDM-installer
  3. Set the right permissions shortcuts, install dependencies software packages (if there are needed).

And for the people who have difficulties to do this,
the TDM-installer is created to do this automatically for them.

There are several ways to install TDM on your system, like:

Windows

  • Installing TDM on Windows, using the TDM installer
  • Installing TDM on Windows, using the unofficial freyks installer

Linux

  • Manual installation on a Linux Distribution
  • Installing TDM on a linux distribtution, using a DEB Package
  • Installing TDM on a linux distribtution, using RPM Package
  • Installing TDM on a Linux distribution, using Play on Mac/Linux

Mac OS

  • Installing TDM on on Mac OS
  • Installing TDM on on Mac/Linux, using Play on Mac/Linux

Windows

Install TDM on Windows, using the Installer

  1. Create a folder,wherever you like and give it the name "Darkmod".
  2. Give all the users full acces-permission on that folder:
    righ click on the darkmod folder > preferences > tab "security > edit > select users > full control
  3. Download the TDM installer from our Download page.
  4. Extract the tdm_installer.exe from the downloaded ZIP and copy it into your darkmod directory.
  5. Start the tdm_installer.exe.
  6. First you will see the file location page. Do not select anything and just click on next-button.
    The installer will connect to one of our download mirrors and downloads automaticcaly some information files.
  7. The summary page will be displayed. Click on the start-button, to start the download progress.
  8. The installer start to download the needed files.
    Be patient and wait. The download weighs > 2 GB and will probably take a while.
    Its possible that the updater stops downloading. Then close the updater and start the updater again.
  9. After installation, you’ll find an executable TheDarkMod.exe in your darkmod folder.
    Use this to start The Dark Mod.

Install TDM on Windows, using freyks Installer

Installing TDM

Using the installer

  1. Download the "Freyk unofficial Dark Mod installer" executable package from: http://www.thedarkmod.com/downloads/
  2. Unpack the zip file and execute "tdm_installer"
  3. At the welcome screen, click "next"
  4. Read the licence and click "I agree"
  5. At the choose components-screen, click "Next". (or select the components you want to install)
  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)
  7. After the installation, in the "completeing the darkmod installer setup", click finisch.
  8. The installer then starts automaticly the updater.
    (or if you dont want to runthe updater, uncheck button "launch the dark mod updater" and click finisch).
  9. In the updater you only have to click "continue" to download automaticly the files.
  10. Close the updater and start the updater and click on "continue" again, to check if you got all the files.
  11. close the updater
  12. end
Running TDM

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

Updating TDM

To update TDM, run the installer from the folder where you installed tdm to. or using the menu shortcut.

Removing TDM

The game and files can be uninstalled by removing the darkmod folder
Or if you installed tdm using the tdm-installer, use the installer:
This can be started from:

  • the unsinstaller "TDM_uninstaller" inside the darkmod folder.
  • the uninstaller in the the startmenu (the darkmod > uninstall the dark mod)
  • Or windows settings > "software & components". windows configuration screen > software and components > "the dark mod"
Notes
  • To read and write data in the tdm folder, give all the users the system permission to do this:
    Locate the dark mod folder.
    right click on the darkmod folder > preferences > tab "security > edit > select users > full control > ok > ok.
  • Installing in program files:
    Its possible to place the darkmod-folder inside this folder.
    But you have to set permissions as a administrator listed above.
    (or use the TDM-installer)

Linux

Install TDM on a Linux Distribution

You can play TDM also on several Linux distributions.
(Tested on Ubuntu, Opensuse)

The main method is to install TDM is:

  1. install dependencies software packages (if there are needed).
  2. Create a folder and give it the name "darkmod", set write permissions to the folder (including subfolders en files)
  3. Download the installer/updater,
  4. extract the installer/updater in the darkmod folder.
  5. set the execute permissions to the executables.
  6. run the tdm_installer / updater to download the neeeded files.

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

  • By using the Packagemanager of your Linux distribution
  • By a manual installation.
  • By installing a RPM/DEB softwarepackage
  • Or using the windows application on Wine variant (like proton, "Play on Linux")
Installing TDM on Linux, manually
Installing TDM

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 -R uga+w /usr/share/games/darkmod
   exit


Step 2:

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

   cd /usr/share/games/darkmod
   wget https://update.thedarkmod.com/zipsync/tdm_installer.linux64.zip
   unzip ./tdm_installer.linux64.zip -d /usr/share/games/darkmod
   rm ./tdm_installer.linux64.zip
   chmod uga+x ./tdm_installer.linux64

Step 3:

Run the updater

   ./tdm_installer.linux64

Step 4:

Wait until the updater ends, then give everybody the permission to start the applicationfile "thedarkmod.x86".

   chmod uga+x ./thedarkmod.x64

(for the 32 bit: chmod uga+x ./tdm_update.x86)

Note:
Its possible you need to install some required packages before or after the installation.
The packages you need will be displayed as an cryptic error. See the notes below.

Running TDM

Open a terminal and run the following command:

cd /usr/share/games/darkmod; ./thedarkmod.x64
Updating TDM

Open a terminal and run the following command:

cd /usr/share/games/darkmod; ./tdm_installer.linux64
Removing TDM

Open a terminal and run the following command:

rm -rf /usr/share/games/darkmod

Installing Dependencies

Its possible you need to install some required libraries/packages before or after the installation.
Packages like "OpenAL" (audio), "MESA" (video), "libxext", "libxxf86vm1", "libpng"
And maybe drivers for the video card.

First install the packages mentioned above, using your packagemanager
Then determine the other packages you need, using command "ldd" or TDM's application errors.
Do a quick internet search using the name of the missing package to search and install the package.

To determine the other packages you need is:

  • by using the command "ldd"
  • Or to look for application errors when you start the application
    (or look for error in the darkmod.log)

Use command "ldd" like:

 ldd ./thedarkmod.x64

An example output would be:

 linux-vdso.so.1 (0x00007ffe6c57d000)
 librt.so.1 => /lib64/librt.so.1 (0x00007f8e67217000)
 libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f8e66e8d000)
 libm.so.6 => /lib64/libm.so.6 (0x00007f8e66b42000)
 libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8e6692a000)
 libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8e6670c000)
 libc.so.6 => /lib64/libc.so.6 (0x00007f8e66352000)
 /lib64/ld-linux-x86-64.so.2 (0x00007f8e6741f000)

When a package is not found, it will display the error "not found" between the lines.

And other way is to run TDM application/updater binary and look for errors that will be displayed
Application errors are like these:

 ./thedarkmod.x64: error while loading shared libraries: <the_needed_package> :cannot open shared object file: No such file or directory

After determining the missing packages,
A quick internet search using the name of the missing package,
gives the names of the packages you have to install.

An example of the required packages for tdm 2.07 on opensuse leap:
libm,libstdc++,libgcc_s,libstdc++,libgcc_s,libpthread,libX11
libdl,libstdc++,libopenal,libpthread,libboost_system,libcurl,libjpeg,libm
libstdc++,libz,libboost_filesystem,libstdc++,libXext,libboost_program_options,
libIL,libXxf86vm,libavcodec,libavformat,libavutil,libswscale,libswresample
and xdg-utils


Notes

  • Its possible you need to install some required packages before or after the installation.

Install TDM using a Packagemanager / installation software of your Linux distribution

Every linux distribution has its own methods to install the game using his packagemanager.
Most of the time is first adding a link in the packagemanager config to a data repository.
Then install the package using the packagemanager.
After this, set the write permissions to the darkmod folder and the exectution permissions to the binaries.
If you want to remove the package, use the package manager.
If you want to update TDM use the TDM updater inside your TDM game folder.

OpenSuse

Add the opensuse "games repo" to you packagemanager Howto,
Install "thedarkmod" with software management (yast > software management).
After the installation , set the write permissions to the darkmod folder,
download the updater put it inside the folder,
set the execution permissions to the binaries and run the updater.
To do this, open an console window and run the lines:

  sudo chown -R nobody:users /usr/share/games/darkmod
  sudo chmod -R uga+w /usr/share/games/darkmod
  chmod uga+x ./tdm_update.linux
  chmod uga+x ./tdm_update.linux64
  ./tdm_update.linux
  chmod uga+x ./thedarkmod.x64


Open a terminal and run the following command:

cd /usr/share/games/darkmod; ./thedarkmod.x86

Or your an application shortcut.

Build repository: Build repository
Search: Opensuse software Search


Gentoo

Ebuild with systemwide files (2xsaiko):
Ebuild: https://git.sr.ht/~dblsaiko/ebuilds/tree/master/games-rpg/thedarkmod
You can install the game by enabling that Portage overlay and then emerging the games-rpg/thedarkmod package:

  eselect repository enable 2xsaiko # (alternatively, add the repo using layman)
  emerge games-rpg/thedarkmod

forum topic:
https://forums.thedarkmod.com/index.php?/topic/20698-i-made-a-gentoo-package-for-the-dark-mod/


Installing TDM on Linux, using DEB Softwarepackage

Installing TDM

Step 1:
Download the "The Dark Mod" deb package from: https://freyk.wordpress.com/tdm-installer/

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.

Important:
This DEB Package does not install dependencies packages.

Running TDM

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

Updating TDM

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

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

Removing TDM

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

   sudo dpkg -r darkmod



Notes

  • Its possible you need install several dependencies packages
  • In the future the TDM-package will be publisched on popular repo's.
    So you can install/update/remove TDM with your favorite packagemanager.

Installing TDM on Linux, using a RPM Softwarepackage

Installing TDM

Important:
The RPM Package does not install dependencies packages.

Step 1:
Download the "The Dark Mod" rpm package from: https://freyk.wordpress.com/tdm-installer/


Step 2:
Save the package in your "downloads" folder.


Step 3:
Install TDM by running the RPM file with the packagemanager of your linux-distribution.
Go to your download folder.
Execute the rpm-package by double clicking on it and follow the steps that the packagamanger say you to do.
(ignore the warning-popups if they appair)
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 steps that the applicationmanager wants you to do.


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.

Running TDM Start

Use the Shortcuts in your applications menu. Or open a terminal and execute the following command:

cd /usr/share/games/darkmod; ./thedarkmod.x86

Updating TDM

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

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

Removing TDM

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

Notes

  • It's possible you need install several packages if needed.
  • In the future the TDM-package will be publisched on popular repo's.
    So you can install/update tdm with your favorite packagemanager.

Installing TDM on Linux: Creating application shortcuts

If you want to have some desktop shortcuts for the tdm-executable and the tdm-updater,
Its advisable to create a shortcut that opens a terminal and runs the game.
Just create or shortcut file, using the default way to create shortscuts in your desktopmanager (in KDE or gnome)
And change the the shortcut settings so its starts TDM in a shell window.

Create a empty file, give it a name and end with the .desktop extesion.

   touch  $HOME/Desktop/thedarkmod.desktop

Then open the file with your favorite texteditor and put in the following codelines.

Codelines for updater-shortcut:

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

(or for the 32 bit: Exec=sh -c /usr/share/games/darkmod/tdm_update.linux;$SHELL)

Codelines for the gameexecutable-shortcut:

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

(or for the 32 bit: Exec=sh -c /usr/share/games/darkmod/thedarkmod.x86;$SHELL)


Video drivers

If you get the following error: Unable to initialize OpenGL
TDM cannot start his video engine. Video drivers needs to be installed/updated.

Running 32 bit application on a 64 bit system

You can also use the The Darkmod 2.05 (or earlier) uses 32-bit binaries
If you want to run them on a 64 bit system, you need to install 32 bit environment packages:

  • Running 32-bit apps on ubuntu 64 bit:
    sudo dpkg --add-architecture i386; sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386;
  • Running 32-bit apps on opensuse (method 1):
    zypper install patterns-openSUSE-x86
  • Running 32-bit apps on opensuse (method 2):
    open yast software manager > paterns > install "x86 runtime environment"
  • Other 32bit libraries you may need:
    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
  • For black screen, you may install 32-bit S3TC libraries.
  • maybe you need also to install some 32bit libraries for your videocard:
  • for nvidea: libgl1-nvidia-glx:i386




Mac OS

Installing TDM on Mac OS

There are several ways to run TDM on Mac Os.

You can

  • install TDM 2.05 (32 bit) on 32 bit supported Mac OS.
  • Running the recent TDM version of the windows game in WINE on Mac OS.
    • Using PlayonMac
    • Using the Winery package


Note:
The preferred method to run the most recent version of the game,
is to run the windows version using WINE on Mac OS.
Because there are people who don't want, or are unexperienced,
to create a recent/universal-version mac os binaries for it.
OFFICIAL MESSAGE: MAC OS is not supported by the TDM Team.

Installing TDM on Mac OS, version 2.05

Installing TDM 2.05 on a 32bit supported Mac OS.

Installing TDM
  1. Download packages 2.0 (full) and the updatepackages to update 2.05.
  2. Download the OSX binary from MODDB, http://www.moddb.com/mods/the-dark-mod/downloads/the-dark-mod-205-native-osx-binaries
  3. Go to your home folder and create folder "games"
  4. navigate to yet created folder games, and create another folder names "darkmod"
  5. Go to the downloads folder and all tdm releated files to the darkmod folder.
  6. Go to the darkmod folder and extract first the 2.0 full package, extract all update packages 2.05 and extract "OSX_TDM_205.zip" and remove all zip-files
  7. Then extract "The Dark mod.app.zip" and "tdm_update_macosx.zip" and remove those zip-files.
  8. open "Terminal" (go to finder, search for "terminal")
  9. enter to following lines and hit the enter-button after every line:
  10. cd ~/games/darkmod
  11. chmod uga+x ./tdm_update.macosx
  12. ./tdm_update.macosx
  13. The updater will start to download the files.
    Wait until all the needed files are downloaded.
    Note: you can cancel the application by pressing combination ctrl+c
  14. close terminal


Running TDM 2.05 on Mac OS
  1. navigate to your homefolder. From there open folders games and darkmod.
  2. run the app "The Dark Mod".


Note:
If the application doesnt start, check your security panel to give the permission to run the application.
Or use the following terminal command:

   spctl --add ~/games/darkmod/The\ Dark\ Mod.app

or

   sudo spctl --master-disable

After changing this setting in the commandline, the setting needs to reset to the new setting.
Then goto security & privacy > click on the lock > use password and check if the checkbox "from anywhere" is checked.
click on the lock > use password > select "app store" > click on the lock.
click on the lock > use password > select "from anywhere" > and click on popup message "from anyware" and click on the lock.

Updating TDM 2.05 on Mac OS
  1. open "Terminal" (go to finder, search for "terminal")
  2. enter to following lines and hit the enter-button after every line:
   cd ~/games/darkmod
   ./tdm_update.macosx
  1. The updater will start to search and download updates the files.
  2. close terminal


Deleting TDM 2.05 on Mac OS
  1. move the tdm folder (in your games folder) to the trashcan.
  2. empty the trashcan.


Debugging TDM on Mac OS, using version 2.05

To debug tdm,

  1. open terminal
  2. navigate with the terminal to the dark mod folder,
    using command: cd ~/games/darkmod/
  3. navigate into the app: cd The\ Dark\ Mod.app/Contents/MacOS/
  4. run the application (including a arguments, like):
    .\The\ Dark\ Mod +condump ~/game/darkmod/mylog.txt

Installing TDM on Mac OS, using WINE

For every new version of TDM, the developers need to create an executable for the version.
This can take a while.
In the meantime, you can run the TDM (for windows) on MAC OS, using WINE.
WINE is a collection of application to run Windows Applications on non-windows systems.

To run TDM on mac os using WINE, we advice to use:

  • or Playonmac (a front-end for WINE).
  • or the Winery package (all-in-one package)

Freyk, creator of the TDM installer and other TDM-softwareinstallation packages,
advices you to use Playonmac.

Installation of TDM on Mac OS, using wineskin

The wineskin package is an all-in-one application.
It includes the updater, the tdm-launcher and several other files to run TDM in WINE on Mac OS

Note: There are no other depended software installations needed.

Installation TDM
  1. Download the DMG-file from: Freyks google drive
  2. Extract the dmg-file from the zipfile.
  3. Mount the dmg-file (dbyoubleclick on the dmg-file)
  4. Drag Thedarkmod.app to your applications home folder and close the dmg-windowfolder.
  5. umount the tdm image (by moving the dmg file to the trashcan), remove the tdm dmg-file and zip-file.
  6. Run the application from your applications folder.
    Note: If the application doesnt start, check your security panel to give the permission to run the application.
  7. Automatically The TDM Launcher will start.
  8. Select in the launcher "the dark mod updater" and hit "close".
    (the label of this button will have to be renamed)
  9. The launcher starts the TDM-updater.
  10. Download the TDM-files with the TDM-updater.
  11. Close the updater.
  12. end.
Running TDM
  1. Go to your applications folder
  2. run thedarkmod.app. The launcher will start.
  3. select in the tdm launcher "The dark mod" and hit close.
  4. Wait for TDM to start.
  5. end

Notes:

  • If the application doesnt start, check your security panel to give the permission to run the application.
  • You can change the preferences of the container, by right-clicking on the app > "show package contents" > "Wineskin".
  • If TDM application doesnt start from the launcher, run the updater.
Updating TDM
  1. Run the application from your applications home folder.
  2. The TDM Launcher will open, select the dark mod updater and hit "close". (I need to change the label of that button)
  3. Update the files using the updater.
  4. close the updater
  5. end


Removing TDM

Just move "the dark mod" app from your application folder to your trashbin
and empty your trashbin.


Notes
  • If the application doesnt start, check mac os security panel to give the permission to run the application.
    Or rightclick on the application > open > and in the popupsecuritywarning select "open".
  • This application package doesnot include the main-files for TDM.
    The files has to be downloaded, using the updater.
  • 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 the tdm-launcher, the TDM-updater
    and Wine, to run these applications-for-windows to run on Mac os.
  • This is a work-in-progress (early alpha) testversion. Tested with Mac os Mavericks (10.9.5) - intel.
  • Created with Wineskin Winery 1.7, NSIS and Apple's diskutility.

Installing TDM on Linux/Mac OS, using PlayonMac/PlayonLinux

Playonmac(pom) and PlayOnLinux(pol) and are WINE application suites.
Theses suites contains WINE, a collection of applications, to run Windows-based applications on Mac os.
and a user-friendly front-end to manage this all.


Installing TDM (method 1)

  1. First download, install and start PlayonMac (pol) / PlayonLinux (pom).
  2. Download the windows version of the TDM Installer from the TDM download page
    extract the zip file, so you only have exe-file.
  3. Click on "install a program"
  4. The "install menu" appears. click on "Install a non-listed program"
  5. The Wizard window appears, with displaying a warning third-developer warning.
    Ignore this and click next.
  6. You get the question "What would you like to do",
    select "install a program in a new virtual drive", click next
  7. The wizard window ask you to you to give the virtual drive a name, call it: Darkmod
  8. The following question "What would you like to do before installation".
    Keep everything unticked and click next
  9. The following question "what king of virtual drive do you want to create",
    select "64 bit windows installation" and click next
  10. The wizard window automatically create now a virtual drive
  11. Also it wants you to install Wine mono installer.
    The application automaticly get Wine mono installer for you.
    The Wine mono installer will appear, click on "install".
  12. Also it wants you to install Wine Gecko installer.
    The wizard window automaticly get Wine Gecko installer for you.
    The Wine Gecko installer will appear, click on "install".
  13. The wizard ask you to select the installation file.
    click "browse" and select the tdm updater.
    in another window, select the tdm updater and click "open" > "next".
  14. Now the tdm installer will start.
    When the TDM installer is started, follow its close it (we will run the installer later).
  15. After following the TDM updater instructions or close the updater,
    the wizard ask you to select the files you want to make shortcuts to.
  16. The wizard ask again you to select the files you want to make a shortcut to.
  17. Select the dark mod, click next, give it a name, click next
  18. the wizard ask you to select the files you want to make shortcuts to.
  19. Select the TDM installer, click next, give it a name, click next.
  20. The wizard ask again you to select the files you want to make a shortcut to,
    but now select "i dont want to make another shortcut" and click on "next".
  21. The shortcuts of TDM application and its installer will be shown in pol/pom and created on your desktop.
  22. Run the tdm installer again from your pol/pom menu, to download the game-files.
  23. done.


Note:
Its possible that the TDM updater will give you some errors, during the first start of the updater.
close the tdm updater, create shortcuts to it and run the updater again using the shortcut.
You can also run first the windows version of Freyks Unofficial installer, instead of the TDM updater
This install will create the gamefolder and runs the updater after this.

Installing TDM (method 2)

To install TDM in PlayonLinux/PlayonMac, first install Playonmac/PlayonLinux on your system
and then follow the installation methods for Windows (manual, updater or tdm installer).
Or install TDM by selecting the game in the application list of PlayonMac/PlayonLinux.

  1. First download and install PlayonMac (pol) / PlayonLinux (pom)
  2. Then start Pol/Pom.
  3. Select the +-button (install).
  4. In the next window, select the "Games" button, click checkbox "no-cd needed".
  5. A popup window will appear to warn you about no-cd patched. Accept this by clicking the "OK"-button.
  6. Select "The Darkmod" and click on the "install" button.
  7. Several warning-popupwindows will appear, click the "ok" buttons, to accept them.
  8. The Pol/Pom installation wizard starts, select next.
  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)
  10. select "online" or "local standalone zip" automatically the wizard installs the needed wine environment, the tdm-updater and shortcuts.
  11. a popup-window can appear to install the mono installer, click on the "install" button.
  12. The pol/pom installation wizard would like to run the updater, click on the "next" button.
  13. The updater starts, click on the "continue"-button to download automaticly the needed game files.
  14. After the download procedure, close the updater. The Pol/Pom installation wizard creates some pol/pom shortcuts.
  15. The wizard shows the end-of-script window, click on "next".
  16. For TDM 2.06 and later msvc needs to be installed in the playonmac/playonlinux container of The dark mod or The dark mod updater:
  17. Start playonmac/playonlinux > click on playonmac/playonlinux container of "The dark mod" or "The dark mod updater" > left side column, click on "configure" > select tab "install components" > select "vcrun2013" (or something like that) > install.
  18. end

Running TDM, using PlayonLInux/PlayonMac

  1. Open Playonmac/playonlinux
  2. Select the dark mod

Updating TDM, using PlayonLInux/PlayonMac

  1. Open Playonmac/playonlinux
  2. Select the dark mod updater

Removing TDM, using PlayonLInux/PlayonMac

  1. Open Playonmac/playonlinux
  2. Select the dark mod and click on the delete-button


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.