View Single Post
Posts: 204 | Thanked: 423 times | Joined on Jan 2011
#16
I updated the script. There was a lot of changes, but the most important is it now can replace not only logo, but R&D and USB icons with arbitrary dimentions and set background for USB icon.
usage:
logo.run [ -h ] [ -l image ] [ -r image ] [ -u image ] [ -c color ] [ -b color ]
-h: shows this help.
-l: specify a boot logo.
-r: specify a R&D mode image.
-u: specify a USB icon.
Images must be 16bit BMP.
-c: set backgroud color.
Color must be in framebuffer 16bit format.
It consists of two bytes: RRRR RGGG GGGB BBBB, where RRRRR, GGGGGG, and BBBBB — values of red, green and blue colors.
And these bytes must be swapped because of little-endianness.
So, for example, if you want to code red color, it will be 1111100000000000 = 00F8.
-b: set background color for USB icon.
This one is limited by one byte. I.e. if you specify AB, resulting color will be ABAB.
logo.run

Last edited by hxka; 2017-02-19 at 01:35.
 

The Following 8 Users Say Thank You to hxka For This Useful Post: