.ztmp Files: What Are They?

DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
<div class="IPBDescription">sv_downloadurl enabled</div> Part of my regular server maintenance includes deleting ".ztmp" files. No one has been able to explain to me why these files exist IF you have sv_downloadurl enabled, and ALL custom files are NOT downloaded from the gameserver. <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused-fix.gif' border='0' style='vertical-align:middle' alt='confused-fix.gif' /><!--endemo-->

Comments

  • BryBry Join Date: 2003-01-23 Member: 12609Members
    Yes these were used before redirect was implemented and afaik no longer needed.

    I would assume they get auto created when the user asks for them before they are sent via redirect.

    You could always try making your maps folder read only yet this may cause further problems.

    They dont really bother me tho as long as u have plenty of hdd space shouldnt be a problem.

    Also its concevable that ur redirect goes down sometimes and so the server falls back to the old method
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    They certainly aren't harming anything, they just serve no purpose so I don't see the need for 125+ of them hanging around.

    I would have to make a lot more than the "maps" directory read only, but that <i>may</i> be worth a shot. But you're right, if I lose my redirect connection it would revert to the gameserver, then I'd be up the creek without a paddle.

    I guess I was hoping there there was a way to disable the creation of these ztmp files. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo-->
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    edited March 2005
    When a Steam client downloads a resource from a Steam game server (like a .BSD map), the resource is first compressed to save bandwidth. An associated .ZTMP file is stored on the server so the resource won't need to be compressed again the next time a client requests it. If you change the resource you need to delete the associated .ZTMP file so that the next person who downloads is doesn't get the old copy instead of the changed resource file (Steam does not detect changed game resource files and recreate the .ZTMP file automatically.)


    From: <a href='http://filext.com/detaillist.php?extdetail=ZTMP' target='_blank'>http://filext.com/detaillist.php?extdetail=ZTMP</a>
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    <!--QuoteBegin-Vadakill+Mar 10 2005, 08:55 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Vadakill @ Mar 10 2005, 08:55 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->When a Steam client downloads a resource from a Steam game server (like a .BSD map), the resource is first compressed to save bandwidth. An associated .ZTMP file is stored on the server so the resource won't need to be compressed again the next time a client requests it. If you change the resource you need to delete the associated .ZTMP file so that the next person who downloads is doesn't get the old copy instead of the changed resource file (Steam does not detect changed game resource files and recreate the .ZTMP file automatically.)


    From: <a href='http://filext.com/detaillist.php?extdetail=ZTMP' target='_blank'>http://filext.com/detaillist.php?extdetail=ZTMP</a><!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    This all makes good sense <b>IF</b> the client is downloading the file form the gameserver. With sv_downloadurl enabled however, the client should be downloading directly from the wbeserver, <b>NOT</b> the gameserver. That being said, I don't undertand the need for the compressed file on the gameserver.

    Or is this just an unavoidable by-product? <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused-fix.gif' border='0' style='vertical-align:middle' alt='confused-fix.gif' /><!--endemo-->
Sign In or Register to comment.