stgatilov 1129 Posted December 24, 2020 Author Report Share Posted December 24, 2020 Posted new version of tdm_installer. Fixed name of config file: Darkmod.cfg instead of darkmod.cfg 1 1 Quote Link to post Share on other sites
peter_spy 1530 Posted December 25, 2020 Report Share Posted December 25, 2020 (edited) Installed the 2.09 beta with this, everything worked fine. One small remark about the overall UI design. It kinda looks like this: Spoiler Padding, margins, buttons' distance from the border, indents for text in subsequent lines, it looks uneven or odd. IIRC, Orbweaver said he's a UI programmer, maybe he could help with that, if the time allows. O just blatantly copy any other dialogue / wizard you like. But again, this would probably be a lowest priority thing Edited December 25, 2020 by peter_spy Quote Misc. assets for TDM Link to post Share on other sites
Araneidae 36 Posted December 26, 2020 Report Share Posted December 26, 2020 Does the installer update itself, or I do need to download a new version (presumably the link at the head of this thread)? Quote Link to post Share on other sites
stgatilov 1129 Posted December 27, 2020 Author Report Share Posted December 27, 2020 11 hours ago, Araneidae said: Does the installer update itself, or I do need to download a new version (presumably the link at the head of this thread)? It should update itself when you try to go to the second/third screen (unless you explicitly disable it). It would post a message when it does so, so you won't miss it. Quote Link to post Share on other sites
stgatilov 1129 Posted December 27, 2020 Author Report Share Posted December 27, 2020 On 12/25/2020 at 1:08 PM, peter_spy said: Padding, margins, buttons' distance from the border, indents for text in subsequent lines, it looks uneven or odd. IIRC, Orbweaver said he's a UI programmer, maybe he could help with that, if the time allows. O just blatantly copy any other dialogue / wizard you like. But again, this would probably be a lowest priority thing Yes, I would appreciate if someone improves spacing and layout. The FLTK designer application is located here https://svn.thedarkmod.com/svn/darkmod_src/trunk/ThirdParty/artefacts/fltk/bin/win64_s_vc15_rel_mt/fluid.exe. And the file for GUI is here: https://svn.thedarkmod.com/svn/darkmod_src/trunk/tdm_installer/GuiFluidAutoGen.fl Quote Link to post Share on other sites
freyk 474 Posted December 27, 2020 Report Share Posted December 27, 2020 (edited) Well I would like to give it a try, but i (and others) dont have readonly acces to the svn to download the files. Would be nice to have them. - edit - And they are. Just Open your webbrowser to svn.thedarkmod.com (you be pointed to a public trunk) and navigate manually to the files. Fluid.exe: at public trunk Guifluidautogen.fl :at tdm installer folder in public trunc As an alternative, the FLTK designer installer and an instruction video can be found here: FLTK designer Installer (for version 1.3.2, windows) and installation instructions: courses.cs.washington.edu FLTK designer Installerpackes for linux: repo instruction yt video: An Introduction To Using FLTK's GUI Builder "Fluid" Edited December 27, 2020 by freyk 1 Quote Info: My portfolio and darkmod graphical installer Amnesty for Bikerdude! Link to post Share on other sites
Araneidae 36 Posted December 27, 2020 Report Share Posted December 27, 2020 (edited) Thanks, the installer did indeed update itself nicely (I now have version v0.23 built Dec 24). At least on Linux, a slightly cleaner restart should be achievable with one of the `exec*` functions (`execve` and wrappers), but there doesn't appear to be a Windows equivalent for this. With respect to freyk's last posting, it seems a shame that TDM isn't on git yet. I imagine this conversation has already happened! Edited December 27, 2020 by Araneidae Clarify exec(3) Quote Link to post Share on other sites
stgatilov 1129 Posted December 27, 2020 Author Report Share Posted December 27, 2020 3 hours ago, Araneidae said: With respect to freyk's last posting, it seems a shame that TDM isn't on git yet. I imagine this conversation has already happened! There would be GitHub mirror at some moment. Right now the admin resource is occupied on the better FM database. Then it would be 2.09 release and syncing tdm_installer data to mirrors. Not fast enough, unfortunately. Quote Link to post Share on other sites
Araneidae 36 Posted December 27, 2020 Report Share Posted December 27, 2020 Hmph. Migration to git would be more sane ... but guess this really isn't my argument. "Merging" in svn is a horrible joke, glad to have left that behind long ago. Quote Link to post Share on other sites
stgatilov 1129 Posted December 27, 2020 Author Report Share Posted December 27, 2020 13 minutes ago, Araneidae said: "Merging" in svn is a horrible joke, glad to have left that behind long ago. I hope you have heard such thing as "trunk-based development"? That's how games are usually done Quote Link to post Share on other sites
Araneidae 36 Posted December 27, 2020 Report Share Posted December 27, 2020 4 minutes ago, stgatilov said: trunk-based development Huh. Didn't know it had a name, but yes, that's how you have to use SVN! Quote Link to post Share on other sites
Dragofer 1352 Posted December 28, 2020 Report Share Posted December 28, 2020 I've tried to upgrade to beta209_02 but aborted midway by clicking on x in the top right corner. Now whenever I try to download any version I get an error message and the download never begins: Failed to open zip file ".zipsync/mani/10.iniz" Here's a log of my faulty tdm_installer. I've also looked in my .zipsync folder and found that 10.iniz is empty. tdm_installer_faulty.log Deleting 10.iniz has fixed the problem. 1 Quote FM: One Step Too Far | FM: Down by the Riverside | FM: Perilous Refuge Dragofer's Stuff | Dragofer's Scripting | A to Z Scripting Guide Link to post Share on other sites
stgatilov 1129 Posted December 28, 2020 Author Report Share Posted December 28, 2020 2 hours ago, Dragofer said: I've tried to upgrade to beta209_02 but aborted midway by clicking on x in the top right corner. Now whenever I try to download any version I get an error message and the download never begins: Failed to open zip file ".zipsync/mani/10.iniz" Well, it is clear that error reporting is good enough I'll fix this case, but in general killing the installer when it is doing something can leave your installation in trouble in many ways, so I'm afraid it is expected that user might have to do something after that... Quote Link to post Share on other sites
freyk 474 Posted January 8 Report Share Posted January 8 (edited) Just want to say that I tried the fltk gui designer and have get used to the controls. (To me, the controls are very annoying, compared with other gui desingers) But i learned about this desinger much, like: to make the GUI/Window of the tdm installer smaller, start by making the tdm installer image-banner smaller (or re-sizeable). Then compare & change the tdm installer fltk-button sizes, with winforms buttons sizes. For me this takes time, because of the desinger controls. Edited January 8 by freyk 1 Quote Info: My portfolio and darkmod graphical installer Amnesty for Bikerdude! Link to post Share on other sites
Dragofer 1352 Posted Saturday at 08:50 AM Report Share Posted Saturday at 08:50 AM Spoiler Next problem: the installer has been working fine on my office laptop so far. However, yesterday I tried for the first time to switch to a dev build, which aborted with an error message like this not long after I had "START"ed the download: ERROR: Failed to rename file C:/personal/darkmod/tdm_ai_monsters_spiders01.pk4 to C:/personal/darkmod/__repacked__tdm_ai_monsters_spiders01.pk4 (error -1) Now whenever I try to install any build, I get this error message and the download aborts back to the download initation screen (where it shows how many MBytes will be downloaded). If I try to restart the download, the installer crashes. Sometimes it complains about tdm_ai_animals01.pk4 instead of tdm_ai_monsters_spiders01.pk4. I've tried deleting my tdm_installer.ini and tdm_installer.log, but it made no difference. tdm_installer.log I've attached the log. Nevermind, a process from DR was still somehow open even though I closed DR hours ago, causing the spiders .pk4 to still be considered as being in use by a program. Quote FM: One Step Too Far | FM: Down by the Riverside | FM: Perilous Refuge Dragofer's Stuff | Dragofer's Scripting | A to Z Scripting Guide Link to post Share on other sites
stgatilov 1129 Posted Saturday at 09:13 AM Author Report Share Posted Saturday at 09:13 AM The tdm_update was trying to detect TDM or DR among processes and give warning. Perhaps I should port this thing to tdm_installer. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.