Jump to content
The Dark Mod Forums

New tdm_installer and dev builds


stgatilov

Recommended Posts

Nice job.

Here are my mentions, during the first time i run this build:
===
This in comparison with my unofficial tdm installer (at the tdm download page)

  • Installer window very large in screensize.
  • Doesnt use the standard winforms buttons, interface, etc.
    (can scare people. i expected an installer like DR, using the winforms interface)
    But if this a multiplatform, then i Prefer an automatically gui switcher with winforms when the use uses windows)
  • Canot find any installation selection list for components (shortcuts, uninstaller, docs, etc)
  • Installer selects automatically the location where the installer is placed.
    (so you want to install the game in your downloads folder??)
    When changing another location, the next-button grays out.
  • Cant create folders in standard application locations (like program files > permission denied.)
  • i love the version selector!
  • Dont like The total progress bar (and his yellow progress colour)
    Howabout dividing in two progressbars (total and file),
    Download Status-line field would be nice. (people can then copy error lines to forum
  • Dont see the tdm binaries in the folder, only the updater.


About linux installer: how about promoting the existing repo's & packagemanagers? 

Is there sourcecode available?
==

Please look at other installers out there and my unofficial tdm installer (at the tdm download page) as an example.
(and sourcecode of the nsis installer script at my github repo)

Edited by freyk
  • Like 1

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

Link to comment
Share on other sites

3 minutes ago, freyk said:

Window very large in screensize.

Yes, that's because of version selector.
If I keep the size of tdm_update, then scrolling to find the version you need would be painful (keep in mind that dev builds can come weekly).

Don't know what to do with it. I also don't like font size.

Quote

Doesnt use the standard winforms buttons, interface, etc.

That's the cost for cross-platform and light-weight GUI.

Quote

Installer selects automatically the location where the installer is placed.
(so you want to install the game in your downloads folder??)

Just like tdm_update, the installer always works in the directory where you placed it.
At least it shows you the path and allows to change that.

Quote

When changing another location, the next-button grays out.

I think there a restart button must appear --- it will auto-copy installer to selected location are restart from there.
As I explained, the installer should be where TDM is going to be installed.

Quote

Cant create folders in standard program files > permission denied.

As usual.
I hope it shows something remotely meaningful when you try. Warnings can be improved later.

Quote

Dont like The total progress bar (and his yellow progress colour),..
please devide in two progressbars (total and file)

I have no idea why FLTK progress bars are yellow by default.
It has caught my eye too. I think I can return the default greenish color 😄

Quote

Canot find any installation selection list for components (shortcuts, uninstaller)

Maybe I would add shortcuts some time later. If I find how to do it both for Windows and Linux in C++ 😥

Uninstaller? Just delete the whole directory...

Quote

Is there sourcecode available?

Yes, it is all in tdm_installer directory in darkmod_src trunk.

Quote

Will there a ports for linux & mac?

I have posted the link for Linux version, right near the link for Windows version.

As for Mac: no, there won't, since TDM does not support Mac. And given that TDM does not support ARM, I think TDM won't support Mac anytime soon.
Although I think building tdm_installer for Mac would be quite easy.

  • Like 1
Link to comment
Share on other sites

With new version, it is no longer necessary to check "Force scan".
The installer will check local zips by size and modification data, and will automatically perform scan if anything is dirty.

It also means that most likely you won't have to wait for this "analysis" any more, except for the first run.

UPDATE: Also I have added remaining time estimate to the main "downloading" progress bar.
So that user can see at least approximately how much time it would take to download a fresh 2.08 release 😁

Link to comment
Share on other sites

Nice!

So far I haven't run into any issues using it. 

I have to echo freyk's concerns with the appearance though.  The UI lacks the cohesive look and appearance I would expect from TDM.  Can the standard windows appearance be used with this installer?  

Functionally the installer is great but the appearance lacks a professional quality.  The lightweight UI is a bit sloppy looking.

Thanks for all the great work.

Link to comment
Share on other sites

36 minutes ago, New Horizon said:

Can the standard windows appearance be used with this installer?

No.

Quote

I have to echo freyk's concerns with the appearance though.  The UI lacks the cohesive look and appearance I would expect from TDM. 

There are some schemes in FLTK, like "GTK+" and "plastic" scheme. They can be easily enabled in the code.

You can also take source code SVN, start ThirdParty\artefacts\fltk\bin\win64_s_vc15_rel_mt\fluid.exe, and open tdm_installer\GuiFluidAutoGen.fl in it. You can change layout and appearance, also can regenerate code and rebuild tdm_installer.

I have been looking at it for long enough time, and it does not look strange to me any more.
Can anyone bring some specific suggestions (aside from "make them look natively") ?

Link to comment
Share on other sites

Ok, let me start with what I find bad:

1. Large window size and increased font size. I think it's better to return default size of font everywhere and reduce window size.

2. Buttons. They are awful! Despite my tweaks, they are bad for 3 reasons: a) thin border, b) same color as background, c) no hover action. I think I can fix (b) and (c), so it would become much better.

Anything else is less disturbing. Or did I forgot something?

Link to comment
Share on other sites

I just tried the installer on Linux, and it has some problems with folder permissions: it created the "fms" folder with permissions 644 instead of the required 755, and consequently it errored out on not being able to create anything inside the fms folder due to missing permissions.

  • Thanks 1
Link to comment
Share on other sites

1 hour ago, cabalistic said:

I just tried the installer on Linux, and it has some problems with folder permissions: it created the "fms" folder with permissions 644 instead of the required 755, and consequently it errored out on not being able to create anything inside the fms folder due to missing permissions.

Damn, I always forget that the shared NTFS directory in Linux VM is very different from native FS.

Link to comment
Share on other sites

Published new version with several improvements:

  • The main download can now be canceled. Very useful if you thought it would be fast but remaining estimate shows you an hour or so 😁
  • Fixed directory permission problem on Linux. Also TDM executables are now marked as executable automatically.
  • Now installer checks if writing is allowed, and checks for free space available, showing errors and warnings.
  • Target manifest is always downloaded from the main mirror --- so setting untrusted servers as mirrors is OK now.

UPDATE: And one more:

  • (Windows-only) Check if installer has elevated rights and post warning if it has.
  • Like 1
Link to comment
Share on other sites

How about building a gui switcher for the windows version, so can its use winforms.

I took a look at the available old versions.
I think/presume that we dont need the old beta versions of released versions.
Keep the release old versions.
For know, i would like only use this installer for downloading old released versions and  those dev-builds.
(Are those build newer than the release version?)

And about the permissions.
I will repeat every time to make installations work in proper/standard applications folders.
You see in other topics that windows users want to install their games in the those locations.
As would other developers also do.
For windows is it the "c:\program files" and in linux in the "/usr/share".
If you compare your existing folders in program files, you will see that all users can write in those subfolders, set up by the installers. 
In the common linuxdistro's, users in the game-group can also write in the /usr/share.

(but as an normal user in my beloved opensuse,the updater still cant write in the Tdm folder that the packagers set up) 

Edited by freyk

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

Link to comment
Share on other sites

9 hours ago, freyk said:

How about building a gui switcher for the windows version, so can its use winforms.

Not possible, except if someone wants to rewrite the whole GUI part from scratch.
I will try to improve the look, but it will never look exactly as native Windows GUI.

Quote

I think/presume that we dont need the old beta versions of released versions.

They are needed for beta testing a new release.
After the release is out, they are left for historical purposes. They don't eat much space anyway.

Quote

(Are those build newer than the release version?)

The only dev build currently available is newer than release208.
I have just renamed its folder from 208 to 209.
By the way, dev build name is composed from two svn revision numbers.

Quote

You see in other topics that windows users want to install their games in the those locations.

They don't want, they just have a habit.

Link to comment
Share on other sites

I haven't had a chance to download Fluid and the installer code yet but is it the choice of some type of skin for fluid that prevents it from looking like a standard Windows installer?  I was watching a Fluid tutorial the other day and the installer they were making looked like a standard windows installer in their video.  Not sure what settings they had used to obtain it though.  Might have time to investigate later.  It just looked much more cohesive.

Link to comment
Share on other sites

I have published a new version with one major new feature: custom manifest URL is working.
However, we don't have any custom versions to test it yet... maybe we'll try it on VR build 🤔

1 hour ago, New Horizon said:

I haven't had a chance to download Fluid and the installer code yet but is it the choice of some type of skin for fluid that prevents it from looking like a standard Windows installer?  I was watching a Fluid tutorial the other day and the installer they were making looked like a standard windows installer in their video.  Not sure what settings they had used to obtain it though.  Might have time to investigate later.  It just looked much more cohesive.

I can say that:

  1. I used some nonstandard buttons (as I described why above)
  2. I used font larger than default
  3. Perhaps some widgets are larger than they usually are, which also looks unfamiliar.

I'm going to rework GUI style.
Share a link of the video if you liked it, I'll look through it too.

  • Like 1
Link to comment
Share on other sites

New version is published.

Now when you install some version, installer saves the set of files this version contains in a file. When you install different version later, it deletes all those files of the old version.
This won't change much if you install official versions, aside from minor details like alsoft.ini being removed when downgrading to 2.06 or earlier. But it changes things if you install unofficial versions (like VR version) which add their own files. Such custom files will now be deleted when you decide to install back an official version.


By the way, the VR version can be now installed in tdm_installer like this:


Also, I will post some sort of changelog for dev. versions in this thread.
New dev build will appear soon.


Next I will look into GUI style issues (make it look more familiar) and documentation of the whole system on wiki.

 

  • Like 1
Link to comment
Share on other sites

Published a new version of tdm_installer.

The GUI is reworked completely. Everything has less size, sizes are more or less like my OS windows have. Reverted to default font size. Colors tweaked a bit to remind how my Windows 10 looks. That's not the default of FLTK, but looks more like modern GUIs look. Unfortunately, alerts and file browser now look a bit different than everything else😥

I did not add any hover actions for now.

@freyk, @New Horizon, please say what you think about new GUI style.

  • Like 1
Link to comment
Share on other sites

Is it possible to separate this topic, in a topic about the tdm installer and the tdm devbuilds?

About the installer .

  • Nice work on the checkboxes, buttons, etc. And please dont forget the filebrowser.
  • The tdm installer windows on windows is smaller, but is, to me, still to large.
  • After the downloads, the installer waits some seconds before it repacks files.
    Impatient new users doesnt now how to react on it.
    Maybe adding a new label to the "repacking" progressbar? Or adding a total progress bar?
     





 

Edited by freyk

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

Link to comment
Share on other sites

8 hours ago, freyk said:

Is it possible to separate this topic, in a topic about the tdm installer and the tdm devbuilds?

It does not make sense until tdm_installer becomes official and tdm_update bites dust.
Because dev builds are only available in tdm_installer.

Quote

And please dont forget the filebrowser.

Filebrowser and alert message are going to be pain. Because right now I spawn them all with simple C functions.

Quote

After the downloads, the installer waits some seconds before it repacks files.
Impatient new users doesnt now how to react on it.
Maybe adding a new label to the "repacking" progressbar? Or adding a total progress bar?

Yes, I have noticed it too. It is especially bad on fresh install.
Downloading is already over, files are verified to match checksums. Architecturally, it is part of "downloading" task, but progress ratio is measured by downloaded bytes, so it stays 100%.


 

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...