Jump to content
The Dark Mod Forums

Graphical installers for tdm


freyk

Recommended Posts

Should the install directory be set to "C:\darkmod" or "C:\Games\darkmod" vs. Program Files? I think that would eliminate permission issues and also work better with DR as there are no spaces involved in the path.

Link to comment
Share on other sites

Should the install directory be set to "C:\darkmod" or "C:\Games\darkmod" vs. Program Files? I think that would eliminate permission issues and also work better with DR as there are no spaces involved in the path.

Its not common to install software in other folders then program files.

The "old" standard location of doom 3 is also in the program files folder.

 

But users can change the darkmod location in the installer, Otherwise turn of uac.

The installer sets the shortcuts to run the game with administrator permissions.

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

For Darkmod it is better not to install to program files since spaces in the install path are known to cause issues when it comes to level editing. Having the installer default to program files is asking for trouble, especially when these installers are intended for people who already have trouble installing the mod. Inexperienced users tend to go with the defaults. It's asking for trouble, I would suggest c:\games as well.

  • Like 1
Link to comment
Share on other sites

At least a comment in the corresponding installer panel should indicate when and why you should use another path than the default one.

And to be honest: games should not require Admin permissions.

I don't whish to grant the permission to delete my entire hard disk (eventually) just because that is the easiest way to make the game run.

  • Like 2
Link to comment
Share on other sites

Nice work on the interface. They look good. But yeah, what're the admin privs for? I've never had to give TDM admin privs. Maybe that's only needed when installing in "program files", so TDM can write its logs there.

 

Using more folders than just a single "Program Files" to store programs is becoming more common I think, as more people have small SSDs that they want to use for static stuff that loads very many files very often. SSDs have limited writes per block, so I put anything with mutating files on a separate HDD, and the limited size of affordable SSDs means we have to prioritise even among static program files.

Link to comment
Share on other sites

  • 2 weeks later...

I changed the default installation path and added an option to install shortcuts to run under admin permissions.

 

Please let me know what would you all like to changed/added to my darkmod installers?

(you can do it also yourselfs,..)

 

For an example, i can add a filedownloader to the windows installer, to download the core files. etc.

Edited by freyk
  • Like 1

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

  • 5 months later...

I created a Debian software package, for the ones who like to install the updater on Ubuntu / debian linux-distributions.

(permissions and shortcuts included).

Get the an early version of the file and source from my site.

(i will repair the "security messages" that the packagemanager displays, when installing the deb)

post-13309-0-87832100-1415006171_thumb.jpg

Edited by freyk
  • Like 2

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Get an early unstable RPM package (with the source) from my site.

 

Bugs:

After installation all the files have executable permissions.

shortcuts doesnt work and have no icons.

TODO: must copy the .desktop files to the right folders.

post-13309-0-48702600-1415471508_thumb.jpg

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Get an early unstable RPM package (with the source) from my site.

 

Bugs:

After installation all the files have executable permissions.

shortcuts doesnt work and have no icons.

TODO: must copy the .desktop files to the right folders.

 

You are missing the "the" on the name :(

 

It is "The Dark Mod" (TDM) NOT "dark mod". Likewise, it is "thedarkmod.com", NOT darkmod.com :excl:

  • Like 1

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

  • 1 year later...

I have updated the windows installer.

If you find some bugs / advice / suggestions, please let me know.

 

changes and bugfixes

TDM installer Windows 1.0.3
- Added more text and graphic content in unstaller
- Changed the format of the installerscript, to make it more userfriendy.
- Added shortcut in Software Change/remove
- Added Component Descriptions
- Changed several textlabels.
- Changed the updater as a required component to install
- Changed (Commented out) codelines to create a placeholder for tdm.exe

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Should the install directory be set to "C:\darkmod" or "C:\Games\darkmod" vs. Program Files? I think that would eliminate permission issues and also work better with DR as there are no spaces involved in the path.

 

if spaces in pathnames are a problem then on windows 7 at least the short, compatibility names for folders are still available

 

"C:\Program Files" = "C:\Progra~1"

 

"C:\Program Files (X86)" = "C:\Progra~2"

 

Not sure if these are still active in later versions of windows

Link to comment
Share on other sites

I have some difficulties creating the tdm-installers for Linux.

Because i dont know wich packages to install on a users system, to solve dependencies-problem.

(should i stick with extracting the updater and creating desktop shortcuts?)

 

@Linux users:

Which installation method do you prefer installing the tdm-updater, and which method shall i create for the linux-newbies?

install the tdm-updater using a software-package (rpm/deb/etc) or using a makeself installer (a graphical .run-file), besides extracting the tdm zip file?

 

Also can somebody tell me which applications apache friends use to create the xampp linux installer (7.0.1)?

(its a combination of a makeself container and,...?)

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Extracting the .zip was fine for me but I think it would be best if TDM was installable from the official software repositories of major distributions. Linux newbies (should) know how to handle these and would not have the psychological hurdle to run an external installer which may not work well or require extra effort from their side.

Link to comment
Share on other sites

  • 3 weeks later...

Ok, i will continue making RPM's and DEB's for the updater then.

(The packagemanagers installs only the updater. by creating a folder with content in the /usr/share/games, sets the user permissions and places .desktop-files in the application menus.)

But running the updater and solve possible dependencies problems, must do the user manually.

 

I just uploaded updated RPM's for the updater to my site.

Could somebody test them?

Especially the running .desktop-files and downloading missions in TDM.

(I noticed only one bug: the updater doesn't stop downloading, when i close my terminal/console)

 

Next i'm going to work on the DEB's.

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

  • 1 month later...

Here a up of my topic, to give you a status update:

 

I decided to create installers that only installs TDM-updater

(it also create the gamefolder, set permissions & shortcuts and give to user the advice to run the updater.)

The advantage to only install the updater, is that we dont have to update the installer every time when theres a update of TDM.

But the users do need to install other requirements manually if needed.

And publisch always the sourcecode when this is needed.

  • TDM-installer - Windows:

    tested by several users and ready for publication.

  • TDM-installer - PlayonLinux/PlayonMac:

    ready and publisched. (people can install TDM from this application)

  • The installers - Linux distributions:

    are both 80% ready.

    At the moment i'm looking for a methods to run the updater from within in the packagemanagers.

    (the user can launch the updater also from the shortcuts)

  • TDM installer - Steam OS

    Professorkaos64 is working on the installer to run tdm on Steam OS.

For this my thanks goes to Bikedude, Bedhead and Professorkaos64 for their contributions.

 

I'm looking for users who would like to test my installers (the more, the better) and/or give me pointers.

Get the executables from my personal site and the code from my github repo.

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

  • 3 months later...

Will do.

I want also mention a new version (v20160706) of my TDM-installer for Windows.
The binary and source can downloaded from my portfolio.


Notes:

  • The tdm installer (windows) doesnt use TDM version numbers anymore. (but for the linux packages it can be a problem)
  • To avoid file permissions problems, the installer set full control-permission for all users, to the TDM-folder.
  • Added File description to the installer.

I would love to see my installer being intergrated in the TDM project.

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

TDM-Installer - Windows

  • Download the "The Dark Mod installer Windows" executable package from: http://www.moddb.com/mods/the-dark-mod/downloads/the-dark-mod-204-gui-installer-windows
  • 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. so the the system automaticly run the updater.

    (or if you dont want to run the updater, uncheck button "launch the dark mod updater" and click finisch)

  • In the updater you only have to click "continue" to download automaticly the files.
notes
  • Start TDM

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

  • Delete TDM

    The game and files can be uninstalled using the uninstaller via the startmenu or "software & components" (windows configuration screen > software and components > "the dark mod")

  • Update TDM

    Run the updater using the menushortcut.

  • To install TDM in programfiles-folder, please run the installer as administrator.
===

TDM Installer - Linux Distributions

 

DEB Package

(package is work in progress)

  • Download the "The Dark Mod" deb package from: https://freyk.wordpress.com/tdm-installer/
  • Save the package in your "downloads" folder.
  • 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

  • A package manager will appear to install the package. Please follow the needed steps.
  • 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 menushortcut.

Notes
  • TDM install

    Its possible you need install several packages if needed.

    If the package manager doesnt install the package, install the package manually:

    Open a terminal window.

    type in the following command, hit the enter-keyboardbutton and insert your password if needed:

    sudo dpkg -i ~/Downloads/thedarkmod.deb

  • TDM Start

    you will find the Shortcuts in your applications menu.

    Or open a terminal and exectute the following command:

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

  • TDM Update

    Run the updater, by using the menushortcut.

    Or open a terminal and exectute the following command:

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

  • TDM Delete

    Remove tdm using your packagemanager

    Or open a terminal, exectute the following command:

    sudo dpkg -r darkmod

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

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

RPM Package

(package is work in progress)

  • Download the "The Dark Mod" rpm package from: https://freyk.wordpress.com/tdm-installer/
  • Save the package in your "downloads" folder.
  • Go to your download folder and execute the rpm-package.

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

    sudo rpm -ivh --ignorearch darkmod.rpm

  • A package manager will appear to install the package. Please follow the needed steps.
  • 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.

Notes
  • TDM install

    Its possible you need install several packages if needed.

  • TDM Start

    you will find the Shortcuts in your applications menu.

    Or open a terminal and exectute the following command:

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

  • TDM Update

    Run the updater, by using the menushortcut.

    Or open a terminal and exectute the following command:

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

  • TDM Delete

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

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

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

======

TDM Installer - Mac (and Linux Distributions)

  • first download and install PlayonMac / PlayonLinux
  • start Pol/Pom (playonlinux/playonmac)
  • 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 "local standalone zip")

  • automaticly the wizard installs the needed wine environment, the tdm-updater and shortcuts.
  • a popupwindow 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".
Notes:
  • Text in Pol/Pom are automaticly 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.
======

 

Overall Notes

  • The installer installs only the tdm updater, game folder and shortcuts.

    To install the game files, run the tdm updater after installation.

  • The installers gives all users write-permissions to the TDM-gamefolder.
Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

  • 1 month later...

Just want to mention a test-version of TDM-installer Mac (v20160825).
(get it from my portfolio)

And introducing the TDM Launcher. An application that can start tdm and its updater from a menu.
(so i can create one single app-container for it)

I would like to hear your comments.
===
Installation TDM:

  • Download and unpack the zip,
  • mount the dmg-file, drag Thedarkmod to your applications home folder and close the folder.
  • umount the tdm image, remove the tdm image and zip file
  • 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)
  • Download the tdm-files with the tdm-updater.
  • close the updater
  • end

Running TDM:

  • Go to your applications home folder
  • run thedarkmod.app
  • select in the tdm launcher "The dark mod" and hit close.
  • Wait for TDM to start.
  • end

Update 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

Delete tdm:

  • Move the dark mod app to your trashbin.
  • and empty your trashbin
  • end

Some mentions:

  • This is a work-in-progress (early alpha) testversion.
  • Tested with Mac os Mavericks (10.9.5) - intel.
  • TDM app is not a native mac application, It uses wineskin (a wine-wrapper) to run the application.
  • Its a big appication file (221 mb), because it contains everything you need to run tdm and its updater on Mac os.
    But you have to download the gamefiles using the included tdm-updater.
    (dmg file is around 50 mb).
  • Created with Wineskin Winery 1.7, NSIS and Apple's diskutility.

post-13309-0-14216200-1472122021_thumb.jpg

post-13309-0-08347000-1472122790_thumb.jpg

Edited by freyk
  • Like 1

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 1 reply
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...