+--------------------------------+ | Palette Converter 1.2 | +--------------------------------+ | Copyright (C) UAC 1997 | | Written by Torben Giesselmann. | +--------------------------------+ Version 1.2 of the Palette Converter will now convert between any of the following palette formats: - Quake palette (.LMP) - Paint Shop Pro palette (.PAL) - Microsoft palette (.PAL) Imagine you'd like to import your textures into Quake ... you'll need the right palette, otherwise your textures' colors will all be wrong! Or if you'd like to use many new textures using another palette (e.g. DOOM's) or you're planning a TC which needs other colors ... you might want to completely replace Quake's palette! If you don't know where to get Quake's palette file from ... it's contained in pak0.pak, the path is gfx/palette.lmp. Get yourself a pak tool to extract it. Usage ===== Syntax: PALCNVRT <-XY> The first parameter indicates the format of the infile and the outfile (X = infile, Y = outfile), where X any Y have to be substituted by one of the following: - 'Q': Quake's .LMP format - 'P': Paint Shop Pro's .PAL format - 'M': Microsoft's .PAL format Examples: Quake --> PSP : PALCNVRT -qp palette.lmp pspquake.pal Quake --> Microsoft: PALCNVRT -qm palette.lmp msquake.pal PSP --> Microsoft: PALCNVRT -pm pspquake.pal msquake.pal Microsoft --> Quake : PALCNVRT -mq mypal.pal palette.lmp and so on ... Please Note! ============ Let's come to some things I observed ... if you own Adobe Photoshop 3.04 and would like to create your textures with that program there's no need to use PALCNVRT. Simply rename PALETTE.LMP to PALETTE.ACT and load the palette into Photoshop. Too simple. Now here's a strange thing ... Adobe Photoshop 3.04 saves the palette of an image using Quake's palette somehow "reversed". (Note: only happens when saving in Microsoft .PAL format!) Yep, you heard right ... color 0 = 255, 1 = 254 etc. Don't ask me why ... simply don't create .PAL files with Photoshop ... or you're in trouble! Anyway it has no difficulties in reading Microsoft .PAL files created with PALCNVRT. And this one goes out to Paint Shop Pro 3.12 users ... it is actually a severe bug: When saving a palette in Microsoft's .PAL format you cannot load it again! Yes! Paint Shop Pro says it's not a valid PAL file ... dunno if that was fixed in the next versions. The PSP .PAL files created with PALCNVRT can be read by PSP 3.12 and probably by older and newer versions as well. In Paint Shop Pro, after having loaded an image, choose (C)olors, (L)oad Palette ... and pick the palette file you created as the new palette. Let's say you'd like to replace Quake's palette ... you'll create a palette suiting your needs with PSP and save it. Then convert it with PALCNVRT and use your pak tool to replace the existing palette.lmp in pak0.pak with your own palette. 'Nuff said. PALCNVRT is available from the following places: ================================================ The UAC Homepage: http://uac.telefragged.com ftp://ftp.cdrom.com/.11/idgames2/utils/graphics_edit/misc/palcnv12.zip (and all mirrors) OK, that's it. Please gimme some feedback if you should have any problems with PALCNVRT. Please read the disclaimer before using PALCNVRT. And DON'T forget to visit the UAC Homepage if you're looking for good Quake mods! Yours, Torben Giesselmann tsg@braunschweig.netsurf.de Disclaimer ========== The software is distributed as freeware. NO fee or payment may be charged for this program. You are not allowed to change the program. You may give PALCNVRT to anyone who might find it useful, but please make sure you provide this (unchanged) documentation when copying it! Use PALCNVRT at your own risk. The UAC is in no way liable for direct, indirect, special, incidental, or consequential damages arising out of the use of this program! id Software will neither support this add-on product, nor will they support Quake after it has been modified! Actura Software may not do anything with this program. Quake and Doom are trademarks of id Software, Inc. Paint Shop Pro is a trademark of JASC, Inc. Adobe Photoshop is a trademark of Adobe Systems, Inc.