> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-handbook/textures/equipment-previews/modify.md).

# Modify

### General

Now that you have assembled a .png file from the raw image and clut, you can make adjustments to it via an image editor.

Once you are done, you will need to create a new clut and raw image by doing the following:

1. Open the .png file in Optpix Image Studio.
2. Make sure it uses a 8-bit color palette (256 colors max) which is visible at the very bottom. If it does not, select `Image -> Color Reduction` in the top navigation bar, set `Output Colors` to `256 colors (8 bits)` and then click on the `Color Reduction` button.
3. Right-click on the color palette and select `save palette`.
4. Set the file name to `item_gra00` and the extension to `.cl2`.
5. Select `File -> Save As` from the top navigation bar (or use `Ctrl + Shift + S`).
6. Set the file name to `item_gra00` and the extension to `.tm2`.
7. Click on the `Save` button and set the file saving options to the following:
   * 8bit TIM2
   * 32bit CLUT
   * CSM1 CLUT
   * 16 Bytes Alignment
8. Unpack the newly created `item_gra00.tm2` with The Insurgent's Workshop.
9. Navigate to the following directory: `workshop/unpacked/item_gra00.tm2.dir`.
10. Copy `merged.raw` to your mod directory and rename it to `item_gra00.raw`.
11. Copy the `item_gra00.cl2` to the same directory.

Afterwards, you can import your changes back into the game.
