You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the specified input tiles in addition to having
170
+
.Nm
171
+
automatically determine some.
172
+
The input tiles will always be first in the
173
+
.Flo
174
+
image output, and will always get the first IDs in the
175
+
.Flt
176
+
tilemap output.
177
+
.Arinput_tiles
178
+
must contain 1bpp or 2bpp tile data
179
+
.PqwhichevermatchestheFldNooptionusedhere ,
180
+
as could be previously generated with the
181
+
.Flo
182
+
option.
183
+
.Pp
184
+
If the
185
+
.Flo
186
+
option is also specified, then the input tiles will be assigned the first tile IDs, and any tiles from the input image that are not in the input tileset will be assigned subsequent IDs.
187
+
But if the
188
+
.Flo
189
+
option is
190
+
.Emnot
191
+
specified, then the tile map can
192
+
.Emonly
193
+
use tiles from the input tileset.
194
+
Using
195
+
.Flo
196
+
with
197
+
.Fli
198
+
is useful if you want to precisely control the tile IDs of its tile map.
199
+
Using
200
+
.Fli
201
+
alone is more useful if you want several images to use a subset of shared tiles.
202
+
.Pp
203
+
If the image will use more than one color palette, it is
204
+
.Emstrongly
205
+
advised to generate the palette set along with the input tile data, and pass
206
+
.FlcCmgbc:NsArinput_palette
207
+
along with
208
+
.FliArinput_tiles .
209
+
This is because
210
+
.Nm
211
+
might not generate the same palette set for this image as it did for its input tileset.
212
+
.Pp
213
+
See
214
+
.SxEXAMPLES
215
+
for examples of how to use this option.
216
+
.Pp
217
+
This option is ignored in
218
+
.SxREVERSEMODE .
167
219
.ItFlLArslice , Fl\-sliceArslice
168
220
Only process a given rectangle of the image.
169
221
This is useful for example if the input image is a sheet of some sort, and you want to convert each cel individually.
@@ -637,7 +689,13 @@ without needing an input image.
637
689
.Pp
638
690
.Dl$rgbgfx-c'#fff,#ff0,#f80,#000'-pcolors.pal
639
691
.Pp
640
-
TODO: more examples.
692
+
The following will convert two level images using the same tileset, and error out if any of them contain tiles not in the tileset.
0 commit comments