Page 2 of 4

Re: Duels - Profile Editing

PostPosted: 04 Dec 2015, 01:32
by spirolone
fallenangle wrote:Spirolone, how do you know which cards have what ID when you want to unlock them? I'm trying to create a profile that gives me 4 of every card, but there's no indication of what card goes with which ID when I open up the cards.bin file in a hex editor. Any advice you might have for me would be greatly appreciated.
If you want simply 4 of every card, Marcel replied perfectly (there is no problem if you "unlock" cards that don't exist!)!
Then, if you want to know exactly what card has a specific ID, here is a xml file with all the cards and IDs...

Re: Duels - Profile Editing

PostPosted: 04 Dec 2015, 01:42
by spirolone
Marcel Costa wrote:EDIT 1: any chance to upload custom cards to the Data_000.zed or another custom .zed file? I tryied every pc instruction by far an have not a single success with that. I would like to code the cards and I think I know how.
Yes, it's possible... Maybe we should create a specific thread about Zed editing, but actually you can find what you need here: viewtopic.php?f=117&t=14839 (I think you could skip first 20 pages...). :wink:

Re: Duels - Profile Editing

PostPosted: 05 Dec 2015, 14:15
by Tejahn
spirolone, can you or someone else share a ZED with all the cards unlocked with the ability to put at least 4 of each card in a deck regardless of rarity?

Although I due prefer to be able to put up to 25 of a card in a deck due to wanting to create a deck using Shadowborn Apostle.

Re: Duels - Profile Editing

PostPosted: 06 Dec 2015, 02:39
by spirolone
Tejahn wrote:spirolone, can you or someone else share a ZED with all the cards unlocked with the ability to put at least 4 of each card in a deck regardless of rarity?

Although I due prefer to be able to put up to 25 of a card in a deck due to wanting to create a deck using Shadowborn Apostle.
I can share a PROFILE file with 4 of each card unlocked and with a deck containing 35 cards with ID 0 (Accursed Spirit if you have genuine Zeds)...

Re: Duels - Profile Editing

PostPosted: 07 Dec 2015, 21:55
by Marcel Costa
Ok I went through the ZED creation topic twice and it is too long and the information is too scattered for me to understand what to do in iOS. Most of it is meant for PC and the tools not necessarily work cross-platform (or do they? I couldn't even figure that out). I think I will wait for a ZED packing/unpacking tool and instructions on how to edit/add cards to the pool.
Any explicit information on the topic is appreciated.
=)

EDIT: I tested every single tool/instruction to compile custom zed with new cards, Data_000 removed cards, even decimpile and recompile working zed won't work for ios

Re: Duels - Profile Editing

PostPosted: 28 May 2016, 10:48
by Ghork
Hi, I'm trying to make a simple GUI for deck editing.
Is there any up-to-date list that will tell me what card each ID represents?

Also: 'cardcosts' read from the wrong offset in the profile, I added 2 to make it work correctly. The same for 'deckNumber'. However now I'm unsure how to fix the 'onlineDeckNumber'.

Re: Duels - Profile Editing

PostPosted: 29 May 2016, 03:22
by spirolone
Ghork wrote:Hi, I'm trying to make a simple GUI for deck editing.
Is there any up-to-date list that will tell me what card each ID represents?

Also: 'cardcosts' read from the wrong offset in the profile, I added 2 to make it work correctly. The same for 'deckNumber'. However now I'm unsure how to fix the 'onlineDeckNumber'.
Hi! I'm attaching a CardPool xml file that should contain updated cards list with actual IDs.
Regarding wrong offsets in decks in profile, I just checked and "cards costs" seem right to me (bytes from 492 to 498).
Then, last five bytes of any deck aren't totally clear for me: first one is a number that I named "Deck Number" cause it was a progressive number that indicates how many decks you created before. I thought last 4 bytes were another number, and I named it "Online Deck Number" cause it was number of deck in profile, but it was updated only when you went online (likely it is usefull for decks stored in cloud). Instead, actually, it seems that last 3 bytes aren't zeros, but only last one...

Re: Duels - Profile Editing

PostPosted: 29 May 2016, 16:48
by Ghork
spirolone wrote:Hi! I'm attaching a CardPool xml file that should contain updated cards list with actual IDs.
Regarding wrong offsets in decks in profile, I just checked and "cards costs" seem right to me (bytes from 492 to 498).
Then, last five bytes of any deck aren't totally clear for me: first one is a number that I named "Deck Number" cause it was a progressive number that indicates how many decks you created before. I thought last 4 bytes were another number, and I named it "Online Deck Number" cause it was number of deck in profile, but it was updated only when you went online (likely it is usefull for decks stored in cloud). Instead, actually, it seems that last 3 bytes aren't zeros, but only last one...
Thanks a lot! Hmm, that's strange, for me it is bytes 494-500 and 502 for the deck number. I wonder why it's different, if it is just our profile files that are different or something else. Anyhow, it makes the online deck number weird since there are only 504 bytes.

How did you get this CardPool xml? Has it been written manually by someone or somehow extracted?

Re: Duels - Profile Editing

PostPosted: 30 May 2016, 15:55
by spirolone
Ghork wrote:Thanks a lot! Hmm, that's strange, for me it is bytes 494-500 and 502 for the deck number. I wonder why it's different, if it is just our profile files that are different or something else. Anyhow, it makes the online deck number weird since there are only 504 bytes.

How did you get this CardPool xml? Has it been written manually by someone or somehow extracted?
Do you use my Java class to extract a deck from profile?
Let's consider a deck from a profile, for example:
Code: Select all
7C 14 5E 40 98 E9 8B 40 9E E7 A1 40 48 95 C9 40 47 00 72 00 65 00 65 00 6E 00 5F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF 00 C9 0A FF 00 89 09 FF 00 54 04 FF 00 C9 04 FF 00 02 0C FF 00 F4 05 FF 00 72 04 FF 00 E9 05 FF 00 1B 0B FF 00 DA 02 FF 00 41 0C FF 00 72 0A FF 00 5A 09 FF 00 39 04 FF 00 09 02 FF 00 D2 0A FF 00 DA 09 FF 00 32 08 FF 00 29 02 FF 00 71 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 17 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 03 FF FF 00 04 00 05 0B 0B 03 00 06 00 02 00
I think "00 04 00 05 0B 0B 03" are "Cards Costs", "00" cause it's first deck I created with last expansion, and "02" cause it's second deck of that profile... :?

I created that CardPool file merging xml files extracted from Data Zed files of last version of game.

Re: Duels - Profile Editing

PostPosted: 30 May 2016, 21:37
by break
Awesome, so there is a way to unlock 4 of every card ^_^"

Hmm, so this would work with the latest update if I play offline ?

Re: Duels - Profile Editing

PostPosted: 31 May 2016, 00:42
by spirolone
break wrote:Awesome, so there is a way to unlock 4 of every card ^_^"

Hmm, so this would work with the latest update if I play offline ?
Yes, you could edit profile to unlock how many cards you want, even foiled ones.
And, yes, it should work till you play offline; surely it works if you play using a Steam emulator like SmartSteamEmu... :)

Re: Duels - Profile Editing

PostPosted: 31 May 2016, 19:40
by break
Cool, I used "HxD" to edit the cards to 4 each...and then updated my profile with your tool !

However, I am unable to figure out how to "Foil" the unlocked cards.

Would I need another tool to foil the cards that have been unlocked ?

It appears that all of the cards for a Green/White Human deck are usable in-game ^_^ !!

Re: Duels - Profile Editing

PostPosted: 31 May 2016, 20:50
by Ghork
spirolone wrote:Let's consider a deck from a profile, for example:
Code: Select all
...
I think "00 04 00 05 0B 0B 03" are "Cards Costs", "00" cause it's first deck I created with last expansion, and "02" cause it's second deck of that profile... :?
That would mean you had 0 cards costing 0, 4 cards costing 1 and 0 cards costing 2.
Is that correct for the deck?

For my deck it was not correct. Here's a deck from my profile:
Code: | Open
Code: Select all
A4 70 55 40 6F 73 F5 3F 00 00 20 41 D1 7A C6 40
42 00 69 00 67 00 20 00 73 00 68 00 69 00 74 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
FF 00 81 15 FF 00 59 11 FF 00 19 15 FF 00 99 14
FF 00 99 10 FF 00 21 16 FF 00 E1 14 FF 00 E2 02
FF 00 31 15 FF 00 DA 02 FF 00 69 15 FF 00 B9 0E
FF 00 52 12 FF 00 F9 13 FF 00 09 06 FF 00 79 05
FF 00 EA 10 FF 00 EB 14 FF 00 52 00 FF 00 39 02
FF 00 B2 13 FF 00 22 01 FF 00 71 11 FF 00 F1 05
FF 00 19 00 FF 00 82 0D FF 00 9A 15 FF 00 81 12
FF 00 69 01 FF 00 C1 04 FF 00 79 04 FF 00 D1 0F
FF 00 D1 0D FF 00 D2 13 FF 00 92 16 FF 00 A1 02
FF 00 A9 15 FF 00 61 12 FF 00 29 16 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01 00 00 00 01 00 00 00 05 00 00 00 00 00 00 00
08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 1C 0E FF FF 00 00 00 0B
07 0B 02 05 06 10 05 00
The same bytes of this deck are: "00 00 00 0B 07 0B 02" which gives card costs c0: 0, c1: 0, c2: 0, c3: 11, c4: 7, c5: 11, c6+: 2
But when I go forward two bytes: "00 0B 07 0B 02 05 06" which gives card costs c0: 0, c1: 11, c2: 7, c3: 11, c4: 2, c5: 5, c6+: 6
And that's correct for the deck. It's also located as the fifth deck which is the 05 that comes two bytes after just like the 02 for your deck.

Re: Duels - Profile Editing

PostPosted: 01 Jun 2016, 01:12
by spirolone
Ghork wrote:That would mean you had 0 cards costing 0, 4 cards costing 1 and 0 cards costing 2.
Is that correct for the deck?

...
The same bytes of this deck are: "00 00 00 0B 07 0B 02" which gives card costs c0: 0, c1: 0, c2: 0, c3: 11, c4: 7, c5: 11, c6+: 2
But when I go forward two bytes: "00 0B 07 0B 02 05 06" which gives card costs c0: 0, c1: 11, c2: 7, c3: 11, c4: 2, c5: 5, c6+: 6
And that's correct for the deck. It's also located as the fifth deck which is the 05 that comes two bytes after just like the 02 for your deck.
You are right: even for my deck correct bytes for Cards Costs are "00 05 0B 0B 03 00 06"! But for other decks of mine, like this:
Code: Select all
00 00 40 40 00 00 80 40 00 00 80 40 00 00 A0 40 47 00 26 00 42 00 5B 00 31 00 5D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF 00 89 09 FF 00 52 00 FF 00 52 04 FF 00 41 00 FF 00 79 0A FF 00 79 0C FF 00 01 05 FF 00 79 05 FF 00 01 08 FF 00 B9 04 FF 00 A1 05 FF 00 D2 0B FF 00 31 06 FF 00 E1 05 FF 00 E2 02 FF 00 71 04 FF 00 49 0B FF 00 D3 04 FF 00 24 01 FF 00 E9 05 FF 00 29 02 FF 00 19 0B FF 00 59 08 FF 00 C2 04 FF 00 44 01 FF 00 7C 04 FF 00 4A 01 FF 00 31 08 FF 00 5A 09 FF 00 41 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 FF FF 00 04 0C 07 06 04 03 5B 05 60 01 00
correct bytes are "00 04 0C 07 06 04 03"!
It seems that decks created with SoI expansion are different from previous ones...
It's possible that game doesn't use last 12 bytes at all, even if it writes them. I'll need some tests... :?
However I noticed that I need to add uncolored land support in my class (4 bytes integer after 4 bytes of forests)...

Re: Duels - Profile Editing

PostPosted: 01 Jun 2016, 01:17
by spirolone
break wrote:Cool, I used "HxD" to edit the cards to 4 each...and then updated my profile with your tool !

However, I am unable to figure out how to "Foil" the unlocked cards.

Would I need another tool to foil the cards that have been unlocked ?

It appears that all of the cards for a Green/White Human deck are usable in-game ^_^ !!
To "Foil" a card you have to set to "1" first bit; that is, add 8 to desidered unlocked cards. For example, write "0C" instead of "04" if you want that card to be foiled. :wink: