To index the color in Photoshop, follow these steps:
From the Mode menu in Photoshop, choose Indexed Color.
Select the bits per pixel you want to save:
For 16 or 6 bits per pixel, choose 5 bits per pixel.
For 4 bits per pixel, choose 4 bits per pixel.
For 2 bits per pixel, type 4 into the Other field of the dialog.
For 1-bit coded cels, type 2 into the Other field.
Select a custom palette and a diffusion dither. When you click OK, a
Color Table dialog appears.
Click the Load button and use the file selection dialog to specify a
3DO-supplied color table. Note the table you use: You'll have to adjust
control settings accordingly later.