generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Roblox Asset Downloader

Previous Thread :: Next Thread 
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
29 Oct 2011 09:02 PM
Ok, so I am planning to make an asset downloader. What it would do is download an asset from its ID and let you choose to save it somewhere on your hard drive in XML format. I did not decide yet between Java and C++ to do this, but one thing is sure: it must be portable, that's the whole point of it, so don't suggest me to use non-portable libraries (if I use C++, if I use Java, then there's no problem anymore).

I don't really know much about networking and all that, I actually don't even know how to download a file with a specific user agent.

This program would be useful to download assets without opening Roblox Studio and look at them in XML. It would also be useful to download assets in XML and being able to look at them even if you aren't on Windows or Mac, which would be useful in my case, since I'm often on Ubuntu.

I want it to be simple: you open the program, it asks you to give it the ID of the asset, it downloads the asset, it opens a save dialog and asks you where to save it and then it saves the asset at that location.

Sadly, once again, I don't know how to download a file with a specific user agent.

Note: http://www.roblox.com/Forum/ShowPost.aspx?PostID=54991025

So.. I think I need some help with downloading the asset. I can do all the rest myself, it's easy.
Report Abuse
LocalChum is not online. LocalChum
Joined: 04 Mar 2011
Total Posts: 6906
29 Oct 2011 09:05 PM
JARVA SUCKS

C++

I can make a .NET one in 3 seconds :3
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
29 Oct 2011 09:15 PM
LocalChum, it needs to be portable. That is not debatable. The main reason I want to make that program is to be able to view assets on Ubuntu.


I only need help to know how to download a file with a specific user agent.
Report Abuse
dap300 is not online. dap300
Joined: 23 Nov 2009
Total Posts: 4738
29 Oct 2011 09:16 PM
Get firefox and addon of useragent changer.

Change useragent to Roblox/WinInet

ENJOY.
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
29 Oct 2011 09:18 PM
"Get firefox and addon of useragent changer.

Change useragent to Roblox/WinInet

ENJOY."

:O

I'm going to try. =D

But.. I still want to make that program.
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
29 Oct 2011 09:36 PM
You mean like this? (VBS)

'Set your settings

strFileURL = "URL_GOES_HERE"
strHDLocation = "C:\file.zip"

' Fetch the file

Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP")

objXMLHTTP.open "GET", strFileURL, false
objXMLHTTP.send()

If objXMLHTTP.Status = 200 Then
Set objADOStream = CreateObject("ADODB.Stream")
objADOStream.Open
objADOStream.Type = 1 'adTypeBinary

objADOStream.Write objXMLHTTP.ResponseBody
objADOStream.Position = 0 'Set the stream position to the start

Set objFSO = Createobject("Scripting.FileSystemObject")
If objFSO.Fileexists(strHDLocation) Then objFSO.DeleteFile strHDLocation
Set objFSO = Nothing

objADOStream.SaveToFile strHDLocation
objADOStream.Close
Set objADOStream = Nothing
End if

Set objXMLHTTP = Nothing
Report Abuse
LocalChum is not online. LocalChum
Joined: 04 Mar 2011
Total Posts: 6906
29 Oct 2011 09:37 PM
VBS..

*barf*
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
29 Oct 2011 09:38 PM
@LC: I agree the syntax is ugly, but VBS's functionality outweighs it's terrible syntax.
Report Abuse
LocalChum is not online. LocalChum
Joined: 04 Mar 2011
Total Posts: 6906
29 Oct 2011 09:39 PM
I hate being called LC

*moar barf*
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
29 Oct 2011 09:40 PM
"LocalChum, it needs to be portable. That is not debatable. The main reason I want to make that program is to be able to view assets on Ubuntu."

I didn't see the portable part. That rules out VBS. :\
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
29 Oct 2011 09:41 PM
@LC: Come at me bro!
Report Abuse
LocalChum is not online. LocalChum
Joined: 04 Mar 2011
Total Posts: 6906
29 Oct 2011 09:43 PM
k

wait wut
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
29 Oct 2011 09:59 PM
VBS is not portable. And its syntax is SOOOOOO ugly.

C++ or Java. I need to know how to download a file with a specific user agent.
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
29 Oct 2011 10:02 PM
I think it has to have a certain UserAgent to qualify for receiving the asset.
Report Abuse
myrkos is not online. myrkos
Joined: 06 Sep 2010
Total Posts: 8072
29 Oct 2011 10:05 PM
"C++ or Java. I need to know how to download a file with a specific user agent."

Do you wanna use some library or do you wanna make the HTTP requests using sockets?
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
29 Oct 2011 10:19 PM
"Do you wanna use some library or do you wanna make the HTTP requests using sockets?"

A library, of course! :o

Qt has some stuff for that, doesn't it? I'm sure it does, I've seen that somewhere. Qt isn't only a graphical library, trololol.
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
29 Oct 2011 10:22 PM
Wait... This just made me think about something.. When you play a game, Roblox Studio downloads the place. What if... what if you made a program that pretends to be Roblox Studio and that pretends to want to play a place? Roblox will give it the place? That'd be an awesome place stealing "exploit".
Report Abuse
dap300 is not online. dap300
Joined: 23 Nov 2009
Total Posts: 4738
29 Oct 2011 10:43 PM
Or you could just do content stealing with wireshark.

WireShark can intercept some of data, but not all.
Report Abuse
myrkos is not online. myrkos
Joined: 06 Sep 2010
Total Posts: 8072
30 Oct 2011 12:07 AM
Qt has pretty much everything one would expect for a cross platform framework. And yes, I think it does do HTTP requests.
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
30 Oct 2011 08:48 AM
@myrkos

Perhaps I should look in the documentation to find how to send a request with a specific user agent.

Qt is awesome. :D
Report Abuse
roperson1337 is not online. roperson1337
Joined: 25 May 2011
Total Posts: 435
30 Oct 2011 09:01 AM
I made something like that in PHP once. It's deleted, now, and I have no idea how I made it.

Anyway, Oyus.
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
30 Oct 2011 09:04 AM
Already did, kthxbai.

~+[CROOKITY BANDED SNAKES]+~
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
30 Oct 2011 09:05 AM
Apache commons is epical! >:D

~+[CROOKITY BANDED SNAKES]+~
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
30 Oct 2011 09:06 AM
"Wait... This just made me think about something.. When you play a game, Roblox Studio downloads the place. What if... what if you made a program that pretends to be Roblox Studio and that pretends to want to play a place? Roblox will give it the place? That'd be an awesome place stealing "exploit"."

Not a chance, roblox studio uses your place hash and/or your roblox cookie to get your place securely.

You'd have to make a log in box to get dah cookiez.

~+[CROOKITY BANDED SNAKES]+~
Report Abuse
jordan4762 is not online. jordan4762
Joined: 08 Sep 2008
Total Posts: 4116
30 Oct 2011 09:07 AM
[ Content Deleted ]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image