Jump to content


Photo

NEW* Enigma2 1080 Skin Converter by KiddaC


  • Please log in to reply
15 replies to this topic

#1 pzanone

  • Senior Member
  • 224 posts

+13
Neutral

Posted 16 February 2018 - 16:11

Enigma2 1080 Skin Converter (Version 1.02)

 

H7V8ykK.png

 

Welcome to my Enigma2 skin converter.
This is my first attempt at automating the process of converting enigma2 skins between different sizes.

 

Please note, although this program attempts to automate the process as much as possible, some manually tweaks will always be needed.

Also if upsizing a skin, the graphics are naturally going to look softer and less sharp. Recreate them higher res or ask the skin author. 1f643.png

 

How to use.

 

Install a skin of your choice on your box then via ftp or samba download the skin folder to your computer.

 

Select an input folder. Select an optional output folder. Press the convert button of your choice. Note that if you select the same input and output folder this will overwrite all the files, so make sure you are working on a backup folder if this is the case.

 

You can manually select which elements you want to convert, but unless your are testing the functionality of the program, it is highly recommended to keep everything selected.

 

There is a test checkbox bottom right, that will fill all the converted values to "00000". This makes it easy to see what elements will actually be changed before you do your proper conversion.

On selecting this test option the program will display an error after the conversion as no valid skin size will be found. This is expected behaviour.

 

The program works by looking in skin.xml for the vres value to determine the size of the skin. If this cannot be found then it will ask you to manually select the size of the skin to work with. This means you can convert non standard skin folders that might not live in the same root folder. For example Vix Common folders.

On manually selecting a size, after the conversion it will again ask you to input the size. (as it reloads the skin when finished) This second message request will be the size after you converted it.

 

Finally upload the contents of your converted folder back to your box.

 

---

 

This is the first release of this program, so there may be minor bugs and the functionailty could probably be tweaked. Let me know if you find any bugs or strange behaviour.

 

For some reason this program seems to trigger Anti Virus programs. I can guarantee 100% there is no virus in it. So just click on accept program in your antivrus if it flags it up. You can test it here for peace of mind here. https://www.virustotal.com

 

Also note that this program cannot resize elements that are sized in python components or for skins that are built via plugins or scripts.

 

Enjoy.

 

Not bad for a 1 week project 1f609.png

-------------------------------------------------------------------------------

Version 1.01

Fixed center, start, end position offsets.

Fixed Clock/Record/Zap icons on EPGs.

 

Version 1.02

Added in corrupt PNG message.

Attached Files



Re: NEW* Enigma2 1080 Skin Converter by KiddaC #2 bumperbee

  • Senior Member
  • 284 posts

+10
Neutral

Posted 17 February 2018 - 00:12

Hi KiddaC, thanks very much for this wonderful skin converter.

If possible, could you make another one for dreambox to re-adjust the left-top corner of the “On Screen Display” (Osd) to the right and lower please? Alternatively, shift every details (all the images and wordings) inside the Osd more to the centre of the Osd, in another words is to have a broader border. It will be awesome.

Many dreambox users will praises and thanks you wholeheartedly.

Best Regards



Re: NEW* Enigma2 1080 Skin Converter by KiddaC #3 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

Posted 17 February 2018 - 15:54

You should remove the 4K option as no hardware is able to display res>1080p and it's just a big waste of memory.

Re: NEW* Enigma2 1080 Skin Converter by KiddaC #4 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 17 February 2018 - 17:44

You should remove the 4K option as no hardware is able to display res>1080p and it's just a big waste of memory.

You mean OSD res>1080p (framebuffer limitation).



Re: NEW* Enigma2 1080 Skin Converter by KiddaC #5 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

Posted 17 February 2018 - 19:01

Yes

Re: NEW* Enigma2 1080 Skin Converter by KiddaC #6 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 18 February 2018 - 10:32

an option to choose between 8 bit and 32 bit graphics would be OK, the converted grapghics are default 32 bit

Re: NEW* Enigma2 1080 Skin Converter by KiddaC #7 kiddac

  • Member
  • 4 posts

+2
Neutral

Posted 14 March 2018 - 15:25

When I was designing this tool, people said it would be good to have a future proof option of 4k.

Now people on here are saying its pointless. What is the correct answer. Are boxes ever going to have a 4k skin option or not? I don't know.

 

As the the 8bit and 32bit graphics, it would be pretty difficult to put this into the program, due to the fact most modern skins use 32 pngs.

If you use the converter to do your graphics too, then just run your graphics folder through an png optimiser program and they will be vastly reduced in size. Favourable to 8 bit size.



Re: NEW* Enigma2 1080 Skin Converter by KiddaC #8 littlesat

  • PLi® Core member
  • 57,166 posts

+698
Excellent

Posted 14 March 2018 - 15:26

Can it also concert lcd display skins?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: NEW* Enigma2 1080 Skin Converter by KiddaC #9 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

Posted 26 March 2018 - 11:22

@kiddac
From what I can say right now it's a hardware limitation. And also it would be great a huge waste of video memory which is very limited.
Even with 1080p you can get in troubles and it also already decreases GUI response times noticably.
And that would get worse with 4K (if it will ever become available on some future HW).

Edited by dhwz, 26 March 2018 - 11:23.


Re: NEW* Enigma2 1080 Skin Converter by KiddaC #10 jenseneverest

  • Senior Member
  • 65 posts

+5
Neutral

Posted 26 March 2018 - 23:04

@kiddac
From what I can say right now it's a hardware limitation. And also it would be great a huge waste of video memory which is very limited.
Even with 1080p you can get in troubles and it also already decreases GUI response times noticably.
And that would get worse with 4K (if it will ever become available on some future HW).

 

It is here already, dreambox have it on the dm900 and there are 4k skins out there such as hd glass 18.

How well it works is another story.... i do not own a dreambox so cant say either way

Guess we will need quad core e2 boxes soon  :P  



Re: NEW* Enigma2 1080 Skin Converter by KiddaC #11 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

Posted 27 March 2018 - 05:51

No you didn't listen ;)
The DM900 doesn't support 4K skins that's just fake. The max. framebuffer resolution is 1080, the hw is scaling everything down.
And yes there are skins but they are useless.
Oh and yes performance matters and you don't want a crashing box just because the accel memory is to small ;)
And it's not a software issue.

Edited by dhwz, 27 March 2018 - 05:55.


Re: NEW* Enigma2 1080 Skin Converter by KiddaC #12 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 27 March 2018 - 09:31

by the way, the video memory consumption is roughly "width * height * bitdepth" (for each image), means 32 bit graphics consumes 4x memory then 8 bit, I can´t see any difference between 8 bit and 32 bit, not even on the PC

Re: NEW* Enigma2 1080 Skin Converter by KiddaC #13 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

Posted 27 March 2018 - 09:47

@mrvica
And when animations are used it's even worse ;)

Re: NEW* Enigma2 1080 Skin Converter by KiddaC #14 Matrix10

  • Senior Member
  • 339 posts

+27
Good

Posted 27 March 2018 - 13:49

Of course you can see the difference between 8 and 32 bits hicolor.Of course depending on the graphics.
But that is not even important.
In my long-lasting tests ,the impact is not so big except in cases when you use heavy graphics and backgrounds.
 
Moving on 4K skins sure would be quite different with far more negative effect on performance with very little score and difference.
 
After all, most of the channels we're watching are HD
 
The current 1920 x 1080 format allows for a very high quality skins that meets all needs.
Of course, under the condition of good skin coding especially fonts and backgrounds.
 
Animations are not only bad for performance but are going to the nerves  :D

Edited by Matrix10, 27 March 2018 - 13:51.


Re: NEW* Enigma2 1080 Skin Converter by KiddaC #15 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 27 March 2018 - 16:00

Animations are not only bad for performance but are going to the nerves  :D

Exactly!. No idea why anybody would want to watch animations.....

Re: NEW* Enigma2 1080 Skin Converter by KiddaC #16 littlesat

  • PLi® Core member
  • 57,166 posts

+698
Excellent

Posted 27 March 2018 - 17:25

They want it because it can be done... ;)

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users