Release Skin XML Converter + Formatter - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300) +---- Thread: Release Skin XML Converter + Formatter (/showthread.php?tid=132720) |
RE: [RELEASE] Skin XML Converter + Formatter - Hitcher - 2014-05-24 I would if I knew how. Thanks anyway. RE: [RELEASE] Skin XML Converter + Formatter - Bumpaneer - 2014-05-26 I probably duplicated some of the work BigNoid had already done, but here's what I got: https://dl.dropboxusercontent.com/u/16810025/XBMC%20Skinning%20Tool%20v1.2.exe Changes:
I've posted my changes through my fork of phil's repo which can be found here: https://github.com/bumpaneer/xmlconvertgui RE: [RELEASE] Skin XML Converter + Formatter - Jeroen - 2014-05-26 Good to see this getting updated! I keep a Windows VM on my system just for this Thanks Bumpaneer! RE: [RELEASE] Skin XML Converter + Formatter - Bumpaneer - 2014-05-26 (2014-05-22, 17:05)Hitcher Wrote: Couple of bugs when converting from 720 > 1080. 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. RE: [RELEASE] Skin XML Converter + Formatter - Hitcher - 2014-05-26 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"> 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"> 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"> 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. RE: [RELEASE] Skin XML Converter + Formatter - Hitcher - 2014-05-26 Just realised that the check for variables throws up valid ones if they use underscore. RE: [RELEASE] Skin XML Converter + Formatter - Bumpaneer - 2014-05-26 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. RE: [RELEASE] Skin XML Converter + Formatter - Bumpaneer - 2014-05-26 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. RE: [RELEASE] Skin XML Converter + Formatter - Hitcher - 2014-05-26 Much appreciated, I'll try and look tomorrow but I've got Watch_Dogs coming sometime. RE: [RELEASE] Skin XML Converter + Formatter - Bumpaneer - 2014-05-30 Some small updates: https://dl.dropboxusercontent.com/u/16810025/XBMC%20Skinning%20Tool%20v1.2.1.exe
RE: [RELEASE] Skin XML Converter + Formatter - Hitcher - 2014-05-30 Thanks. RE: [RELEASE] Skin XML Converter + Formatter - Jeroen - 2014-06-04 (2014-05-30, 14:13)Bumpaneer Wrote: Some small updates: Thanks, It appears I had a lot of BOM's to remove... RE: [RELEASE] Skin XML Converter + Formatter - Bumpaneer - 2014-06-04 Yeah, always fun when you try to get it added to the repository and get a list of things to fix back. Trying to add some of those checks up front for skin authors. RE: [RELEASE] Skin XML Converter + Formatter - Jeroen - 2014-06-04 Nothing submitted (yet), just being a good boy and reading the wiki If anyone else is looking for a way to batch remove them, I used this little tool: http://www.mannaz.at/codebase/utf-byte-order-mark-bom-remover/ RE: [RELEASE] Skin XML Converter + Formatter - Jeroen - 2014-06-04 I'm getting Quote:Undefined Vars: 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) |