-
Notifications
You must be signed in to change notification settings - Fork 1
Command‐line interface
Command-line interface is supported along with graphical interface. This will help integrate gchimp into your workflow easily
khang@fedora:~/gchimp$ ./target/release/gchimp --help
map2prop-rs
Available modules:
custom_script
light_scale
rotate_prop_static
texture_scale
s2g
missing_texture
illegal_brush
map2mdl
split_model
loop_wave
resmake
smd_compile
khang@fedora:~/gchimp$ ./target/release/gchimp s2g
error: the following required arguments were not provided:
--path <PATH>
Usage: gchimp s2g --path <PATH>
For more information, try '--help'.
Simply running the binary with AT LEAST ONE extra argument will print out the CLI help. By then, you can choose a command and it will show you help text.
Refer to Custom Scripting
Scales every light
entity by some numbers.
Rotates every prop_static. It is a thing because Source models are slightly rotated when port the maps.
This can also rename prop_static classname
into something else.
Scales every texture by a number. If texture still has low scaling, scale that again.
Eh, just read the help text
Finds missing textures in a map from given WAD(s)
Finds brushes with more than 32 faces
Refer to https://github.com/khanghugo/gchimp/wiki/Map2Mdl
Takes in a pre-made QC file. That QC file will point to an SMD that has too many vertices. The script will then modify both SMD and QC so that there will be new QC(s) and SMD(s) that you can compile. This is to circumvent the "too many vertices" error.
Can be used in conjunction with BLBH if your model has too many vertices and fails the compiler step.
Loops your .wav. This functionality will also re-encode your .wav to 22050 Hz, Mono, and PCM16U.
Creates .RES file and then also .ZIP.
Compiles a static mesh (.smd) without writing a .qc file.
I don't maintain this part as well as it should be like the graphical part. So some of the times there will be missing features for command-line because I don't have the motivation to add that.