Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
2015




Information pending...
Moderator: CCGHQ Admins
Re: Information pending...
by thefiremind » 07 Aug 2015, 14:54
With OllyDbg 2 I still can't make ScyllaHide work. With OllyDbg 1, I can start the game, but the debugger catches an exception almost immediately, and from that I can trace for some time, after which it gets totally stuck (again I don't know why it worked for the first couple of times). With IDA 6.1 and the IDAStealth plugin I can run the game as long as I want, but if I put a breakpoint it's very likely to crash (if we knew the exact place to put it, it wouldn't be a problem), anyway I find that debugger very confusing so even if I ran into what we search for, I would probably not know where to look at.spirolone wrote:But are you able to use breakpoints without crashes?? What do you use? Still OllyDbg v1 with HideOD plugin?
EDIT: Just in case someone is interested, here's the ALI213 Steam emulator working for Magic Duels.
[Link is dead, please go here]
I can't see any enhancement in trying to use any debugger with this one rather than the original Steam, but who knows, maybe the experience will be different for someone else. I made it so that it's easy to commute: unzip into the game directory, then run SteamSwitch.bat each time you want to switch between original Steam and emulator (the unused DLLs will be renamed with .bak extension). I also enabled "FullBlockNetwork" in the INI file, in case someone is afraid to be caught online with the emulator.
Last edited by thefiremind on 02 Nov 2016, 12:54, edited 2 times in total.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Information pending...
by spirolone » 07 Aug 2015, 16:01
I uploaded my patch to unlock all the cards ( viewtopic.php?f=99&t=17553 )! 

- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Re: Information pending...
by spirolone » 08 Aug 2015, 14:46
Some little nice news: I updated my program to create a Zed file and it works, that is we can add files to a zed archive that game reads! I successfully added some AI cards to my CardPools...
In this zip file, there is a "DATA_000" dir with an example xml file.

In this zip file, there is a "DATA_000" dir with an example xml file.
- Attachments
-
MDO_CreateZed.zip
- (129.02 KiB) Downloaded 417 times
- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Re: Information pending...
by GrovyleXShinyCelebi » 08 Aug 2015, 19:20
Did you successfully look into the game's ZED files, or did you get the file names for those cards some other way?
Also, the cards start locked. Is there a way to set the cardpool file so the cards are automatically unlocked or will we have to mod the profile?
Also, the cards start locked. Is there a way to set the cardpool file so the cards are automatically unlocked or will we have to mod the profile?
(in Duels 2014)
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
-
GrovyleXShinyCelebi - Posts: 294
- Joined: 12 Jun 2013, 18:23
- Has thanked: 14 times
- Been thanked: 37 times
Re: Information pending...
by merdok » 08 Aug 2015, 20:45
Good job. How did you manage to make the game load the new ZED? Do you somehow copied the header from the original DATA_000.ZED?spirolone wrote:Some little nice news: I updated my program to create a Zed file and it works, that is we can add files to a zed archive that game reads! I successfully added some AI cards to my CardPools...![]()
In this zip file, there is a "DATA_000" dir with an example xml file.
And i would be also interested how did you find out those cards and the file name? Just by guessing or did you decrypt the original ZED?
Re: Information pending...
by spirolone » 08 Aug 2015, 23:05
I didn't find public key, so I cannot decrypt first 256 bytes of any file. Luckly first 256 bytes of central dir have infos about FileData.xml (I think) and Header.xml; rest of central dir is encrypted with a simple xor. I attached central dir content.
To create zed file, I used same code I wrote for Magic 2015, changing Data.bin, file that contains part of original DATA_000.
I'm preparing a complete xml file with AI cards. I didn't test if old cards are compatible, still...
To create zed file, I used same code I wrote for Magic 2015, changing Data.bin, file that contains part of original DATA_000.
I'm preparing a complete xml file with AI cards. I didn't test if old cards are compatible, still...
- Attachments
-
Data_000_CentralDir.zip
- (1.41 MiB) Downloaded 365 times
- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Re: Information pending...
by GrovyleXShinyCelebi » 08 Aug 2015, 23:17
I successfully added in the cards from Magic 2015 into Origins using that ZED file creation utility. Unfortunately they're locked so I can't test them in a duel.spirolone wrote:I didn't find public key, so I cannot decrypt first 256 bytes of any file. Luckly first 256 bytes of central dir have infos about FileData.xml (I think) and Header.xml; rest of central dir is encrypted with a simple xor. I attached central dir content.
To create zed file, I used same code I wrote for Magic 2015, changing Data.bin, file that contains part of original DATA_000.
I'm preparing a complete xml file with AI cards. I didn't test if old cards are compatible, still...
http://www45.zippyshare.com/v/DhiUp4wn/file.html
The good news is that the game doesn't crash on startup anymore when you use a card ID higher than 1024; I don't know how high the new limit goes.
(in Duels 2014)
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
-
GrovyleXShinyCelebi - Posts: 294
- Joined: 12 Jun 2013, 18:23
- Has thanked: 14 times
- Been thanked: 37 times
Re: Information pending...
by spirolone » 09 Aug 2015, 03:21
Here is a jar that unlocks cards from id 500 to id 999 (set name of profile file as argoment or use 1.profile), so you can test cards in game!GrovyleXShinyCelebi wrote:I successfully added in the cards from Magic 2015 into Origins using that ZED file creation utility. Unfortunately they're locked so I can't test them in a duel.
http://www45.zippyshare.com/v/DhiUp4wn/file.html
The good news is that the game doesn't crash on startup anymore when you use a card ID higher than 1024; I don't know how high the new limit goes.

- Attachments
-
Unlock500-999.zip
- (2.3 KiB) Downloaded 352 times
- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Re: Information pending...
by GrovyleXShinyCelebi » 09 Aug 2015, 14:02
Huge thanks, spirolone! Could you also add a patch that unlock ids 1000-1499? I wanna make 100% sure it doesn't break anything.spirolone wrote:Here is a jar that unlocks cards from id 500 to id 999 (set name of profile file as argoment or use 1.profile), so you can test cards in game!GrovyleXShinyCelebi wrote:I successfully added in the cards from Magic 2015 into Origins using that ZED file creation utility. Unfortunately they're locked so I can't test them in a duel.
http://www45.zippyshare.com/v/DhiUp4wn/file.html
The good news is that the game doesn't crash on startup anymore when you use a card ID higher than 1024; I don't know how high the new limit goes.
(in Duels 2014)
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
-
GrovyleXShinyCelebi - Posts: 294
- Joined: 12 Jun 2013, 18:23
- Has thanked: 14 times
- Been thanked: 37 times
Information pending...
by Scion of Darkness » 09 Aug 2015, 20:30
Just a question here,since we have all this .zed new cards, is there a way to make the game save without being on original steam? I did try the ali file posted by firemind, but since game is offline no save progress =(
-
Scion of Darkness - Posts: 235
- Joined: 27 Aug 2012, 13:14
- Has thanked: 17 times
- Been thanked: 23 times
Re: Information pending...
by GrovyleXShinyCelebi » 10 Aug 2015, 13:40
Campaign progress won't be saved, but you can unlock all the cards with a profile patch. Skirmish decks and progress are saved offline. I'd figure it's impossible to make the game save offline without access to the source code, but profile hacks should substitute.Scion of Darkness wrote:Just a question here,since we have all this .zed new cards, is there a way to make the game save without being on original steam? I did try the ali file posted by firemind, but since game is offline no save progress =(
(in Duels 2014)
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
-
GrovyleXShinyCelebi - Posts: 294
- Joined: 12 Jun 2013, 18:23
- Has thanked: 14 times
- Been thanked: 37 times
Re: Information pending...
by Scion of Darkness » 10 Aug 2015, 19:24
can i use offline someone's save with campain completed? If thats possible can someone share =P???
-
Scion of Darkness - Posts: 235
- Joined: 27 Aug 2012, 13:14
- Has thanked: 17 times
- Been thanked: 23 times
Re: Information pending...
by spirolone » 11 Aug 2015, 07:37
I'm sorry but it's not as easy as ids below 1024 and I don't know how to do. Did you notice that, if you use an id like 1026, card is locked but "coloured"? It's strange...GrovyleXShinyCelebi wrote:Huge thanks, spirolone! Could you also add a patch that unlock ids 1000-1499? I wanna make 100% sure it doesn't break anything.
- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Re: Information pending...
by GrovyleXShinyCelebi » 11 Aug 2015, 13:57
OK, I understand. I did notice the "colored" locked cards in the card collection, thought it might be because of something like the bits after the 1024th leak off into another part of the profile data (like quests or something like that) but because the bits are nonzero the cards are locked but colored... Anyways huge thanks for trying!spirolone wrote:I'm sorry but it's not as easy as ids below 1024 and I don't know how to do. Did you notice that, if you use an id like 1026, card is locked but "coloured"? It's strange...GrovyleXShinyCelebi wrote:Huge thanks, spirolone! Could you also add a patch that unlock ids 1000-1499? I wanna make 100% sure it doesn't break anything.
(in Duels 2014)
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
Duels 2012: viewtopic.php?f=109&t=12152
Duels 2013: viewtopic.php?f=109&t=12481&p=137458#p137458
-
GrovyleXShinyCelebi - Posts: 294
- Joined: 12 Jun 2013, 18:23
- Has thanked: 14 times
- Been thanked: 37 times
Re: Information pending...
by spirolone » 11 Aug 2015, 15:00
Indeed I'll need some tests...GrovyleXShinyCelebi wrote:OK, I understand. I did notice the "colored" locked cards in the card collection, thought it might be because of something like the bits after the 1024th leak off into another part of the profile data (like quests or something like that) but because the bits are nonzero the cards are locked but colored... Anyways huge thanks for trying!

- spirolone
- Programmer
- Posts: 190
- Joined: 31 Aug 2014, 23:14
- Has thanked: 7 times
- Been thanked: 107 times
Who is online
Users browsing this forum: No registered users and 1 guest