It is currently 24 Jul 2017, 16:44
   
Text Size

Duels - Profile Editing

Moderators: Xander9009, CCGHQ Admins

Re: Duels - Profile Editing

Postby break » 08 Jun 2016, 17:28

spirolone wrote:
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:
Awesome, thanks for the foil help ^_^"

It is unfortunate that we can not edit how many coins we have earned though.

Also, a warning to anyone who goes online...rather uses the cloud storage option...the system will delete your decks and all cards you have unlocked.

Even with that said, you can still edit your offline or local save profile.

Hmm, but would there be a way to edit how many "pack coins" that we have available ?

* Edit/Update *

Looks like the "Eldritch Moon" update is about to go live :

http://steamcommunity.com/games/316010/ ... 7144518070
Pokemon Red 3DS-XL friend code : 1864-9639-1699 (Zeheart)
User avatar
break
 
Posts: 13
Joined: 07 Nov 2015, 21:07
Has thanked: 8 times
Been thanked: 0 time

Re: Duels - Profile Editing

Postby Nick26 » 25 Oct 2016, 16:40

spirolone wrote:ImportDeck.jar: you can specify, after profile file name, also name of saved deck file and position of deck to replace; it loads a deck saved in a xml file created with MagicAssistant and stores it in profile file; it needs a CardPool.xml file with IDs of cards.
Hi,
I managed to extract my decks creating the decks.txt file and now I can see and modify all of my decks; my question is: is there a way to encode the profile with the modified version of decks.txt? Or another way to edit decks?

p.s. What is "MaigcAssistant" exactly and where can I find it?
Nick26
 
Posts: 60
Joined: 23 Mar 2015, 16:40
Has thanked: 14 times
Been thanked: 0 time

Re: Duels - Profile Editing

Postby Xander9009 » 25 Oct 2016, 20:35

http://mtgbrowser.sourceforge.net/wiki/ ... /Main_Page

It's a generic program for building decks.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2643
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 87 times
Been thanked: 364 times

Re: Duels - Profile Editing

Postby Nick26 » 26 Oct 2016, 11:06

Thanks for the link. This program has a milion things to configure! Can anyone share a sample magic duels deck that we can use to mod?
Nick26
 
Posts: 60
Joined: 23 Mar 2015, 16:40
Has thanked: 14 times
Been thanked: 0 time

Re: Duels - Profile Editing

Postby spirolone » 27 Oct 2016, 04:14

Nick26 wrote:Thanks for the link. This program has a milion things to configure! Can anyone share a sample magic duels deck that we can use to mod?
I'm uploading a xml file with a deck saved by Magic Assistant, but there is a problem: my code needs a xml file with ids and names of cards; actually game uses lol format for card pool and you should convert it! Maybe, I'll do it, but actually I didn't...
However, I could write a code to import decks stored in other ways and, if you use id number instead of name of any card, there is no need to use a xml file to convert names to ids...
Attachments
Test.zip
(2.99 KiB) Downloaded 30 times
spirolone
Programmer
 
Posts: 183
Joined: 31 Aug 2014, 23:14
Has thanked: 7 times
Been thanked: 106 times

Re: Duels - Profile Editing

Postby Nick26 » 27 Oct 2016, 05:34

spirolone wrote:
Nick26 wrote:Thanks for the link. This program has a milion things to configure! Can anyone share a sample magic duels deck that we can use to mod?
I'm uploading a xml file with a deck saved by Magic Assistant, but there is a problem: my code needs a xml file with ids and names of cards; actually game uses lol format for card pool and you should convert it! Maybe, I'll do it, but actually I didn't...
However, I could write a code to import decks stored in other ways and, if you use id number instead of name of any card, there is no need to use a xml file to convert names to ids...
That's perfectly fine, thanks! :D After all we can always put the "custom" cards (with id > 1023) using ids, add a bounch of random ones and then add the other cards in game, right?
So, for example, if I want to add your Emrakul, the Promised End ( EMRAKUL_THE_PROMISED_END_199414295 ) with like id = 2000 to this deck, let say removing this card

<mcp>
<card>
<id>383175</id>
<name>Accursed Spirit</name>
<edition>Magic 2015 Core Set</edition>
</card>
<count>4</count>
<location>Decks/Test</location>
<date>Mon Oct 19 18:53:05 CEST 2015</date>
</mcp>


is the following correct?

<mcp>
<card>
<id>2000</id>
<name>Emrakul, the Promised End</name>
<edition>Magic 2015 Core Set</edition>
</card>
<count>4</count>
<location>Decks/Test</location>
<date>Mon Oct 19 18:53:05 CEST 2015</date>
</mcp>

or should I write something like

<mcp>
<card>
<id>2000</id>
<name>EMRAKUL_THE_PROMISED_END_199414295</name>
<edition>Magic 2015 Core Set</edition>
</card>
<count>4</count>
<location>Decks/Test</location>
<date>Mon Oct 19 18:53:05 CEST 2015</date>
</mcp>
Nick26
 
Posts: 60
Joined: 23 Mar 2015, 16:40
Has thanked: 14 times
Been thanked: 0 time

Re: Duels - Profile Editing

Postby spirolone » 27 Oct 2016, 23:28

Note that "id" tag in xml files created by Magic Assistant is not related to id of card in game! My code doesn't read it at all and you'll obtain same result with this:
Code: Select all
<card>
<name>Accursed Spirit</name>
</card>
<count>4</count>
However I just wrote a new code to import a deck from a text file like this:
Code: Select all
Card: 68 x2
Card: 411 x3
Card: 124 x1
...
Card: 106 x1
Card: 319 x1
Card: 62 x1
Card: 85 x3
Card: 368 x1
Plains: 23
Islands: 0
Swamps: 0
Mountains: 0
Forests: 0
Wastes: 0
Default name for profile is "1.profile", for text file "Deck.txt" and default position is 0, but you can change them; eg: ImportDeck.jar 567890.profile MyTestDeck.txt 8

EDIT: I reuploaded file cause it was bugged...
Attachments
ImportDeck.zip
(6.83 KiB) Downloaded 25 times
Last edited by spirolone on 04 Nov 2016, 01:24, edited 1 time in total.
spirolone
Programmer
 
Posts: 183
Joined: 31 Aug 2014, 23:14
Has thanked: 7 times
Been thanked: 106 times

Re: Duels - Profile Editing

Postby Nick26 » 01 Nov 2016, 16:52

That's amazing, thank you! I tried to import a deck but I can't manage to make it work, the deck only has the basic lands. I tried with both original cards and modded cards but nothing happened :(
Nick26
 
Posts: 60
Joined: 23 Mar 2015, 16:40
Has thanked: 14 times
Been thanked: 0 time

Re: Duels - Profile Editing

Postby spirolone » 02 Nov 2016, 01:07

Nick26 wrote:That's amazing, thank you! I tried to import a deck but I can't manage to make it work, the deck only has the basic lands. I tried with both original cards and modded cards but nothing happened :(
Likely it's a bug in my code: may you upload your txt file?
spirolone
Programmer
 
Posts: 183
Joined: 31 Aug 2014, 23:14
Has thanked: 7 times
Been thanked: 106 times

Re: Duels - Profile Editing

Postby Nick26 » 02 Nov 2016, 06:30

Sure, here is it!
Attachments
deck.txt
(220 Bytes) Downloaded 24 times
Nick26
 
Posts: 60
Joined: 23 Mar 2015, 16:40
Has thanked: 14 times
Been thanked: 0 time

Re: Duels - Profile Editing

Postby spirolone » 02 Nov 2016, 11:58

Nick26 wrote:Sure, here is it!
It seems to work to me... May you upload your CardPool lol file and modded zed, please? Did you say you wasn't able to import your deck neither using standard cards ids? May you upload that txt file too?
spirolone
Programmer
 
Posts: 183
Joined: 31 Aug 2014, 23:14
Has thanked: 7 times
Been thanked: 106 times

Re: Duels - Profile Editing

Postby logoliv » 03 Nov 2016, 14:26

Why does the game reset your profile when you change the profile number in the save folder ? Does the profile file itself contain this number or else how does the game know that you haven't pass the tutorial for example ?
User avatar
logoliv
 
Posts: 130
Joined: 26 Jul 2010, 11:15
Has thanked: 4 times
Been thanked: 1 time

Re: Duels - Profile Editing

Postby spirolone » 03 Nov 2016, 16:12

logoliv wrote:Why does the game reset your profile when you change the profile number in the save folder ? Does the profile file itself contain this number or else how does the game know that you haven't pass the tutorial for example ?
Yes, in first two bytes of profile file there are (encrypted) last four hex numbers of your ID. And there are stored info about missions passed, obviously...
spirolone
Programmer
 
Posts: 183
Joined: 31 Aug 2014, 23:14
Has thanked: 7 times
Been thanked: 106 times

Re: Duels - Profile Editing

Postby logoliv » 03 Nov 2016, 20:14

exactly the info I needed, thanks
User avatar
logoliv
 
Posts: 130
Joined: 26 Jul 2010, 11:15
Has thanked: 4 times
Been thanked: 1 time

Re: Duels - Profile Editing

Postby Nick26 » 03 Nov 2016, 21:09

spirolone wrote:It seems to work to me... May you upload your CardPool lol file and modded zed, please? Did you say you wasn't able to import your deck neither using standard cards ids? May you upload that txt file too?
Really? I did so many tries but nothing, I only have basic lands in my imported deck :(
Another weird thing is that whenever I try to use the command java -jar importdeck.jar <profile name>.profile <deck name>.txt <position of the deck> I always get an error. Am I doing something wrong?
Here is a file with: original profile, modded profile, the (last version of the) deck I was trying to import, cardpool and data_005_bis.zed.
Attachments
mtg.zip
(7.21 MiB) Downloaded 30 times
Nick26
 
Posts: 60
Joined: 23 Mar 2015, 16:40
Has thanked: 14 times
Been thanked: 0 time

PreviousNext

Return to Utilities

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 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 2 guests

Login Form