Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk
Customizing DotP2013 for iPad
Moderator: CCGHQ Admins
Customizing DotP2013 for iPad
by --Dream-- » 28 Jul 2012, 12:18
Hey everyone!
I'm trying to use custom decks with the iPad version of DotP2013 so let me start by asking if anyones already managed to make it work
Here's what I have so far.
1) Like with every other version, the decks are stored in .wad files. After unpacking the iPad wad files with Gibbed.Duels.Unpack, it seems they're pretty much identical to the pc version ones, but they have an additional field called DATA_IPAD, which is used for some additional fx.
2) I need to disable the WAD signature check and, hopefully, the custom decks will work. However, I have no idea how to do this. There's an executable file called Magic2013 and a LUBE folder containing .LOL files. Editing the lol files is probably not an option so I must work with the executable. Maybe I need to patch some memory address like Rick did?
I hope it's not impossible and any help is appreciated!
I'm trying to use custom decks with the iPad version of DotP2013 so let me start by asking if anyones already managed to make it work
Here's what I have so far.
1) Like with every other version, the decks are stored in .wad files. After unpacking the iPad wad files with Gibbed.Duels.Unpack, it seems they're pretty much identical to the pc version ones, but they have an additional field called DATA_IPAD, which is used for some additional fx.
2) I need to disable the WAD signature check and, hopefully, the custom decks will work. However, I have no idea how to do this. There's an executable file called Magic2013 and a LUBE folder containing .LOL files. Editing the lol files is probably not an option so I must work with the executable. Maybe I need to patch some memory address like Rick did?
I hope it's not impossible and any help is appreciated!
Re: Customizing DotP2013 for iPad
by thefiremind » 28 Jul 2012, 13:04
That's probably what should be done. You could try to send a PM to Rick and ask if he can work something out, but the platform could be a problem: maybe he doesn't have an iPad, maybe he needs software (hex editor, compiler, etc.) that aren't available for iPad. I know very little about iPad, so I'm just guessing.--Dream-- wrote:Maybe I need to patch some memory address like Rick did?
< DotP2013 (and formerly 2012) modder >
WADs unrecognized by the game? Look here.
Need a basic modding tutorial? Try this.
Want to start coding cards? Try my web generator.
WADs unrecognized by the game? Look here.
Need a basic modding tutorial? Try this.
Want to start coding cards? Try my web generator.
-

thefiremind - Programmer
- Posts: 1630
- Joined: 07 Nov 2011, 10:55
- Has thanked: 60 times
- Been thanked: 358 times
Re: Customizing DotP2013 for iPad
by --Dream-- » 28 Jul 2012, 14:22
Well the executable can be opened in any hex editor. Im looking at it at the moment but have no idea what to search for 
Ill pm Rick, thanks.
Ill pm Rick, thanks.
Re: Customizing DotP2013 for iPad
by Vavali » 28 Jul 2012, 18:17
Definitely looking for this as well. Dream, how did you manage to look at the files of the iPad game? Did you hex edit the actual app in Windows or did you do something else?
Re: Customizing DotP2013 for iPad
by --Dream-- » 28 Jul 2012, 20:00
I used DiskAid 5 to transfer the game files from the iPad to my PC. You can also use OpenSSH (available through cydia). All the files of your installed applications are located in /var/mobile/Applications/
I managed to remove the exec's encryption using clutch. Now I have a cracked app and Im trying to find whatever function does the wad verification thing.
I managed to remove the exec's encryption using clutch. Now I have a cracked app and Im trying to find whatever function does the wad verification thing.
Re: Customizing DotP2013 for iPad
by Emashzed » 29 Jul 2012, 18:43
Well, as a matter of fact, the iPAD version of DOTP2013 has not WAD checking of any sort.
You can decompile/modify any WAD you retrieve and it will work just fine
The only thing is that the TDX use a different texture format than the PC version.
On IPAD, TDXs are PVR texture files with a custom 16 bytes header (same header as PC version).
PVRTexTool ( http://www.imgtec.com/powervr/insider/p ... extool.asp ) can be used to generate the proper PVR files, then it's a bit of hexediting and you're good to go.
In any case, no need to hack any file at all
I have ported most of the DLCs from this forum on my iPad version and did a few custom decks, so I can guarantee this works (about 30 decks on my iPad atm).
I use a couple very crude .bat files and homemade programs/hexeditors to get the job done... If I can find some more time to make more "clean" tools I'll share them; I just didn't bother because noone here was talking about the iPad version till now
You can decompile/modify any WAD you retrieve and it will work just fine
The only thing is that the TDX use a different texture format than the PC version.
On IPAD, TDXs are PVR texture files with a custom 16 bytes header (same header as PC version).
PVRTexTool ( http://www.imgtec.com/powervr/insider/p ... extool.asp ) can be used to generate the proper PVR files, then it's a bit of hexediting and you're good to go.
In any case, no need to hack any file at all
I have ported most of the DLCs from this forum on my iPad version and did a few custom decks, so I can guarantee this works (about 30 decks on my iPad atm).
I use a couple very crude .bat files and homemade programs/hexeditors to get the job done... If I can find some more time to make more "clean" tools I'll share them; I just didn't bother because noone here was talking about the iPad version till now
Re: Customizing DotP2013 for iPad
by --Dream-- » 30 Jul 2012, 09:15
Holly shmokes! Can you send me those files or instructions on how to do it?
Re: Customizing DotP2013 for iPad
by Vavali » 01 Aug 2012, 02:46
This is actually quite an incredible find Emashzed. Do the custom decks work in multiplayer by chance?
I'd also like instructions on exactly what to do. If it's easy enough, I'm sure a lot of the DLC's can be put to use for iPad right away. I know I'll especially do all of Kev's and thefiremind's decks.
Also, does the Planar custom deck work as well? Do you need Rick's dll or whatever? I hope this gets more attention soon. Thanks!
I'd also like instructions on exactly what to do. If it's easy enough, I'm sure a lot of the DLC's can be put to use for iPad right away. I know I'll especially do all of Kev's and thefiremind's decks.
Also, does the Planar custom deck work as well? Do you need Rick's dll or whatever? I hope this gets more attention soon. Thanks!
Re: Customizing DotP2013 for iPad
by --Dream-- » 01 Aug 2012, 13:11
I can confirm this works. I made a few decks using the cards that are already available in the game and it works fine. Playing online with custom decks requires both players to have the custom WAD files. It's a real shame, considering the DotP2013 iPad app has almost 1 million dowloads and it's pretty easy to find someone to play online with.
I'm waiting for Emashzed to send me his .bat files so I can convert the texture files to the proper iPad format.
I'm waiting for Emashzed to send me his .bat files so I can convert the texture files to the proper iPad format.
Re: Customizing DotP2013 for iPad
by Vavali » 02 Aug 2012, 00:59
Can you explain what you did? Also, are you able to retrieve cards that are part of the challenges that are normally not in the campaigns themselves?--Dream-- wrote:I can confirm this works. I made a few decks using the cards that are already available in the game and it works fine. Playing online with custom decks requires both players to have the custom WAD files. It's a real shame, considering the DotP2013 iPad app has almost 1 million dowloads and it's pretty easy to find someone to play online with.
I'm waiting for Emashzed to send me his .bat files so I can convert the texture files to the proper iPad format.
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest


