Kodi Community Forum
Release [Windows] Kodi - Texture Tool (.xbt) - 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 [Windows] Kodi - Texture Tool (.xbt) (/showthread.php?tid=201883)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


RE: [Windows] Kodi - Texture Tool (.xbt) - ronie - 2019-01-27

since way too many users are having issues with this tool, and it is obviously not being maintained anymore, i'll mark this thread as broken.

now for the good news, you don't need this tool at all!
the images for pretty much every skin can be downloaded from their github repo.

HOWTO

1) open the addon.xml file of the skin you're interested in and you should see a line like this:
<source>https://github.com/Tgxcorporation/skin.chroma</source>

2) go to that web address, select the branch that matches your kodi version and hit the download button
Image



you'll now have a copy of the skin with all the images unpacked!


RE: [Windows] Kodi - Texture Tool (.xbt) - the_bo - 2019-01-30

(2019-01-27, 19:14)ronie Wrote: since way too many users are having issues with this tool, and it is obviously not being maintained anymore, i'll mark this thread as broken.

now for the good news, you don't need this tool at all!
the images for pretty much every skin can be downloaded from their github repo.

HOWTO

1) open the addon.xml file of the skin you're interested in and you should see a line like this:
<source>https://github.com/Tgxcorporation/skin.chroma</source>

2) go to that web address, select the branch that matches your kodi version and hit the download button
Image



you'll now have a copy of the skin with all the images unpacked!

But do you need this tool if you want to repack the images into the textures.xbt file after you have unpacked and changed an image.

Or does the media folder take precedence over the textures file?

For example if I want to change an image and I add an image in the media folder with the same folder structure as in the textures.xbt file will the image be read first from the media folder or the textures file?


RE: [Windows] Kodi - Texture Tool (.xbt) - ronie - 2019-01-30

the textures file takes precedence.

if you want to create a Textures.xbt file, you can use the official tool provided by kodi:
https://kodi.wiki/view/TexturePacker


RE: [Windows] Kodi - Texture Tool (.xbt) - chrissix - 2019-02-01

(2019-01-30, 15:15)ronie Wrote: the textures file takes precedence.

if you want to create a Textures.xbt file, you can use the official tool provided by kodi:
TexturePacker(wiki)

Unpacking was never a problem with TexturTool, the only broken problem was to pack it again.

The idea of TextureTool was to have a UI, that also non-pro's can handle it.
I am only a hobby coder, but i need .xbt files a lot. But i have to admit i am a non pro without an UI, i never got TexturePacker get to work... far too complicated for a Layman.

Is there no chance that a Team-Kodi Member can recode/patch TextureTool a bit so that it will work again?


RE: [Windows] Kodi - Texture Tool (.xbt) - mardukL - 2019-02-04

(2019-02-01, 16:58)chrissix Wrote:
(2019-01-30, 15:15)ronie Wrote: the textures file takes precedence.

if you want to create a Textures.xbt file, you can use the official tool provided by kodi:
TexturePacker(wiki)

Unpacking was never a problem with TexturTool, the only broken problem was to pack it again.

The idea of TextureTool was to have a UI, that also non-pro's can handle it.
I am only a hobby coder, but i need .xbt files a lot. But i have to admit i am a non pro without an UI, i never got TexturePacker get to work... far too complicated for a Layman.

Is there no chance that a Team-Kodi Member can recode/patch TextureTool a bit so that it will work again?   
 You can use the compiled Texture Packer, and create an Batch File.
https://github.com/nottinghamcollege/kodi-texturepacker/tree/57c802ed8a6aef909ff21fcfdc7bfe0f95f32012


Batch
(https://kodi.wiki/view/TexturePacker) -> there's just a typo on the wiki (Textures.xbt)    fixed


@echo OFF

COLOR A


ECHO -------------------------------------------------------------------------
ECHO                   ** Creating Textures XBT File... **
ECHO -------------------------------------------------------------------------

ECHO.
PING -n 2 -w 1000 127.0.0.1 > NUL
START /B /WAIT TexturePacker -dupecheck -input media\ -output media\Textures.xbt
PING -n 2 -w 20000 127.0.0.1 > NUL
ECHO.

ECHO.
ECHO.

ECHO -------------------------------------------------------------------------
ECHO        ** XBT build complete - scroll up to check for errors. **
ECHO -------------------------------------------------------------------------

PING -n 50 -w 5000 127.0.0.1 > NUL

EDIT:

- download compiled executable ,depending to your os
- create .bat file (- create .txt ; rename extension txt to bat
- place executable and bat file to main folder of your whished skin
(- if you use themes , just replace textures.xbt to themename.xbt in batch file)


RE: [Windows] Kodi - Texture Tool (.xbt) - ronie - 2019-02-04

(2019-02-04, 14:26)mardukL Wrote: (https://kodi.wiki/view/TexturePacker) -> there's just a typo on the wiki (Textures.xbt)

 thx, fixed!


RE: [Windows] Kodi - Texture Tool (.xbt) - supp - 2019-02-11

I'll take a look at the issues next weekend and recompile a version with upcoming fixes aswell.


RE: [Windows] Kodi - Texture Tool (.xbt) - supp - 2019-02-12

Version 2.9.0 

- changed behavior to unpack
- downgrade to texturepacker 1.1.0
- removed patching vcredist 
- changed progressbar check
- removed update force
- updatedcheck with info hint for new updates
- small fixes / label changes

Hope this will fix the mentioned problems, in the past.
Virustotal shows some heristic behaviour, i was sending a false positive to some of them, so this should be fixxed within 24h.
If you think, its a virus, dont use it  Tongue


RE: [Windows] Kodi - Texture Tool (.xbt) - supp - 2019-02-12

(2019-01-12, 18:50)Bruce_Banner Wrote: error writing header to file.
 

can you show me the exact message box youre getting? maybe a screenshot and please submit the log Smile
v.2.9 is released now, maybe its working for you now


RE: [Windows] Kodi - Texture Tool (.xbt) - Bruce_Banner - 2019-02-12

I have not bothered to run Texture tool more. Because I had a Textures.xbt ready. But I will test the new version and see if it works
The problem was that the complie mode file could not be made  the file  was only  0kb I have now run the new version and still the file will be 0 kb
Running Windows 10 Pro


RE: [Windows] Kodi - Texture Tool (.xbt) - supp - 2019-02-12

(2019-02-12, 21:58)Bruce_Banner Wrote: I have not bothered to run Texture tool more. Because I had a Textures.xbt ready. But I will test the new version and see if it works
The problem was that the complie mode file could not be made  the file  was only  0kb I have now run the new version and still the file will be 0 kb
Running Windows 10 Pro
Seems that Texture packer is not running for you then.

https://forum.kodi.tv/showthread.php?pid=2545475#pid2545475

Please check this and try manually.
This should give an error aswell, which you can post me here.


RE: [Windows] Kodi - Texture Tool (.xbt) - chrissix - 2019-02-13

@supp 

For the last two years, I've been skinning a bit around and use/need TextureTool quite often.

Tried on different
computers
windows versions
vstudio versions

But always the same problem:

Extracting/decompile was never a problem
Compiling little .xbt file sizes was also never a problem

But most modern skins have a big huge .xbt file.
It's compiling always a 0kb file.

My frusty workaround after a lot of hours trying different fixing stuff:
I use version 2.6.5.0
I disable internet that it can't autoupdate this version
Only vstudio 2015 is installed, the only version on system.
Then on the 10th, 15th or 20th try and error (0kb xbt) it's working once.


I really hope that there is a patch/fix, more functional version.
Looking forward to that.


RE: [Windows] Kodi - Texture Tool (.xbt) - supp - 2019-02-13

(2019-02-13, 18:03)chrissix Wrote: @supp 

For the last two years, I've been skinning a bit around and use/need TextureTool quite often.

Tried on different
computers
windows versions
vstudio versions

But always the same problem:

Extracting/decompile was never a problem
Compiling little .xbt file sizes was also never a problem

But most modern skins have a big huge .xbt file.
It's compiling always a 0kb file.

My frusty workaround after a lot of hours trying different fixing stuff:
I use version 2.6.5.0
I disable internet that it can't autoupdate this version
Only vstudio 2015 is installed, the only version on system.
Then on the 10th, 15th or 20th try and error (0kb xbt) it's working once.


I really hope that there is a patch/fix, more functional version.
Looking forward to that.
Maybe that's the final hint here.
I never tried with files bigger than 5mb.

So maybe the issue just exists when you try to compile big textures.

Which textures.xbt from which skin did you try it with?


RE: [Windows] Kodi - Texture Tool (.xbt) - chrissix - 2019-02-13

(2019-02-13, 18:12)supp Wrote: Which textures.xbt from which skin did you try it with?

I dare to say that is the biggest textures.xbt available, the skin is very puffy and graphic-loving.
Aeon MQ7 Leia Mod by @latts9923 https://forum.kodi.tv/showthread.php?tid=329255&pid=2710715#pid2710715
Direct Download link to skin to get the textures.xbt: https://holybid.com/kodi/downloads/skin.aeonmq7.leia.mod-1.0.1.4.zip
Currently about 170000kb big and every update getting huger.

I have found out with the file size since I also often sometimes manipulate textures.xbt of the addon resource.images.mediaicons.coloured to keep missing movie studio icons up to date.
This file has about 98000kb (also very big) but i have less problems to compile it again.


RE: [Windows] Kodi - Texture Tool (.xbt) - supp - 2019-02-13

(2019-02-13, 18:42)chrissix Wrote:
(2019-02-13, 18:12)supp Wrote: Which textures.xbt from which skin did you try it with?

I dare to say that is the biggest textures.xbt available, the skin is very puffy and graphic-loving.
Aeon MQ7 Leia Mod by @latts9923 https://forum.kodi.tv/showthread.php?tid=329255&pid=2710715#pid2710715
Direct Download link to skin to get the textures.xbt: https://holybid.com/kodi/downloads/skin.aeonmq7.leia.mod-1.0.1.4.zip
Currently about 170000kb big and every update getting huger.

I have found out with the file size since I also often sometimes manipulate textures.xbt of the addon resource.images.mediaicons.coloured to keep missing movie studio icons up to date.
This file has about 98000kb (also very big) but i have less problems to compile it again.
Thanks.. I'll take a look as soon as i get home.
Coming back to you.


This forum uses Lukasz Tkacz MyBB addons.