Jump to content

Recommended Posts

Posted (edited)

Hi rubab.

Try this to make Decent Looking 16-color (4-bit) Images:

Getting a nice 4-bit image requires the use of a palette that matches the needs of the image. That image cannot require more than 16 colors. So you are limited to:

cartoon-style images or simple clip-art

images that use one small range of colors

The reason is that during boot of the computer no grapical driver is loaded. For example, your image that look very realistic, will look super ugly. The default palette contains primary colors and will look horrible. But you can use GIF Animator or Adobe Image Ready (comes with Photoshop 7) to optimize the image with 16 colors.Irfan View is a good freeware solution to optimize yuor bitmap to 16 colors.

iviewyx0.jpg

GIF Animator does a better job and allows you to save the palette as a PAL file. Save the palette and the image as a GIF, reopen in Photoshop, edit the palette so that the first color is Black (0,0,0), and save it as a 4-bit bmp file.

To recolor the progress bar, reshack ntoskrnl,bitmap 4 & 8 and do the same as with your bitmap.

To move the progress bar is a full time yob!!

To do this, you will need a hex editor.

How TO change position of the progress bar, also how to change its height: "In order to change progress bars position you must change 5 values (long values - 4 bytes each) inside ntoskrnl.exe. Three of them have the value of the top position of progress bar. The other 2 have the value of top position + the height of the progress bar. So you can change the height of progress bar too .

So, in a hex editor you will find this values for ntoskrnl.exe. Note that there's multiple inbetween versions since launch of XP, where location of these differs, while there's lots more of those values inside at the same time, so manual editing is mostly not advised:

1. At position 211263 (offset 3393F) the value 62 01 00 00. That is a long value swapped, so 00000162 in hex = the value 354 in decimal.

2. At position 207838 (offset 32BDE) the value 62 01 00 00. Same as above.

3. At position 207808 (offset 32BC0) the value 62 01 00 00. Same as above.

4. At position 211389 (offset 339BD) the value 6A 01 00 00. That is a long value swapped, so 000016A in hex = the value 362 in decimal (or 354 + 9 pixels the height of progress bar -1). In other words from pixel 354 to pixel 362 there are 9 pixels (the height of progress bar).

5. At position 207798 (offset 32BB6) the value 6A 01 00 00. Same as before.

So, if you want to change the position of progress bar, you must change the above 5 values. Of course manually you can change the height of progress bar by changing the positions 4 and 5 to something bigger."

Detailed instructions you can find here: http://www.msfn.org/board/Move-Progress-Ba...SP2-t73858.html

16 Colors Palette --------->startup_screen_16_color_Other.zip

Edited by cro-man
Posted (edited)

Thanks cro-man for replying in detail. Your tutorials are awesome.

:thumbsup:

By the way can this & your previous tutorial be pinned.

Edited by rubab
Posted

Superb job man. It actually worked this time . I mean 16 Colors Palette --------->Attached File startup_screen_16_color_Other.zip ( 268bytes ) file.

Thanks for teaching me how to make a Boot Screen . Now i will start learning the Logon Screen tutorial. :dribble:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...