Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Create how_to_add_new_textures.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmMoltony committed Jan 10, 2024
1 parent 6a19364 commit 5f5af40
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions nitrofiles/textures/how_to_add_new_textures.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Adding new textures

Textures in `gfx`: copy one of the other textures' .grit file and paste the png of the texture into gfx/

PCX textures (nitro:/textures/):

On Linux, open the image in GIMP and save it as PCX in the textures folder. Then use ImageMagick's convert
tool like this:

convert texture.pcx -colors 256 texture.pcx

..Where "texture.pcx" is the name of the texture

On Windows, you can use IrfanView to convert the image. Here's how to do it:

1. Open the PNG/BMP/JPG/whatever in IrfanView
2. Decrease or increase color depth to 256 colors (8bpp). The button to do that is somewhere in the menu bar on the top.
3. Save as PCX
4. profit :p

0 comments on commit 5f5af40

Please sign in to comment.