-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7ff83d8
Showing
5 changed files
with
766 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Half-Life sprite plugin for GIMP | ||
GIMP plugin that allows you to import and export sprites from a Half-Life game. | ||
<img src="https://github.com/Psycrow101/GIMP-hl-sprite-plugin/blob/master/img/1.png" width="70%"/> | ||
|
||
## Requirements | ||
1. [GIMP](https://www.gimp.org/), recommended GIMP version >= 2.10. | ||
2. GIMP's python module gimpfu. | ||
|
||
## Installation | ||
Download and extract the `file-spr` folder to GIMP's `plug-ins` folder: | ||
**Windows**: `C:\Users\<USERNAME>\AppData\Roaming\GIMP\2.10\plug-ins` | ||
**Linux**: `/home/<USERNAME>/.config/GIMP/2.10/plug-ins` | ||
**macOS**: `/Users/<USERNAME>/Library/Application Support/GIMP/2.10/plug-ins` | ||
|
||
*If you can’t locate the `plug-ins` folder, open GIMP and go to Edit > Preferences > Folders > Plug-Ins and use one of the listed folders.* | ||
|
||
## Usage | ||
To import `.spr` file into GIMP, go to File > Open. | ||
|
||
To export image as `.spr` file from GIMP, go to File > Export As then enter the file name with `*.spr` extension and click *Export*. | ||
In the dialog box that appears, you can configure the exported sprite. | ||
|
||
<img src="https://github.com/Psycrow101/GIMP-hl-sprite-plugin/blob/master/img/2.png" width="50%"/> | ||
|
||
In this version of the plugin, export of frame groups is supported only if you have previously imported a sprite containing frame groups and have not changed the color indexing mode. Otherwise, the layer groups will be merged. | ||
|
||
## See also | ||
[GIMP plugin for converting an image to Half-Life alphatest mode](https://github.com/Psycrow101/GIMP-hl-alphatest-plugin) |
Oops, something went wrong.