Game Creation Kit: Last modified 02/02/07 17:04:05 cw
Prev | Chapter 26. Blenders game engine | Next

# 26.3. Command line options for the game engine

When Blender is called with the option "-h" on a command line (shell window or DOS window) it prints out the command line parameters.

Figure 26-3. Blender command line options

    [cw@work cw]$ blender -h
    Blender V 2.24
    Usage: blender [options ...] [file]

    Render options:
      -b <file> Render <file> in background
        -S <name>   Set scene <name>
        -f <frame>  Render frame <frame> and save it
        -s <frame>  Set start to frame <frame> (use with -a)
        -e <frame>  Set end to frame (use with -a)<frame>
        -a      Render animation

    Animation options:
      -a <file(s)>  Playback <file(s)>
        -m      Read from disk (Don't buffer)

    Window options:
      -w        Force opening with borders
      -p <sx> <sy> <w> <h>  Open with lower left corner at <sx>, <sy>
                            and width and height <w>, <h>

    Game Engine specific options:
      -g fixedtime      Run on 50 hertz without dropping frames
      -g vertexarrays   Use Vertex Arrays for rendering (usually faster)
      -g noaudio        No audio in Game Engine
      -g nomipmap       No Texture Mipmapping
      -g linearmipmap   Linear Texture Mipmapping instead of Nearest (default)

    Misc options:
      -d        Turn debugging on
      -noaudio  Disable audio on systems that support audio
      -h        Print this help text
      -y        Disable OnLoad scene scripts, use -Y to find out why its -y
    [cw@work cw]$

Command line options for the Blender game engine

-g fixedtime

  With this option the game engine runs without dropping frames. This is useful while recording to a Targa-Sequence or when you need to make sure that all collisions are calculated without loss on slower computers.

-g vertexarrays

  Disable the use of vertexarrays. Vertexarrays normally speed up the calculation on complex scenes. If your OpenGL system doesn't support vertex arrays you can switch them off using this option.

-g noaudio

  Disable audio.

-g nomipmap

  Don`t use texture Mipmap, this can speedup the game but will result in not so nicely rendered textures.

-g linearmipmap

  Linear Texture mipmapping instead of nearest (default).

Prev | Home | Next
Options in the InfoWindow | Up | The RealtimeButtons