Page 1 of 1

Need help with Unlocks - thefiremind can you assist?

PostPosted: 28 Sep 2012, 14:46
by kylekrazy
I have the Theta version, and I installed thefiremind's DLC v5, BlindWillow's DLC v3, the community DLC Mod, The Return to Ravnica DLC, & the Slivers decks. Basically everything minus RiiakShiNal's mods. I even have your planar add-on and your 'No loading screen' mod. So my problem is... I've deleted my profile, started from the beginning, completed the game, and there are still 4-6 decks that I can't play with. I'm on my laptop right now, but I remember one of them was Chandra's second deck.. and the others came from the 2012 campaign. I read on the other unlock thread that the problem was in the AppIdLinking file.. So I downloaded the WADedit program, unpacked all of them, tried to look through them, but I don't really know where to start. I've seen that the UNLOCK folder had two files in it... PROMO & UNLOCKS... & I tried placing all the cards in the UNLOCKS file into the PROMO file, and follow the patterns of the IDs, but I'm not too sure that I put it back together properly... And with 100 decks to go through (and those core files), I'm very lost. Any help on the matter would be GREATLY appreciated, and I truly enjoy your work. Thank you for taking the time to read this.

Anyone have anything to add, I'm open to suggestions in all directions. Thanks again everyone!

Re: Need help with Unlocks - thefiremind can you assist?

PostPosted: 28 Sep 2012, 18:07
by thefiremind
My decks aren't locked, so the only problem you can have with them is that you can't save the changes or the unlocks, because the game can save up to 18 decks. The locked decks come from kevlahnota's mod and were meant to be unlocked by beating them inside the custom "Wayback 2012" campaign. The problem is, since the game can save a limited number of decks, it won't remember the custom decks that you unlocked through the campaign. Kevlahnota didn't know that when he made the custom campaign (actually, no modder here knew about that limitation yet).

There is a way to make them unlocked from the start. Unpack kevlahnota's decks (their numbers start with 07xx and 08xx, plus 0900). For each unpacked deck, browse to the DATA_ALL_PLATFORMS\DECKS subdirectory. Open the deck file there (the one without the "LAND_POOL" suffix) and look at the first line. Check if the always_available="true" tag is present. If not, add it. Repack the decks where you had to add that tag, and substitute them to the originals. The decks should be all ready to play now.

(Just to let you know... the "AppIdLinking" file is connected to the unlock of the cards inside the decks, but not to the unlock of the decks themselves.)

Re: Need help with Unlocks - thefiremind can you assist?

PostPosted: 29 Sep 2012, 05:06
by kylekrazy
thank you for explaining all that to me. I tried updating as many as I could but I only had limited time so I may have gotten half of them done. I'll work on them more over the next day or so but now the only things I wanted to add/ask are (1) you mean to tell me the game can only recognize 18 additional decks? I could swear there are more but perhaps that's accurate. I'll count later, but then that's self defeating of (2) do you mean that the game can only save 18 sets of unlocks, and (3) can you explain what the unlocks are in terms of the cards used (as unlockable) compared to the cards in the PROMO file? Again, I'm on my stupid laptop downstairs and it's on my desktop. Oh and (4) can you tell me step by step how to save a repacked WAD file with the only WADPack.exe(zip) file or whatever it is\was here on the board recently(or the most recent lol) and it unpacked them all but it asks funny questions when saving (or maybe I was just off my meds that day). But I've tried to save a few of them with no real luck, I think.. Or maybe one deck was unlocked. I've tried cutting the list of cards from the UNLOCKS to the PROMO and in the file making the cardid=+1 of the one before, having said that, I don't know if I'm saving them over in the right way but I think I may just have to go upstairs now and try my retarded way some more before the sleeping pills kick in. I appreciate you getting back with me, though. And in my infinite ignorance/arrogance of all this I just need to ask if you even get what I'm talking about and if you've ever tried it. Sorry if I'm seeming stupid now, but if we can alter the files to say alwaysallowed and technically "unlock using promos" then it would only make sense that we see if we can't make bigger promo lists? Yeah, I know I probably don't make sense but it's worth a shot and I like trying new things so I'm going upstairs to do more modding? At least messing it around and looking at things.

Re: Need help with Unlocks - thefiremind can you assist?

PostPosted: 29 Sep 2012, 05:19
by kylekrazy
WADedit.zip (but I'm still proud of myself considering I know nothing and I was reciting all that from memory) bahahha... but no, really I'm on my desktop so I'm gonna do a little messing around... if only I can find those damn unpacked files. Wish me luck!

Re: Need help with Unlocks - thefiremind can you assist?

PostPosted: 01 Oct 2012, 23:50
by thefiremind
I was sure I had answered to this post... that happens when I read posts quickly before shutting down the PC and going to bed. :lol:

kylekrazy wrote:(1) you mean to tell me the game can only recognize 18 additional decks? I could swear there are more but perhaps that's accurate. I'll count later, but then that's self defeating of (2) do you mean that the game can only save 18 sets of unlocks
Number (2) is the right one. You can use as many decks as you want, but only 18 will have the unlocks and the editing (moving cards in and out of the deck) saved.
kylekrazy wrote:(3) can you explain what the unlocks are in terms of the cards used (as unlockable) compared to the cards in the PROMO file?
The "promo" unlocks are cards meant to be unlocked by inserting 10 promo codes. Each code unlocks 1 promo card on each deck, it doesn't matter if it's official or custom.
kylekrazy wrote:(4) can you tell me step by step how to save a repacked WAD file with the only WADPack.exe(zip) file or whatever it is\was here on the board recently(or the most recent lol) and it unpacked them all but it asks funny questions when saving (or maybe I was just off my meds that day)
I have never used WADEdit so I can't be helpful for this one. I do everything manually... at least until jstauffer makes a Deck Editor Revised for DotP2013... well not sure if he will ever do it, I think he's busy.
kylekrazy wrote:if we can alter the files to say alwaysallowed and technically "unlock using promos" then it would only make sense that we see if we can't make bigger promo lists?
First I want you to notice that the XML name actually doesn't have any importance for unlocks, it only serves for us humans to distinguish the files at first sight. What decides whether the unlocks are promo or not is the game_mode tag inside: "0" for normal unlocks, "2" for promo unlocks. Why is "1" unused? I don't really know, but even the name of the tag ("game_mode") is a leftover from DotP2012, where some cards could be unlocked only by playing Archenemy matches (a different game mode, hence the reason of the name).
Your idea is actually something I already thought about, but didn't test completely. There would be some problems:
  • The promo codes are 10, so you could unlock 10 cards at most... this is true if you follow the deckOrderId normally. I used high deckOrderId's (starting from 100 for example) in the normal unlocks, and all the cards were unlocked with just 1 victory, but when one of my decks was one of the 18 decks to be saved, people reported bugs after rebooting the game: hundreds of copies of the same card inside the deck. So, if this works also for the promo unlocks, be careful that it doesn't have bad side effects.
  • The promo cards would be automatically inserted by default in the decks, this probably means that a deck with unlocked promo cards for which you can't save the editing will result in a deck with more than 60 cards that you'll have to trim everytime you want to play with it (once for each time you execute the game).
  • Having promo cards in custom decks writes something in the player's profile that is prone to crash the game (not always, but very often) when you try to enter a promo code. So you should enter the 10 promo codes before even putting a custom deck with promo cards in the game's directory. Make a backup of your profile before attempting to work on promo unlocks.

Re: Need help with Unlocks - thefiremind can you assist?

PostPosted: 16 Oct 2012, 00:52
by ProdigyToby
Hate to bump this but I really want to know. So there is no workaround to unlocking cards for more than 18 decks? I have looked at several decks XML which contain the line necessary for it to be unlocked but it will still show as 0/10 cards unlocked. Im assuming the reason my decks keep reverting back to 0/X cards unlocked is because whenever I unlocked a card for a deck that isn't part of the 18 already saved, It just replaces one of the 18 decks with the neck deck requiring a save for the new unlock card(s). Thanks.

Re: Need help with Unlocks - thefiremind can you assist?

PostPosted: 16 Oct 2012, 01:15
by RiiakShiNal
ProdigyToby wrote:Hate to bump this but I really want to know. So there is no workaround to unlocking cards for more than 18 decks? I have looked at several decks XML which contain the line necessary for it to be unlocked but it will still show as 0/10 cards unlocked. Im assuming the reason my decks keep reverting back to 0/X cards unlocked is because whenever I unlocked a card for a deck that isn't part of the 18 already saved, It just replaces one of the 18 decks with the neck deck requiring a save for the new unlock card(s). Thanks.
The only possible way currently to workaround unlocking cards for more than 18 decks is to make unlocks promos instead, but that has two side-effects:
  1. If the deck is not one of the 18 saved then all the promos will be put in the deck each time the game is started requiring cards to be pulled out to get the deck down to 60 cards.
  2. There are only 10 promo codes so only 10 cards can be added as promos (that will always work properly). More than 10 could be added by repeating unlock ids, but that seems to cause hundreds of duplicates of a card to be added if it happens to be one of the 18 decks that is saved.

If all 18 decks that are to be saved have already been determined then no matter which deck you unlock a card for it will not replace one of the 18 to be saved (I have tested that thinking it might happen, but it doesn't). Once the 18 have been determined then they are forever set for that profile (if you delete a profile or create a new one it could have a different set of 18).

Re: Need help with Unlocks - thefiremind can you assist?

PostPosted: 16 Oct 2012, 02:10
by BlindWillow
Has anyone noticed that in the wad header file for DATA_DLC_0001 the old contentflags are used?

Code: Select all
<?xml version="1.0"?>

<header>
   <WAD_HEADER>
      <ENTRY platform="ALL" source="DATA_DLC_0001/DATA_ALL_PLATFORMS/" alias="Content" order="5"/>
      <ENTRY platform="PC" source="DATA_DLC_0001/DATA_PC/" alias="Content" order="6"/>
      <ENTRY platform="X360" source="DATA_DLC_0001/DATA_X360/" alias="Content" order="6"/>
      <ENTRY platform="PS3" source="DATA_DLC_0001/DATA_PS3/" alias="Content" order="6"/>
      <ENTRY platform="IPAD" source="DATA_DLC_0001/DATA_IPAD/" alias="Content" order="6"/>
   </WAD_HEADER>

   <ContentPack UID="1">
      <LocalisedName>
         <English string="Expansion pack 1"/>
         <French string="Expansion pack 1"/>
         <Italian string="Expansion pack 1"/>
         <German string="Expansion pack 1"/>
         <Spanish string="Expansion pack 1"/>
         <Japanese string="Expansion pack 1"/>
      </LocalisedName>
         
      <ContentFlags>
         <Campaign_Content/>
         <Deck_Content/>
      </ContentFlags>

      <PD_Section>
         <Offering_ID id="5"/>
         <Content_Catagories catagoires="0x0050000"/>
         <License_Bits bits="0"/>
         <App_ID id="97350"/>
         <Can_Matchmake/>
         <Package_ID id="1"/>
      </PD_Section>
   </ContentPack>
</header>
In the .exe file, one of the content flags is Unlock_Content. Does anyone think that might address the problem?

Re: Need help with Unlocks - thefiremind can you assist?

PostPosted: 20 Oct 2012, 20:20
by AlexSanchez
Is there any news regarding the problem of the unlocks? it is a pitty to only save 18 decks. Hope somebody will find a solution.