[WIP] XBMC4XBOX Skin Porting Tool

Discussion and development of skins for XBMC4XBOX
Post Reply
tim619
Posts: 204
Joined: Sun Mar 10, 2013 10:22 am
Has thanked: 25 times
Been thanked: 59 times

[WIP] XBMC4XBOX Skin Porting Tool

Post by tim619 »

Hey guys,

I've written a script in python, which ports 1080p Gotham skins to XBMC4XBOX. At least it should because some things aren't implemented yet,
but I'll implement all things I come across.

Changelog:

v0.1.1
- unicode fix
- non int value fix
- keyword fix for "-"

Here is a list about what I know is missing and will be implemented soon:

- Autocreate right folder structure and skin.xml file, remove addon.xml
- Autoresize (if needed) textures and maybe autocreate xpr
- Autodelete xml files which are for gotham version
- also change font size proper
- recognize align parameters (e.g. r,s)
- also work for not gotham skin

For now you have to delete addon.xml by yourself and create skin.xml with following content:

Code: Select all

<skin>
	<defaultresolution>720p</defaultresolution>
	<defaultresolutionwide>720p</defaultresolutionwide>
	<defaultthemename>Textures.xpr</defaultthemename>
	<version>2.11</version>
	<effectslowdown>.75</effectslowdown>
	<credits>
		<skinname>Skin Name</skinname>
		<name>Description</name>
		<name>Author</name>
	</credits>
</skin>
and the folder name of xml files should be named "720p" similar like in the following picture:
Image

Easily place the py file and skin folder in same folder eg. both on desktop than change the name of skin in py file. Now run via "python.exe Path\to\file.py"

Here is an example of script result ;)
Attachments
skin4xbox.zip
skin4xbox v0.1.1
(1.55 KiB) Downloaded 200 times
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: [WIP] XBMC4XBOX Skin Porting Tool

Post by NOTTHESAME »

Im sorry but i cant get this to work i tired a skin but not luck
tim619
Posts: 204
Joined: Sun Mar 10, 2013 10:22 am
Has thanked: 25 times
Been thanked: 59 times

Re: [WIP] XBMC4XBOX Skin Porting Tool

Post by tim619 »

Can you please tell me what is not working for you and which skin did you use?
whufclee
Posts: 922
Joined: Tue Jul 17, 2012 5:42 pm
Location: Essex, UK
Has thanked: 18 times
Been thanked: 109 times
Contact:

Re: [WIP] XBMC4XBOX Skin Porting Tool

Post by whufclee »

This sounds very cool, watching with interest :)
tim619
Posts: 204
Joined: Sun Mar 10, 2013 10:22 am
Has thanked: 25 times
Been thanked: 59 times

Re: [WIP] XBMC4XBOX Skin Porting Tool

Post by tim619 »

Thx mate, I would like to improve this very much. unfortunaly I dont know which things unless what I mentioned have to be implemented and their algorithms :cry:
If someone knows things that aren't already on the list pls post :geek:
sealeysonic
Posts: 159
Joined: Fri Jul 06, 2012 10:46 pm
Has thanked: 1 time
Been thanked: 10 times

Re: [WIP] XBMC4XBOX Skin Porting Tool

Post by sealeysonic »

Great work....!! keep us posted :D
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: [WIP] XBMC4XBOX Skin Porting Tool

Post by skatulskijean »

hi tim!

zum downgraden eines Skins von 1080p to 720p gibt es eine bessere Solution als deinen Python script!
Mir geht es vor allen Dingen darum das, das gegebene Programm dann den Skin xbox komptibel macht .
Es ist ja schließlich einiges unterschiedlch von main xbmc zu xbmc4xbox.

to downgrad a Skin from 1080 p to 720p give it better Solutions as your python script.
i want a program that make the Skin compatible then it give many different from main xbmc to xbmc4xbox.

Gruß Jan
tim619
Posts: 204
Joined: Sun Mar 10, 2013 10:22 am
Has thanked: 25 times
Been thanked: 59 times

Re: [WIP] XBMC4XBOX Skin Porting Tool

Post by tim619 »

Hey Jan,

Which Script do you mean does already what i implemented?
If you know the algorithms to make a mainline skin xbox compatible i would like to implement it aswell

Greets
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: [WIP] XBMC4XBOX Skin Porting Tool

Post by skatulskijean »

tim619 wrote:Hey Jan,

Which Script do you mean does already what i implemented?
If you know the algorithms to make a mainline skin xbox compatible i would like to implement it aswell

Greets
For Downgrading Skins is xbmcconvertgui nice you can it search on the xbmc.org forum.
Minimal Installation solution is Win XP service Pack 3 to test the skin or work on the skin use the win 32 Xbmc4xbox Build .
You find the Downloads for the xbmc4xbox Builds on the development sektion.

Yes this do not macking a skin xbmc4xbox compatible but it help a lot when you Downgrad a skin from 1080 p to 720p.

So we want on the xbox a python script what look for what Version from main -xbmc the skin is.
I mean frodo , Gotham but i think frodo is the beta option to make a skin compatible.
And create a mainly xbox compatible skin!


Regards Jan
Post Reply