Auto-Update
Moderator: GZDoom Developers
-
- Posts: 766
- Joined: Tue Sep 16, 2003 3:03 pm
Auto-Update
I think it'd be cool if ZDoom could check for updates if you were connected.
Of course, it would have to be an option in the config file too.
Oh, and a console command too (check-updates)
Of course, it would have to be an option in the config file too.
Oh, and a console command too (check-updates)
-
- Posts: 1647
- Joined: Mon Aug 11, 2003 6:36 pm
-
- Posts: 766
- Joined: Tue Sep 16, 2003 3:03 pm
-
- Posts: 2954
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
I don't think it'd be too hard, actaully. It could just just check http://zdoom.org/files/lars/ for a newer version. If the detected latest version is higher than the current when yous start up it alerts you, and if you say ok, it downloads and extracts over the existing install and says to restart the game. This might be a problem since Windows doesn't let you overwrite files when they're open, though.It's an idea that I put on the table. Maybe nobody has thought of it. It's kind of nice sometimes to have software update for you (Read: Windows Update). Of course it's low on the totem poll.
-
- Posts: 766
- Joined: Tue Sep 16, 2003 3:03 pm
Not a problem. This is how my program works.
It checks my website for a file matching the version number:
/updateto/weatherwarn-win32-0.1.2.3.txt
If the file exisists, it downloads a NSIS silent installer, executes it, and closes itself. During this time, the NSIS installer has overwritten all the old files, and executes the new version.
It would take a little bit more work for ZDOom though, but I don't imagine too much.
It checks my website for a file matching the version number:
/updateto/weatherwarn-win32-0.1.2.3.txt
If the file exisists, it downloads a NSIS silent installer, executes it, and closes itself. During this time, the NSIS installer has overwritten all the old files, and executes the new version.
It would take a little bit more work for ZDOom though, but I don't imagine too much.
-
-
- Posts: 26573
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
-
- Lead GZDoom+Raze Developer
- Posts: 49183
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
OMG, this isn't true, isn't it?
Of all the ridiculous suggestions here this is probably the most harebrained of all. It's just an excuse for lazy people to save some very minor work.
PLus, I absolutely refuse to run any software that silently alters the contents of my HD with stuff it gets from the internet. Any software that likes to do that is blocked in my firewall and if ZDoom started nonsense like this I'd add it faster to that list than anyone can look. And I guess I am not alone.
Not to forget, that currently I have 5 different versions of ZDoom installed in different directories. There's a reason for that and I wouldn't want to see any of them upgrading itself or even bugging me that it wants to upgrade.
To the dumpster with this, please - as quickly as possible!
Of all the ridiculous suggestions here this is probably the most harebrained of all. It's just an excuse for lazy people to save some very minor work.
PLus, I absolutely refuse to run any software that silently alters the contents of my HD with stuff it gets from the internet. Any software that likes to do that is blocked in my firewall and if ZDoom started nonsense like this I'd add it faster to that list than anyone can look. And I guess I am not alone.
Not to forget, that currently I have 5 different versions of ZDoom installed in different directories. There's a reason for that and I wouldn't want to see any of them upgrading itself or even bugging me that it wants to upgrade.
To the dumpster with this, please - as quickly as possible!
-
- Lead GZDoom+Raze Developer
- Posts: 49183
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 1647
- Joined: Mon Aug 11, 2003 6:36 pm
-
- Lead GZDoom+Raze Developer
- Posts: 49183
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 2954
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Surely that's not so bad? Could even be a cvar to say if you want alerts for new versions.I wrote:If the detected latest version is higher than the current when yous start up it alerts you, and if you say ok, it downloads and extracts over the existing install and says to restart the game.
Last edited by Chris on Fri Mar 25, 2005 1:20 pm, edited 1 time in total.
-
- Posts: 836
- Joined: Mon Aug 04, 2003 12:29 pm
- Location: Denver, CO How do they get teflon to stick to the pan?
No ZSteam!
Lol. Maybe we should get rid of zdoom.ini and save things to the registry, too. And it'd be nice if zdoom would install itself.
If a feature like this were to be implemented, it would have to be an external .exe. There could be a setting in zdoom.ini to have it call that exe on startup (or not!). Then that separate .exe could do what your program does and check the lars directory for a newer version, download it, run some .bat file that replaces the zdoom.wad and .exe, and the runs it. Then auto-updaters would be happy, everyone else could delete the other exe (and/or block it) and continue on their merry way.
@Graf Like you, I'm equally baffled by the growing number of autoupdaters. Perhaps it's the lack of TC (or other E replacement) that causes people to be so dependent on autoupdate? It blows my mind.
If a feature like this were to be implemented, it would have to be an external .exe. There could be a setting in zdoom.ini to have it call that exe on startup (or not!). Then that separate .exe could do what your program does and check the lars directory for a newer version, download it, run some .bat file that replaces the zdoom.wad and .exe, and the runs it. Then auto-updaters would be happy, everyone else could delete the other exe (and/or block it) and continue on their merry way.
@Graf Like you, I'm equally baffled by the growing number of autoupdaters. Perhaps it's the lack of TC (or other E replacement) that causes people to be so dependent on autoupdate? It blows my mind.
-
- Posts: 766
- Joined: Tue Sep 16, 2003 3:03 pm