tvfaq Community

Загальні теми для ресіверів ENIGMA2 => Програми => Тема розпочата: сергей 999s від 16 Січень 2018, 09:41:00

Назва: Конвертер скинов
Відправлено: сергей 999s від 16 Січень 2018, 09:41:00
Enigma2SkinConverter-v1.0

Spoiler
Цитата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. :S


How to use.


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.


---


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.
Назва: Re: Конвертер скинов
Відправлено: сергей 999s від 17 Січень 2018, 09:12:34
Enigma2SkinConverter-v1.01
Назва: Re: Конвертер скинов
Відправлено: сергей 999s від 22 Листопад 2020, 14:22:35
Enigma2SkinConverter 1.04

ЦитатаУбрана опция 4K. В этом нет необходимости, и это сбивает с толку людей

Допускаются шрифты с цифрами и дефисами в названии.
Добавлено в png: n, n использовалось в некоторых старых скинах для ползунка прогресса.
Назва: Re: Конвертер скинов
Відправлено: сергей 999s від 17 Жовтень 2022, 19:27:40
ЦитатаДля создания скинов wqhd. 2560x1440

Итак, вот эта модифицированная версия, если она кому-то пригодится.
Назва: Re: Конвертер скинов
Відправлено: Serjoga від 07 Лютий 2023, 12:44:25
Version 1.05

Fixed gfonts
Added in dreambox <components> values
Назва: Re: Конвертер скинов
Відправлено: Serjoga від 12 Жовтень 2023, 04:36:17
New Version 1.06

Fixed "secondfont" being converted twice.

thanks KiddaC