It is currently 26 Sep 2018, 01:20
   
Text Size

Magic 2014 Force All Foil ?

User-made mods in DLC (Downloadable Content) form.
Get MTG cards here for your DotP that aren't available anywhere else!

Moderators: Xander9009, CCGHQ Admins

Magic 2014 Force All Foil ?

Postby Falchion » 27 Aug 2013, 21:07

Is there any easy way to make all cards foil cards ?
Falchion
 
Posts: 2
Joined: 27 Aug 2013, 20:39
Has thanked: 0 time
Been thanked: 0 time

Re: Magic 2014 Force All Foil ?

Postby RiiakShiNal » 28 Aug 2013, 00:39

Easy way ... no.

There are 2 possible methods to make everything foiled:
  • Edit all cards such that they have rarity set to "R" (rare) or "M" (mythic) and make sure all decks have the *_id_2 attribute for your OS set to an Id that you have available (for example for Steam/PC version you would use steam_id_2="213850").
  • Edit all decks and unlocks such that the card names end with "#" which will force them to be "Promo" cards and have the foil effect. Cards with a bias number ("@" followed by 2 or 3) will need to have the pound symbol put before the bias. For example:
    Code: Select all
      <CARD name="PREY_UPON_350208#@3" deckOrderId="2" />
      <CARD name="KALONIAN_TUSKER_337965#" deckOrderId="3" />
      <CARD name="KALONIAN_TUSKER_337965#" deckOrderId="4" />
      <CARD name="KALONIAN_TUSKER_337965#" deckOrderId="5" />
      <CARD name="GARRUKS_COMPANION_337861#" deckOrderId="6" />
Both methods will prevent you from being able to play online as you will have a Wad configuration that is different from other players. This is regardless of whether you edit the Wads or create a new Wad to override the files.

Note: You can create an override wad to change the *_id_2 attributes in decks to an Id you have for your OS and have it save to your profile that you have the foil unlock for the decks then remove that wad so that you can play online and rare & mythic cards for those decks should retain the foil effects. Though this does not give the foil effect to cards with rarities of land, token, common, or uncommon.
Problems with base game cards: DotP 2014 Core Fixes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
RiiakShiNal
Programmer
 
Posts: 2098
Joined: 16 May 2011, 21:37
Has thanked: 73 times
Been thanked: 462 times

Re: Magic 2014 Force All Foil ?

Postby Falchion » 28 Aug 2013, 11:05

It worked, need to edit now all deck and I can play at last :p

I could not play the game because all art was blank on cards except few foil cards

Thanks
Falchion
 
Posts: 2
Joined: 27 Aug 2013, 20:39
Has thanked: 0 time
Been thanked: 0 time

Re: Magic 2014 Force All Foil ?

Postby thefiremind » 28 Aug 2013, 12:27

Falchion wrote:I could not play the game because all art was blank on cards except few foil cards
If this was the problem, I'd suggest you to search for a solution rather than a workaround. This seems like a graphic issue... have you tried to reinstall the game and/or update your video card drivers?
< Former DotP 2012/2013/2014 modder >
Currently busy with life. Don't expect answers to PMs.
User avatar
thefiremind
Programmer
 
Posts: 3513
Joined: 07 Nov 2011, 10:55
Has thanked: 117 times
Been thanked: 715 times

Re: Magic 2014 Force All Foil ?

Postby PhilistineAu » 08 Jun 2014, 11:28

I have a similar question, but the opposite.

I took an existing deck and modified it so that I could copy the box art. I removed all the cards, changed the name and kept the existing box art.

The new cards I have added are all foil. Is there a way in the deck editor to prevent this or force them all to be non-foil?

This is the code from the deck file:

Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<DECK uid="1" personality="D14_PERSONALITY_500_NISSA_REVANE.XML" deck_box_image="D14_19801_NYXWAVE_DECK_IMAGE" deck_box_image_locked="locked" content_pack="198" always_available="true" is_black="true" is_green="true" is_red="true" cheat_menu_filter_deck_type="Standard" tus_save_data_id="1" ios_id_1="D14_DECK_UNLOCK_1" ios_id_2="D14_DECK_FOIL_1" steam_id_1="213850" steam_id_2="213850" android_id_1="d14_deck_unlock_01" android_id_2="d14_deck_foil_01" cheat_menu_filter_datapool="D14" name_tag="D14_19801_NYXWAVE" description_tag="D14_19801_NYXWAVE_DESCRIPTION">
  <DECKSTATISTICS Size="7" Speed="8" Flex="3" Syn="6" />
  <CARD name="BANEFIRE_350480" deckOrderId="0" />
  <CARD name="BANEFIRE_350480" deckOrderId="1" />
  <CARD name="CRATERHOOF_BEHEMOTH_365864" deckOrderId="2" />
  <CARD name="ELVISH_MYSTIC_627066" deckOrderId="3" />
  <CARD name="ELVISH_MYSTIC_627066" deckOrderId="4" />
  <CARD name="ELVISH_MYSTIC_627066" deckOrderId="5" />
  <CARD name="ELVISH_MYSTIC_627066" deckOrderId="6" />
  <CARD name="ETERNAL_WITNESS_348916" deckOrderId="7" />
  <CARD name="ETERNAL_WITNESS_348916" deckOrderId="8" />
  <CARD name="ETERNAL_WITNESS_348916" deckOrderId="9" />
  <CARD name="ETERNAL_WITNESS_348916" deckOrderId="10" />
  <CARD name="EZURIS_ARCHERS_99194092" deckOrderId="11" />
  <CARD name="EZURIS_ARCHERS_99194092" deckOrderId="12" />
  <CARD name="GARRUK_PRIMAL_HUNTER_991253669" deckOrderId="13" />
  <CARD name="GARRUK_PRIMAL_HUNTER_991253669" deckOrderId="14" />
  <CARD name="GARRUK_WILDSPEAKER_991205959" deckOrderId="15" />
  <CARD name="GARRUK_WILDSPEAKER_991205959" deckOrderId="16" />
  <CARD name="GARRUK_WILDSPEAKER_991205959" deckOrderId="17" />
  <CARD name="GARRUK_WILDSPEAKER_991205959" deckOrderId="18" />
  <CARD name="GAVONY_TOWNSHIP_199233242" deckOrderId="19" />
  <CARD name="GAVONY_TOWNSHIP_199233242" deckOrderId="20" />
  <CARD name="GENESIS_WAVE_348927" deckOrderId="21" />
  <CARD name="GENESIS_WAVE_348927" deckOrderId="22" />
  <CARD name="GENESIS_WAVE_348927" deckOrderId="23" />
  <CARD name="GENESIS_WAVE_348927" deckOrderId="24" />
  <CARD name="HARMONIZE_348843" deckOrderId="25" />
  <CARD name="HARMONIZE_348843" deckOrderId="26" />
  <CARD name="HARMONIZE_348843" deckOrderId="27" />
  <CARD name="HARMONIZE_348843" deckOrderId="28" />
  <CARD name="LEATHERBACK_BALOTH_348941" deckOrderId="29" />
  <CARD name="LEATHERBACK_BALOTH_348941" deckOrderId="30" />
  <CARD name="LEATHERBACK_BALOTH_348941" deckOrderId="31" />
  <CARD name="LEATHERBACK_BALOTH_348941" deckOrderId="32" />
  <CARD name="MM_BURNINGTREE_EMISSARY_628934" deckOrderId="33" />
  <CARD name="MM_BURNINGTREE_EMISSARY_628934" deckOrderId="34" />
  <CARD name="MM_BURNINGTREE_EMISSARY_628934" deckOrderId="35" />
  <CARD name="MM_BURNINGTREE_EMISSARY_628934" deckOrderId="36" />
  <CARD name="PRIMEVAL_TITAN_348409" deckOrderId="37" />
  <CARD name="PRIMEVAL_TITAN_348409" deckOrderId="38" />
  <CARD name="PRIMEVAL_TITAN_348409" deckOrderId="39" />
  <CARD name="PRIMEVAL_TITAN_348409" deckOrderId="40" />
  <CARD name="RSN_BOROS_GUILDGATE_369008" deckOrderId="41" />
  <CARD name="RSN_BOROS_GUILDGATE_369008" deckOrderId="42" />
  <CARD name="RSN_NYKTHOS_SHRINE_TO_NYX_373713" deckOrderId="43" />
  <CARD name="RSN_NYKTHOS_SHRINE_TO_NYX_373713" deckOrderId="44" />
  <CARD name="RSN_NYKTHOS_SHRINE_TO_NYX_373713" deckOrderId="45" />
PhilistineAu
 
Posts: 22
Joined: 29 Sep 2012, 19:37
Has thanked: 0 time
Been thanked: 1 time

Re: Magic 2014 Force All Foil ?

Postby thefiremind » 08 Jun 2014, 12:05

PhilistineAu wrote:The new cards I have added are all foil. Is there a way in the deck editor to prevent this or force them all to be non-foil?
213850 is the Steam ID for the game itself, so it can unlock everything. In the deck XML, the steam_id_1 attribute controls card unlocking (so you want to keep it as it is), while the steam_id_2 controls foiling. All you need to do is change the steam_id_2 value to something else. In my mod I always use the ID of an official deck for that because I don't like foils, but someone probably likes them, so if the official decks are foiled, mine will be too, otherwise they won't be.
You might need to delete your profile after doing that, in order to see the changes.
< Former DotP 2012/2013/2014 modder >
Currently busy with life. Don't expect answers to PMs.
User avatar
thefiremind
Programmer
 
Posts: 3513
Joined: 07 Nov 2011, 10:55
Has thanked: 117 times
Been thanked: 715 times

Re: Magic 2014 Force All Foil ?

Postby RiiakShiNal » 08 Jun 2014, 12:38

PhilistineAu wrote:I have a similar question, but the opposite.

I took an existing deck and modified it so that I could copy the box art. I removed all the cards, changed the name and kept the existing box art.

The new cards I have added are all foil. Is there a way in the deck editor to prevent this or force them all to be non-foil?
If you want new decks created by the Deck Builder to not be foiled then you can manually edit the Settings.xml file and change the value used for SteamDefaultFoilId to something else (it is 213850 by default). If you want to make it dependent on whether an official deck is foiled or not you can change it to one of the foil AppIds from one of the official decks (like thefiremind does). If you never want them foiled you can change it to some other random number that isn't used (large 31-bit numbers are less likely to be used as AppIds by any application).

For example change:
Code: Select all
  <SteamDefaultFoilId><![CDATA[213850]]></SteamDefaultFoilId>
to (this makes it dependent on whether Garruk's deck is foiled):
Code: Select all
  <SteamDefaultFoilId><![CDATA[213897]]></SteamDefaultFoilId>
or to (this makes them never foiled):
Code: Select all
  <SteamDefaultFoilId><![CDATA[123456789]]></SteamDefaultFoilId>
Once that has been changed all new decks that are exported from that point on should use the new Id that you set.
Problems with base game cards: DotP 2014 Core Fixes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
RiiakShiNal
Programmer
 
Posts: 2098
Joined: 16 May 2011, 21:37
Has thanked: 73 times
Been thanked: 462 times


Return to New MTG Cards and Decks

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (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 1 guest

Login Form