Xbmc skin editor

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
tiben20 Offline
Team-XBMC Developer
Posts: 995
Joined: Jun 2008
Reputation: 16
Post: #71
Nice with some testing i discovered it is possible to render a simple direct3d animation into any window you created. Even a docked dialog in notepad++. I just need some more work and the texture rendering from textures.xbt will work
with this i will also be able to apply diffuse in the previewer

Update:
I did it it is rendering as expected i will do the texture unpacked now
(This post was last modified: 2012-08-06 22:43 by tiben20.)
find
Sranshaft Online
Posting Freak
Posts: 1,335
Joined: Dec 2008
Reputation: 19
Location: Melbourne, Australia
Post: #72
That's awesome news mate! Thanks for all your hard work. This should make things so much easier. Smile +10 internets for you as promised and a beer if you're ever in the Melbourne, Australia area.

[Image: all-thin-fanart.jpg]
find
tiben20 Offline
Team-XBMC Developer
Posts: 995
Joined: Jun 2008
Reputation: 16
Post: #73
i am from quebec,canada on the other side of the world entirelyTongue

New compiled version from rev 35.
http://code.google.com/p/xbmc-skin-edito...akechanges
This version has a xbt extractor included in it.
I forgot to fix a small bug you need to open the dialog xbmc image previewer to be able to use the extractor. I added the Extract xbt command into the dialog Xbmc Tester right under where i had the test window command
I used an uncommon way to extract the files. The texture is loaded into a direct3d texture and then they are saved from the texture into a png file.
The good thing is it keep the transparency and the extraction process is fast. On my test i used aeon nox which as around 3972 file in the xbt file. It took around 35 sec to extract the entire xbt.
The files are not overwritten

Dont worry if you see command prompt window while your extracting its only the folder creator i used. The first function i had to make the folder didn't work when it had to create 2 folder like c:\extraction\icons\flags if icons didnt exist it couldn't create the falgs directory. I will change that in the future but it was a fast solution to use mkdir from the command prompt.
The process has no loading dialog notepad will lock until its done, don't try to move the window because the direct3d device will crash and the extraction process might not complete.

Also at the same time i changed the way the image previewer was showing the image. It is also using direct3d to render the texture like xbmc does.

Just added a loading dialog while extracting its going to be in the next compiled version it is already commited in svn.
If anyone tried to compile the plugin and failed while doing so. Report the problem i will try to fix it.
(This post was last modified: 2012-08-07 20:09 by tiben20.)
find
tiben20 Offline
Team-XBMC Developer
Posts: 995
Joined: Jun 2008
Reputation: 16
Post: #74
Move every discution regarding the notepad++ plugin to this thread http://forum.xbmc.org/showthread.php?tid=137855
find
Thread Closed