Skip to content

Commit 2977e92

Browse files
authored
Update README.md
1 parent cb9336e commit 2977e92

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

README.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,39 @@
1-
# gimp-ijim
1+
# Indiana Jones and The Infernal machine plugin for GIMP
2+
The plugin lets you import and export game's material files (*.mat) in GIMP.
3+
<img src="https://github.com/smlu/gimp-ijim/blob/master/demo/imt.png" width="70%"/>
4+
5+
## Requirements
6+
[GIMP](https://www.gimp.org/), recommended GIMP version >= 2.10.
7+
In order for plugin to work correctly the GIMP's python module `gimpfu.py` has to be patched.
8+
The patch can be found [here](https://gitlab.gnome.org/GNOME/gimp/merge_requests/99//diffs).
9+
10+
## Installation
11+
*Note: The installation guide is for GIMP version 2.10 or later.*
12+
13+
1. Download `gimp-file-mat.zip` from the [Releases](https://github.com/smlu/gimp-ijim/releases) page or download/clone this repository.
14+
2. Extract/copy the `file-mat` folder to GIMP's `plug-ins` folder:
15+
**Windows**: `C:\Users\<USERNAME>\AppData\Roaming\GIMP\2.10\plug-ins`
16+
*Make also sure you have GIMP installed with support for Python scripting.*
17+
18+
**Linux**: `/home/<USERNAME>/.config/GIMP/2.10/plug-ins`
19+
**macOS**: `/Users/<USERNAME>/Library/Application Support/GIMP/2.10/plug-ins`
20+
21+
*Note: 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.*
22+
23+
24+
## Usage
25+
### Importing .mat file
26+
To import `.mat` file into GIMP, go to *File > Open* then navigate to the folder containing `*.mat` file, select it and click *Open*.
27+
*Note: For each texture in `.mat` file a new image window is opened in GIMP.*
28+
29+
<img src="https://github.com/smlu/gimp-ijim/blob/master/demo/imd.png" width="70%"/>
30+
31+
### Exporting .mat file
32+
To export image as `.mat` file from GIMP, go to *File > Export As* then navigate to the folder where you want to export file, enter the file name with `*.mat` extension and click *Export*.
33+
34+
A new dialog window will open where you have to select images to export as textures of `.mat` file and set additional export options.
35+
36+
<img src="https://github.com/smlu/gimp-ijim/blob/master/demo/mated.png" width="40%"/>
37+
38+
*Note: If you are planning to use exported material in the game make sure to limit the length of file name to max 64 characters, including the `.mat` extension. See [File naming convention](https://github.com/smlu/blender-ijim#file-naming-convention) for more details.*
39+

0 commit comments

Comments
 (0)