It is currently 13 Dec 2017, 05:19
   
Text Size

More .deck File Formats

Moderators: Jorbes, CCGHQ Admins

More .deck File Formats

Postby -Azul- » 24 Jan 2011, 20:32

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.
-Azul-
 
Posts: 16
Joined: 24 Apr 2010, 18:57
Has thanked: 0 time
Been thanked: 0 time

Re: More .deck File Formats

Postby Jorbes » 24 Jan 2011, 20:40

paste a sample deck please
Jorbes
DEVELOPER
 
Posts: 333
Joined: 10 Oct 2008, 10:46
Has thanked: 0 time
Been thanked: 2 times

Re: More .deck File Formats

Postby -Azul- » 25 Jan 2011, 00:59

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>
-Azul-
 
Posts: 16
Joined: 24 Apr 2010, 18:57
Has thanked: 0 time
Been thanked: 0 time

Re: More .deck File Formats

Postby pinecones » 25 Jan 2011, 15:53

=oD

like.
pinecones
 
Posts: 106
Joined: 21 Dec 2010, 09:21
Has thanked: 0 time
Been thanked: 0 time

Re: More .deck File Formats

Postby Jorbes » 25 Jan 2011, 20:27

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
Jorbes
DEVELOPER
 
Posts: 333
Joined: 10 Oct 2008, 10:46
Has thanked: 0 time
Been thanked: 2 times

Re: More .deck File Formats

Postby -Azul- » 27 Jan 2011, 18:55

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.
-Azul-
 
Posts: 16
Joined: 24 Apr 2010, 18:57
Has thanked: 0 time
Been thanked: 0 time

Re: More .deck File Formats

Postby Jorbes » 27 Jan 2011, 19:33

Then doesn't it support mws decks? because OPT supports mws decks.
That way, just save as mws deck.
Jorbes
DEVELOPER
 
Posts: 333
Joined: 10 Oct 2008, 10:46
Has thanked: 0 time
Been thanked: 2 times

Re: More .deck File Formats

Postby pinecones » 28 Jan 2011, 01:49

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?
pinecones
 
Posts: 106
Joined: 21 Dec 2010, 09:21
Has thanked: 0 time
Been thanked: 0 time

Re: More .deck File Formats

Postby Jorbes » 28 Jan 2011, 08:12

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?
Jorbes
DEVELOPER
 
Posts: 333
Joined: 10 Oct 2008, 10:46
Has thanked: 0 time
Been thanked: 2 times

Re: More .deck File Formats

Postby -Azul- » 28 Jan 2011, 08:21

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.
-Azul-
 
Posts: 16
Joined: 24 Apr 2010, 18:57
Has thanked: 0 time
Been thanked: 0 time

Re: More .deck File Formats

Postby pinecones » 28 Jan 2011, 10:30

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?
pinecones
 
Posts: 106
Joined: 21 Dec 2010, 09:21
Has thanked: 0 time
Been thanked: 0 time


Return to Online PlayTable

Who is online

Users browsing this forum: No registered users and 3 guests


Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 3 guests

Login Form