CryENGINE 3 rc.exeHelp

rc.exeHelp

Usage: RC filespec /p= [/Key1=Value1] [/Key2=Value2] etc…
RC /help // will list all usable keys with description
RC /help >file.txt // output help text to file.txt

Usage: RC filespec /p= [/Key1=Value1] [/Key2=Value2] etc…

/animsettingsfile
File to use instead of the default animation settings file

/autooptimize
[TIF] 0/1=automatic adjusting to reasonable settings

/autooptimizefile
[TIF] 0/1=auto optimize for this file, 1(default)

/autopreset
[TIF] depending on some rules defined in C++ (e.g. path) the preset may
be overwritten
this is mostly used to support legacy assets 0=off, 1=on (def
ault)

/bumpblur
[TIF]

/bumpblur_a
[TIF] 0 .. 10.0

/bumpname
[SRF] name of bumpmap image to apply during SRF processing (.tif)

/bumpstrength
[TIF]

/bumpstrength_a
[TIF] -1000.0 .. 1000.0

/bumptype
[TIF]

/bumptype_a
[TIF] 0=none, 1=Gauss, 2=GaussAlpha

/cbapath
Path to Animations.cba file. Required for caf-processing

/cbaupdate
Check for CBA-update only. Do not recompile CAF-s when CBA is up to date

/cc_email
When sending mail this address will be added to CC, semicolon separates
multiple addresses

/checkloco
should be used with report mode.
Compare locomotion_locator motion with recalculated root motion

/clean_targetroot
When targetroot switch specified will clean up this folder after rc runs
, to delete all files that where not processed

/cm
[TIF] 1=enables cubemap TIF processing(TIF needs to have 6:1 aspect), 0
– default

/cm_edgefixup
[TIF] cubemap edge fix-up width, 0 – disabled

/cm_fangle
[TIF] base filter angle for cubemap filtering(degrees), 0 – disabled

/cm_fmipangle
[TIF] initial mip filter angle for cubemap filtering(degrees), 0 – disab
led

/cm_fmipslope
[TIF] mip filter angle multiplier for cubemap filtering, 1 – default

/cm_ftype
[TIF] cubemap angular filter type: gaussian, cone, cosine, disc

/colorchart
[TIF] extract color chart from image, 0=off (default), 1=on (3d lut)

/colormodel
[TIF] 0=rgb (default), 1=cie

/copyonly
copy source files to target root without processing

/createmtl
[DAE] 0=don’t create .mtl files (default), 1=create .mtl files

/dbatable
Path to an xml file (usually dbas.xml) which contains animations-to-DBA
mappings

/debugcompression
[CBA] show per-bone compression values during CAF-compression

/debugdump
[CGF] dump contents of source .cgf file instead of compiling it

/debugvalidate
[CGF] validate source .cgf file instead of compiling it

/decal
[TIF] 0/1=use special border clamp behavior on alpha test, 0(default)

/dependencies
Use it to specify a file with dependencies to be written.
Each line in the file will contain an input filename
and an output filename for every file written by RC.

/dest
destination folder for the results

/detectl8
[TIF] if R=G=B and no alpha then use L8 (luminance)

/discardalpha
[TIF] 0/1=discard alpha in input image

/displaceoutput
[SRF] output displacement map 0=off/1=on

/dont_split
[DDS] don’t split the file for streaming layout

/dynscale
[TIF] 1=renormalize color range of the image and store original color bo
und in the dds header

/emulate3dc
[TIF] export dxt5 instead of 3Dc (useful for PS3)
0=off
non-zero=on

/exclude
List of file exclusions for the command, separated by semicolon, may con
tain wildcard characters

/exclude_listfile
Specify a file which contains a list of files to be excluded from comman
d input

/expand
[SRF] size of the border expand

/ext_caf
ignore or copy caf files

/ext_cba
ignore or copy animations batch processing file

/ext_cga
ignore or copy cga files

/ext_cgf
ignore or copy cgf files

/ext_chr
ignore or copy chr files

/ext_chunk
ignore or copy chunk files

/ext_dae
ignore or copy dae files

/ext_dds
[TIF] ignore or copy dds files

/ext_lua
ignore or copy lua files

/ext_pak
ignore or copy pak files

/ext_srf
[SRF] ignore srf files

/ext_tif
[TIF] ignore or copy tif files

/ext_xml
ignore or copy xml files

/ext_zip
ignore or copy zip files

/failonwarnings
return error code if warnings are encountered

/file
animation file for processing

/filesperprocess
to specify number of files converted by one process in one step
default is 100. this option is unused if /processes is 0.

/folderinzip
Put source files into this specified folder inside of zip file (see ‘zip
‘ command

/globalmipblur
[TIF] default blur is is 2 (->4×4 kernel)

/globalreduce
[TIF] [0..[ to remove the top mipmap levels

/help
lists all usable keys of the ResourceCompiler with description

/highpass
[TIF] 0=off, >0=defines which mip level is subtracted when applying the
[cheap] high pass filter – this prepares assets to
allow this in the shader

/imagecompressor
[TIF] NvDxt=NVIDIA DXT library (default),
NvTT=NVIDIA Texture Tools with CUDA support

/job
Process a job xml file

/jobtarget
Run only a job with specific name instead of whole job-file. Used only w
ith /job option

/listfile
Specify List file, List file can contain file lists from zip files like:
@Levels\Test\level.pak|resourcelist.txt

/listformat
Specify format of the file name read from the list file. You may use spe
cial strings:
{0} the file name from the file list,
{1} text matching first wildcard from the input file mask,
{2} text matching second wildcard from the input file mask,
and so on.
Also, you can use multiple format strings, separated by semicolons.
In this case multiple filenames will be generated, one for
each format string.

/logfiles
to suppress generating log file rc_log.log

/logprefix
prepends this prefix to every log file name used (by default the prefix
is the rc.exe’s folder).

/lumintoalpha
[TIF] 1=compute luminance by using RGB values and put it into alpha chan
nel

/m
[TIF] compact version of M0,M1,…

/m0
**OBSOLETE** [TIF] adjust mipalpha, 0..50=normal..100

/m1
**OBSOLETE** [TIF] adjust mipalpha, 0..50=normal..100

/m2
**OBSOLETE** [TIF] adjust mipalpha, 0..50=normal..100

/m3
**OBSOLETE** [TIF] adjust mipalpha, 0..50=normal..100

/m4
**OBSOLETE** [TIF] adjust mipalpha, 0..50=normal..100

/m5
**OBSOLETE** [TIF] adjust mipalpha, 0..50=normal..100

/mailerrors
0=off 1=on When enabled sends an email to the user who checked in asset
that failed validation

/mailserver
SMTP Mail server used when RC needs to send an e-mail

/maxbonesinbatch
[CHR] Maximum bones in a batch (default is 50)

/maxtexturesize
[TIF] limit sizes of produces textures.
0 – no size limit (default);
n – resulting texture will be downscaled (2x, 4x, …) if its
width and/or height are bigger than the size specified.
n should be a power-of-2 number bigger than 1, for
example: 256, 512, 2014, 2048, 4096.

/mc
[TIF] maintain alpha coverage in mipmaps (experimental)

/minalpha
[TIF] 0..255 to limit alpha value, (can prevent NAN in shader)

/mipbordercolor
[TIF] if set, all mip borders during the mipmap
generation become this hex value AARRGGBB

/mipgentype
[TIF] 0=use default filter, 1=use 2×2 filter

/mipmaps
[TIF] 0/1

/mipnormalize
[TIF] 0/1=use for normalmaps

/ms
[TIF] 0=no sharpening .. 100=full sharpening

/name_as_crc32
When creating Pak File outputs target filename as the CRC32 code without
the extension

/nooutput
[TIF] supress output

/normaloutput
[SRF] normal vector format format, can be ‘R8G8B8’ or ‘R8G8’

/outputaccess
[SRF] output accessibility 0=off/1=on

/outputcombo
[SRF] output combo map (high poly materials encoded as colors)
0=off/1=on

/outputhorizonmap
[SRF] output horizon map 0=off/1=on

/outputoccdir
[SRF] output unoccluded area direction 0=off/1=on

/outputuncompressed
[TIF] output uncompressed files instead of DXTx compressed files

/overwriteextension
ignore existing file extension and use specified convertor

/overwritefilename
use the filename for output file (folder part is not affected)

/p
to specify platform (for supported names see [_platform] sections in rc.
ini)

/p4_depotfilenames
Input filelist is given in the Perforce file format

/p4_user
Perforce username to use. Default to current system username

/p4_workspace
Perforce workspace to use. Enables output of source control information
for failed files

/pixelformat
[TIF] e.g. 3DC, DXT1, X8R8G8B8

/powof2
[TIF] 1=texture needs to be power of 2 in width and height, 0 otherwise

/preset
[TIF] e.g. “NormalmapHigh” to override preset used during processing

/previewformat
[TIF] format for the preview panel to be displayed in. If ‘previewformat
‘ doesn’t exist in the preset, then ‘pixelformat’ will be used

/previewstretched
[TIF] preview destination image with size of source image, 0=off, 1=on (
default)

/processes
spawn multiple processes. syntax is /processes=.
is an arithmetical expression consisting of numbers,
‘cores’, ‘processors’, ‘+’ and ‘-‘. ‘cores’ is the number of CPU
cores; ‘processors’ is the number of logical processors.
example: /processes=cores-1
default is 0 – don’t spawn processes.

/ps3edgeformat
[CHR] Output skinned mesh data in PS3 format (default is false)

/qtangents
0=use vectors to represent tangent space(default), 1=use quaternions

/quiet
to suppress all printouts

/realignchunks
[CGF,CHR] Realign chunks in output files (alignment is 4)

/recursive
traverse input directory with sub folders

/reduce
[TIF] 0=no /1=half resolution /2=quarter resolution, etc

/refresh
force recompilation of resources with up to date timestamp

/report
report mode

/rgbk
[TIF] 1=enables compression pass of HDR images to RGBK format, 0-default

/savepreset
[TIF] e.g. “Diffuse_HighQ” to save preset into source TIF file

/savesettings
[TIF] replace CryTIFF settings stored in the TIF file(s) by specified st
ring

/ser
[TIF] 0/1=supress reduce resolution during loading, 0(default)

/showsettings
[TIF] print CryTIFF settings stored in the TIF file(s)

/skipdba
skip build dba

/skipmissing
do not produce warnings about missing input files

/sourcemaxsize
only copy or zip a source file if its size is less or equal than the siz
e specified. used with ‘copyonly’ and ‘zip’ commands.

/sourceroot
list of source folders separated by semicolon

/space
[SRF] 3d the vectors are transformed to, can be ‘tangent’ or ‘object’

/split_listfile_to_zips
split a list file into multiple zip files

/splitlods
[CGF] Auto split LODs into the separate files

/srgb
[TIF] 1=set SRGBLookup flag in the DDS header, 0 is default
unprocessed DDS have this off (linear)

/statistics
log statistics to rc_stats_* files

/streaming
[TIF] Split final output files for streaming

/stripmesh
[CGF] Strip mesh chunks from output files

/stripnonps3edgestreams
[CHR] Don’t write the non PS3 edge streams (default is false)

/swizzletex
[TIF] 0=off, 1=PS3 like pre-swizzled textures

/targetroot
to define the destination folder. note: this folder and its subtrees wil
l be excluded from the source files scanning process

/threads
use multiple threads. syntax is /threads=.
is an arithmetical expression consisting of numbers,
‘cores’, ‘processors’, ‘+’ and ‘-‘. ‘cores’ is the number of CPU
cores; ‘processors’ is the number of logical processors.
example: /threads=cores+2

/userdialog
[SRF/TIF] 0/1 to show the userdialog for the ResourceCompilerImage

/validate
When specified RC is running in a resource validation mode

/verbose
to produce detailed printouts

/version
shows version and exits

/vertexpositionformat
[CGF] Format of mesh vertex positions:
f32 = 32-bit floating point (default)
f16 = 16-bit floating point

/wait
wait for key after running the application

/wx
pause and display message box in case of warning or error

/xmlfilterfile
specify file with special commands to filter out unneeded XML elements a
nd attributes

/zip
Compress source files into the zip file specified with this parameter

/zip_alignment
Alignment of files inside zip. Default is 1 byte.

/zip_compression
Specify compression level for zipped files. [0-9] 0=no compression, 9=ma
x compression. Default is 6.

/zip_encrypt
Encrypts headers of zip files. Disabled by default.

/zip_encrypt_content
Encrypts files inside of zip. Works only when zip_encrypt enabled. Disab
led by default.

/zip_encrypt_key
Specifies a 128-bit key in hexadecimal format: 32-character string. Low
endian format.

/zip_maxsize
Maximum compressed size of the zip in KBs

/zip_new
Forces creation of new zip file overwriting existing one

/zip_sort
Define sorting type when adding files to the pak, currently supported :
nosort, size, streaming, alphabetically. Alphabetically is default.

Pocket
LINEで送る