Jump to content


Photo

TDM Updater stuck in loop


  • Please log in to reply
25 replies to this topic

#1 skacky

skacky

    Member

  • Member
  • PipPip
  • 231 posts

Posted 15 February 2017 - 06:36 AM

Hey, I'm trying to update to 2.05 but the updater is stuck in a loop. It will check my local 2.04 files and then download tdm_update_win.zip (1.5mb). However, when I click Restart, it starts the process all over again. 

I've tried renaming the folder to no effect. The game is not installed in Program Files or any secure folder. The updater worked fine when I updated to 2.04 when it was released (on the same machine).



#2 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 7519 posts

Posted 15 February 2017 - 06:46 AM

Set "do not allow tdm_updater to update itself" in the advanced options menu.
Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)

#3 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18340 posts

Posted 15 February 2017 - 06:51 AM

Have you tried manually downloading tdm_update.exe and running that..



#4 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18340 posts

Posted 15 February 2017 - 06:58 AM

Set "do not allow tdm_updater to update itself" in the advanced options menu.

Dont we want ti to update itself though..?



#5 skacky

skacky

    Member

  • Member
  • PipPip
  • 231 posts

Posted 15 February 2017 - 07:09 AM

Set "do not allow tdm_updater to update itself" in the advanced options menu.

 

Thanks, that did the trick. Should've tried that.



#6 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1114 posts

Posted 15 February 2017 - 07:24 AM

I have the updater update active and I also had to restart three or four times (I did not pay too much attention, but I think the messages I got were different each time, so I thought that this is just part of the process, like restarting TDM after installing a new mission).



#7 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 7519 posts

Posted 15 February 2017 - 08:26 AM

Dont we want ti to update itself though..?

 

Once. The infinite loop makes it keep updating itself over and over and it never moves on to downloading the actual mod.


Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)

#8 Sotha

Sotha

    Vertical Contest Winner

  • Active Developer
  • PipPipPipPipPip
  • 5551 posts

Posted 15 February 2017 - 09:58 AM

It loops for me too! I think it did when I updated to 2.04 as well.

 

This should be probably fixed ASAP, because potential new players, who are not that tech-savvy, might simply give up when the updater does not work out of the box. Looks bad if the default install doesn't work, but one needs to figure out to put a mark in a tab in some advanced menu. :mellow:


  • Springheel likes this
Clipper
-The mapper's best friend.

#9 greebo

greebo

    Heroic Coder

  • Root
  • 15919 posts

Posted 15 February 2017 - 10:28 AM

There seems to be a logic problem extracting the updater:

 

...
Checking filesize of downloaded file, expecting 1570489
Checking download for 'is-a-zipfile'.
Checking CRC of downloaded file, expecting acca1045
CRC calculated for zip file D:\Games\doom3test\darkmod\__tdm_update_win.zip = acca1045
Downloaded file passed the integrity checks.
Moved D:\Games\doom3test\darkmod\__tdm_update_win.zip to D:\Games\doom3test\darkmod\tdm_update_win.zip
Extracting files from D:\Games\doom3test\darkmod\tdm_update_win.zip
Ignoring file: tdm_update.exe
Found 0 files to extract.
Preparing TDM update batch file in D:\Games\doom3test\darkmod\tdm_update_updater.cmd

...

 

 

It's never extracting the tdm_update.exe.

 

edit: Sorry, scratch that. It's extracted but it fails to activate the new version.


Edited by greebo, 15 February 2017 - 10:39 AM.


#10 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 7519 posts

Posted 15 February 2017 - 10:37 AM

I wonder if Windows is removing the executable on extract for security purposes?

Are we using our our zip library for this part of the process or deferring to Windows zip support?


Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)

#11 greebo

greebo

    Heroic Coder

  • Root
  • 15919 posts

Posted 15 February 2017 - 10:40 AM

No, sorry, the updater binary is there, but it's not copied over it seems.



#12 greebo

greebo

    Heroic Coder

  • Root
  • 15919 posts

Posted 15 February 2017 - 10:44 AM

It's a timing issue, the two second pause appears to be too short for the tdm_update process to terminate, so the .exe file is still in use. Raising the limit to 5 seconds breaks the loop.

 

New players won't experience this, since they are downloading the current tdm_update directly, but existing players might run into this.

 

I don't recall running into this problem before, but then again I haven't run tdm_update since 2013.



#13 marcuskiwi

marcuskiwi

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 15 February 2017 - 12:41 PM

Where do I find the advanced options menu please as I am stuck in this endless loop!!!!

 

 

No worries I have found it. Please ignore


Edited by marcuskiwi, 15 February 2017 - 12:46 PM.


#14 brethren

brethren

    Advanced Member

  • Member
  • PipPipPip
  • 544 posts

Posted 15 February 2017 - 04:00 PM

I don't recall running into this problem before, but then again I haven't run tdm_update since 2013.

 

This has been going on for a while, I had this issue when I updated to 2.04 in mid 2016.



#15 chakkman

chakkman

    Advanced Member

  • Member
  • PipPipPip
  • 656 posts

Posted 15 February 2017 - 07:19 PM

Same issue here. Before, every update worked fine, but now, the updater is in a self-update loop.

 

So, downloading the update manually will fix this?

 

What is the latest version of the Updater anyway? Mine says version 0.65.


Edited by chakkman, 15 February 2017 - 07:22 PM.


#16 NightStalker

NightStalker

    Linux hero

  • Development Role
  • PipPip
  • 146 posts

Posted 15 February 2017 - 11:34 PM

What is the latest version of the Updater anyway?

0.66



#17 Shadrach

Shadrach

    Member

  • Member
  • PipPip
  • 27 posts

Posted 16 February 2017 - 06:58 AM

For those having problems here's a workaround.

 

The updater downloads the new version as "_tdm_update.exe" (on Windows), and then apparently fails to copy this over the old file, then deletes the temporary file.

 

So what I did was copy the new file out of the folder while installer was running, let the update fail, and then overwrite the "tmd_update.exe" with the (renamed) "_tmd_update.exe".

 

Not pretty but works...


Edited by Shadrach, 16 February 2017 - 06:59 AM.


#18 chakkman

chakkman

    Advanced Member

  • Member
  • PipPipPip
  • 656 posts

Posted 16 February 2017 - 01:41 PM

0.66

 

Doesn't seem to be available on TDM's website. Only find version 0.65.


Edited by chakkman, 16 February 2017 - 01:41 PM.


#19 chakkman

chakkman

    Advanced Member

  • Member
  • PipPipPip
  • 656 posts

Posted 17 February 2017 - 10:21 AM

Downloaded the Updater from here now, from the mirror "darkmod.taaaki.za.net": http://www.thedarkmo...wnload-the-mod/ The download up in the description is still version 0.65. The one on the mirror i stated is already version 0.66. Updater works now as expected.


Edited by chakkman, 17 February 2017 - 10:22 AM.

  • Anderson likes this

#20 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18340 posts

Posted 19 February 2017 - 01:08 PM

I fixed that link yesterday, so this method can now be used by any new users having the loop problem.


  • chakkman and Anderson like this

#21 Petike the Taffer

Petike the Taffer

    Member

  • Member
  • PipPip
  • 208 posts

Posted 02 March 2017 - 09:11 AM

A possible related problem: I'm at the end of the whole updating process.

 

"Performing cleanup setups.". etc.

 

More in the following picture:

 

Attached File  TDM update weird.png   59.58KB   0 downloads

 

"Your TDM installation is up to date."

 

But the green "working on it" bar still isn't at the end. And I already have a "Show Log" and "Close" button available, not to mention the size (388.6 MB) fitting the update size.

 

Is something wrong ? Should I run the updater again ? Besides this one issue, everything ran absolutely fine.



#22 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 7519 posts

Posted 02 March 2017 - 09:29 AM

Probably just the size of the files that need to be checked for bad date encoding. Run it once more and if it does the same thing, I will suggest that you are done.


Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)

#23 Petike the Taffer

Petike the Taffer

    Member

  • Member
  • PipPip
  • 208 posts

Posted 02 March 2017 - 09:44 AM

Probably just the size of the files that need to be checked for bad date encoding. Run it once more and if it does the same thing, I will suggest that you are done.

 

Sound advice. I'll run it once more to check it. Be right back.



#24 Petike the Taffer

Petike the Taffer

    Member

  • Member
  • PipPip
  • 208 posts

Posted 02 March 2017 - 10:07 AM

Just checked it. Everything went by fast, finished itself normally, things seem to be fully updated and fine. :) Off to test 2.05...


  • Bikerdude, Judith and nbohr1more like this

#25 STiFU

STiFU

    Uber member

  • Development Role
  • PipPipPipPip
  • 3122 posts

Posted 02 March 2017 - 12:48 PM

Just FYI, on the german ttlg, somebody said he fixed the issue of the updater loop by disabling CCleaner. Not sure if that's any help.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users