mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-01 13:25:46 -04:00
Either `make gimp-palette` or `make doom.gpl` will convert the playpal lump into a file that can be imported into GIMP for paletted image modes.
14 lines
241 B
Bash
Executable file
14 lines
241 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Generates a file suitable for importing into GIMP based on
|
|
# playpal-base.lmp, and placed into doom.gpl
|
|
|
|
# File header
|
|
cat > doom.gpl <<EOF
|
|
GIMP Palette
|
|
Name: Doom
|
|
Columns: 16
|
|
#
|
|
EOF
|
|
|
|
od -An -w3 -tu1 playpal-base.lmp >> doom.gpl
|