Using glview: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:


{{note|To make glview work under windows vista you can change the parameters too: ''-game [path to game directory] -glview $path\$file.$ext'' , And make separate configurations for eatch game/mod youre working on
{{note|To make glview work under windows vista you can change the parameters too: ''-game [path to game directory] -glview $path\$file.$ext'' , And make separate configurations for eatch game/mod youre working on
:'''Example''': ''-game c:/steam/steamapps/sourcemods/insurgency -glview $path\$file.$ext''
:'''Example1''': ''-game c:/steam/steamapps/sourcemods/insurgency -glview $path\$file.$ext''
:'''Example''': ''-game c:/steam/steamapps/counter-strike source/cstrike -glview $path\$file.$ext''}}
:'''Example2''': ''-game c:/steam/steamapps/counter-strike source/cstrike -glview $path\$file.$ext''}}




Line 37: Line 37:


{{note|To make glview work under windows vista you can change the parameters too: ''-game [path to game directory] -portal $path\$file.gl'' , And make separate configurations for eatch game/mod youre working on
{{note|To make glview work under windows vista you can change the parameters too: ''-game [path to game directory] -portal $path\$file.gl'' , And make separate configurations for eatch game/mod youre working on
:'''Example''': ''-game c:/steam/steamapps/sourcemods/insurgency -portal $path\$file.gl''}}
:'''Example1''': ''-game c:/steam/steamapps/sourcemods/insurgency -portal $path\$file.gl''
:'''Example2''': ''-game c:/steam/steamapps/counter-strike source/cstrike -portal $path\$file.gl''}}





Revision as of 11:48, 29 November 2007

Go to expert compile mode, and make a new configuration (called it glview).

Then click new, and enter in this:

Command: $bsp_exe

Parameters: -glview $path\$file.$ext

Check the box "Use Long Filenames"

Check "Ensure post-file exists" and in the box type in: $path\$file.gl

Check "Use Process Window"

That one is done.


Note.pngNote:To make glview work under windows vista you can change the parameters too: -game [path to game directory] -glview $path\$file.$ext , And make separate configurations for eatch game/mod youre working on
Example1: -game c:/steam/steamapps/sourcemods/insurgency -glview $path\$file.$ext
Example2: -game c:/steam/steamapps/counter-strike source/cstrike -glview $path\$file.$ext



Now click new, and click "Cmds" and then "Executeable" and find glview.exe

It's located at either \YourSteamUserDirectory\sourcesdk\bin\ep1\bin\glview.exe or \YourSteamUserDirectory\sourcesdk\bin\organgebox\bin\glview.exe, depending on if you're working on a Half-Life2: Episode 1 mod or Orange Box mod.


Parameters: -portal $path\$file.gl

Check the box for "Long File Names"

Check the box for "Use Process Window"


Note.pngNote:To make glview work under windows vista you can change the parameters too: -game [path to game directory] -portal $path\$file.gl , And make separate configurations for eatch game/mod youre working on
Example1: -game c:/steam/steamapps/sourcemods/insurgency -portal $path\$file.gl
Example2: -game c:/steam/steamapps/counter-strike source/cstrike -portal $path\$file.gl


Opt glview expertcompile.jpg