Site:
 News/Home
 CNC Guild Forums
 Submissions
 Contact Staff
 
 Downloads:
 Voxels:
 Aircraft
 Ground
 Naval
 Voxel Comp ´06

 SHPs:
 Infantry
 Buildings
 Animation
 Other

 Icons:
 Packs
 Buildings
 Armored
 Infantry

 Maps:
 RA2 Mp maps
 RA2 Sp maps
 YR Mp maps
 YR Sp maps
 Other

 Other:
 paFileDB
 GFX Packs
 TSGFX Packs
 Tutorials
 Utilities
 Mods
 Sounds
 
 Recommended Downloads:
 Ares
 
RA2 Missions Argentina -English-

Make a .PAL file to be used by the game
Submitted by ArgCmdr

Ah ha. I bet someone tried to get new PALs in RA2 and failed sometime. Loading screens, a new iso* file for terrain, or a different unit* palette or even cameo. Well, this will tell you how to create a PAL file that will be readable by the game.

First off, do not confuse the JASC Pal format, with the one used by the game. (JASC) .PAL is plain ASCII text that uses a line definition structure for each color in the palette. The format the game uses is compressed in the following structure:

Palette : array [0..255] of record
red,green,blue:byte;
end;

Beyond that technical chat, heres how to create these files.

First, you need XCC Mixer (You can get the lastest version at http://xccu.sf.net )

Then, you need a PCX file, in 8-bit. The colors in the file, will be used as base for the new palette. To make the file, open XCC Mixer, then the second browsing panel. Place both loctions where the file is, and where you want it.

Now, right click on the PCX file, and select Copy as PAL. (not PAL Jasc). There you have it.

PAL files go inside expandmd##.mix files. XCC Mod Creator doesnt have support for them (as Olaf said somewhere else, he didnt expect people would tweak palettes). So, in order not to have them loose in the game directory, place them in the INI division. That way, theyll be dumped into the Expandmd##.mix files the program generates.

> Back to Tutorials

Favourites: 
Ares 
Mental Omega 
raminator CnC 
Sleipnir's Stuff 
Wagnerma.de 
 
Webmaster: 
Nighthawk 
 
Affiliates: 
CNC Guild 
Project Perfect Mod 
CNC Source 
Sudden Strike 
C&C Reloaded 
Revora Frontpage 
Revora Hosting 

This site is best viewed at 1024x786  
Aqua Arg site design created by Mig Eater © 1999-2006 Team Revenge  
Should there be any problems with the site, please contact the current webmaster