You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(6) |
Sep
(5) |
Oct
(22) |
Nov
(4) |
Dec
(23) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(14) |
Feb
(5) |
Mar
|
Apr
|
May
(6) |
Jun
(1) |
Jul
|
Aug
(8) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2002 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(7) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <omd...@li...> - 2004-01-19 04:27:31
|
> I'm not exactly sure what you mean by "sets". Based on looking around > the OMD project webpage, it seems like OMD is also about developing > applications for building deck files and what not. Did one of the > applications contain a card database for deck building? There are a couple issues here... a) There is the problem that the content of the files is copyrighted intellectual property of Wizards. As such, we cannot distribute the card texts ourselves without permission or serious editing as was previously done by Hogan at NGO and will not put it on SF.net because it will, inevitably, be taken down. Dragonstar Studios ended up working with wizards for this reason. b) A standard will not be accepted if there is no application that demonstrates feasibility and also makes good use of it. Java and XML making great partners, I built apps on them (including a deck editor that had the features that I always wanted). > I guess my impression for what to do with the XML standard once > developed was slightly different. While I think the sorts of > applications that are being written are useful, I think that the real > kicker (pun kinda intended) here is the promise of interoperability > between programs. That means that I should be able to download a deck > file from brainburst.com, play with it in apprentice or magic > workstation, tweak it in the java editor that you folks provide, print > it out using a decklist printing tool to take to my tournament, and then > post it on my own website by using XSLT along with my description of how > the tournament went. I don't think it's really all that different. Any standard is not a standard without users. =) For this reason I also provided an export to apprentice format feature, hoping that this would lead over to the XML standard. > I feel like the key to making this interoperability happen is having a > standard that is independent from any single application (though > certainly getting feedback from all the potential users of the > standard). I do think maybe you've gotten a bit of a misunderstanding of the process here... Hogan started OMD and started some standards. I took it and ran, but it was never without input. The apps were my own creation, using the standard and proving validity. > My DTD is at: > http://xenon.stanford.edu/~mdevine/dtd/magic-deck.dtd > > In many ways, I feel like my DTD is a superset of the OMD superset. My > DTD includes all of the elements that the OMD DTD includes, with the > exception of the card "Comment" element. In some of my elements have > different names, for example, I use the name "edition" instead of Set. > I prefer the name Set to edition. I included the comment because I saw many sites at the time including comments about specific cards in the deck. I like the addition of the event section, though I would like to see it included in its own section (i.e. eventList) even though you can of course do a 0-many inclusion. It just helps clear things up, particularly in viewers like IE where you can collapse whole sections of tree to ignore them. > I personally like the element name "deck" instead of "OMDDeck". I > realize that you may have named it OMDDeck so as not to interfere with > other XML markup for things like Yu-Gi-Oh decks. There is a way to do > this, and still use the name "deck". If you look in my stompy.xml file, > you will see that I use the xmlns element in deck to define an XML > Namespace. That means that "deck" and everything included within it, is > really considered as "http://xenon.stanford.edu/~mdevine/mtg:deck" which > is never going to conflict with anything. If you look in my XSLT file, > I define a shorthand for that URL at the very beginning so I can match > against "mtgml:deck". Heh. Keep something in mind here before passing judgement: a) Yu-Gi-Oh did not exist (though Pokemon did) b) Schemas were still very new c) Namespaces were still very new d) None of us building the standards at the time knew much yet about XML. The fact is, all of the above tend to indicate it was an idea somewhat in advance of its time. I picked OMDDeck at the time to make people start to look for what OMD was, and as you hint, to avoid some of the collisions. You are quite correct, though, that namespaces and clearer schema could certainly solve these issues. > There are other elements and attributes that I have in my dtd that I > think could be useful (though the OMD apps certainly wouldn't need to > use them). The most bizarre ones are the "groups" and "group" > elements. I'm not sold on the groups elements; I'd have to see some practical examples. (After all, we already have main deck and sideboard groupings.) This is one of the good things about XML though. There can be extra info included that if the app doesn't want to use, it doesn't have to. =) > I've added a date attribute to format > because of the formats that change with time. "Extended" isn't > sufficient to know the allowed card pool, but "Extended" on 1/16/03 is. I'll pause here to note that we never did manage to agree on a way of standardizing the description of a format. Fields change so frequently it would be difficult to keep up to date, besides the ability to pick/locate them. So this might be a good place for you to ponder deeply should you feel motivated. =) > Basically what I'm interested in is trying to make the XML that we're > working with a standard for the online Magic community. That was the dream, yes. =) > I think in > order to do this, we need to: > > 1.) broaden the dtd to include some of the features that other > applications might want (I have an attempt at > http://xenon.stanford.edu/~mdevine/dtd/magic-deck-omd.dtd) As noted, I like the event inclusion. > 2.) create an xml namespace URI for the standards. Nothing actually > needs to be at that url, it's just a string that uniquely identifies the > OMD namespace. I suggest "http://sourceforge.net/projects/omd" Au contraire, the url provides a starting point for information about it. > 3.) write documentation about the standard and make it available on the > OMD page Great idea... if someone wants to write some docs on this. ... > > 4.) communicate with web site maintainers and application developers to > convince them of the benefits of using this standard Also a good idea, but there need to be some documented benefits and examples before you can sell them on it. If Hogan is still lurking around here somewhere, he might be a good resource to start with. > I'm willing to work on all of the above. I just need to know if this > plan makes sense and fits in with the OMD project. Sorry if this was a > lot of information to dump on you guys all at once. Let me know what > you think. I'm open to any fresh efforts, though I'd like to see the work that's already been done kept as the core. (Standards aren't much if they show a history of getting tossed out, after all!) And while it's good to have an optimist with a pie-in-the-sky dream amongst us, try not to get *too* optimistic. Web sites tend to not share their best material so as to keep their audience, and there just aren't that many apps out there. Those that are out there won't likely change rapidly; Apprentice has been at 1.46 for... 5 years? Something like that, anyway. Version 2 has been in the works longer than that. And as proud as I am of Deck Mentor, it's not been updated in >2 years. I hoped there would be some interest, but it's really been very low-key and it needs data sets in order to work. If you can drum up some interest on the e-leauges, that would probably be the best way to gather interest in the standards. --Dave / Sage Sam |
From: <omd...@li...> - 2004-01-16 17:42:59
|
I'm not exactly sure what you mean by "sets". Based on looking around the OMD project webpage, it seems like OMD is also about developing applications for building deck files and what not. Did one of the applications contain a card database for deck building? I guess my impression for what to do with the XML standard once developed was slightly different. While I think the sorts of applications that are being written are useful, I think that the real kicker (pun kinda intended) here is the promise of interoperability between programs. That means that I should be able to download a deck file from brainburst.com, play with it in apprentice or magic workstation, tweak it in the java editor that you folks provide, print it out using a decklist printing tool to take to my tournament, and then post it on my own website by using XSLT along with my description of how the tournament went. I feel like the key to making this interoperability happen is having a standard that is independent from any single application (though certainly getting feedback from all the potential users of the standard). Then we go to application developers (as well as maybe developing our own projects, like a basic deck editor, a basic XSLT stylesheet, etc.) and convince them that XML will make their lives applications easier to write, and that interoperability will make their applications more powerful. I think this is where the real promise of OMD lies. It's interesting. I've been working on my own version of the DTD in the event that one didn't exist, and it's rather creepy how similar they turned out. I guess when one is taking inspiration from the same sources (like websites and deck editors), I guess that's bound to happen. My DTD is at: http://xenon.stanford.edu/~mdevine/dtd/magic-deck.dtd An example of a XML file implementing that dtd with a sample XSLT transform is at: http://xenon.stanford.edu/~mdevine/stompy.xml In many ways, I feel like my DTD is a superset of the OMD superset. My DTD includes all of the elements that the OMD DTD includes, with the exception of the card "Comment" element. In some of my elements have different names, for example, I use the name "edition" instead of Set. I prefer the name Set to edition. I personally like the element name "deck" instead of "OMDDeck". I realize that you may have named it OMDDeck so as not to interfere with other XML markup for things like Yu-Gi-Oh decks. There is a way to do this, and still use the name "deck". If you look in my stompy.xml file, you will see that I use the xmlns element in deck to define an XML Namespace. That means that "deck" and everything included within it, is really considered as "http://xenon.stanford.edu/~mdevine/mtg:deck" which is never going to conflict with anything. If you look in my XSLT file, I define a shorthand for that URL at the very beginning so I can match against "mtgml:deck". There are other elements and attributes that I have in my dtd that I think could be useful (though the OMD apps certainly wouldn't need to use them). The most bizarre ones are the "groups" and "group" elements. I added these so that an applcation could separate the cards in either the maindeck or the sideboard if they wanted to, in the way that apprentice files do it. This is also flexible enough to split things into other groupings. For example, I could group my sideboard by which cards are boarded in against each opponent ("Aggro-Hate", "Tog-Hate", and so on). I've added an event element for sites like brainburst who frequently have deck listings with information about how they did in a major tournament. I've added a date attribute to format because of the formats that change with time. "Extended" isn't sufficient to know the allowed card pool, but "Extended" on 1/16/03 is. Basically what I'm interested in is trying to make the XML that we're working with a standard for the online Magic community. I think in order to do this, we need to: 1.) broaden the dtd to include some of the features that other applications might want (I have an attempt at http://xenon.stanford.edu/~mdevine/dtd/magic-deck-omd.dtd) 2.) create an xml namespace URI for the standards. Nothing actually needs to be at that url, it's just a string that uniquely identifies the OMD namespace. I suggest "http://sourceforge.net/projects/omd" 3.) write documentation about the standard and make it available on the OMD page 4.) communicate with web site maintainers and application developers to convince them of the benefits of using this standard I'm willing to work on all of the above. I just need to know if this plan makes sense and fits in with the OMD project. Sorry if this was a lot of information to dump on you guys all at once. Let me know what you think. Thanks, SamuraiMike On Thu, 2004-01-15 at 23:18, omd...@li... wrote: > Sorry for the delay in replying... I've been working some [unpaid] OT at > work lately. > =^p > > Yes, there is a DTD for a deck file that I put together; you can find it at > http://www.coruscant.cc/OMD/MtGdeck.dtd > > There is not one for expansion sets, though you could likely use an editor > to extrapolate one from the >30 expansion files. Alas, I'm behind in > converting files as I've not had time to playtest or play constructed--thus > diminishing my efforts. =) You can find the sets that have been converted > at http://www.coruscant.cc/OMD/sets032002.zip -- only 2 years old... > =^p If someone wants to take "ownership" of the sets, you're more than > welcome to do so. > > --Sage Sam > > ----- Original Message ----- > From: <omd...@li...> > To: <omd...@li...> > Sent: Friday, January 09, 2004 10:03 AM > Subject: [sf_net] [Omd-dev] Is there an XML Namespace URI or DTD for OMD > yet? > > > > Hi guys, > > I'm a Magic player who is teaching himself about XML and XML-related > > technologies (XSLT/DTD/XPath/etc.). I noticed the OMD project and was > > wondering if OMD has defined the standard for XML magic decklists. If > > so, is there a DTD defining the standard? Is there an XML namespace? > > If so, I'd be happy to help develop them. My sourceforge username is > > SamuraiMike. > > > > Thanks, > > SamuraiMike > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Perforce Software. > > Perforce is the Fast Software Configuration Management System offering > > advanced branching capabilities and atomic changes on 50+ platforms. > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > _______________________________________________ > > Omd-development mailing list > > Omd...@li... > > https://lists.sourceforge.net/lists/listinfo/omd-development > > > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Omd-development mailing list > Omd...@li... > https://lists.sourceforge.net/lists/listinfo/omd-development |
From: <omd...@li...> - 2004-01-16 04:19:35
|
Sorry for the delay in replying... I've been working some [unpaid] OT at work lately. =^p Yes, there is a DTD for a deck file that I put together; you can find it at http://www.coruscant.cc/OMD/MtGdeck.dtd There is not one for expansion sets, though you could likely use an editor to extrapolate one from the >30 expansion files. Alas, I'm behind in converting files as I've not had time to playtest or play constructed--thus diminishing my efforts. =) You can find the sets that have been converted at http://www.coruscant.cc/OMD/sets032002.zip -- only 2 years old... =^p If someone wants to take "ownership" of the sets, you're more than welcome to do so. --Sage Sam ----- Original Message ----- From: <omd...@li...> To: <omd...@li...> Sent: Friday, January 09, 2004 10:03 AM Subject: [sf_net] [Omd-dev] Is there an XML Namespace URI or DTD for OMD yet? > Hi guys, > I'm a Magic player who is teaching himself about XML and XML-related > technologies (XSLT/DTD/XPath/etc.). I noticed the OMD project and was > wondering if OMD has defined the standard for XML magic decklists. If > so, is there a DTD defining the standard? Is there an XML namespace? > If so, I'd be happy to help develop them. My sourceforge username is > SamuraiMike. > > Thanks, > SamuraiMike > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Omd-development mailing list > Omd...@li... > https://lists.sourceforge.net/lists/listinfo/omd-development > > |
From: <omd...@li...> - 2004-01-15 21:10:05
|
Well, this is normally a pretty quiet news group, but I really thought someone in the know would have responded to your inquiry by now. Unfortunately, I'm not the right person to answer your question. I, like you am just a magic player with a passing interest in XML and related subjects. Steve -----Original Message----- From: omd...@li... [mailto:omd...@li...] Sent: Friday, January 09, 2004 10:04 AM To: omd...@li... Subject: [Omd-dev] Is there an XML Namespace URI or DTD for OMD yet? Hi guys, I'm a Magic player who is teaching himself about XML and XML-related technologies (XSLT/DTD/XPath/etc.). I noticed the OMD project and was wondering if OMD has defined the standard for XML magic decklists. If so, is there a DTD defining the standard? Is there an XML namespace? If so, I'd be happy to help develop them. My sourceforge username is SamuraiMike. Thanks, SamuraiMike ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Omd-development mailing list Omd...@li... https://lists.sourceforge.net/lists/listinfo/omd-development |
From: <omd...@li...> - 2004-01-09 16:11:47
|
Hi guys, I'm a Magic player who is teaching himself about XML and XML-related technologies (XSLT/DTD/XPath/etc.). I noticed the OMD project and was wondering if OMD has defined the standard for XML magic decklists. If so, is there a DTD defining the standard? Is there an XML namespace? If so, I'd be happy to help develop them. My sourceforge username is SamuraiMike. Thanks, SamuraiMike |
From: Chris R. J. <ch...@ra...> - 2002-06-20 00:01:58
|
Hi everyone, With the end of MTG Online beta, I found some spare time to create the XML file for the Judgment Expansion. Please let me know if you find any problems with it (its pretty much just a conversion from the spoiler). The whole collection of XML files (including my recent edits to other files) can be found on my website at: http://www.rassalon.org/mtg/xml.tgz (if you prefer Unix compressed tar) http://www.rassalon.org/mtg/xml.zip (if you're a windows user) Or, if you prefer web browsing, it "should" be visible at my toy website: http://www.rassalon.org:1880/c/q?op=bhti&hti=mtg/expanlist.hti&cache&exp=JM Have fun, Chris |
From: Dave <mi...@co...> - 2002-05-18 12:22:29
|
ack! Just a warning for everyone to NOT update their JRE to 1.4 just yet. If you do, Deck Mentor and the other programs won't work due to an error in the OMD I/O framework classes. I have a fix and will make a new release when I can, but I have a couple other changes to make first. I just wanted to make sure that I warned everyone since I ran into the problem recently when I downloaded robocode from IBM. For those who are interested in learning Java, this can provide a fun start (if you don't want to jump right into the OMD work). Check it out at http://robocode.alphaworks.ibm.com/ if you're interested. --David |
From: Chris R. J. <ch...@ra...> - 2002-05-17 17:36:38
|
Cool, I'll fix these too before I send updated files. I found a few more problems, I didnt mention before, that I'll send as well. Mostly spelling errors. The missing cards I mentioned were numbers 225-227 from Ice age, and 418-420, 426-428, 431-437, 443-445 from Fifth Edition. These cards also seem to be missing from the card checklists on the wizards website, so I imagine thats how they never made it to the OMD data. I found images in a few places, mostly fan websites, and after writing some scripts to collect them from multiple places, I have a pretty complete collection. I'm missing pictures of the lands, but its looking pretty good. Not sure how "open" these images are though =) I wrote a program to translate all the OMD data into HTML, and include thumbnails of the pictures - check it out on http://www.rassalon.org/mtg if interested. I'll send out my updated xml files after I've gotten a chance to make the other changes. Chris |
From: Dennis B. <de...@la...> - 2002-05-17 15:19:03
|
Back when I was writting some perl to deal with the text files, I came up with a few discrepancies with each of earlier sets. References to these can be found at http://www.lan.com/magic/index.html I haven't checked these in years.... Dennis |
From: Dave <mi...@co...> - 2002-05-17 00:19:52
|
Doh! I meant for this reply to come to the list! ----- Original Message ----- To: "Chris R. Jones" <ch...@ra...> Subject: Re: [Omd-dev] Hello! You can send the changes directly to me. I'm aware of a few errors in the files, but that's largely because the existing files were generated either by a) a perl script, b) an as-yet unreleased Java program... but either one is run against the official spoilers, which frequently have typo/typeset errors (such as those you mentioned). I'll probably add the Judgement spoiler to the sets file sometime tomorrow and a more "official" version along with artist information later (whenever it becomes available). I have no idea about the IA/5E errors... what cards are missing? Maybe I can find a pattern and re-run the extraction on them. As for images, I doubt you'll find any. Your best bet is probably to grab them from MTGO. Thanks for taking the time to contribute, and if you have any Java programming skills (or are willing to take time to learn--I've learned a lot from the development I did on this project!) I'd appreciate any contributions. I have several things I want to do, but just haven't gotten around to. --David ----- Original Message ----- From: "Chris R. Jones" <ch...@ra...> To: <omd...@li...> Sent: Friday, May 10, 2002 2:46 PM Subject: [Omd-dev] Hello! Hi guys, First, hi there - I ran across the OMD webpage and it was just what I was looking for - XML magic data. I've been playing around with both the omd-1.6 files, along with the updated sets sent to the mailing list by David (for 7th edition, torment and odyssey). This is great stuff, thanks for building this, everyone that contributed. I have a few questions and comments. I ran across some inconsistencies in some of the files, and I updated my copy of the files. Is there a good way to make this available to everyone? Here's what I changed: Planeshift.xml: ------------------ Fixed two spelling errors (Sorcey -> Sorcery) and (Creaute -> Creature) Changed Stratadon to Artifact Creature (was listed as an artifact) PromotionalCards.xml ------------------- Nalathni Dragon: Moved "Dragon" out of the card type, since it is really the creature subtype, not the card type. It is already listed in subtype. All files ----------- Some creature cards had "Power and Toughness" elements, while others had the power and toughness listed only in the card texts. For consistency, I moved all occuranced from the text into new power and toughness elements. I also noticed that there are a bunch of missing cards from both IceAge.xml and fifth addition. Anyone know what happened to these cards? Last, I'm also curious if anyone knows a good online repository for scanned card pictures, as well as data. Thanks! Chris |
From: Chris R. J. <ch...@ra...> - 2002-05-10 19:30:51
|
Hi guys, First, hi there - I ran across the OMD webpage and it was just what I was looking for - XML magic data. I've been playing around with both the omd-1.6 files, along with the updated sets sent to the mailing list by David (for 7th edition, torment and odyssey). This is great stuff, thanks for building this, everyone that contributed. I have a few questions and comments. I ran across some inconsistencies in some of the files, and I updated my copy of the files. Is there a good way to make this available to everyone? Here's what I changed: Planeshift.xml: ------------------ Fixed two spelling errors (Sorcey -> Sorcery) and (Creaute -> Creature) Changed Stratadon to Artifact Creature (was listed as an artifact) PromotionalCards.xml ------------------- Nalathni Dragon: Moved "Dragon" out of the card type, since it is really the creature subtype, not the card type. It is already listed in subtype. All files ----------- Some creature cards had "Power and Toughness" elements, while others had the power and toughness listed only in the card texts. For consistency, I moved all occuranced from the text into new power and toughness elements. I also noticed that there are a bunch of missing cards from both IceAge.xml and fifth addition. Anyone know what happened to these cards? Last, I'm also curious if anyone knows a good online repository for scanned card pictures, as well as data. Thanks! Chris |
From: Dave <mi...@co...> - 2002-03-29 21:55:13
|
Hi all! I know it's been a while, but thanks to having a day off from work, I = finally got around to updating the OMD sets. The newest version is = available at http://www.coruscant.cc/OMD/sets032002.zip and contains = Seventh, Odyssey, and Torment. --David |
From: Dave <mi...@co...> - 2001-10-20 04:35:56
|
Odyessey and Seventh Ed have been added to the .ZIP file of OMD sets = available from my web pages at=20 http://www.coruscant.cc/OMD/omdSets.ZIP For once I managed to beat Hogan to the punch with getting out an OMD = version of the new expansion. =3D) I'm sure it's for reasons beyond his = control, but what they heck, I have one done. The one bad thing about it = is that I did not adopt my versions to use the NGO abbreviations. For = this reason, I'm not going to make this release obvious, but if you know = others who use OMD or DeckMentor please feel free to let them know. = [Hogan, feel free to zap them with your perl script to change the = wordings to be acceptable.] The reason they are not modified to match the abbreviations is I'm in = the process of developing a Java program to connect to CrystalKeep, grab = the text spoiler lists available there, and save them off on your = machine as an XML file. There are still some bugs that I'm working out, = but I think 7th ed and OD are in good shape. If you use them and have = any problems with them, please let me know. =20 I really wish MTGnews was going to stick around; it would make it much = easier to write a program to update the card texts using their online = spoiler generator. However, I'm frankly surprised that it's been = allowed by WotC to continue to operate for so long due to copyright = issues anyway. Oh well. Hopefully I'll be able to use the actual WotC = site for that eventually anyway. But I digress. I'm not sure whether or not I'll decide to release this little monster = I've created. On the one hand, it gets the artist and flavor text info = (where it was provided by WotC). On the other hand, the files that it = uses are in so many different formats that it has a bunch of fairly = specific kludges in it. =3D^p For that matter, Urza's Legacy doesn't = work at all. So I may yet end up having to write a completely new = program. But this will at least provide a way to generate OMD from the = spoilers in very short order (hopefully). Anyway, thoughts and comments = here will be appreciated. =20 If anyone wants to act as a guinea pig, well, I just might let you, but = it will be a little bit yet. =3D) --David |
From: Dave <mi...@co...> - 2001-08-27 03:16:44
|
Hello again, everyone! Amazing as it might seem, there's finally a new release of the OMD Java = Framework and DeckMentor, the deck editor based on the framework and the = OMD standards that have been laid out so far. Release 1.6 includes some = important fixes and upgrades, but for the most part it's transparent to = the user. For those paying close attention, yes, we did skip a release = number (1.5). This is because I had a version ready to go, but for = various reasons never got it to SourceForge. You can find the new = version at the top of our release page at = http://sourceforge.net/project/showfiles.php?group_id=3D9618 , and you = can get to the full release notes from there (or from the zip file = itself). But for those of you desperate to know, here they are: ------------------------------------- Relase Notes, Deck Mentor V1.6 ------------------------------------- * Upgraded shuffling in Goldfish feature. Now it acts really random! (Note: this is both good and bad ) * Various performance improvements. ------------------------------------- Relase Notes, OMD Java Framework V1.6 ------------------------------------- * Upgraded shuffling in Goldfish feature. Now it acts really random! (Note: this is both good and bad ) * Updated parsers to use new, standardized jaxp1.1 and crimson libraries * Updated Card.toString() for improved speed and efficiency -- it shows = in many surprising ways. ------------------------------------- Relase Notes, Deck Mentor V1.5=20 ------------------------------------- note: never officially released * Fixed a threading bug in the filtering progress tracker that could = cause program hangs * Probably some little bugs I forgot I fixed. ------------------------------------- Relase Notes, OMD Java Framework V1.5 ------------------------------------- * Changed classes using sun parser packages to use the newer, = standardized javax, crimson, and w3c packages. * Fixed a threading bug in the progress tracker and swing worker that = could cause program hangs. * Probably some little bugs I forgot I fixed. Enjoy, and I hope this helps you build that new killer deck for the = PTQ's! --David Hibbs |
From: Hogan L. <Ho...@Ne...> - 2001-08-24 18:26:32
|
At 01:47 PM 8/24/01, you wrote: >--- Hogan Long <Ho...@Ne...> wrote: > > Anything I don't comment on was fine... > > > > 1) caps vers non caps... > > (And changes because of some xml files you found) > > > > ... > >can you point me to a "full bundle" of xml files? i only found >prophecy, invasion, and apocalypse. > >i agree with your stance about standards, but the full set that i >had was perfectly consistent, but disagreed with the schema. > >so, here's what i think is "correct" for the schema: > - "Uncommon" instead of "U" > - "White" instead of "white", for color > >differences between neturalground omd files and the schema: > >of the three xml files i just got from the front page of >neutralground.net (ex.pr.xml, ex.in.xml, ex.ap.xml), >only ex.ap.xml uses the correct rarity. the other two >use single-letters. ex.ap.xml was the first one written near or after when I wrote the schema. I've only done 4 xml expansion files - I started the project with the creation of the prophecy one - then I wrote all the online stuff about xml and OMD. >ex.ap.xml uses "Multi" for a color. do you want to add >that? > >there are a lot of split-card colors (e.g., "Red/Blue") >in ex.ap.xml and ex.in.xml. do you want to add all >combinations, or try something like: > <color>Red</color> > <color>Blue</color> This would be better for gold cards. Split cards are hell. The best solution I can come up with right now is <Card> <Split> <Card> ..... </Card> <Card> ...... </Card> </Split> </Card> But I am willing to hear all ideas. >ex.ap.xml uses "Land" and "Artifact" as colors. should >we add them? Probably not... they are not colors after all... just made my scripting (xslt) a lot easier :) >ex.in.xml has a number of empty colors: > <color></color> >(this is used, for example, on cards where you >can choose the color as it comes into play). should >this be "Colorless"? > >or, since colors are getting somewhat messy, >maybe we should not enumerate them right now? I'm just not sure... like I said I'm really busy right now but let me know what you think will be best and I will take the time to decide and make the files on NGO correct. Two things: 1) if you want to see the xmlst files I use to create the txt and html files for the website, just ask. (This goes for anyone on this mailing list. 2) if you have an expansion file you want me to make "official" please email it to me... I will check it and post it. It is very important that all card text is re-worded as much as possible. This makes the file public domain as op. to being copyrighted by WOTC. For the expansion files on NGO, I've re-written every card. While this is a pain - and one of the reasons I'm not quick to make more of the "past" sets - it is just something that has to be done for OMD to stay open-source. Hogan |
From: Jeff T. <sjt...@ya...> - 2001-08-24 17:47:34
|
--- Hogan Long <Ho...@Ne...> wrote: > Anything I don't comment on was fine... > > 1) caps vers non caps... > (And changes because of some xml files you found) > > ... can you point me to a "full bundle" of xml files? i only found prophecy, invasion, and apocalypse. i agree with your stance about standards, but the full set that i had was perfectly consistent, but disagreed with the schema. so, here's what i think is "correct" for the schema: - "Uncommon" instead of "U" - "White" instead of "white", for color differences between neturalground omd files and the schema: of the three xml files i just got from the front page of neutralground.net (ex.pr.xml, ex.in.xml, ex.ap.xml), only ex.ap.xml uses the correct rarity. the other two use single-letters. ex.ap.xml uses "Multi" for a color. do you want to add that? there are a lot of split-card colors (e.g., "Red/Blue") in ex.ap.xml and ex.in.xml. do you want to add all combinations, or try something like: <color>Red</color> <color>Blue</color> ex.ap.xml uses "Land" and "Artifact" as colors. should we add them? ex.in.xml has a number of empty colors: <color></color> (this is used, for example, on cards where you can choose the color as it comes into play). should this be "Colorless"? or, since colors are getting somewhat messy, maybe we should not enumerate them right now? __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ |
From: Hogan L. <Ho...@Ne...> - 2001-08-24 16:54:04
|
Anything I don't comment on was fine... 1) caps vers non caps... (And changes because of some xml files you found) The official OMD set lists are on neutralground.net - you should go by how those are and not other xml files. The whole point of a standard is that it is a standard. If you see conflicts with the official expansion files on NGO and the schema then please point that out... but the point of a schema is to prevent just the problem of having someone use caps and someone else not - this would case xml parsers to not work on some of the files. Because we need a standard and since I started this whole thing I'm going by what I did as the standard.... if you see conficts in my expansion files I will fix them. If you don't think I made the right choices - great! all you have to do is convince me that another choice is better and I will change it. But to make a change to the schema based on something that can be fixed with a search+replace in an editor for some existing files does not make sense to me - does it make sense to you? 3) Multi inheritance - yes schema does support it - this is why I waited for schema to come around as op to using DTD - they suck with no way to do inheritance. At 08:20 AM 8/24/01, you wrote: >(to keep this relatively short, i cut out some stuff, noted by "...") > > > ... > > When something is a creature then the card needs to have > > an additional field "sub-type" that states what "type of creature it > > is" > >isn't this covered by CreatureCard? > ><xsd:complexType name="CreatureCard"/> > <xsd:complexContent> > > <extension base="Card"> > <xsd:element name="subtype" type="xsd:string"/> > <xsd:element name="power" type="positiveInteger"/> > <xsd:element name="toughness" type="positiveInteger"/> > </extension> > </xsd:complexContent> ></xsd:complexType> > > > > When something is an enchantment then the card needs to have > > an additional field "sub-type" that states what it enchants. > >ok. i'll add that. i'll also remove "Enchant Land", >"Enchant Creature", from CardTypes, since the new >extension covers that. > ><xsd:simpleType name="CardType" base="xsd:string"> > <xsd:enumeration value="Artifact"/> > <xsd:enumeration value="Creature"/> > <xsd:enumeration value="Artifact Creature"/> > <xsd:enumeration value="Instant"/> > <xsd:enumeration value="Sorcery"/> > <xsd:enumeration value="Land"/> > <xsd:enumeration value="Enchantment"/> > </xsd:simpleType> > > > <xsd:complexType name="EnchantmentCard"/> > <xsd:complexContent> > <extension base="Card"> > <xsd element name="subtype" type="EnchantmentTargetType"/> > </extension> > </xsd:complexContent> > </xsd:complexType> > > <xsd:simpleType name="EnchantmentTargetType" base="xsd:string"> > <xsd:enumeration value="Artifact"/> > <xsd:enumeration value="Creature"/> > <xsd:enumeration value="Land"/> > <xsd:enumeration value="Permanent"/> > </xsd:simpleType> > > > > When something is an artifact it can also be a creature (with > > creature > > attributes) - how do we do this... any ideas? > >i'll have to think about that. since there's currently no >Artifact "subclass", we can get away with another CardType. > > > ... > > ># - minor changes, to line schema up with current xml set files > > ># - added single-letter rarity codes > > > > how would this work? seems a program would have to check for both > > - makes more work for the end programmer... any ideas? > >this was mostly pragmatic: all of my <set>.xml files (mostly dated >Jan 2001) use the single-letter code. > >i agree that aliasing tends to cause headaches, but if you want >to stick with "Uncommon", we'll have to update all of the existing >xml. > > > ># - replaced "Colorless" with "None" > > > > why is none better? > >it's not - just lining up with the existing xml: all "colorless" >examples i could find in the xml used None. > > > ># - upper-cased colors and types > > ># - is xml case-sensitive? > > > > XML IS CASE SENSITIVE - please be careful! > > my plan was to just have "high" level defines be uppercase > > (eg Card, Expansion, Deck etc.) > >again, just lining up with the current xml, which uses "White", >"Blue", ... > > > ># > > ># Notes: > > ># - i would like to add a <state> element, for arbitrary stuff, > > ># so that i can store the full state of a game/table > > ># > > ># <state key="tapped" value="true"/> > > ># <state key="location" value="500@300"/> > > ># <state key="z-order" value="5"/> > > ># > > ># any objections? (note: this might be a way to "try" things > > ># before schema-izing them, too) > > > > The way to do this is to create a NEW top level data item... > > called > > <StateCard> > > This would include all the stuff from the card schema (see schema > > doc on how to do this) and the new stuff you need for state > > information. > > > > If you want to start creating a schema for functional information > > (eg when this comes into play destroy target non-black creature) > > please call this schema <FunctionalCard> > > (Note for any type of simulator to work you need to have the concept > > of a FunctionalCard being an effect that goes on the stack. If this > > is not clear email me.) > > > > If you want to create a schema for collection information > > call this schema <CollectionCard> (eg condition, value, location > > purchased etc) > > > > Can you think of any other card schemas needed besides > > Card > > StateCard > > FunctionalCard > > CollectionCard > >i see where you're going with this, but i wonder if schemas support >multiple inheritance >("mixins" is really what i want): i want all of these >things to "be" Cards, but i can see scenarios where >i will need a single Card, with state, functionality, >collection info, and possibly other stuff > >i'll think about this some more > > > >__________________________________________________ >Do You Yahoo!? >Make international calls for as low as $.04/minute with Yahoo! Messenger >http://phonecard.yahoo.com/ > >_______________________________________________ >Omd-development mailing list >Omd...@li... >http://lists.sourceforge.net/lists/listinfo/omd-development |
From: Jeff T. <sjt...@ya...> - 2001-08-24 12:20:14
|
(to keep this relatively short, i cut out some stuff, noted by "...") > ... > When something is a creature then the card needs to have > an additional field "sub-type" that states what "type of creature it > is" isn't this covered by CreatureCard? <xsd:complexType name="CreatureCard"/> <xsd:complexContent> <extension base="Card"> <xsd:element name="subtype" type="xsd:string"/> <xsd:element name="power" type="positiveInteger"/> <xsd:element name="toughness" type="positiveInteger"/> </extension> </xsd:complexContent> </xsd:complexType> > When something is an enchantment then the card needs to have > an additional field "sub-type" that states what it enchants. ok. i'll add that. i'll also remove "Enchant Land", "Enchant Creature", from CardTypes, since the new extension covers that. <xsd:simpleType name="CardType" base="xsd:string"> <xsd:enumeration value="Artifact"/> <xsd:enumeration value="Creature"/> <xsd:enumeration value="Artifact Creature"/> <xsd:enumeration value="Instant"/> <xsd:enumeration value="Sorcery"/> <xsd:enumeration value="Land"/> <xsd:enumeration value="Enchantment"/> </xsd:simpleType> <xsd:complexType name="EnchantmentCard"/> <xsd:complexContent> <extension base="Card"> <xsd element name="subtype" type="EnchantmentTargetType"/> </extension> </xsd:complexContent> </xsd:complexType> <xsd:simpleType name="EnchantmentTargetType" base="xsd:string"> <xsd:enumeration value="Artifact"/> <xsd:enumeration value="Creature"/> <xsd:enumeration value="Land"/> <xsd:enumeration value="Permanent"/> </xsd:simpleType> > When something is an artifact it can also be a creature (with > creature > attributes) - how do we do this... any ideas? i'll have to think about that. since there's currently no Artifact "subclass", we can get away with another CardType. > ... > ># - minor changes, to line schema up with current xml set files > ># - added single-letter rarity codes > > how would this work? seems a program would have to check for both > - makes more work for the end programmer... any ideas? this was mostly pragmatic: all of my <set>.xml files (mostly dated Jan 2001) use the single-letter code. i agree that aliasing tends to cause headaches, but if you want to stick with "Uncommon", we'll have to update all of the existing xml. > ># - replaced "Colorless" with "None" > > why is none better? it's not - just lining up with the existing xml: all "colorless" examples i could find in the xml used None. > ># - upper-cased colors and types > ># - is xml case-sensitive? > > XML IS CASE SENSITIVE - please be careful! > my plan was to just have "high" level defines be uppercase > (eg Card, Expansion, Deck etc.) again, just lining up with the current xml, which uses "White", "Blue", ... > ># > ># Notes: > ># - i would like to add a <state> element, for arbitrary stuff, > ># so that i can store the full state of a game/table > ># > ># <state key="tapped" value="true"/> > ># <state key="location" value="500@300"/> > ># <state key="z-order" value="5"/> > ># > ># any objections? (note: this might be a way to "try" things > ># before schema-izing them, too) > > The way to do this is to create a NEW top level data item... > called > <StateCard> > This would include all the stuff from the card schema (see schema > doc on how to do this) and the new stuff you need for state > information. > > If you want to start creating a schema for functional information > (eg when this comes into play destroy target non-black creature) > please call this schema <FunctionalCard> > (Note for any type of simulator to work you need to have the concept > of a FunctionalCard being an effect that goes on the stack. If this > is not clear email me.) > > If you want to create a schema for collection information > call this schema <CollectionCard> (eg condition, value, location > purchased etc) > > Can you think of any other card schemas needed besides > Card > StateCard > FunctionalCard > CollectionCard i see where you're going with this, but i wonder if schemas support multiple inheritance ("mixins" is really what i want): i want all of these things to "be" Cards, but i can see scenarios where i will need a single Card, with state, functionality, collection info, and possibly other stuff i'll think about this some more __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ |
From: Hogan L. <Ho...@Ne...> - 2001-08-23 20:46:05
|
Jeff, I'm in the middle of a big project right now so I can't do more than post my comments to you... I hope you take the ball and run with it as I outlined below - feel free to contact me if you don't agree with anything I say here. A lot of this seems good... you used something more advanced than I knew about (the extension tag) and this is good... We need to make this same kind of change to the type stuff: type can be artifact, creature, instant enchantment, land and sorcery - there should also be a "legendary" somewhere. When something is a creature then the card needs to have an additional field "sub-type" that states what "type of creature it is" When something is an enchantment then the card needs to have an additional field "sub-type" that states what it enchants. When something is an artifact it can also be a creature (with creature attributes) - how do we do this... any ideas? More comments below At 03:22 PM 8/23/01, you wrote: >i noodled with the Card schema, to get it closer to something >that i can happily consume from NetMage. comments >are welcome, and there are a couple of questions, too. > ># ># Changes: ># - i think "author" be "artist" (???) good ># - replaced the <choice> of creature/non, with a CardType enum ># in Card, and a CreatureCard subclass, for the creature-specific ># stuff ># - replace card-creature-info with CreatureCard, a subclass of Card see above ># - minor changes, to line schema up with current xml set files ># - added single-letter rarity codes how would this work? seems a program would have to check for both - makes more work for the end programmer... any ideas? ># - replaced "Colorless" with "None" why is none better? ># - upper-cased colors and types ># - is xml case-sensitive? XML IS CASE SENSITIVE - please be careful! my plan was to just have "high" level defines be uppercase (eg Card, Expansion, Deck etc.) ># ># Questions: ># - does this schema allow multiple name elements for a card? ># (or, does name default to exactly one, and "minOccurs" ># magically make it a list?) I think it does make it a list but I am not sure what you are asking. ># ># Notes: ># - i would like to add a <state> element, for arbitrary stuff, ># so that i can store the full state of a game/table ># ># <state key="tapped" value="true"/> ># <state key="location" value="500@300"/> ># <state key="z-order" value="5"/> ># ># any objections? (note: this might be a way to "try" things ># before schema-izing them, too) The way to do this is to create a NEW top level data item... called <StateCard> This would include all the stuff from the card schema (see schema doc on how to do this) and the new stuff you need for state information. If you want to start creating a schema for functional information (eg when this comes into play destroy target non-black creature) please call this schema <FunctionalCard> (Note for any type of simulator to work you need to have the concept of a FunctionalCard being an effect that goes on the stack. If this is not clear email me.) If you want to create a schema for collection information call this schema <CollectionCard> (eg condition, value, location purchased etc) Can you think of any other card schemas needed besides Card StateCard FunctionalCard CollectionCard Hogan ># > ><?xml version="1.0"?> > ><xsd:schema > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > > <xsd:annotation> > <xsd:documentation> > Card Schema for Open Magic Data (OMD) > Copyright 2001 Hogan Long. All rights reserved. > > Some notes: Clearly this definition does not address all uses of >a card. > Some other card types will have to be defined - this one seems >suited for > use in Expantions - but for other uses we whould want more >information: > for example in a deck editor we would want to know what set it >was from > and in a collection tracker we would want to know how many we >have (or if > we even have it.) > Planned namespace is: http://www.NeutralGround.net/OMD/Card > </xsd:documentation> > </xsd:annotation> > > <xsd:complexType name="Card" mixed="true"/> > > <xsd:element name="name" type="xsd:string"/> > <xsd:element name="number" type="xsd:positiveInteger"/> > <xsd:element name="color" type="card-color"/> > <xsd:element name="cost" type="card-cost"/> > <xsd:element name="rarity" type="card-rarity"/> > <xsd:element name="flavor" type="xsd:string minOccurs="0"/> > <xsd:element name="artist" type="xsd:string minOccurs="0"/> > > <xsd element name="type" type="CardType"/> > > <xsd:element name="text" type="xsd:string" minOccurs="0"/> > > <xsd:element name="errata" type="xsd:string" minOccurs="0"> > <xsd:attribute name="source" type="xsd:string"/> > <xsd:attribute name="date" type="xsd:date"/> > </xsd:element> > </xsd:complexType> > > <xsd:simpleType name="card-color" base="xsd:string"> > <xsd:enumeration value="White"/> > <xsd:enumeration value="Blue"/> > <xsd:enumeration value="Black"/> > <xsd:enumeration value="Red"/> > <xsd:enumeration value="Green"/> > <xsd:enumeration value="Gold"/> > <xsd:enumeration value="None"/> > </xsd:simpleType> > > <xsd:simpleType name="card-cost" base="xsd:string"> > <xsd:pattern value="X*Y*(0-9)*W*U*B*R*G*"/> > </xsd:simpleType> > > <xsd:simpleType name="card-rarity" base="xsd:string"> > <xsd:enumeration value="Common"/> > <xsd:enumeration value="Uncommon"/> > <xsd:enumeration value="Rare"/> > > <xsd:enumeration value="C"/> > <xsd:enumeration value="U"/> > <xsd:enumeration value="R"/> > > </xsd:simpleType> > > <xsd:simpleType name="CardType" base="xsd:string"> > <xsd:enumeration value="Artifact"/> > <xsd:enumeration value="Creature"/> > <xsd:enumeration value="Instant"/> > <xsd:enumeration value="Sorcery"/> > <xsd:enumeration value="Land"/> > <xsd:enumeration value="Enchantment"/> > <xsd:enumeration value="Enchant Creature"/> > <xsd:enumeration value="Enchant Land"/> > <xsd:enumeration value="Enchant Artifact"/> > <xsd:enumeration value="Enchant Perminent"/> > </xsd:simpleType> > > <xsd:complexType name="CreatureCard"/> > <xsd:complexContent> > > <extension base="Card"> > <xsd:element name="subtype" type="xsd:string"/> > <xsd:element name="power" type="positiveInteger"/> > <xsd:element name="toughness" type="positiveInteger"/> > </extension> > > </xsd:complexContent> > </xsd:complexType> > ></xsd:schema> > > > >__________________________________________________ >Do You Yahoo!? >Make international calls for as low as $.04/minute with Yahoo! Messenger >http://phonecard.yahoo.com/ > >_______________________________________________ >Omd-development mailing list >Omd...@li... >http://lists.sourceforge.net/lists/listinfo/omd-development |
From: Jeff T. <sjt...@ya...> - 2001-08-23 19:22:36
|
i noodled with the Card schema, to get it closer to something that i can happily consume from NetMage. comments are welcome, and there are a couple of questions, too. # # Changes: # - i think "author" be "artist" (???) # - replaced the <choice> of creature/non, with a CardType enum # in Card, and a CreatureCard subclass, for the creature-specific # stuff # - replace card-creature-info with CreatureCard, a subclass of Card # - minor changes, to line schema up with current xml set files # - added single-letter rarity codes # - replaced "Colorless" with "None" # - upper-cased colors and types # - is xml case-sensitive? # # Questions: # - does this schema allow multiple name elements for a card? # (or, does name default to exactly one, and "minOccurs" # magically make it a list?) # # Notes: # - i would like to add a <state> element, for arbitrary stuff, # so that i can store the full state of a game/table # # <state key="tapped" value="true"/> # <state key="location" value="500@300"/> # <state key="z-order" value="5"/> # # any objections? (note: this might be a way to "try" things # before schema-izing them, too) # <?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" > <xsd:annotation> <xsd:documentation> Card Schema for Open Magic Data (OMD) Copyright 2001 Hogan Long. All rights reserved. Some notes: Clearly this definition does not address all uses of a card. Some other card types will have to be defined - this one seems suited for use in Expantions - but for other uses we whould want more information: for example in a deck editor we would want to know what set it was from and in a collection tracker we would want to know how many we have (or if we even have it.) Planned namespace is: http://www.NeutralGround.net/OMD/Card </xsd:documentation> </xsd:annotation> <xsd:complexType name="Card" mixed="true"/> <xsd:element name="name" type="xsd:string"/> <xsd:element name="number" type="xsd:positiveInteger"/> <xsd:element name="color" type="card-color"/> <xsd:element name="cost" type="card-cost"/> <xsd:element name="rarity" type="card-rarity"/> <xsd:element name="flavor" type="xsd:string minOccurs="0"/> <xsd:element name="artist" type="xsd:string minOccurs="0"/> <xsd element name="type" type="CardType"/> <xsd:element name="text" type="xsd:string" minOccurs="0"/> <xsd:element name="errata" type="xsd:string" minOccurs="0"> <xsd:attribute name="source" type="xsd:string"/> <xsd:attribute name="date" type="xsd:date"/> </xsd:element> </xsd:complexType> <xsd:simpleType name="card-color" base="xsd:string"> <xsd:enumeration value="White"/> <xsd:enumeration value="Blue"/> <xsd:enumeration value="Black"/> <xsd:enumeration value="Red"/> <xsd:enumeration value="Green"/> <xsd:enumeration value="Gold"/> <xsd:enumeration value="None"/> </xsd:simpleType> <xsd:simpleType name="card-cost" base="xsd:string"> <xsd:pattern value="X*Y*(0-9)*W*U*B*R*G*"/> </xsd:simpleType> <xsd:simpleType name="card-rarity" base="xsd:string"> <xsd:enumeration value="Common"/> <xsd:enumeration value="Uncommon"/> <xsd:enumeration value="Rare"/> <xsd:enumeration value="C"/> <xsd:enumeration value="U"/> <xsd:enumeration value="R"/> </xsd:simpleType> <xsd:simpleType name="CardType" base="xsd:string"> <xsd:enumeration value="Artifact"/> <xsd:enumeration value="Creature"/> <xsd:enumeration value="Instant"/> <xsd:enumeration value="Sorcery"/> <xsd:enumeration value="Land"/> <xsd:enumeration value="Enchantment"/> <xsd:enumeration value="Enchant Creature"/> <xsd:enumeration value="Enchant Land"/> <xsd:enumeration value="Enchant Artifact"/> <xsd:enumeration value="Enchant Perminent"/> </xsd:simpleType> <xsd:complexType name="CreatureCard"/> <xsd:complexContent> <extension base="Card"> <xsd:element name="subtype" type="xsd:string"/> <xsd:element name="power" type="positiveInteger"/> <xsd:element name="toughness" type="positiveInteger"/> </extension> </xsd:complexContent> </xsd:complexType> </xsd:schema> __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ |
From: Nascif Abousalh-N. <na...@no...> - 2001-08-01 15:57:34
|
Hi, I've been looking in tools for deck analysis, and I really believe that DeckMentor is a great tool in that aspect. Doing my research for such a project I found http://chart2d.sourceforge.net/, which seems to be a more powerful charting library than the one you are using. It can do Pie Charts, which would be neat for the info in the (very useful) ContentAnalysis panel that breaks data down in percentages. As for filtering, saving ownership info would also help a lot. The best filter you can have is "show me only the cards I actually have" :-) But it would also be cool to allow the user to define "aspects" (like the pre-defined "mana producer" in the Content Analysis) so that it can see what is the percentage of the cards in his deck that do XYZ (destroy enchantments, discard, gain life, etc.). Regular expressions could do the trick. Finally, is there any way to click on a selected card and have DeckMentor display all the details about it - type, cost, color, rarity and specially text and (once available) ruling? A tooltip with the card text like they do in the http://www.essentialmagic.com/ would be really useful. Regards, Nascif |
From: Hogan L. <ho...@Ne...> - 2001-06-10 23:11:33
|
Ok, I seem to remember a while back people we complaining about the speed that it took at load up if you had a lot of expansion files. (This will always be a trade-off with xml because by its nature xml is not as fast as more traditional dbs) However, I was recently playing around with the new release of the microsoft interface and I noticed that the SAX2 standard has been implemented. For those of you that don't know SAX is a "event" driven parsing system for xml. This type of parsing is really good if you only want a little information out of a large file (as the following example shows). What it does is "call-back" procedures specified in the interface (Java developers will instantly grasp this) when events happen. In this case I only care about the start even for the expansion tag. I look at the attributes and store them and then abort the rest of the processing. The source code for this part is small only about 10 lines, but it is blazingly fast. This is because unlike with the DOM the parser only has to do one read and parse 3 lines from the file before I abort parsing. It also does not need to store any in memory information (ie the tree that the DOM stores) Clearly SAX could be (and should) be used to scan the card names and ignore other elements of and expansion file - thus speeding up the startup time on a system that needs all the card names in memory. This example also stores all the names (and other information) in a collection - thus there are two classes - the collection of expansions (ExList.cls) and a single expansion's information (ExDescrip). This example is written in VisualBasic (hey! it is what I've got) but it should be easy to modify for Java. Please let me know if you have any comments or questions - I hope this example helps you to streamline your code and see how powerful the SAX implementation can be. (There are also SAX implementations in Java, perl etc etc. ho...@Ne... Hogan ----------------------------------------begin file ExList.cls 'local variable to hold collection Private mCol As Collection Public Sub setup(path As String) 'myRootDir = path Dim fileName As String Dim index As Integer index = 1 fileName = Dir(path + "\ex.*.xml", vbNormal) Do While fileName <> "" Dim newItem As ExDescrip Set newItem = New ExDescrip newItem.setup (path + "\" + fileName) mCol.Add Item:=newItem, Key:=CStr(index) index = index + 1 fileName = Dir Loop End Sub Public Property Get Item(vntIndexKey As Variant) As ExDescrip Attribute Item.VB_UserMemId = 0 Set Item = mCol(vntIndexKey) End Property Public Property Get Count() As Long Count = mCol.Count End Property Public Sub Remove(vntIndexKey As Variant) mCol.Remove vntIndexKey End Sub Public Property Get NewEnum() As IUnknown Attribute NewEnum.VB_UserMemId = -4 Attribute NewEnum.VB_MemberFlags = "40" Set NewEnum = mCol.[_NewEnum] End Property Private Sub Class_Initialize() Set mCol = New Collection End Sub Private Sub Class_Terminate() Set mCol = Nothing End Sub ----------------------------------------end file ExList.cls ----------------------------------------begin file ExDescrip.cls Option Explicit Implements IVBSAXContentHandler 'local variable(s) to hold property value(s) Private myPath As String Private myName As String Private myNM As String Private myVer As String Public Property Get path() As String path = myPath End Property Public Property Get name() As String name = myName End Property Public Property Get nm() As String nm = myNM End Property Public Property Get ver() As String ver = myVer End Property Public Sub setup(path As String) Dim read As New SAXXMLReader Set read.contentHandler = Me On Error GoTo 10 ' only going to read the start read.parseURL path 10 myPath = path End Sub Private Sub IVBSAXContentHandler_startElement(strNamespaceURI As String, strLocalName As String, strQName As String, ByVal oAttributes As MSXML2.IVBSAXAttributes) If strLocalName = "Expansion" Then myName = oAttributes.getValueFromQName("name") myNM = oAttributes.getValueFromQName("nmemonic") myVer = oAttributes.getValueFromQName("version") Err.Raise vbObjectError + 1, "ContentHandler.startElement", "Got all data, skip the rest of document" End If End Sub Private Sub IVBSAXContentHandler_characters(strChars As String) End Sub Private Property Set IVBSAXContentHandler_documentLocator(ByVal RHS As MSXML2.IVBSAXLocator) End Property Private Sub IVBSAXContentHandler_endDocument() End Sub Private Sub IVBSAXContentHandler_endElement(strNamespaceURI As String, strLocalName As String, strQName As String) End Sub Private Sub IVBSAXContentHandler_endPrefixMapping(strPrefix As String) End Sub Private Sub IVBSAXContentHandler_ignorableWhitespace(strChars As String) End Sub Private Sub IVBSAXContentHandler_processingInstruction(strTarget As String, strData As String) End Sub Private Sub IVBSAXContentHandler_skippedEntity(strName As String) End Sub Private Sub IVBSAXContentHandler_startDocument() End Sub Private Sub IVBSAXContentHandler_startPrefixMapping(strPrefix As String, strURI As String) End Sub ----------------------------------------end file ExDescrip.cls |
From: <jga...@my...> - 2001-05-28 11:04:26
|
From: "Hogan Long" <ho...@Ne...> > You are right about missing the X, multi color needed, and pattern but > not about the digits. > > (0-9)* means any number of digits zero to nine so it works fine. > > [1-9]?[0-9]? would only match up to 99 so it is not quite right > (not that any spell will cost more than 99 but you never know > unglued etc.) > > so I am going to go with > <xsd:pattern value="X?(0-9)*W*U*B*R*G*"/> > > This of course forces an ordering to the color letter - which I like. > > this seem right to all you regexp experts out there? Dave, can you hear me? Sorry to bother you with a counterexample but the Oracle text of Fireball (I don't know if you go with the Oracle texts) is: FIREBALL XYR Sorcery Fireball deals X damage divided evenly, rounded down, among Y plus one target creatures This doesn't match the above regular expression. Also there are other examples of the type XX<color symbol> which also don't match. Jesus Gabriel y Galan |
From: <Pau...@cs...> - 2001-05-26 19:17:22
|
Let me know when there is something to link to and I will add it to the Omd Website. :-) |
From: Hogan L. <ho...@Ne...> - 2001-05-25 21:01:24
|
At 12:41 PM 5/25/01, you wrote: >here are some impulsive comments. as i come to understand >what you can do with schema, i will probably have more. > >1) i would gradually like to refactor this schema to support > other card games. So, there might be a very generic > base "Card", and the Card you presented could be > "MagicCard", or a Card, with a family element that > classifies it as MtG > (of course, this direction would probably end up forcing > a name change away from OMD, since it's not Mtg-specific) hmmm.... sounds like it might (sadly) be out of the scope of OMD but if you make a generic card schema send it to me and if I can change the OMD to make use of it I will (ie including it in the Card.xsd as a base that gets modified.) >2) typo, and possible corrections: > > <xsd:simpleType name="card-cost" base="xsd:string"> > <xsd:patern value="(0-9)*(W?U?B?R?G?)"/> > </xsd:simpleType> > > - "patern" should be "pattern" > - i don't think the pattern supports multiple letters, > like "1RR" > - should one or more "X"s be allowed, too? > > maybe something like this? > > <xsd:pattern value="X*(1-9)?(0-9)?W*U*B*R*G*"/> > > (in python, this pattern seems to work: > "^X*[1-9]?[0-9]?W*U*B*R*G*$" You are right about missing the X, multi color needed, and pattern but not about the digits. (0-9)* means any number of digits zero to nine so it works fine. [1-9]?[0-9]? would only match up to 99 so it is not quite right (not that any spell will cost more than 99 but you never know unglued etc.) so I am going to go with <xsd:pattern value="X?(0-9)*W*U*B*R*G*"/> This of course forces an ordering to the color letter - which I like. this seem right to all you regexp experts out there? Dave, can you hear me? >3) i've started noodling with behaviors and scripts (along the > lines of an omd-development conversation a long time ago. > i'm not ready to add this to the OMD spec, but i want to > make sure it fits (and again, i don't want it to be MtG-specific) I'd be interested to see what you got - when you are ready (you can send me non mailing info to ho...@ne...) >on another note, i've also been thinking about adding genealogy >support to deck markup, so that the full evolution of a deck might >be contained in a single file. > <add (cards) > <replace (cards) (other cards) > <remove (cards) > <merge (some other deck) > >i also want to add elements for annotating the changes: why was >a certain card replaced, ... Basically, capture the full dialog of >tuning a deck. > >the two reasons i'm interested in this are: 1) the current on-line deck >tuning sessions/tutorials/etc. don't result in a "consumable" product: >it's just html, and you still have to waste time capturing the deck in >some deck format. 2) i find the whole evolution thing fascinating, >and think it would be cool to draw a tree/graph linking all of the >decks and how they grow. really good idea - I've been pondering this a little too - I plan to address it when I get to the deck schema >any thoughts? i don't yet have a working prototype of a "delta-deck". >i'll post when i have one that i can actually load up. what is a delta-deck? >jeff Thanks for the feedback Jeff - looking forward to hearing more about your project, Hogan |