[DarKOrbit] Resources Downloader in Python

08/06/2020 12:08 ᶠᶸᶜᵏᵧₒᵤ!BugPoint!#1
Hi all,

It has been many years since the last file download tool has not been updated, I took the task of writing one in Python, even though I don't play DarkOrbit anymore, I still use the 3D files for printing.

The program has 2 functions.
  1. Download the list of all files in the XML from Test2 Server
    (It can take 15 minutes, it depends on your internet speed)
  2. Check if there are new files, and download only the new ones
    (Takes less time)
Coming soon: I'll add the checksum file option
Update 1
Changes: File paths
  • File paths have been added, instead of everything the root document @[Only registered and activated users can see links. Click Here To Register...]

Update 2
Changes: False positive
  • Code:
    kernel32.SetConsoleMode(kernel32.GetStdHandle(-10), (0x4|0x80|0x20|0x2|0x10|0x1|0x00|0x100))
    Quote:
    I was forced to eliminate this line of code from my program, ctypes calls GetConsoleMode (Win32 DLL) to disable QuickEdit mode (It serves to block selection mode in console, to avoid keyboard interruptions), Why? VirusTotal treats ctypes.windll.kernel32 as potentially dangerous, because it makes use of DLLs on our system
    [Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
08/06/2020 12:43 PNTX#2
does it download the 2d ressources too?
08/06/2020 13:56 engel143#3
use the xml from the testserver, so we can see if they add new stuff :feelsbadman:
08/06/2020 15:25 PNTX#4
Quote:
Originally Posted by engel143 View Post
use the xml from the testserver, so we can see if they add new stuff :feelsbadman:
im not sure. but i thought they use the same xml file for the test server. aka new stuff will be in your download folder too.
08/06/2020 20:46 Metin2xxl#5
nice! release please
08/07/2020 12:13 PNTX#6
Quote:
Originally Posted by ᶠᶸᶜᵏᵧₒᵤ!BugPoint! View Post
Done, you can now download the program, any questions, errors it generates, please advise in this thread
would be nice if you include the path.

like "graphics/lasers/devolariumShot.swf"
instead of everything in the root document of the folder.
10/18/2020 19:39 alexutu2013#7
Can you give a new link, this one don't work