Installer and Manual Installation: Difference between revisions
Line 377: | Line 377: | ||
or | or | ||
sudo spctl --master-disable | sudo spctl --master-disable | ||
After changing this setting in the commandline, the setting needs to reset to the new setting. | 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. | 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. | 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. | click on the lock > use password > select "from anywhere" > and click on popup message "from anyware" and click on the lock. <br> | ||
Revision as of 10:26, 29 December 2018
Introduction
For those who want to install The Dark Mod on their system, there are several ways to do this, like:
Windows
- Installing TDM on Windows, using the installer
- Installing TDM on Windows, using the updater
Linux
- 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 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
Install TDM on Windows, using the updater
- Create a folder,wherever you like and give it the name "Darkmod".
- Give all the users full acces-permission on that folder:
righ click on the darkmod folder > preferences > tab "security > edit > select users > full control - Download the TDM Updater.
- Extract the tdm_update.exe from the downloaded ZIP and copy it into your darkmod directory.
- Start the tdm_update.exe. The installer will connect to one of our download mirrors and start the download process.
- 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. - 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 the Installer
Installing TDM
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
- Unpack the zip file and execute "tdm_installer"
- At the welcome screen, click "next"
- Read the licence and click "I agree"
- At the choose components-screen, click "Next". (or select the components you want to install)
- At the "choose install location", use the automaticly selected location for the gamefolder and click "install" (or change the location using the "browse" button)
- After the installation, in the "completeing the darkmod installer setup", click finisch.
- 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). - 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
- Give all the users on the system permission to write files in the dark mod folder.
- Locate the dark mod folder. righ click on the darkmod folder > preferences > tab "security > edit > select users > full control > ok > ok.
- end
Running TDM
The game and updater can be executed via their startmenu/desktop shortcuts or directly from the tdm folder.
Updating TDM
To update TDM, run the updater from the folder where you installed tdm to. or using the menushortcut.
Removing TDM
The game and files can be uninstalled using the uninstaller in the folder where installed tdm to.
This can be started from:
- the uninstaller in the the startmenu
- Or "software & components". windows configuration screen > software and components > "the dark mod"
Notes
- 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
You can play TDM also on several Linux distributions.
(Tested on Ubuntu, Opensuse)
There are several ways to install TDM on a Linux Distribution.
- By a manual installation.
- By using the Packagemanager of your Linux distribution
- By installing a RPM/DEB softwarepackage
- Or using application "Play on Linux" (a WINE frontend)
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 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 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 give everybody the permission to start the applicationfile "thedarkmod.x86".
chmod uga+x ./thedarkmod.x86
Running TDM
Open a terminal and run the following command:
cd /usr/share/games/darkmod; ./thedarkmod.x86
Updating TDM
Open a terminal and run the following command:
cd /usr/share/games/darkmod; ./tdm_update.linux
Removing TDM
Open a terminal and run the following command:
rm -rf /usr/share/games/darkmod
Installing TDM on Linux, using the Packagemanager
The dark mod can be installed using the packagemanager of your linux distribution. But you have to find applications-repositories, that contains "The dark mod" softwarepackage.
Installing TDM, using the packagemanager
- Open your packagemanager.
- Add the address of the application respository, that contains the TDM Software package.
- Search for the dark mod inside the packagemanager.
- Install The dark mod.
Running TDM
Open a terminal and run the following command:
cd /usr/share/games/darkmod; ./thedarkmod.x86
Updating TDM, using the packagemanager
run with your terminal file "tdm_update.x86" inside the dark mod folder.
or
Update TDM using your packagemanager.
- Open your packagemanager.
- Search for the dark mod package.
- update the dark mod package.
Removing TDM, using the packagemanager
- Open your packagemanager.
- Search for the dark mod package.
- remove the dark mod package.
Installing TDM on Linux, using DEB Softwarepackage
Installing TDM
Important:This DEB Package does not install dependencies packages.
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.
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 64 bit, manually
Important:
Since version 2.06, The TDM linux binary is 64 bit.
But the TDM updater linux binary is 32 bit.
its possible you need to install environment packages to run 32 bit applications
for more infomation about this, read the notes of this wiki article.
Installing TDM
Step 1: Create the dark mod folder in your /usr/share and set permissions. Open your terminal and enter the following commands:
sudo apt-get install 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
And repeat this step, to verify.
Step 4: Wait until the updater ends, then give the tdm binary the execution permission:
chmod uga+x ./thedarkmod.x64
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.x64
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
- 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"
- 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.
- Obsolete info. The Dark Mod 2.05 and earlier, are 32-bit builds. If you want to run it, you have to install 32-bit libraries
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 chmod uga+x ./thedarkmod.x86 cd /usr/share/games/darkmod; ./thedarkmod.x86
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.
Create these shortcuts using 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
Installing TDM on Mac OS
There are several ways to run TDM on Mac Os.
You can
- install TDM 2.05
- install TDM in WINE
- Using the Winery package
- Using PlayonMac
Installing TDM on Mac OS, version 2.05
Installing TDM
- Download the OSX binary from MODDB, 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"
- 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 darkmod folder and extract "OSX_TDM_205.zip" and remove the zip-file
- 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")
- enter to following lines and hit the enter-button after every line:
cd ~/games/darkmod chmod uga+x ./tdm_update.macosx ./tdm_update.macosx
- 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 - close terminal
Running TDM 2.05 on Mac OS
- navigate to your homefolder. From there open folders games and darkmod.
- 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
- open "Terminal" (go to finder, search for "terminal")
- enter to following lines and hit the enter-button after every line:
cd ~/games/darkmod ./tdm_update.macosx
- The updater will start to search and download updates the files.
- close terminal
Deleting TDM 2.05 on Mac OS
- move the tdm folder (in your games folder) to the trashcan.
- empty the trashcan.
Debuggin TDM on Mac OS, using version 2.05
To debug tdm,
- open terminal
- navigate with the terminal to the dark mod folder,
using command: cd ~/games/darkmod/ - navigate into the app: cd The\ Dark\ Mod.app/Contents/MacOS/
- 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 files to run Windows Applications on non-windows systems.
To run TDM on mac os using WINE, we advice to use:
- the Winery package
- or Playonmac.
Freyk, creator of the TDM installer and other TDM-softwareinstallation packages, advices you to use the winery package.
Because you dont have to install other applications to run TDM.
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.
Note: There are no other depended software installations needed.
Installation TDM
- Download the DMG-file from: https://freyk.wordpress.com/tdm-installer/
- Extract the dmg-file from the zipfile.
- Mount the dmg-file (dbyoubleclick on the dmg-file)
- Drag Thedarkmod.app to your applications home folder and close the dmg-windowfolder.
- umount the tdm image (by moving the dmg file to the trashcan), remove the tdm dmg-file and zip-file.
- 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. - Automatically The TDM Launcher will start.
- Select in the launcher "the dark mod updater" and hit "close".
(the label of this button will have to be renamed) - The launcher starts the TDM-updater.
- Download the TDM-files with the TDM-updater.
- Close the updater.
- end.
Running TDM
- Go to your applications folder
- run thedarkmod.app. The launcher will start.
- select in the tdm launcher "The dark mod" and hit close.
- Wait for TDM to start.
- 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
- Run the application from your applications home folder.
- The TDM Launcher will open, select the dark mod updater and hit "close". (I need to change the label of that button)
- Update the files using the updater.
- close the updater
- 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 and PlayOnLinux and are application suites.
Theses suites contains WINE to run Windows-based applications
and a Graphical front-end to manage this all
From this application-suite you can install TDM.
Installing TDM
- First download and install PlayonMac (pol) / PlayonLinux (pom)
- Then start Pol/Pom.
- Select the +-button (install).
- In the next window, select the "Games" button, click checkbox "no-cd needed".
- A popup window will appear to warn you about no-cd patched. Accept this by clicking the "OK"-button.
- Select "The Darkmod" and click on the "install" button.
- Several warning-popupwindows will appear, click the "ok" buttons, to accept them.
- 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 "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.
- The pol/pom installation wizard would like to run the updater, click on the "next" button.
- 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.
- 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
Running TDM, using PlayonLInux/PlayonMac
- Open Playonmac/playonlinux
- Select the dark mod
Updating TDM, using PlayonLInux/PlayonMac
- Open Playonmac/playonlinux
- Select the dark mod updater
Removing TDM, using PlayonLInux/PlayonMac
- Open Playonmac/playonlinux
- 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.