Using glview: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Corrected inccorect GLView parameter "-portals" to "-portal")
(Vista support)
Line 14: Line 14:


That one is done.  
That one is done.  
{{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''}}


----
----
Line 27: Line 33:


'''Check''' the box for "''Use Process Window''"
'''Check''' the box for "''Use Process Window''"
{{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''}}


[[Image:Opt_glview_expertcompile.jpg]]
[[Image:Opt_glview_expertcompile.jpg]]
[[Category:Level Design]]
[[Category:Level Design]]

Revision as of 09:34, 23 August 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
Example: -game c:/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 \YourSteamUserDirectory\sourcesdk\bin\glview.exe


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
Example: -game c:/steam/steamapps/sourcemods/insurgency -portal $path\$file.gl


Opt glview expertcompile.jpg