Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Utilities
Duels - Profile Editing
Moderator: CCGHQ Admins
Re: Duels - Profile Editing
by break » 08 Jun 2016, 17:28
Awesome, thanks for the foil help ^_^"spirolone wrote: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.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 ^_^ !!
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)
Re: Duels - Profile Editing
by Nick26 » 25 Oct 2016, 16:40
Hi,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.
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?
Re: Duels - Profile Editing
by Xander9009 » 25 Oct 2016, 20:35
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Duels - Profile Editing
by 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?
Re: Duels - Profile Editing
by spirolone » 27 Oct 2016, 04:14
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...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?
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 382 times
- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Re: Duels - Profile Editing
by Nick26 » 27 Oct 2016, 05:34
That's perfectly fine, thanks! 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?spirolone wrote: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...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?
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...
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>
Re: Duels - Profile Editing
by 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:
EDIT: I reuploaded file cause it was bugged...
- Code: Select all
<card>
<name>Accursed Spirit</name>
</card>
<count>4</count>
- 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
EDIT: I reuploaded file cause it was bugged...
- Attachments
-
- ImportDeck.zip
- (6.83 KiB) Downloaded 381 times
Last edited by spirolone on 04 Nov 2016, 01:24, edited 1 time in total.
- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Re: Duels - Profile Editing
by 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
Re: Duels - Profile Editing
by spirolone » 02 Nov 2016, 01:07
Likely it's a bug in my code: may you upload your txt file?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
- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Re: Duels - Profile Editing
by Nick26 » 02 Nov 2016, 06:30
Sure, here is it!
- Attachments
-
- deck.txt
- (220 Bytes) Downloaded 397 times
Re: Duels - Profile Editing
by spirolone » 02 Nov 2016, 11:58
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?Nick26 wrote:Sure, here is it!
- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Re: Duels - Profile Editing
by 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 ?
Re: Duels - Profile Editing
by spirolone » 03 Nov 2016, 16:12
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...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 ?
- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Re: Duels - Profile Editing
by Nick26 » 03 Nov 2016, 21:09
Really? I did so many tries but nothing, I only have basic lands in my imported deckspirolone 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?
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 424 times
49 posts
• Page 3 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 1 guest