Jump to content
The Dark Mod Forums

Linux system wide installer

Alberto Salvia Novella

Recommended Posts

nice to have.
Next to the old and new tdm installer, repo packages, etc. 

i have not read your code yet. Does this installer follow the installation instructions from wiki article:

Edited by freyk

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

Link to comment
Share on other sites

I love the idea to link files and i know this works great with TDM..
I PM'ed stgatilov suggested this some months ago


Freyk - April 10:
About that recurring TDM folder permissions problem.
And following the Certification requirements for windows apps
What you think about placing some data folders and files outside the tdm folder and add locationspath's in the config file?

for example,
following os standards
for windows: the fm folder and darkmod.cfg inside windows appdata folder.
For linux: fm folder and darkmod.cfg in hidden folder inside users home folder /home/user/.tdm/


It is all great and cool with standards, but the current layout has major benefits.
    It can be installed without admin rights.
    It can be moved or copied and will continue to work (portability).
    It is much simpler conceptually (one dir = whole game, no googling for where this bastard stores saves).
    It already works and has worked for ages.
So I will be strongly against dropping it.

Recently Cabalistic looked into the question of paths and how to support saves/FMs in separate directory. As far as I remember, he concluded that it is hard. And you know, Cabalistic is a very capable developer that we are lucky to have with us. Moreover, maintaining both approaches would be a huge pain both for us and for users (because one of the paths --- and I know which --- will get broken regularly).
I guess path system was changed somewhere around TDM 2.00 last time, and I recall still fixing issues with it for 2.06. I hope this gives you the scope of problems which usually arise from changing path conventions.
So speaking of TDM, those standards can go to hell, and I don't care.
By the way, I guess I already said that most games are installed with steam, which also does not care about Program Files.
Aside from that, I plan a few changes to tdm_updater for the next beta. The most important one is to display warning on start if user has admin rights (more precisely, if the process integrity level is high or above), encouraging the user to restart it as normal user. Also some better handling of file writing error in a few places. The error messages would suggest installing TDM somewhere where user can normally create files, e.g. C:\games\TheDarkMod, and explicitly discourage from Program Files. I hope this would help to shift players into the right mindset.

Edited by freyk
  • Like 1

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

Link to comment
Share on other sites

Having it installed as a system wide application makes more sense to me.

It also makes more sense only displaying info or errors that need compulsory attendance of a human. Everything else is better automated or prevented all together.

That said most of my software design ideas come from The Unix Philosophy, in case you are curious.

  • Like 2
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.

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

    • freyk

      Some years earlier i created some launchers for TDM. uploaded today some new sourcecode and executables on my github repo.
      · 0 replies
    • Epifire

      Say, I know it's been a while since the site got overhauled from the crash. But did we ever figure out if/how to get the recent topics & replies list back? It's not a total deal breaker but it was nice for becoming a thread creeper again...

      · 2 replies
    • Epifire

      Some of you who've been on the TDM discord know I was out of work last Winter, just putting in hrs for the developer portfolio. Currently I've been working a seasonal job to pay the bills and now I'm finally in my last week before I get bumped off. Things will be tight but I'm planning a long off period to make as much content as I can. Big plans in Unreal Engine as well as my most ambitious TDM collab yet! Never been so excited to be a stuck at home to pursue my life's work. With a lotta time and maybe some luck, I'm hoping to get enough art work done that I may start applying around to studios.
      · 4 replies
    • STiFU

      I finally got around to play Prey and I truly loved it. It is an incredible homage to System Shock and Deus Ex. While the gameplay is not en par with those two titles, the game makes up for that with its well written lore and story. The whole "world" just feells so authentic and it features a ton of really god environmental story-telling. Recommended for every immersive sim fan, i.e., everyone on this forum.
      · 2 replies
    • jaxa

      Alder Lake has arrived:
      · 0 replies
  • Create New...