Skip to content

Instantly share code, notes, and snippets.

@Gen2ly
Last active January 28, 2024 15:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gen2ly/5242082 to your computer and use it in GitHub Desktop.
Save Gen2ly/5242082 to your computer and use it in GitHub Desktop.
Doom3 configuration (autoexec.cfg)
// Graphic Card
seta sys_videoRam "512" // use com_videoRam to check if right
// Sound Card
seta s_alsa_pcm "plughw:1,0" // Use second sound out device
// Monitor
seta r_mode "-1" // -1 = custom, http://tinyurl.com/3q44wdy
seta r_aspectRatio "1" // 0 = 4:3, 1 = 16:9, 2 = 16:10
seta r_customWidth "1280"
seta r_customHeight "720"
seta r_brightness "1"
seta r_gamma "1"
// Other
seta ui_name "Gently"
// Performance optimizations - good for newer cards
seta com_showFPS "0" // show Frames per Second, 1 on
seta image_useCache "1" // background loading, mostly smooths performance
seta image_cacheMegs "256" // sys mem to use for cache
seta image_cacheMinK "3072" // min cache
// Performance optimizations - other
seta r_multiSamples "0" // 0, 2, 4, 8, 16 number of antialiasing levels
seta cm_backFaceCull "0" // removepolygons behind player, can cause anomylies
seta com_purgeAll "1" // discard data between levels, reduce in-game pauses
seta r_vertexBufferMegs "64" // #MB to vertex buffer
seta r_orderIndexes "1" // reorganizes indexes to optimize vertex use
seta r_usePortals "1" // use portals to perform area culling
seta r_useOptimizedShadows "1" // optimize shadows
seta r_useShadowCulling "1" // remove hidden shadows
seta r_useLightCulling "3" // 0,1,2,3
seta r_useInfiniteFarZ "1" // no-far-clip-plane trick
seta r_useStateCaching "1" // cache OpenGL states
seta r_useIndexBuffers "0"
seta r_useVertexBuffers "1"
seta r_useCachedDynamicModels "1"
seta r_useTwoSidedStencil "1"
seta r_useTurboShadow "1"
seta r_useShadowProjectedCull "1"
seta r_useTripleTextureARB "1"
seta r_useConstantMaterials "1"
seta r_useNV20MonoLights "1"
// Keybindings
bind "0x00" "_lookDown"
bind "TAB" "_impulse19" // PDA
bind "SPACE" "_moveUp"
bind "/" "_lookUp"
bind "0" "_impulse10"
bind "1" "_impulse1"
bind "2" "_impulse2"
bind "3" "_impulse3"
bind "4" "_impulse4"
bind "5" "_impulse5"
bind "6" "_impulse6"
bind "7" "_impulse7"
bind "8" "_impulse8"
bind "9" "_impulse9"
bind "a" "_zoom"
bind "d" "_back"
bind "e" "_forward"
bind "f" "_moveRight"
bind "h" "_impulse0"
bind "g" "_impulse11" // flashlight
bind "r" "_speed"
bind "s" "_moveLeft"
bind "t" "_impulse13"
bind "v" "_moveDown"
bind "y" "_mlook"
bind "SHIFT" "_strafe"
bind "DEL" "screenshot"
bind "F5" "savegame quick"
bind "F6" "loadgame quick"
bind "MOUSE1" "_attack"
bind "MWHEELDOWN" "_impulse14"
bind "MWHEELUP" "_impulse15"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment