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:
https://wiki.thedarkmod.com/index.php?title=Installer_and_Manual_Installation

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/

----------
stgatilov

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.

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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 4 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...