It is currently 02 Jun 2024, 14:53
   
Text Size

Unlocking all and not something

New decks and cards for Stainless Games' release

Moderator: CCGHQ Admins

Re: Unlocking all and not something

Postby Takhen » 01 Apr 2013, 23:41

I tried to overwrite the files of the file of your first link in my wads, but the "unlock all deck" button doesn't work yet...
Can't do nothing else, better if without adding files?
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Unlocking all and not something

Postby thefiremind » 02 Apr 2013, 09:06

When I added the deck packs to my game I found them 30/30 unlocked without doing anything else than using what I suggested you in the previous post. I didn't use any unlock button.
< 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: Unlocking all and not something

Postby Takhen » 04 Apr 2013, 17:01

Couldn't I change something, for example set a different number of content_pack, to make that I have not the 30/30 but I can activate them with the button like the other ones?
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Unlocking all and not something

Postby RiiakShiNal » 05 Apr 2013, 13:46

Takhen wrote:Couldn't I change something, for example set a different number of content_pack, to make that I have not the 30/30 but I can activate them with the button like the other ones?
Are you trying to remove the decks, or are you trying to give them separate AppIds so they are not unlocked automatically?

If you are trying to remove the decks then yes setting content_pack to a number you don't have support for should remove them.

If you want the "Unlock Full Deck" button to work on the extra decks (in the Theta version) then you need to give each of the decks a unique AppId in the APPID_LINKING.TXT file. This only works with the Theta version though as Skidrow does not have actual support for AppIds and you can't add AppIds with the Steam version.
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Unlocking all and not something

Postby Takhen » 05 Apr 2013, 22:16

RiiakShiNal wrote:If you want the "Unlock Full Deck" button to work on the extra decks (in the Theta version) then you need to give each of the decks a unique AppId in the APPID_LINKING.TXT file. This only works with the Theta version though as Skidrow does not have actual support for AppIds and you can't add AppIds with the Steam version.
This would be overwritten when I add some mods that have their own Appid_Linking it would be changed
Can't do nothing on the decks theirselves to make them in the exactly same way of the others (activate the "Unlock full deck" button with no adding other them these selves)?
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Unlocking all and not something

Postby RiiakShiNal » 06 Apr 2013, 02:46

The ONLY way to make the "Unlock Full Deck" button work is through the APPID_LINKING.TXT file and all the problems associated with managing the file.

The "Unlock Full Deck" button checks the APPID_LINKING.TXT file for the uid of the deck (the first number), looks up the associated AppId (the second number), then finally queries Steam (or the Theta crack in this case) to attempt to use a token to add the AppId to your account (Theta will simply add the AppId to the "apps" file which is loaded when the game is loaded to tell what AppIds you have).

The "Premium Foil Deck" button works similarly, but uses the Foil AppId (third number) instead of the regular AppId (second number) for the deck. The AppId associated with this button will both unlock AND foil (as appropriate based on rarity) the cards of the deck.

When the game is loaded it will look at the decks and the AppIds that you have, for each deck that it sees the associated AppId for it will unlock the cards in that deck.

Code: Select all
[IZZET_DEFAULT]
14     <- First Number, Deck UID
97384  <- Second Number, Regular AppId (used with "Unlock Full Deck")
97385  <- Third Number, Foil AppId (used with "Premium Foil Deck")
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Unlocking all and not something

Postby Takhen » 06 Apr 2013, 06:22

but doesn't this way go off when I add some mods?
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Unlocking all and not something

Postby RiiakShiNal » 06 Apr 2013, 14:37

Only if the mod has its own APPID_LINKING.TXT file (not as common now as no-one really wants to mess with the issues), in which case you either need to remove that file from that mod (adding the new entries from it to the one you are managing) or you modify the one with that mod.

Personally I manage my own APPID_LINKING.TXT file and I simply remove any I find in mods I download.
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Unlocking all and not something

Postby Takhen » 07 Apr 2013, 16:44

RiiakShiNal wrote:The ONLY way to make the "Unlock Full Deck" button work is through the APPID_LINKING.TXT file and all the problems associated with managing the file.

The "Unlock Full Deck" button checks the APPID_LINKING.TXT file for the uid of the deck (the first number), looks up the associated AppId (the second number), then finally queries Steam (or the Theta crack in this case) to attempt to use a token to add the AppId to your account (Theta will simply add the AppId to the "apps" file which is loaded when the game is loaded to tell what AppIds you have).

The "Premium Foil Deck" button works similarly, but uses the Foil AppId (third number) instead of the regular AppId (second number) for the deck. The AppId associated with this button will both unlock AND foil (as appropriate based on rarity) the cards of the deck.

When the game is loaded it will look at the decks and the AppIds that you have, for each deck that it sees the associated AppId for it will unlock the cards in that deck.

Code: Select all
[IZZET_DEFAULT]
14     <- First Number, Deck UID
97384  <- Second Number, Regular AppId (used with "Unlock Full Deck")
97385  <- Third Number, Foil AppId (used with "Premium Foil Deck")
If I understood you are saying that the I have to add the decks in question to appid liking file?
Which file contains the appid linking used by the game with only installed basic game and DLCs?
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Unlocking all and not something

Postby RiiakShiNal » 08 Apr 2013, 01:12

Takhen wrote:If I understood you are saying that the I have to add the decks in question to appid liking file?
That is correct.

Takhen wrote:Which file contains the appid linking used by the game with only installed basic game and DLCs?
As far as I can tell, just DATA_CORE.WAD. Though since any mod with an APPID_LINKING.TXT file will override the one in DATA_CORE.WAD I recommend putting the APPID_LINKING.TXT into a simple wad all its own (like I did with Data_DLC_8192_AppId_Linking.wad and thefiremind did with Deck_9999_Unlocks#.wad) so you can manage it easier and it is less likely to be overridden.
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Unlocking all and not something

Postby Takhen » 08 Apr 2013, 13:31

But your advice is to create something that unlock the cards like the unlocker.wad does? because I also tried the Unlocker.wad, and it works, but I would like to enable the button "unlock full deck" to choice by my self when I want to unlock and when don't...
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Unlocking all and not something

Postby RiiakShiNal » 08 Apr 2013, 17:54

Yes, like the unlocker, but not the same. If you look at the unlockers they are usually set up so that things are unlocked by default. You will want to use the Theta version and configure your unlocker to use unique numbers for the AppIds that way you can pick and choose.

If you look at my Data_DLC_8192_AppId_Linking.wad (even as outdated as it is) and the APPID_LINKING.TXT file inside of it you will see that I used unique numbers for all of the AppIds for the decks in it. That enables me to pick and choose which decks I unlock and which decks I foil.
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Unlocking all and not something

Postby Takhen » 09 Apr 2013, 14:39

I tried to do what I understood from your explaination, but as result I have the 30/30 already unlocked...

Code: Select all
[AJANI_DEFAULT]
1
97360
97361

[CHANDRA_DEFAULT]
2
97362
97363

[GARRUK_DEFAULT]
3
97364
97365

[JACE_DEFAULT]
4
97366
97367

[KEZZIK_DEFAULT]
5
97368
97369

[LILIANA_DEFAULT]
6
97370
97371

[MANDRED_DEFAULT]
7
97372
97373

[NEFAROX_DEFAULT]
8
97374
97375


[SARNEK_DEFAULT]
9
97376
97377

[TALKOS_DEFAULT]
10
97378
97379

[AZORIUS_DEFAULT]
12
97380
97381

[GOLGARI_DEFAULT]
13
97382
97383

[IZZET_DEFAULT]
14
97384
97385

[RAKDOS_DEFAULT]
15
97386
97387

[Wielding_Steel]
16
97388
97389

[Wielding_Steel]
81
97390
97391

[Wielding_Steel]
82
97392
97393

[Wielding_Steel]
83
97394
97395

[Wielding_Steel]
84
97396
97397

[Wielding_Steel]
85
97398
97399

[Wielding_Steel]
86
97400
97401
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

Re: Unlocking all and not something

Postby RiiakShiNal » 09 Apr 2013, 15:00

Well, you could try using numbers that are not in sequence with the original numbers for the new AppIds like this:

Code: Select all
[AJANI_DEFAULT]
1
97360
97361

[CHANDRA_DEFAULT]
2
97362
97363

[GARRUK_DEFAULT]
3
97364
97365

[JACE_DEFAULT]
4
97366
97367

[KEZZIK_DEFAULT]
5
97368
97369

[LILIANA_DEFAULT]
6
97370
97371

[MANDRED_DEFAULT]
7
97372
97373

[NEFAROX_DEFAULT]
8
97374
97375


[SARNEK_DEFAULT]
9
97376
97377

[TALKOS_DEFAULT]
10
97378
97379

[AZORIUS_DEFAULT]
12
97380
97381

[GOLGARI_DEFAULT]
13
97382
97383

[IZZET_DEFAULT]
14
97384
97385

[RAKDOS_DEFAULT]
15
97386
97387

[Wielding_Steel]
16
97388
97389

[Deck_81]
81
123497390
123497391

[Deck_82]
82
123497392
123497393

[Deck_83]
83
123497394
123497395

[Deck_84]
84
123497396
123497397

[Deck_85]
85
123497398
123497399

[Deck_86]
86
123497400
123497401
You could also try removing the "apps" file from the swarm (that should effectively "reset" the AppIds you have saved for your profile). Of course you could have gotten "lucky" and those decks were saved to your profile in which case to "reset" them you would probably need to delete your profile.
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Unlocking all and not something

Postby Takhen » 09 Apr 2013, 15:51

It worked!
Now how can I make it as an appid_linking wad? still now I modified the one in Data_Core

EDIT: I tried to create this, but it seems to unlock all before I touch the button...
Last edited by Takhen on 10 Apr 2013, 13:12, edited 1 time in total.
User avatar
Takhen
 
Posts: 235
Joined: 04 Feb 2013, 19:35
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to Magic: The Gathering - Duels of the Planeswalkers

Who is online

Users browsing this forum: No registered users and 2 guests


Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 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 2 guests

Login Form