Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Loading Time
Loading Time [message #453673] Fri, 09 September 2011 00:04 Go to next message
mrhero101 is currently offline  mrhero101
Messages: 9
Registered: March 2007
Karma: 0
Recruit
Whenever I try to join a server, my loading bar gets stuck at half for about 2 minutes then finishes. But as soon as I hear all the sounds or even get in the game, I crash or lags me out the server.

Before I had 4.0 installed, I never had a problem with the loading screen, usually took me 2 seconds and I'm in the game.

Any ideas?
Re: Loading Time [message #453678 is a reply to message #453673] Fri, 09 September 2011 00:58 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9726
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
Could you also post your system specs? Can you check if there's a crashdump in the renegade folder after this happens and if yes, post it? Thanks.

You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Re: Loading Time [message #453680 is a reply to message #453678] Fri, 09 September 2011 01:03 Go to previous messageGo to next message
Caveman is currently offline  Caveman
Messages: 2476
Registered: July 2005
Location: Wales, UK
Karma: 0
General (2 Stars)

Loading times for the first time you load a map will take a few seconds longer however after it should be more or less instant..

Before I installed TT my client took about 3seconds from pressing connect in RenIP to being ingame.. Now it takes about 5 but its not something that bothers me that much.


CarrierII wrote

BLUEHTHEN YOU AR NOT JUST A BIG CHEATAS AND YOU THE BIG HEAD JUST YOU USE FLY H4X FUCK YOU BIG CHEATAS YOUR CHEATZ IS BAD YOU WANT I WRAUGHT THIS YOUR CHEATZ IS BAD HEY IS 1 YEAR YOUR PROMESS A FLY HAX IN MULTIPLAYER AND IS DONT JUST TROOPRM02 I TELL IT ALL WHO REPLYER IN THIS FORUM YOU CHEATZ

Please don't make me type something like that again, not using puntuation is annoying.


http://r9.fodey.com/2158/bc450f3ca15045e9bdd7651fa49f3a0a.0.gif
Re: Loading Time [message #453694 is a reply to message #453680] Fri, 09 September 2011 05:17 Go to previous messageGo to next message
Sean is currently offline  Sean
Messages: 822
Registered: February 2009
Karma: 0
Colonel
The loading screen does get stuck half way but it's only for a couple of seconds, yeah it's annoying but meh. It works! Razz

Head admin at TmX (The Matrix Sniper server)

irc.thematrixserver.com
The Matrix Sniper: 188.138.84.134:4576
Re: Loading Time [message #453705 is a reply to message #453694] Fri, 09 September 2011 06:31 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Delete the .thu files and see if that does the trick, if not make sure to post how much ram and video ram you have.

Re: Loading Time [message #453718 is a reply to message #453673] Fri, 09 September 2011 07:17 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
tt changed how the map loading works so it takes a few seconds longer.

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: Loading Time [message #453721 is a reply to message #453673] Fri, 09 September 2011 07:24 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
The loading behavior is the same as on 1.037 without custom scripts.dll for me. The first time loading after starting Windows it takes around 20 seconds to load a map. Afterwards, even after exiting the game and opening it again it takes only 3-5 seconds to load. I honestly have no idea why it would take so long the first time loading a map after starting Windows but not after. :/ This also happens on 1.037 without custom scripts.dll. Could the game erroneously be calculating something whenever it detects you restarted Windows? I have 4GB of DDR3 RAM and that initial loading time is around the same as for my cheap-end 2004 specs PC the first time loading.

I've taken a look at a variety of things to see if it caches something in memory the first time loading after starting Windows, but even after clearing some (memory) caches the loading time is 3-5 seconds, while a variety of programs that are cached because I use them a lot took longer to start after clearing it.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Fri, 09 September 2011 07:27]

Report message to a moderator

Re: Loading Time [message #453793 is a reply to message #453673] Fri, 09 September 2011 11:30 Go to previous messageGo to next message
mrhero101 is currently offline  mrhero101
Messages: 9
Registered: March 2007
Karma: 0
Recruit
Seems like its better now for some reason, thanks anyways!
Re: Loading Time [message #453901 is a reply to message #453721] Sat, 10 September 2011 01:15 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
iRANian wrote on Fri, 09 September 2011 15:24

I honestly have no idea why it would take so long the first time loading a map after starting Windows but not after.


It only needs to generate the .thu files once. After that the loading is faster as it can get a lot of the data it needs from the .thu files instead of having to get the data from the texture files.

That's my assumption anyway.


http://steamsignature.com/card/1/76561197975867233.png
Re: Loading Time [message #453913 is a reply to message #453673] Sat, 10 September 2011 03:31 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
Why would it need to calculate the .thu files every time after starting Windows? What do the .thu files contain, by the way? I've always wondered that.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Sat, 10 September 2011 03:32]

Report message to a moderator

Re: Loading Time [message #453914 is a reply to message #453673] Sat, 10 September 2011 03:40 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

The thu files contain texture thumbnails.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Loading Time [message #453920 is a reply to message #453673] Sat, 10 September 2011 04:43 Go to previous messageGo to next message
Hypnos is currently offline  Hypnos
Messages: 682
Registered: August 2009
Location: Scotland
Karma: 0
Colonel
I have the same problem.

http://i33.tinypic.com/2ls7bzb.png

Caveman wrote on Fri, 21 January 2011 08:26

Well this topic is still going on. I have to say I haven't watched much Anime recently (maybe a year or so) the last thing I saw was GITS (for the third time)

Im not too sure whether I just dont enjoy Anime anymore or whether its just I dont have time really to shit and watch it.






Re: Loading Time [message #453931 is a reply to message #453913] Sat, 10 September 2011 06:38 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
iRANian wrote on Sat, 10 September 2011 06:31

Why would it need to calculate the .thu files every time after starting Windows? What do the .thu files contain, by the way? I've always wondered that.


Texture Height Units

vloktboky wrote on Sat, 02 September 2006 22:18


The THU file is a propriatary file format used by Westwood in Renegade. They contain collected data of texture content that is contained within the MIX file of a map. This data includes the image resolution, DDS DXT compression format, etc.
I speculate that the reason why Westwood did this was to save time during the loading/rendering portion of the engine when you need to get these textures for drawing the different portions of the maps. For example, pretty much all of the Westwood maps contain the textures used on the terrain pieces (like the rock walls on Canyon, etc) inside the MIX files. Rather than having to open up the MIX file, extract the data, and load it up everytime you are exposed to a mesh object that uses that terrain file, they stored it in these external files. This would speed up the process a bit which I'm sure gave them a performance boost back then.

The problem is, the engine does not recreate these files once they have been created. So if you update the textures stored in the MIX files (or if you put a different image file with the same name in your Data folder) and it uses a different resolution, the game will not know that and will attempt to draw the texture using the resolution it stored in the THU file.




[Updated on: Sat, 10 September 2011 06:38]

Report message to a moderator

Re: Loading Time [message #454089 is a reply to message #453673] Sun, 11 September 2011 09:32 Go to previous message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
Thanks for the explanation, guys.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Previous Topic: Which servers already updated to scripts 4.0?
Next Topic: Config Issue and Reticle Oddness
Goto Forum:
  


Current Time: Mon May 06 05:43:14 MST 2024

Total time taken to generate the page: 0.01341 seconds