It is currently 26 Aug 2025, 20:30
   
Text Size

Magic Data

General Discussion of the Intricacies

Moderator: CCGHQ Admins

Re: Magic Data

Postby Huggybaby » 06 Jul 2012, 17:21

I've thought of making a global announcement, and I would use it as a blog type thing, like rares had. The purpose of my blog type thing would be to make all the users of this forum aware of all the other cool things in this forum. IOW, it appears to me that a lot of folks are active in one forum, and never seem to browse around to any of the others.

It frustrates me to see someone building ANOTHER deckbuilder, ANOTHER web crawler, etc., when these already exist in polished and reusable form.
User avatar
Huggybaby
Administrator
 
Posts: 3227
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 748 times
Been thanked: 601 times

Re: Magic Data

Postby Ark » 06 Jul 2012, 17:31

I agree with Arch. A general resource forum for data, pictures, utilities of any kind, magic related, would be useful to lots of people. It's something that would fit outside the scope of Programmers' Roundtable or HQ Card Pics really, as different utilities would have different goals and scopes. Generally all these kind of utilities and data collections are things that aren't really just for programmers or just for picture collectors and scanners, so it really is a separate kind of forum area.
User avatar
Ark
Programmer
 
Posts: 350
Joined: 16 Jul 2008, 04:29
Has thanked: 10 times
Been thanked: 103 times

Re: Magic Data

Postby Huggybaby » 06 Jul 2012, 17:34

In this new forum, would each utility have a subforum, or is a sticky OK?
User avatar
Huggybaby
Administrator
 
Posts: 3227
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 748 times
Been thanked: 601 times

Re: Magic Data

Postby Ark » 06 Jul 2012, 17:45

Subforums are ignored by lots, because they're hard to notice, in my opinion. A single sticky with a summary of each utility would be great, along with the official thread for each utility afterward. Probably best to limit new thread creation to new utilities only, so there doesn't end up with a pile of threads that are basically off-topic.
Not sure if the sticky should organize a list of programs and data/information collections alphabetically and have a summary of what each does, or if the sticky should have general categories of utility or data/information types and list the various programs and differences under that.
User avatar
Ark
Programmer
 
Posts: 350
Joined: 16 Jul 2008, 04:29
Has thanked: 10 times
Been thanked: 103 times

Re: Magic Data

Postby randian » 06 Jul 2012, 18:12

Arch wrote:Updated first post.
Any chance of getting just the delta when an update happens?
randian
 
Posts: 15
Joined: 05 Jun 2012, 17:30
Has thanked: 0 time
Been thanked: 0 time

Re: Magic Data

Postby silly freak » 06 Jul 2012, 18:58

we have a wiki here too - how about an announcement thread that is updated when a new tool is added to the wiki (i.e. only deltas), but the actual info goes into the wiki (alphabetically sorted)?

I know that the wiki is hardly noticed, so the sticky is important, but if there is some sort of update notification, I think the wiki is the better form.
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Re: Magic Data

Postby North » 06 Jul 2012, 21:38

Here is the crawler we are using for MAGE. Running it will output the data in a txt format, with the values separated by "|".
https://github.com/magefree/GathererCrawler
North
DEVELOPER
 
Posts: 93
Joined: 15 May 2011, 08:20
Has thanked: 8 times
Been thanked: 15 times

Re: Magic Data

Postby Arch » 07 Jul 2012, 18:15

Huggybaby wrote:In this new forum, would each utility have a subforum, or is a sticky OK?
Actually what I was thinking about was something akin to viewtopic.php?f=27&t=1840 but for raw data. I'm guessing there's also other resources such as card-rendering, domain models (that might not be completely tied into the logic) and so on.

This could easily be extended to other parts of the site. There are 10-20 AI/enforcement forums/programs; where should I go? Which ones work on my os? Where can I chip in with some work and so on.

If I were to start this off I'd just go with a thread. Throw up a table or list and start adding stuff. Right now I don't have a clear view of what I'd like to achive with something like this. What I think something like this needs though is someone with a vision.

At the same time I'd support any effort in this general direction.

randian wrote:Any chance of getting just the delta when an update happens?
What kind of delta are you looking for? I put a small list on the first page but I guess that's not what you're looking for. If you want a diff of the actual data you could just get the current and previous versions and diff them yourself.

I have had some ideas about altering the way I distribute the data which could possibly include diffs as well. But I don't have any concrete plans at this time.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby Arch » 07 Jul 2012, 18:20

North wrote:Here is the crawler we are using for MAGE. Running it will output the data in a txt format, with the values separated by "|".
https://github.com/magefree/GathererCrawler
I downloaded it to check it out. There's html in the output, don't know if that's intentional or not.

Do you have any idea of where you want it to go? Is it going to be library that others can integrate into their products or some standalone downloader?
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby friarsol » 11 Jul 2012, 01:18

Arch wrote:This could easily be extended to other parts of the site. There are 10-20 AI/enforcement forums/programs; where should I go? Which ones work on my os? Where can I chip in with some work and so on.

If I were to start this off I'd just go with a thread. Throw up a table or list and start adding stuff. Right now I don't have a clear view of what I'd like to achive with something like this. What I think something like this needs though is someone with a vision.
This sounds like the way to go to me.

For the different Engines:
Wiki table. Most recent release. General release schedule (how many weeks?). OS Compatibility. Programming Language.

And then like 5-15 different features, preferably Yes/No. But sometimes a bit more open-ended (like AI could be "Min-Max", "Simple", "None"). I'm willing to help out fill out the table for Forge.

Edit: Something like this http://www.slightlymagic.net/wiki/List_of_MTG_Engines
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Magic Data

Postby North » 12 Jul 2012, 07:36

Arch wrote:
North wrote:Here is the crawler we are using for MAGE. Running it will output the data in a txt format, with the values separated by "|".
https://github.com/magefree/GathererCrawler
I downloaded it to check it out. There's html in the output, don't know if that's intentional or not.

Do you have any idea of where you want it to go? Is it going to be library that others can integrate into their products or some standalone downloader?
Regarding the HTML in the output files, it can be easily replaced to suit your needs.

From an architectural point of view this could be greatly improved. It wasn't written to be used as a library. Anyone interested in using the code is free to do so. Also, there are behaviors that should be extracted in separate classes, namely outputting the data. We only use it when a new set comes out.

I wouldn't recommend dynamically getting the needed information from Gatherer. This is slow because of the html overhead. I am sure there are some better solutions out there, especially if you are interested in different languages. You can use this one because you can easily write your output method and save the file however you want (or save directly to the DB).
North
DEVELOPER
 
Posts: 93
Joined: 15 May 2011, 08:20
Has thanked: 8 times
Been thanked: 15 times

Re: Magic Data

Postby Marek14 » 12 Jul 2012, 10:32

I think that cards from Fallen Empires and such should show how many different versions there is, like basic lands do (I think they did at one point, but not anymore).
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Magic Data

Postby Arch » 13 Jul 2012, 17:19

friarsol wrote:And then like 5-15 different features, preferably Yes/No. But sometimes a bit more open-ended (like AI could be "Min-Max", "Simple", "None"). I'm willing to help out fill out the table for Forge.
Yeah, something like this.

North wrote:You can use this one because you can easily write your output method and save the file however you want (or save directly to the DB).
That's a big plus in my eyes. Language specific access to the data is one step better than raw data, as long as it's available for "my" language.

Marek14 wrote:I think that cards from Fallen Empires and such should show how many different versions there is, like basic lands do (I think they did at one point, but not anymore).
Possible that I broke it with the fix for viewtopic.php?f=27&t=1347&start=225#p81157

Will have a look at it.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby PilotPirx » 24 Jul 2012, 19:43

It seems there are no flavor texts for the second side of a transform card in the meta.xml?!??! :shock: :?
e^iπ + 1 = 0
User avatar
PilotPirx
 
Posts: 41
Joined: 16 Dec 2009, 15:27
Has thanked: 1 time
Been thanked: 7 times

Re: Magic Data

Postby Arch » 25 Jul 2012, 20:16

I've made my own page for the data at http://dl.dropbox.com/u/2771470/index.html so will just link to that instead of maintaining the first post here. Note that this thread is still the official place for announcement of new releases though, you just need one more click to get it.

This setup allows for some more freedom. Specifically it allows me to autogenerate the information on that page.

Marek14 wrote:I think that cards from Fallen Empires and such should show how many different versions there is, like basic lands do (I think they did at one point, but not anymore).
I reverted the old fix since it seems like that is the behavior wanted. Night // Day for instance actually has two version so should be (x2). The meaning of the number would not be the number of different cards in a set that still have the same name.

PilotPirx wrote:It seems there are no flavor texts for the second side of a transform card in the meta.xml?!??! :shock: :?
Fixed.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

PreviousNext

Return to Magic Rules Engine Programming

Who is online

Users browsing this forum: No registered users and 20 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 20 users online :: 0 registered, 0 hidden and 20 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 20 guests

Login Form