Jump to content




Dark Retriever - Program Downloader / Library


  • You cannot reply to this topic
8 replies to this topic

#1 darkrising

  • Members
  • 234 posts
  • LocationScotland

Posted 02 December 2013 - 11:34 AM

Hello, as this program has got more and more complex I thought it deserved its own thread.

This program is a program downloader with an easy to use gui and startup script generation.

It's probably easier to show you...
Spoiler

So yeah, as seen from the images, everything is split down into author -> package -> program.

You navigate the menu items by using up, down, left and right arrows. When your are in the program information window you just hit enter to download! Simple!

To download just type: pastebin get N22T449A dr

If you want your programs added to Dark Retriever just take a look at my github and submit a pull request.

The format for adding a program is:
Spoiler


#2 LBPHacker

  • Members
  • 766 posts
  • LocationBudapest, Hungary

Posted 02 December 2013 - 02:35 PM

I'll just stick to clapping and saying "awesome". I really like the design. One thing though: I'd store the versions as strings, as they are capable of holding more information than a double number.

#3 darkrising

  • Members
  • 234 posts
  • LocationScotland

Posted 02 December 2013 - 02:46 PM

View PostLBPHacker, on 02 December 2013 - 02:35 PM, said:

I'll just stick to clapping and saying "awesome". I really like the design. One thing though: I'd store the versions as strings, as they are capable of holding more information than a double number.

Thanks :)

The reason they're stored as double numbers is because my program's auto updater compares the version of the program to the downloaded one.

#4 LBPHacker

  • Members
  • 766 posts
  • LocationBudapest, Hungary

Posted 02 December 2013 - 03:09 PM

View Postdarkrising, on 02 December 2013 - 02:46 PM, said:

-snip-
You can do that with strings as well. Split the string into numbers and compare them. There you go.

#5 lukasdragon

  • Members
  • 13 posts

Posted 12 April 2014 - 10:46 PM

Do you mind me modifying it to allow some of my programs to be installed too? & is it possible for you to sort of help me lol cuz when I tried doing it, it was not indexing ( I just edited the program versions file and updated the changed link in the dr

Edited by lukasdragon, 12 April 2014 - 11:01 PM.


#6 darkrising

  • Members
  • 234 posts
  • LocationScotland

Posted 12 April 2014 - 10:50 PM

View Postlukasdragon, on 12 April 2014 - 10:46 PM, said:

Do you mind me modifying it to allow some of my programs to be installed too?

As long as you give me credit, I don't mind :)

If you take a look at my Github you will find a program versions file that's where the dark retriever gets its info.

#7 lukasdragon

  • Members
  • 13 posts

Posted 13 April 2014 - 12:02 AM

View Postdarkrising, on 12 April 2014 - 10:50 PM, said:

View Postlukasdragon, on 12 April 2014 - 10:46 PM, said:

Do you mind me modifying it to allow some of my programs to be installed too?

As long as you give me credit, I don't mind :)

If you take a look at my Github you will find a program versions file that's where the dark retriever gets its info.
I tried to figure it out however what exactly do I need to change? here is my copy of your My repo

Edited by lukasdragon, 13 April 2014 - 12:15 AM.


#8 darkrising

  • Members
  • 234 posts
  • LocationScotland

Posted 13 April 2014 - 12:42 AM

View Postlukasdragon, on 13 April 2014 - 12:02 AM, said:

View Postdarkrising, on 12 April 2014 - 10:50 PM, said:

View Postlukasdragon, on 12 April 2014 - 10:46 PM, said:

Do you mind me modifying it to allow some of my programs to be installed too?

As long as you give me credit, I don't mind :)

If you take a look at my Github you will find a program versions file that's where the dark retriever gets its info.
I tried to figure it out however what exactly do I need to change? here is my copy of your My repo

Like in my example above:

["server"]={ --program name
["GitURL"]="https://raw.github.com/darkrising/darkprograms/darkprograms/darksecurity/server.lua", --direct url to the program.
["Version"]=6.301, --version
["Type"]="program", --category
["Name"]="Dark Programs Server", --Actual name of the program
["Description"]="Dark Programs Base Security Server", --A small description of what it does or is
["Author"]="Darkrising", --Author
["Package"]="Dark Security", --Package the program is located
},

So if you had a program called potato
["potato"]={
["GitURL"]="http://www.some.url.com/potato",
["Version"]=1.0,
["Type"]="program",
["Name"]="An epic potato program",
["Description"]="Potatos are epic",
["Author"]="MrPotato",
["Package"]="PotatoPrograms",
},


Edit also for auto-update:
Spoiler

Edited by darkrising, 13 April 2014 - 12:46 AM.


#9 lukasdragon

  • Members
  • 13 posts

Posted 13 April 2014 - 03:44 AM

View Postdarkrising, on 13 April 2014 - 12:42 AM, said:

View Postlukasdragon, on 13 April 2014 - 12:02 AM, said:

View Postdarkrising, on 12 April 2014 - 10:50 PM, said:

View Postlukasdragon, on 12 April 2014 - 10:46 PM, said:

Do you mind me modifying it to allow some of my programs to be installed too?
As long as you give me credit, I don't mind :)/> If you take a look at my Github you will find a program versions file that's where the dark retriever gets its info.
I tried to figure it out however what exactly do I need to change? here is my copy of your My repo
Like in my example above:
 ["server"]={ --program name ["GitURL"]="https://raw.github.com/darkrising/darkprograms/darkprograms/darksecurity/server.lua", --direct url to the program. ["Version"]=6.301, --version ["Type"]="program", --category ["Name"]="Dark Programs Server", --Actual name of the program ["Description"]="Dark Programs Base Security Server", --A small description of what it does or is ["Author"]="Darkrising", --Author ["Package"]="Dark Security", --Package the program is located }, 
So if you had a program called potato
 ["potato"]={ ["GitURL"]="http://www.some.url.com/potato", ["Version"]=1.0, ["Type"]="program", ["Name"]="An epic potato program", ["Description"]="Potatos are epic", ["Author"]="MrPotato", ["Package"]="PotatoPrograms", }, 
Edit also for auto-update:
Spoiler

Thanks, I got it all figured out!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users