Page 1 of 1

More .deck File Formats

PostPosted: 24 Jan 2011, 20:32
by -Azul-
It'd be nice if OPT could open a few more file format. It's got a great selection already but I've been using a lot of MTGStudio (http://www.mtgstudio.com/) to make decks and OPT can't open the file format.

Re: More .deck File Formats

PostPosted: 24 Jan 2011, 20:40
by Jorbes
paste a sample deck please

Re: More .deck File Formats

PostPosted: 25 Jan 2011, 00:59
by -Azul-
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<mtgstudiodeck version="1.0">
  <deck>
    <deckinfo>
      <title>Army of Light</title>
      <creator>Administrator</creator>
      <created>2009-12-21</created>
      <modified>2011-01-24</modified>
      <version>1.0</version>
      <description/>
      <email/>
    </deckinfo>
    <cards>
      <card deck="4" sb="0" edition="M10">Honor of the Pure</card>
      <card deck="4" sb="0" edition="M10">Veteran Swordsmith</card>
      <card deck="2" sb="0" edition="MOR">Preeminent Captain</card>
      <card deck="3" sb="0" edition="M10">Elite Vanguard</card>
      <card deck="2" sb="0" edition="AP">Enlistment Officer</card>
      <card deck="4" sb="0" edition="M10">Veteran Armorsmith</card>
      <card deck="4" sb="0" edition="ZEN">Conqueror's Pledge</card>
      <card deck="3" sb="0" edition="ALA">Oblivion Ring</card>
      <card deck="20" sb="0" edition="ZEN">Plains (4)</card>
      <card deck="4" sb="0" edition="10E">Field Marshal</card>
      <card deck="3" sb="0" edition="LRW">Mirror Entity</card>
      <card deck="1" sb="0" edition="MOR">Ballyrush Banneret</card>
      <card deck="2" sb="0" edition="EVE">Hearthfire Hobgoblin</card>
      <card deck="2" sb="0" edition="M10">Captain of the Watch</card>
      <card deck="1" sb="0" edition="ZEN">Journey to Nowhere</card>
      <card deck="1" sb="0" edition="ZEN">Kor Skyfisher</card>
    </cards>
  </deck>
</mtgstudiodeck>

Re: More .deck File Formats

PostPosted: 25 Jan 2011, 15:53
by pinecones
=oD

like.

Re: More .deck File Formats

PostPosted: 25 Jan 2011, 20:27
by Jorbes
hm, xml decks.

what extension do these come in? just .deck?
is any other program using .deck? (one that OPT supports)
Im too lazy to check that myself

Re: More .deck File Formats

PostPosted: 27 Jan 2011, 18:55
by -Azul-
Yeah it's .deck.

I'm not sure if any other program uses it (sorry). MTGStudio has support for most of the other deck types out there though. The creator hasn't been around as much lately because he's doing a big overhaul of the database so that the program loads faster, etc.

If you make a post on his board you could probably get OPT deck format added to the types of formats it saves in. I asked him to add Wagic The Homebrew and he added it.

Re: More .deck File Formats

PostPosted: 27 Jan 2011, 19:33
by Jorbes
Then doesn't it support mws decks? because OPT supports mws decks.
That way, just save as mws deck.

Re: More .deck File Formats

PostPosted: 28 Jan 2011, 01:49
by pinecones
are you trying to say that you'd like to add the functionality of OPT to use that format but that it's not a priority right now?

Re: More .deck File Formats

PostPosted: 28 Jan 2011, 08:12
by Jorbes
pinecones wrote:are you trying to say that you'd like to add the functionality of OPT to use that format but that it's not a priority right now?
well, the way OPT parses deck files is via regular expression, xml parsing is different because it works with nodes and whatnot.
so yeah, there are other things i need to get done first.
unless it's preventing people from starting to use OPT, then i'll give it some more prio.
maybe magicstudio can save a deck as plain text?

Re: More .deck File Formats

PostPosted: 28 Jan 2011, 08:21
by -Azul-
Yeah, it supports a lot of formats. I don't want to cause you a lot of extra work.

It'd probably be easier to take my 30 odd decks and re-save them in a different format. I just figured the more deck options OPT offers the better. Obviously low priority. I'd rather see new stuff. I just wasn't sure if it would be a large undertaking to add or if it would only be an hour or so to code a new format in.

Re: More .deck File Formats

PostPosted: 28 Jan 2011, 10:30
by pinecones
i think it's good for people to bring ideas to the table! maybe after OPT hits 1.0, bring it up again in case jorbes forgets?