11:14 ~ % /opt/dead-cyborg-episode1/start-game.sh matthias@t60
argv[0] = '/opt/dead-cyborg-episode1/data/blenderplayer-x86_64'
argv[1] = '-w' , 7
argv[6] = './data/levels/episode_01/episode_01.blend' , 7
Loading /home/matthias/./data/levels/episode_01/episode_01.blend failed: File is not a Blender file
usage: /opt/dead-cyborg-episode1/data/blenderplayer-x86_64 [-w [w h l t]] [-f [fw fh fb ff]] [-g gamengineoptions] [-s stereomode] filename.blend
-h: Prints this command summary
-w: display in a window
--Optional parameters--
w = window width
h = window height
l = window left coordinate
t = window top coordinate
Note: If w or h is defined, both must be defined.
Also, if l or t is defined, all options must be used.
-f: start game in full screen mode
--Optional parameters--
fw = full screen mode pixel width
fh = full screen mode pixel height
fb = full screen mode bits per pixel
ff = full screen mode frequency
Note: If fw or fh is defined, both must be defined.
Also, if fb is used, fw and fh must be used. ff requires all options.
-s: start player in stereo
stereomode: hwpageflip (Quad buffered shutter glasses)
syncdoubling (Above Below)
sidebyside (Left Right)
anaglyph (Red-Blue glasses)
vinterlace (Vertical interlace for autostereo display)
depending on the type of stereo you want
-i: parent windows ID
-d: turn debugging on
-g: game engine options:
Name Default Description
------------------------------------------------------------------------
fixedtime 0 "Enable all frames"
nomipmap 0 Disable mipmaps
show_framerate 0 Show the frame rate
show_properties 0 Show debug properties
show_profile 0 Show profiling information
blender_material 0 Enable material settings
ignore_deprecation_warnings 1 Ignore deprecation warnings
- : all arguments after this are ignored, allowing python to access them from sys.argv
example: /opt/dead-cyborg-episode1/data/blenderplayer-x86_64 -w 320 200 10 10 -g noaudio c:\loadtest.blend
example: /opt/dead-cyborg-episode1/data/blenderplayer-x86_64 -g show_framerate = 0 c:\loadtest.blend