It is currently 27 Apr 2024, 00:41
   
Text Size

Need Help Dopt 13 (Making Decks)

New decks and cards for Stainless Games' release

Moderator: CCGHQ Admins

Need Help Dopt 13 (Making Decks)

Postby omnix32 » 28 Jan 2013, 19:27

couple questions.

I have gotten a few mods (Great work everyone) and making my own deck of just adding cards seems to work. problem comes from using a different UID.

the DECK_1234TEST.XML I got from the site has a UID of 12340001. It seems if I change all occurrence of this number to anything responds with "Your deck has been reset due to current content missing"

I am going to assume at this point that the UID is not just some Random Number, so How do we get this number the program will accept? I used 12340002 but no go, I get that message at start up. I tried other numbers as well. Everything seems to be fine with the deck though.

The deck editors for the past two releases were awesome, but unable to find one for 2013 that reads all the original content and moded cards.

2nd question:

Unlocks:

I copied over a unlock folder in my deck to have sideboard cards. I am thinking this is connected to some linking file. The cards show up, but the unlock (Theta) is not working as it does for some of the mod decks.

Example:
Master of Shadows Deck UID 819290014


Unlock:

<UNLOCKS uid="819292014" deck_uid="819290014" content_pack="0" game_mode="0">

Promo:
<UNLOCKS uid="819293014" deck_uid="819290014"content_pack="0" game_mode="2">

Appid_linking.txt
[MASTER_OF_SHADOWS]
819290014
819294014
819295014

How do these numbers work, and making a Appid_link for my decks solve the first question about the UID number?

thank you everyone.

Mike.
omnix32
 
Posts: 46
Joined: 16 Mar 2009, 00:24
Has thanked: 0 time
Been thanked: 0 time

Re: Need Help Dopt 13 (Making Decks)

Postby RiiakShiNal » 28 Jan 2013, 20:13

The UID of a deck is a UNIQUE number that you decide on, it can be any positive number less than about 2147000000 (it may be a 32-bit unsigned integer, but I haven't tested it yet so for safety I recommend staying within the positive 31-bit range). Anything that needs to refer to your deck should refer use the deck's UID (deck_uid attributes, and the first number under the deck heading in the APPID_LINKING.TXT).

When you change an existing deck's ID you will likely get the deck reset message once when you start the game this is because the profile said you had a deck and now it's gone so this is normal. The message should not appear subsequent times if you did everything right.

For your second question I will inline below.
omnix32 wrote:Example:
Master of Shadows Deck UID 819290014


Unlock:

<UNLOCKS uid="819292014" [Unique ID for this unlock file] deck_uid="819290014" [The Deck UID that this file goes with.] content_pack="0" game_mode="0">

Promo:
<UNLOCKS uid="819293014" [Unique ID for this unlock file] deck_uid="819290014" [The Deck UID that this file goes with.] content_pack="0" game_mode="2">

Appid_linking.txt
[MASTER_OF_SHADOWS] [Name of Deck, can be left as empty brackets.]
819290014 [Deck UID]
819294014 [Unique ID for "Unlock Full Deck", if you use 97330 it should be unlocked by default.]
819295014 [Unique ID for "Premium Foil Deck", if you use 97330 it should be unlocked and foiled by default.]
omnix32 wrote:How do these numbers work, and making a Appid_link for my decks solve the first question about the UID number?
APPID_LINKING.TXT is used to either allow the decks to be unlocked using the buttons in the deck manager or to unlock them by default (if using something like 97330 that game will recognize as being already present).
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Need Help Dopt 13 (Making Decks)

Postby omnix32 » 28 Jan 2013, 21:53

1) Deleted swarm folder
2) put back in all the promo codes. (seems only way to unlock all the cards)
3) Added my deck to the APPID_LINKING.TXT
4) Changed my UID:900000

This unlocked the cards. Apparently the UID found the APPID_LINKING.TXT

I still have that same error message though, and it won't save my deck with cards added from sideboard. Missing content, but everything is there.

This only Happened when I changed the UID, I am missing something.
DECK_GREENFORCE.XML

<DECK personality="D13_GARRUK_DEFAULT.XML" deck_box_image="D13_GARRUK" deck_box_image_locked="locked" content_pack="0" always_available="true" uid="900000" preview_card="pack_instinct_revenge" is_green="true" is_red="true">

DECK_GREENFORCE_LAND_POOL.XML
<DECK personality="" deck_box_image="locked" deck_box_image_locked="locked" content_pack="0" never_available="true" uid="900000">

I assume the Unlock folder is correct as it found all the cards and they were unlocked.

Am I missing a place to put the UID?

Question 2
APPINFOFILE_DEFAULT.XML Is this needed in my deck?

Question 3
TEXT_PERMANENT (Folder) Is this needed in my deck?

Everything now seems to be working (Thank you very much) except this error on start up. I don't have any custom cards, just using the ones from the mods and original game, but the issue never showed up until I attempted to put a New UID in. If I take someone else deck and do the same things but leave the UID alone, everything works.

Thank you.
omnix32
 
Posts: 46
Joined: 16 Mar 2009, 00:24
Has thanked: 0 time
Been thanked: 0 time

Re: Need Help Dopt 13 (Making Decks)

Postby RiiakShiNal » 28 Jan 2013, 22:05

The UID for the Deck and the Land Pool MUST be DIFFERENT. Remember this is a UNIQUE ID as such if it is repeated it will cause problems.

As for not saving with cards from sideboard that is probably because the deck is not being saved to the profile (there is an 18 deck limit and we can't control which decks are saved and which aren't).

I have never found that APPINFOFILE_DEFAULT to be required as such my mod does not have them (it's just extra work with no benefit).

TEXT_PERMANENT holds the XML files that have the Deck name, AI Personality names and other text that always needs to be loaded. So if you want your deck to have a name in game then I would highly recommend having the folder and an XML file with the appropriate text strings.
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Need Help Dopt 13 (Making Decks)

Postby omnix32 » 28 Jan 2013, 22:57

Ah, How I miss that one? Thank you!

Everything now works. The only question I have is about the AI personality. Mine is D13_GARRUK_DEFAULT.XML. Does this really matter in game play? I can't really tell the AI plays any better or worse, playing against different ones. I noticed the mods have different ones as if it does matter somehow.

Thank you for all your time helping.

Mike.
omnix32
 
Posts: 46
Joined: 16 Mar 2009, 00:24
Has thanked: 0 time
Been thanked: 0 time

Re: Need Help Dopt 13 (Making Decks)

Postby thefiremind » 28 Jan 2013, 23:10

If you open a personality file you can see which things it decides and it's nothing about how the AI plays:
Code: Select all
<CONFIG>
  <PLANESWALKER_NAME_TAG string="PLAYER_NAME_AJANI_GOLDMANE" />
  <LARGE_AVATAR_IMAGE string="134116" />
  <MEDIUM_AVATAR_IMAGE string="PW_ajani" />
  <SMALL_AVATAR_IMAGE string="PW_ajani" />
  <SMALL_AVATAR_IMAGE_LOCKED string="PW_ajani_locked" />
  <MUSIC string="ALARA_MIX" />
</CONFIG>
It decides the name of the AI opponent, the images for the various avatar formats, and the music used when you battle that opponent. So if you want to make a new opponent you have to make a new personality, but it won't behave differently: it will just have different name, images, and music.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: Need Help Dopt 13 (Making Decks)

Postby omnix32 » 29 Jan 2013, 03:11

Thank you, sort of humbling to have two awesome moders answer such noob questions. Things are working for me though, and you both helped me greatly. Thank you :)
omnix32
 
Posts: 46
Joined: 16 Mar 2009, 00:24
Has thanked: 0 time
Been thanked: 0 time

Re: Need Help Dopt 13 (Making Decks)

Postby RiiakShiNal » 29 Jan 2013, 18:52

Don't worry about it we were "noobs" once too, and had some of the same questions. With time and experience working with decks and cards, you might become one of the "awesome" modders on here as well.
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times


Return to Magic: The Gathering - Duels of the Planeswalkers

Who is online

Users browsing this forum: No registered users and 31 guests


Who is online

In total there are 31 users online :: 0 registered, 0 hidden and 31 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 31 guests

Login Form