Page 1 of 1

Legendary

PostPosted: 06 Sep 2012, 13:45
by mdekock
I was trying to find out how to create my own deck and I think it worked..
It's a blue and white deck with (maybe too much) big creatures (also Eldrazi).
Just for fun!! If you don't like it, don't use it!! :)
I think it uses a lot of the cards other people have posted here.
I'd like to thank all of you for posting and explaining how to...

I've tried to update the file so that there is a little bit more AI personality...

Re: Legendary

PostPosted: 06 Sep 2012, 14:04
by RiiakShiNal
From a quick look through the deck it looks like the AI Personality is missing some graphics and a name.
  • PLAYER_NAME_LEGENDARY is not defined.
  • PW_Legendary.tdx does not exist.
  • PW_Legendary_Locked.tdx does not exist.

I'm not sure if id 17 is used for anything else, but it may be better to make the land pool's id something more closely related to the deck (like you did with the unlock file).

The unlock file (and directory) should not be necessary since you didn't include any unlocks.

Re: Legendary

PostPosted: 14 Oct 2012, 17:56
by AlexSanchez
I have played against the deck and indeed there is no player name nor image..how can it be fixed? I would like to try to define it and make a tdx image...

Re: Legendary

PostPosted: 14 Oct 2012, 21:27
by RiiakShiNal
AlexSanchez wrote:I have played against the deck and indeed there is no player name nor image..how can it be fixed? I would like to try to define it and make a tdx image...
For the name it is simply adding the entry to an XML file in TEXT_PERMANENT (easiest to start with an existing XML rather than create a new one, but either can be done). For example adding:
Code: Select all
   <Row>
    <Cell><Data ss:Type="String">PLAYER_NAME_LEGENDARY</Data></Cell>
    <Cell ss:Index="3"><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell ss:Index="9"><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
   </Row>
The first cell defines the string definition (name to refer to the string) and each subsequent cell defines the string for a particular language in this order:
  • English
  • French
  • Spanish
  • German
  • Italian
  • Japanese
  • Korean
  • Russian
  • Portuguese (Brazil)

To make the image(s) you can start with a template (I've uploaded a couple here) and either make a picture from scratch using your favorite image editor or find a graphic you want to use putting the picture into the template, save the image as either a PNG or JPG and drop it onto Gibbed.Duels.TdxConvert.exe (one of the gibbed tools) to get the TDX.

Re: Legendary

PostPosted: 15 Oct 2012, 21:50
by AlexSanchez
I have tried to add the entry to the xml file, adding it in the end of the text but nothing changes, it still says PLAYER NAME LEGENDARY and not LEGENDARY. I dont know how to use the entry.

Another problem is that I also dont know how to open the templates and save the images with that format into TDX and all the stuff..

Re: Legendary

PostPosted: 15 Oct 2012, 23:36
by RiiakShiNal
AlexSanchez wrote:I have tried to add the entry to the xml file, adding it in the end of the text but nothing changes, it still says PLAYER NAME LEGENDARY and not LEGENDARY. I dont know how to use the entry.
You don't add it at the end it has to be added intelligently as at the end of the file you have "</Table></Worksheet></Workbook>" it actually needs to be added before the "</Table>".

Example File:
Code: Select all
<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:o="urn:schemas-microsoft-com:office:office"
 xmlns:x="urn:schemas-microsoft-com:office:excel"
 xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:html="http://www.w3.org/TR/REC-html40">
 <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
  <Author>Riiak Shi Nal</Author>
  <LastAuthor>Riiak Shi Nal</LastAuthor>
  <Created>1980-05-23T00:00:00Z</Created>
  <Company>Microsoft Corporation</Company>
  <Version>14.00</Version>
 </DocumentProperties>
 <Worksheet ss:Name="Sheet4">
  <Table ss:ExpandedColumnCount="12" ss:ExpandedRowCount="25" x:FullColumns="1"
   x:FullRows="1" ss:DefaultRowHeight="15">
   <Row>
    <Cell><Data ss:Type="String">Ident</Data></Cell>
    <Cell><Data ss:Type="String">Comment</Data></Cell>
    <Cell><Data ss:Type="String">Master Text</Data></Cell>
    <Cell><Data ss:Type="String">French</Data></Cell>
    <Cell><Data ss:Type="String">Spanish</Data></Cell>
    <Cell><Data ss:Type="String">German</Data></Cell>
    <Cell><Data ss:Type="String">Italian</Data></Cell>
    <Cell ss:Index="9"><Data ss:Type="String">Japanese</Data></Cell>
    <Cell><Data ss:Type="String">Korean</Data></Cell>
    <Cell><Data ss:Type="String">Russian</Data></Cell>
    <Cell><Data ss:Type="String">Portuguese (Brazil)</Data></Cell>
   </Row>
   <Row>
    <Cell><Data ss:Type="String">PLAYER_NAME_LEGENDARY</Data></Cell>
    <Cell ss:Index="3"><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell ss:Index="9"><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
    <Cell><Data ss:Type="String">Legendary</Data></Cell>
   </Row>
  </Table>
 </Worksheet>
</Workbook>
Note that you could also open the file with Excel and add the data that way if it is more comfortable for you.

AlexSanchez wrote:Another problem is that I also dont know how to open the templates and save the images with that format into TDX and all the stuff..
The templates I provided are saved as Photoshop files (*.PSD) and must be opened by an image editor that supports that format. I'm not going to go into how to use any image editors as there are a ton out there including Photoshop, Paint Shop Pro, Gimp, Paint.NET, and many others. When you are happy with how the image looks in your chosen editor you need to do a "Save As" and save it to PNG (Portable Network Graphics) or JPG. Once you have a PNG or JPG then in explorer drag and drop it on Gibbed.Duels.TdxConvert.exe and it will create a new file with the same name as the image you saved except with an extension of .TDX which you can then rename to PW_Legendary.tdx and/or PW_Legendary_Locked.tdx. Move the TDX to the correct directory and that should be it.

Re: Legendary

PostPosted: 27 Dec 2012, 22:40
by Berserker
Hi guys can someone fix this deck, because when i open the game, win or lose a duel a window opens up and the system says the deck is reset to its original state and it is not available. I can play with the deck normally but this message is coming again and again???

Re: Legendary

PostPosted: 27 Dec 2012, 23:09
by RiiakShiNal
From a cursory glance it looks like it is giving that message because he reused the uid from the deck for the land pool as well. It should be an easy fix, but I don't really have much time at the moment so I'll look at it in more detail later.

Re: Legendary

PostPosted: 28 Dec 2012, 00:27
by Berserker
Ohh ok thanks riiak, it would be very nice when you fix that ;)

Re: Legendary

PostPosted: 28 Dec 2012, 02:15
by RiiakShiNal
Okay, I looked at it in more detail and just like my initial thoughts it was from the reuse of the uid in both the deck and land pool that was causing the issue. So I have changed the uid for the land pool from 9090 to 909001 (trying to keep to a similar convention to what he used on the unlock file that he didn't use).

I also saw that he put the two wurm tokens in the deck directly (the wurm tokens are created by Wurmcoil Engine) which you can't do according to magic rules so I removed the tokens and reordered the cards after them to keep them in continuous order.

Deck_9090_MKK-Fixed.7z - 17.8 MB

The deck is most definitely not set up like I would set it up, but I've left the setup alone since it isn't my mod.

Re: Legendary

PostPosted: 28 Dec 2012, 15:11
by Berserker
That was fast, thanks riiak ;)