Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 10:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] DOResourcesDownloader

Discussion on [Release] DOResourcesDownloader within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old   #1
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
[Release] DOResourcesDownloader

I needed a resources downloader that could work through a proxy and as I was too lazy to search for it so I made it myself.

This downloader allows you to specify what you want to download (swf files, xml files, loading screen assets, 2d graphics or 3d graphics) through a proxy (or not) and specify the output directory.

Usage:
Code:
java -jar bin/dord.jar [args] [proxy (host:port)] [path_to_download]
If path_to_download isn't set, resources will be saved to the current working directory.

Available arguments:
  • -d - --debug: Enables debug mode (prints all files being downloaded).
  • -a - --all: Downloads all resources (default if no other argument is specified).
  • -x - --xml: Downloads only xml files.
  • -s - --swf: Downloads only swf files.
  • -2 - --2d: Downloads only 2D client files.
  • -3 - --3d: Downloads only 3D client files.
  • -i - --img: Downloads only do_img.
  • -l - --loadingScreenAssets: Downloads only loading screen assets.
  • -h - --host: Host to download files from (default test2.darkorbit.bigpoint.com).
  • -o - --overwrite: Overwrites already downloaded files (by default already downloaded files will be skipped).

All the parameters can be combined.

Examples:
Code:
java -jar bin/dord.jar --swf --2d --3d ~/DarkOrbit

java -jar bin/dord.jar --img ~/DarkOrbit

java -jar bin/dord.jar --swf --xml ~/DarkOrbit

java -jar bin/dord.jar -h test3.darkorbit.bigpoint.com

java -jar bin/dord.jar -h test3.darkorbit.bigpoint.com -o

java -jar bin/dord.jar 192.168.0.100:8080

java -jar bin/dord.jar
GitHub repository:
Download:
For reporting bugs or suggesting features start an issue:

If you want to add more files to download add a method to com.manulaiko.dord.launcher.downloader.Downloader and call it in the start method.
For downloading single files take a look at swf or xml methods. For downloading files from a xml file take a look at graphics2D, graphics3D, loadingScreenAssets or images methods.

As always, pull requests are welcome.

Changelog:

See you!
manulaiko3.0 is offline  
Thanks
5 Users
Old 12/02/2016, 11:33   #2
 
elite*gold: 0
Join Date: Jan 2011
Posts: 47
Received Thanks: 9
Add virustotal link
Vreu is offline  
Old 12/02/2016, 11:39   #3
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by Vreu View Post
Add virustotal link
You're free to examine the source and compile it yourself.
manulaiko3.0 is offline  
Old 12/02/2016, 11:59   #4
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Hello, what compiler recommendations for it? Thanks
steppdroid is offline  
Old 12/02/2016, 12:07   #5
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by steppdroid View Post
Hello, what compiler recommendations for it? Thanks
If you're not paranoid as the user above, the jar file is in bin/dord.jar
Otherwise the easiest way would be to make a new IntelliJ IDEA project from the sources and run com.manulaiko.dord.launcher.Main.

If you don't have IDEA:
manulaiko3.0 is offline  
Old 12/02/2016, 12:26   #6
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Error..

Can you add a version already compiled? i'm a noob in java :')
steppdroid is offline  
Old 12/02/2016, 12:29   #7
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by steppdroid View Post
Error..
Enable debug mode with -d argument (and paste output here) and check your internet connection and directory permissions.
manulaiko3.0 is offline  
Old 12/02/2016, 12:38   #8
 
-=Flavio=-'s Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 613
Received Thanks: 268
I'm going to use it to download and test Goliath-X on a private server
ty manulaiko <3
-=Flavio=- is offline  
Old 12/02/2016, 12:54   #9
 
manulaiko3.0's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by -=Flavio=- View Post
I'm going to use it to download and test Goliath-X on a private server
ty manulaiko <3
I've fixed the host argument in the new version (-h or --host).

Quote:
Originally Posted by steppdroid View Post
Error..

Can you add a version already compiled? i'm a noob in java :')
Ok, the problem was because File.separator is the escape character in Windows (congrats Micro$oft).

New version:

Changelog:
Code:
* Fixed path separator in Winshit.

* Fixed host argument.
manulaiko3.0 is offline  
Reply




All times are GMT +1. The time now is 10:10.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.