Page 1 of 1

Forge - Now with Net Decks

PostPosted: 25 Jan 2015, 05:30
by drdev
For all you deck builders out there, and for those who love downloading all these great decks, I'm excited to share that both desktop and mobile Forge will now support selecting and downloading decks directly from these subforums without leaving the application.

NetDecks.png

At the moment, the available categories correspond to all of the deck columns gathered and posted by gos, who has done an amazing job keep them all up to date. I hope that this new feature will make it easier for more Forge users to benefit from his hard work.

If you want to add more Net Decks categories, they're stored in res/lists/net_decks.txt and res/lists/net_decks_commander.txt, so they can easily be added to without needing to touch any code.

Enjoy.
-Dan

Re: Forge - Now with Net Decks

PostPosted: 25 Jan 2015, 13:38
by VladVoivode
drdev wrote:For all you deck builders out there, and for those who love downloading all these great decks, I'm excited to share that both desktop and mobile Forge will now support selecting and downloading decks directly from these subforums without leaving the application.

NetDecks.png

At the moment, the available categories correspond to all of the deck columns gathered and posted by gos, who has done an amazing job keep them all up to date. I hope that this new feature will make it easier for more Forge users to benefit from his hard work.

If you want to add more Net Decks categories, they're stored in res/lists/net_decks.txt and res/lists/net_decks_commander.txt, so they can easily be added to without needing to touch any code.

Enjoy.
-Dan
Hi Dan,

This is a MAJOR help to me as I can add other resources! As I find these sites and some truly great decks, I've wanted a way to snag them that was more efficient. This seems to be the ticket! Heaven help the hard drives if I get rockin' on this!!

A million thanks!!!

Best,
Vlad

EDIT: I am poking all over the place and can't seem to find a NetDecks choice Dan. I have the newest beta build. When I select from the duel page, I still get Custom, Random Color, Random Theme, etc., but no choice for Net Decks. Is this implemented now or is the key phrase "will now support" meaning in the next beta? I found a mammoth site last night and added some decks using the deck editor. These decks are categorized wonderfully and a few of them are nasty fun to lose against. :)

Re: Forge - Now with Net Decks

PostPosted: 25 Jan 2015, 14:03
by drdev
This feature isn't in the 1.5.33 Beta as I just implemented it yesterday. It will be in the next snapshot build and Beta release, and it's already been released for the Android app. Sorry I didn't make that clearer.

Re: Forge - Now with Net Decks

PostPosted: 25 Jan 2015, 15:28
by VladVoivode
Thanks for the clarification. This really is a very cool addition!

Re: Forge - Now with Net Decks

PostPosted: 25 Jan 2015, 16:38
by Xitax
Wow.

Will the script file support putting columns in separate folders - or not - as desired?

Also I see a potential problem in that Forge renames many of these deck files to get rid of special characters. If the local file name is altered then it may continually load decks that you already have. One solution would be to ask Gos to release the deck files with the name changes included, or maybe to host the files someplace with the name changes already made.

Re: Forge - Now with Net Decks

PostPosted: 26 Jan 2015, 15:56
by drdev
Each category is automatically downloaded to a separate subfolder of decks/net/. However, as these decks are zipped, I'm not able to detect which decks are new/modified, so it just replaces the contents of the folder upon download. Which isn't a big deal because the download and extraction of even the largest categories containing over 1000 decks takes less than a minute.

Re: Forge - Now with Net Decks

PostPosted: 10 Feb 2015, 15:27
by drdev
So it's come to my attention that linking to attachments on these forums will break whenever the attachment is updated, since slightlymagic will assign a new attachment ID each time. With that in mind, I'd highly recommend any Net Decks be hosted outside these forums in a static location that won't change with updates. You can then link to them in your forum post.

Re: Forge - Now with Net Decks

PostPosted: 27 Mar 2015, 22:43
by Snoops2
Has this been fixed? Also is there any way to check for the commander versions?

Re: Forge - Now with Net Decks

PostPosted: 28 Mar 2015, 12:38
by gos
Xitax wrote:Also I see a potential problem in that Forge renames many of these deck files to get rid of special characters. If the local file name is altered then it may continually load decks that you already have. One solution would be to ask Gos to release the deck files with the name changes included, or maybe to host the files someplace with the name changes already made.
Another solution, which I would personally much more prefer, is to use the .dck file's metadata (Name, for instance) to determine equality, not the filename.

Snoops2 wrote:Has this been fixed?
No, not at the moment. drdev has suggested hosting the files somewhere where I can ensure that URLs stays the same. That means finding a free hosting option and I haven't looked into any possibilities. It also means that changes in the number of zip-files (like the changes I just made this week) could potentially break things as well.

Re: Forge - Now with Net Decks

PostPosted: 28 Mar 2015, 13:36
by friarsol
gos wrote:No, not at the moment. drdev has suggested hosting the files somewhere where I can ensure that URLs stays the same. That means finding a free hosting option and I haven't looked into any possibilities. It also means that changes in the number of zip-files (like the changes I just made this week) could potentially break things as well.
Maybe see if Rob or Krazy can give you a folder on their ftp servers that you can upload to and just reuse? Since these servers are already being used for Forge related activities, I don't think a bunch of zips with a whole bunch of text files would be that much more of a strain.

Re: Forge - Now with Net Decks

PostPosted: 28 Mar 2015, 13:40
by gos
friarsol wrote:
gos wrote:No, not at the moment. drdev has suggested hosting the files somewhere where I can ensure that URLs stays the same. That means finding a free hosting option and I haven't looked into any possibilities. It also means that changes in the number of zip-files (like the changes I just made this week) could potentially break things as well.
Maybe see if Rob or Krazy can give you a folder on their ftp servers that you can upload to and just reuse? Since these servers are already being used for Forge related activities, I don't think a bunch of zips with a whole bunch of text files would be that much more of a strain.
That would be perfectly agreeable to me. drdev would presumably have to switch from http to ftp transfer of the files (unless the ftp folder is served to http requests). Do you think either of them are reading this?

Re: Forge - Now with Net Decks

PostPosted: 28 Mar 2015, 15:22
by Snoops2
gos wrote:
friarsol wrote:
gos wrote:No, not at the moment. drdev has suggested hosting the files somewhere where I can ensure that URLs stays the same. That means finding a free hosting option and I haven't looked into any possibilities. It also means that changes in the number of zip-files (like the changes I just made this week) could potentially break things as well.
Maybe see if Rob or Krazy can give you a folder on their ftp servers that you can upload to and just reuse? Since these servers are already being used for Forge related activities, I don't think a bunch of zips with a whole bunch of text files would be that much more of a strain.
That would be perfectly agreeable to me. drdev would presumably have to switch from http to ftp transfer of the files (unless the ftp folder is served to http requests). Do you think either of them are reading this?
If you can't find anywhere I could host them on my Dropbox. I host the Pokemon TCG plugin for LackeyCCG there and when updating the links stay the same (as long as the filename doesn't change).

Re: Forge - Now with Net Decks

PostPosted: 08 Apr 2015, 23:32
by drdev
Just shoot me a pm with whatever you decide and I'll make the necessary code updates. Hopefully its as simple as just updating the res/lists/net-decks.txt file.

Re: Forge - Now with Net Decks

PostPosted: 09 Jan 2017, 13:33
by vinnie
I noticed that when I download a decklist a folder is created but the decks are not included in it but outside, in the same level.
I have also noticed that are no longer updated.

Re: Forge - Now with Net Decks

PostPosted: 29 Oct 2017, 23:09
by Atreyu83
Same thing here.

Forge keeps downloading the decks even if it did it few minutes before, after I restart it.

Decks are all unzipped in the same directory Forge/data/decks/net. In particular I'm talking about the Top Decks category.