Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » TT downloader
Re: TT downloader [message #443706 is a reply to message #443670] Tue, 08 February 2011 19:59 Go to previous messageGo to next message
Speedy059 is currently offline  Speedy059
Messages: 367
Registered: August 2003
Karma: 0
Commander
EvilWhiteDragon wrote on Tue, 08 February 2011 06:19


Could however prove difficult with different files with the same name. Say NS wants EpicRenMap.mix on the server and Jelly wants EpicRenMap.mix on the server as well, but both changed tiny details without changing the name. Good luck with fixing that...


Then that is a problem that people will experience no matter how the files are hosted. Can't really get around that unless you match file sizes or something. There should be a system in place where people can upload maps to the CDN through a website, and have a PHP script manage what maps are being uploaded to the CDN and ensure there isn't duplicate names being uploaded. Then with the TT Downloader perhaps it can look at the size of the clients' map and compare it to the size that is stored on the CDN/website. If it's different, just download it.


Oldest Renegade Repository (10yrs worth of maps!)
http://renegade.dmehosting.com/
Re: TT downloader [message #443707 is a reply to message #443684] Tue, 08 February 2011 20:01 Go to previous messageGo to next message
Speedy059 is currently offline  Speedy059
Messages: 367
Registered: August 2003
Karma: 0
Commander
StealthEye wrote on Tue, 08 February 2011 11:29

File names wouldn't be likely to cause problems, since files get stored based on file hashes.

A CDN would be cool. If it works transparently with HTTP it can be used easily.


Yes it works with HTTP. Everything can be accessed at http://ttdownloader.domain.com/somedumbmap.mix





Oldest Renegade Repository (10yrs worth of maps!)
http://renegade.dmehosting.com/
Re: TT downloader [message #446238 is a reply to message #443564] Tue, 26 April 2011 07:57 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

EvilWhiteDragon wrote on Sat, 05 February 2011 06:27

It should work with any webhost, so if say game-maps.net has the .mix or whatever uncompressed on their webserver, the game will download it. Either way, whether you download from the server or from a different server doesn't matter as it will need a separate process (like apache) to be made available, which means it will take none of the (singlethreaded) renegade thread.

I will update game-maps with a public ttfs filesystem with the files for all of the custom maps that renegade has to offer.
People can contact me if they want their maps added.

For example the location will be http://ren.game-maps.net/ttfs or on http://downloads.cncfps.com/ttfs
people would enter that location in their config files and the rest comes naturally Smile

*edit*: I uploaded all files from ubermappack now to this ttfs repository.

For those curious about the downloader, you can always try Red Alert A Path Beyond Gamma ( download on http://apathbeyond.com ) which has the system in place already.

index.php?t=getfile&id=13293&private=0


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png

[Updated on: Tue, 26 April 2011 21:18]

Report message to a moderator

Re: TT downloader [message #446244 is a reply to message #442959] Tue, 26 April 2011 10:34 Go to previous messageGo to next message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma: 0
General (1 Star)
Haven't played APB yet (D:) but that looks freaking great Very Happy

http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg
Re: TT downloader [message #446252 is a reply to message #442959] Tue, 26 April 2011 16:38 Go to previous messageGo to next message
NACHO-ARG is currently offline  NACHO-ARG
Messages: 397
Registered: October 2010
Karma: 0
Commander
wen i try to join to some coop server of GAMA and start the download of the mod/map after a few minutes it crashes, any idea?
Re: TT downloader [message #446256 is a reply to message #446252] Tue, 26 April 2011 21:16 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

NACHO-ARG wrote on Tue, 26 April 2011 19:38

wen i try to join to some coop server of GAMA and start the download of the mod/map after a few minutes it crashes, any idea?

Try delete your ttfs folder and reconnect to the server.


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png

[Updated on: Tue, 26 April 2011 21:16]

Report message to a moderator

Re: TT downloader [message #446258 is a reply to message #442959] Tue, 26 April 2011 23:24 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
the dling the maps off your server and then loading them went really smooth Thumbs Up

if you place the whole ubermappack in the ttfs, does it mean ALL the maps get downloaded?


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
Re: TT downloader [message #446259 is a reply to message #446258] Tue, 26 April 2011 23:33 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 Wed, 27 April 2011 07:24

if you place the whole ubermappack in the ttfs, does it mean ALL the maps get downloaded?


It will only download the maps you need for the server you are joining. So if you join a server with 3 fanmaps, it will download those 3 fanmaps.


http://steamsignature.com/card/1/76561197975867233.png
Re: TT downloader [message #446260 is a reply to message #442959] Tue, 26 April 2011 23:58 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Not to get confused:

Your client will download maps on damand. So only the map the server is
currently running will be downloaded when you join.
When the next custom map is loaded, then your client will download
that one as well. It will not download all 3 custom maps when you
first join the server.

I think that should be clear now Smile


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: TT downloader [message #446264 is a reply to message #446256] Wed, 27 April 2011 00:19 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

zunnie wrote on Wed, 27 April 2011 06:16

NACHO-ARG wrote on Tue, 26 April 2011 19:38

wen i try to join to some coop server of GAMA and start the download of the mod/map after a few minutes it crashes, any idea?

Try delete your ttfs folder and reconnect to the server.

The TTFS isn't meant to be used like that. It's a filesystem with maps you needed to play on a server.
Creating a TTFS with the ubermappack in it is a waste of space for clients, as you can just as easily download them on demand. The only reason why one would want this is because he got a _VERY_ slow connection, and this way he wouldn't have to wait in game.


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: TT downloader [message #446277 is a reply to message #442959] Wed, 27 April 2011 07:26 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
thanks for clarifying

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
Re: TT downloader [message #446279 is a reply to message #442959] Wed, 27 April 2011 09:17 Go to previous messageGo to next message
NACHO-ARG is currently offline  NACHO-ARG
Messages: 397
Registered: October 2010
Karma: 0
Commander
i delete the ttfs folder and try again to join, still crashes.





http://s3.subirimagenes.com/fondosycapturas/6317498errors.jpg






http://s2.subirimagenes.com/fondosycapturas/6317497errors2.jpg




any fix for this issue?
Re: TT downloader [message #446291 is a reply to message #442959] Wed, 27 April 2011 20:46 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
Yes, stop running ubuntu.

(unless thats just a skin.)


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: TT downloader [message #446295 is a reply to message #442959] Wed, 27 April 2011 23:37 Go to previous messageGo to next message
NACHO-ARG is currently offline  NACHO-ARG
Messages: 397
Registered: October 2010
Karma: 0
Commander
it just a skin for win xp
Re: TT downloader [message #446305 is a reply to message #442959] Thu, 28 April 2011 07:09 Go to previous message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
I've had the pure virtual function call triggered happen on me a few times too while playing APB, but not during the resource downloading.

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: Suggestion/Question
Next Topic: Stuff that is incompatible with scripts 4.0
Goto Forum:
  


Current Time: Mon May 20 21:47:19 MST 2024

Total time taken to generate the page: 0.00923 seconds