How to make gfxexport skip export images

#1
I want to make gfxexport skip export images because:
  1. I have already exported these images in the last export.
  2. export images take too long.
  3. I just want to edit the actions script, I need to change this a lot so I can't afford waste time exporting things I don't need yet take too much time.
I have checked the gfxexport commands:
Usage: gfxexport [file.swf] [file(s)...] [options]

<pos1> : [file.swf] [file(s)...]
-help : Print command line options.
-i : <format> Specifies output format for exporting image data
where <format> is one of the following:
TGA - Truevision (Targa or TGA)
DDS - DirectDraw Surface (DDS)
ORIG - Original format: JPEG data will be saved as JPG files
and lossless images will be saved as TGAs.
TIFF - 32-bit Tagged Image File Format

-s : <extension> Specifies extension for exporting sound file

-strip_images : Just strip images, do not write them in files.
-d : Destination directory for exported data. If not specified,
files are stored in the directory containing the SWF.
-dll : <path> [options] Load the specified DLL plugin.
Options should not be preceded by '-' .

-sd : Create subdirectories for each SWF file using the SWF filename.
-c : Write compressed stripped .gfx file(s).
-modstamp : Do not run if swf file is older then existing gfx
-o : Specify the directory to write resulting .gfx files. The
default is to use the same directory as the generated images.
Note that the .gfx file cannot be used from that directory
without help from a custom GFxFileOpener class.
-p : Specifies prefix to add to the name of each exported resource.
By default, the original SWF filename is used as prefix.

-lwr : Force all exported files to have lowercase names.
-upr : Force all exported files to have uppercase names.
-ne : Do not use export names as file names for images.
-q : Quiet mode (suppress all output).
-x : Quiet progress mode (suppress progress output).
-list : Write list of generated files into file.
-info : Get information about exported images, but do not export them.
Information is provided for the current set of options.

-share_images : Try to reuse images in the destination directory.

-replace_images : Try to substitute embedded images with external ones.

-id : Directory with images for substitution.
-rescale : <nearest | hi | low | nextlow | mult4>
Rescale image to nearest, next highest or next lowest power
of two or multiple of 4. 'hi' is default for compressed DDS.
Optional filtering for rescaling
(after mandatory rescale mode option):
Box
Triangle
Quadratic
Cubic (default)
Catrom
Mitchell
Gaussian
Sinc
Bessel
Hanning
Hamming
Blackman
Kaiser

-pack : Pack images into large textures.

-packsize : Max size of packed textures (-pack).

-ptresize : Resize packed textures (-pack) <no | p2 | mult4>.
no - No rescale
p2 - Rescale to higher power of 2 (default)
mult4 - Rescale to higher multiple of 4

DDS options ('-i DDS' is specified):
-d0 : Write uncompressed DDS
-d1c : Use DXT1 for RGB data without alpha channel
-d1a : Use DXT1 for RGB data with alpha channel
-d3 : Use DXT3 (default) for RGB data with alpha channel
-d5 : Use DXT5 for RGB data with alpha channel
-qf : Fast compression method.
-qn : Normal quality compression (default).
-qp : Production quality compression.
-qh : Highest quality compression (this can be very slow).
-mipmap : Generate mipmaps in DDS files (by default mipmaps are generated on
ly for fonts).
-mipfilter : Mipmap filtering options:
Box (default)
Triangle
Kaiser

Font options:
-fc : Compact fonts.
-fcl : <size> Set compact fonts normalized size (default size is 256).
-fcm : Merge edges for compact fonts.
-fonts : Export font textures.
-fnomipmap : Do not generate mipmaps for fonts
-fntlst : Export font list and textfield/font map (.fnt-file).
-fns : <size> Nominal size of texture glyph (in pixels).
-fpp : <n> Space, in pixels, to leave around the individual glyph image.
-fts : <WXH> The dimensions of the textures that the glyphs get packed
into. Default size is %dx%d. To specify square texture only
one dimension can be specified, e.g.: '-fts 128' is 128x128.
'-fts 512x128' specifies rectangle texture.
-fs : Force separate textures for each font.
By default, fonts share textures.
-strip_font_shapes : Do not write font shapes in resulting GFX file.
-fi : <format> Specifies output format for font textures
where <format> is one of the following:
TGA8 - 8-bit Targa TrueVision (grayscaled)
TGA24 - 24-bit Targa TrueVision (grayscaled)
TGA32 - 32-bit Targa TrueVision
DDS8 - 8-bit DDS A8
TIFF - 32-bit Tagged Image File (white color,
alpha channel contains font data)
By default, if image format (-i option) is TGA then TGA8
is used for font textures; otherwise DDS A8.

Gradient options:
-gradients : Export gradient images.
-grs : <size> Sets size of radial gradient image as <size>x<size> pixels.

-gi : <format> Specifies output format for gradient textures
where <format> is one of the following:
TGA - 32-bit Targa TrueVision
DDS32 - 32-bit uncompressed DDS
DDS - Use same DDS settings as for images (see
"DDS Options")
TIFF - 32-bit Tagged Image File
By default, if image format (-i option) is TGA then TGA
is used for gradient textures; if image format is
DDS then UNCOMPRESSED DDS is used (use -gi DDS option, if
compressed DDS is necessary).

-gsid : <dir1 dir2...> Additional directories to compare against
when using -share_images.
-gd : <path> Specifies where gradient images should be written (and
compared against, if -share_images is specified).

Default edit-textfield (dynamic/input) text report options:
-det : Export list of unique default dynamic/input textfields
(.det-file; UTF-8).
-ddt : Export list of unique default dynamic textfields
(.ddt-file; UTF-8).

FSCommand use report options:
-fstree : Export list of FSCommands as a tree (.fst-file).
-fslist : Export list of FSCommands as a sorted list (.fsl-file).
-fsparams : Try to find parameters for FSCommands.
-ndp : Disable Windows debug popups
GFxExport v3.111 for SDK v3.3.88, (c) 2006-2009 Scaleform Corporation
This program uses NVIDIA Texture Tools 2, (c) 2007 NVIDIA Corporation,
TIFF Image exporter extension, (c) 2008 Crytek
But I can't figure out how to make gfxexport skip export images.
Small tips
How to add an image to a forum post
[C++] How to smoothly turn your character

Re: How to make gfxexport skip export images

#2
Ah, silly me, the command I need is -strip_images
It literally said
-strip_images : Just strip images, do not write them in files.
Note: If you are not familiar with command line stuff, check this post.

Important Note:
Assume your normal gfx export is: "...\Crytek\CRYENGINE Launcher\Crytek\CRYENGINE_5.4\Tools\GFxExport\gfxexport.exe" -i dds
Then the skip image gfx export is: "...\Crytek\CRYENGINE Launcher\Crytek\CRYENGINE_5.4\Tools\GFxExport\gfxexport.exe" -i dds -strip_images
Small tips
How to add an image to a forum post
[C++] How to smoothly turn your character

Who is online

Users browsing this forum: No registered users and 0 guests