• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 13
Release Skin XML Converter + Formatter
#76
I would if I knew how. Wink

Thanks anyway.
Reply
#77
I probably duplicated some of the work BigNoid had already done, but here's what I got:
https://dl.dropboxusercontent.com/u/1681...20v1.2.exe

Changes:
  • XML files are now pulled in recursively (would miss any subfolders previously)
  • New folder select dialog (to match a typical windows file dialog)
  • Gotham positioning labels (also done by BigNoid)
  • Colordiffuse for textures

I've posted my changes through my fork of phil's repo which can be found here:
https://github.com/bumpaneer/xmlconvertgui
Reply
#78
Good to see this getting updated! I keep a Windows VM on my system just for this Wink

Thanks Bumpaneer!
Reply
#79
(2014-05-22, 17:05)Hitcher Wrote: Couple of bugs when converting from 720 > 1080.
  • Zoom animation values get converted when using two values (horizontal size,vertical size) even though they should stay the same.
  • Slide animation end values get converted by 2.25 instead of 1.25.

Thanks.

Can you give me an example xml input, the output that currently comes from the tool, and what the output should look like? I am by no means a visual basic expert, but I'd be willing to take a stab at it.
Reply
#80
Zoom animation with vertical and horizontal sizes that are percentages and shouldn't be converted whereas the center values should be -

PHP Code:
<animation type="Visible">
    <
effect type="zoom" time="200" center="100,200" start="50,60" end="100,120" />
</
animation

PHP Code:
<animation effect="zoom" time="200" center="100,200" start="50,60" end="100,120" />Visible</animation

Zoom animations can also have positions and percentages in the start and end values (ie "left,top,width,height") in which case the first two values should be converted (left,top) and the second 2 shouldn't (width, height) -

PHP Code:
<animation type="Visible">
    <
effect type="zoom" time="200" center="100,200" start="10,20,50,60" end="20,40,100,120" />
</
animation

PHP Code:
<animation effect="zoom" time="200" center="100,200" start="10,20,50,60" end="20,40,100,120" />Visible</animation

Slide animation start and end positions should be multiplied by 1.5 when converted 720>1080 -

PHP Code:
<animation type="Visible">
    <
effect type="slide" time="200"  start="10,20" end="20,40" />
</
animation

PHP Code:
<animation effect="slide" time="200" start="10,20" end="20,40" />Visible</animation

Note: I haven't checked when converting 1080>720 but I can't see many people using that to be honest.

Many thanks.
Reply
#81
Just realised that the check for variables throws up valid ones if they use underscore.
Reply
#82
The variable with underscore check was an easy fix, the link in my post above has been updated with the fixed executable. I'll take a look at the animation stuff this evening.
Reply
#83
I believe I got the animation conversions fixed as well (thanks for the detailed explanation of how it should work Hitcher!). If someone could give it a shot and let me know if there is still any craziness with the conversions, that would be great. The link in my earlier post points to the updated executable.
Reply
#84
Much appreciated, I'll try and look tomorrow but I've got Watch_Dogs coming sometime. Wink
Reply
#85
Some small updates:
https://dl.dropboxusercontent.com/u/1681...v1.2.1.exe
  • Progress bar added while processing files
  • Animation conversions between resolutions should be correct
  • BOM detection added for xml files
Reply
#86
Thanks.
Reply
#87
(2014-05-30, 14:13)Bumpaneer Wrote: Some small updates:
https://dl.dropboxusercontent.com/u/1681...v1.2.1.exe
  • Progress bar added while processing files
  • Animation conversions between resolutions should be correct
  • BOM detection added for xml files

Thanks, It appears I had a lot of BOM's to remove...
Reply
#88
Yeah, always fun when you try to get it added to the repository and get a list of things to fix back. Smile Trying to add some of those checks up front for skin authors.
Reply
#89
Nothing submitted (yet), just being a good boy and reading the wiki Tongue Wink

If anyone else is looking for a way to batch remove them, I used this little tool: http://www.mannaz.at/codebase/utf-byte-o...m-remover/
Reply
#90
I'm getting

Quote:Undefined Vars:
window_Title

in my log. I only have a buch of vars named

window_Title.Video
window_Title.Music
window_Title.Pictures
...etc

So I guess it sees the period as end of the var?

It's also mentioning those vars (using the complete names) as unused.

edit: oh and my OCD is forcing me to mention there's a typo on the Texturepacker button (TexutePacker)
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 13

Logout Mark Read Team Forum Stats Members Help
Skin XML Converter + Formatter3