home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / ie4 / ieak4.cab / readme2.txt < prev    next >
Text File  |  1998-02-09  |  3KB  |  50 lines

  1. CREATING CUSTOMIZED BACKGROUNDS AND BUTTONS FOR THE CD AUTORUN PROGRAM
  2. ======================================================================
  3.  
  4. You can customize the CD AutoRun program with your own background and 
  5. buttons. To do this, create the bitmaps using a graphics program, such as 
  6. Paint, and then specify their location in the wizard. 
  7.  
  8. In order for your customized background and buttons to work properly, make 
  9. sure that both the background and the button files are optimized to the same 
  10. 256-color identity palette. Instructions for how to do this are included at 
  11. the end of this section. In addition, your custom buttons must be the same 
  12. size and shape (square) as those specified in the Template.bmp file included 
  13. in the "Custbtns\template" folder on this CD. 
  14.  
  15. You can use palette index 250 or 251 to add transparent (250) or transparent 
  16. shadow (251) areas to your buttons. The CD Autorun application will 
  17. automatically create these transparent areas at runtime.  
  18.  
  19. Note:  The custom backgrounds and buttons will be displayed only on computers 
  20. with 256-color (8-bit) display capabilities. On computers with 16-color 
  21. (4-bit) display capabilities, a standard low-resolution background bitmap 
  22. and button set will be displayed.
  23.  
  24. To convert 24-bit images to a common 256-color identity palette:
  25. ----------------------------------------------------------------
  26. Note: These instructions assume that you are starting with 24-bit RGB bitmap
  27. files. If your file is not a 24-bit RGB bitmap, you must convert it.
  28.        
  29. 1.  In your graphics program, create a working file for your palette.
  30.     To do this, paste both your background and your button file into 
  31.     a single file. Make sure to paste the files side by side, not 
  32.     overlapping.
  33. 2.  Save the file as Palette.bmp.
  34. 3.  In BitEdit, open the Palette.bmp file. When you open the file, BitEdit 
  35.     prompts you to reduce the colors to 236 colors. Keep this number in the 
  36.     edit field.
  37. 4.  On the Options menu, click Palette. PalEdit starts, displaying the 
  38.     palette to which your file has been indexed.
  39. 5.  On the Palette menu, click Make Identity Palette. PalEdit will add 20 
  40.     Windows colors to the first and last 10 indices of the palette.
  41. 6.  Save the palette as Palette.pal.
  42. 7.  Switch to BitEdit, and open your original background file.
  43. 8.  Save the file with a different name, such as Bgnew.bmp.
  44. 9.  Open the renamed background file. On the Options menu, click Color 
  45.     Reduction. Then click Palette File and select Palette.pal. BitEdit then 
  46.     dithers your background to the common palette.   
  47. 10. Save this file.
  48. 11. Follow steps 7 through 11 for the button file.
  49.  
  50. Both your background and your buttons will be indexed to the same palette.