Difference between revisions of "Using glview"

From Valve Developer Community
Jump to: navigation, search
m
m (how do i spoke english?)
Line 16: Line 16:
  
  
{{note|To make glview work under windows vista you can change the parameters too: ''-game [path to [http://www.valve-erc.com/srcsdk/general/game_directory.html 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 to: ''-game [path to [http://www.valve-erc.com/srcsdk/general/game_directory.html 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''
 
:'''Example1''': ''-game c:/steam/steamapps/sourcemods/insurgency -glview $path\$file.$ext''
 
:'''Example2''': ''-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''}}

Revision as of 13:47, 5 June 2008

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.png Note: To make glview work under windows vista you can change the parameters to: -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
Note.png Note: If you have spaces in your game directory path, you must use quotation marks around the game directory path
Example: -game "c:/program files/steam/steamapps/sourcemods/insurgency" -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: -portals $path\$file.gl

Check the box for "Long File Names"

Check the box for "Use Process Window"


Note.png Note: To make glview work under windows vista you can change the parameters too: -game [path to game directory] -portals $path\$file.gl , And make separate configurations for eatch game/mod youre working on
Example1: -game c:/steam/steamapps/sourcemods/insurgency -portals $path\$file.gl
Example2: -game c:/steam/steamapps/counter-strike source/cstrike -portals $path\$file.gl
Note.png Note: If you have spaces in your game directory path, you must use quotation marks around the game directory path
Example: -game "c:/program files/steam/steamapps/sourcemods/insurgency" -portals $path\$file.gl


Opt glview expertcompile.jpg