Are serialized decks still used?
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
9 posts
• Page 1 of 1
Are serialized decks still used?
by Fnoed » 01 May 2011, 07:25
Are serialized forge.Deck instances (the old deck format) still in active use, or can we assume that they have all been converted to the new text-based format?
I am trying to move quest deck metadata (deck name, description, difficulty, etc.) into the .dck files so that code changes are no longer necessary to add quest opponents. This task is going to be much more painful if serialization compatibility is still necessary.
I am trying to move quest deck metadata (deck name, description, difficulty, etc.) into the .dck files so that code changes are no longer necessary to add quest opponents. This task is going to be much more painful if serialization compatibility is still necessary.
Re: Are serialized decks still used?
by Sloth » 01 May 2011, 09:30
No decks appear in the game that are not in text form. If decks are loaded they are not used. So yes, please move the quest deck metadata, Fnod!Fnoed wrote:Are serialized forge.Deck instances (the old deck format) still in active use, or can we assume that they have all been converted to the new text-based format?
I am trying to move quest deck metadata (deck name, description, difficulty, etc.) into the .dck files so that code changes are no longer necessary to add quest opponents. This task is going to be much more painful if serialization compatibility is still necessary.

-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Are serialized decks still used?
by Chris H. » 01 May 2011, 11:41
I think that this is a good idea. We will not miss editing the buildDeckList() method. 

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Are serialized decks still used?
by timmermac » 01 May 2011, 16:28
Will this bring back the ability to import decks into quest mode?
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Are serialized decks still used?
by Fnoed » 01 May 2011, 16:44
What do you mean by import? Copying AI decks into the quest deck folder?
Re: Are serialized decks still used?
by Chris H. » 01 May 2011, 17:04
`Fnoed wrote:What do you mean by import? Copying AI decks into the quest deck folder?
We used to be able to import a serialized .deck file into our questData file. This would add the cards from the imported deck into our existing card pool. It would also add the pre-constructed deck itself and allow us to play a quest with the pre-constructed deck.
It is something of a cheat but it can also be a lot of fun for some people.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Are serialized decks still used?
by Fnoed » 01 May 2011, 17:14
Ah. My changes will not affect that potion of the code.
Perhaps we should support it officially, instead of importing using a hack? Perhaps allow the user to optionally import a single deck on new quest start?
Perhaps we should support it officially, instead of importing using a hack? Perhaps allow the user to optionally import a single deck on new quest start?
Re: Are serialized decks still used?
by Sloth » 01 May 2011, 17:32
As long as any deck can be imported it will always be cheating. But there's no reason not to allow it if it's not too much work. We can just make clear that this is not intended to be the way quest mode is to be played.Fnoed wrote:Ah. My changes will not affect that potion of the code.
Perhaps we should support it officially, instead of importing using a hack? Perhaps allow the user to optionally import a single deck on new quest start?
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Are serialized decks still used?
by friarsol » 01 May 2011, 17:40
Probably the best way to handle it is to open a Quest Mode option where you choose your starting deck (instead of having one generated for you) and play through that way.Sloth wrote:As long as any deck can be imported it will always be cheating. But there's no reason not to allow it if it's not too much work. We can just make clear that this is not intended to be the way quest mode is to be played.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 9 guests