Using glview: Difference between revisions
Jump to navigation
Jump to search
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:If you have spaces in your game directory path, you must use quotation marks around the game directory path
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
Note:If you have spaces in your game directory path, you must use quotation marks around the game directory path
No edit summary |
mNo edit summary |
||
Line 30: | Line 30: | ||
'''Parameters:''' ''- | '''Parameters:''' ''-portals $path\$file.gl'' | ||
'''Check''' the box for "''Long File Names''" | '''Check''' the box for "''Long File Names''" | ||
Line 37: | Line 37: | ||
{{note|To make glview work under windows vista you can change the parameters too: ''-game [path to game directory] - | {{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 - | :'''Example1''': ''-game c:/steam/steamapps/sourcemods/insurgency -portals $path\$file.gl'' | ||
:'''Example2''': ''-game c:/steam/steamapps/counter-strike source/cstrike - | :'''Example2''': ''-game c:/steam/steamapps/counter-strike source/cstrike -portals $path\$file.gl''}} | ||
{{note|If you have spaces in your game directory path, you must use quotation marks around the game directory path | {{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" - | :'''Example''': ''-game "c:/program files/steam/steamapps/sourcemods/insurgency" -portals $path\$file.gl''}} | ||
[[Image:Opt_glview_expertcompile.jpg]] | [[Image:Opt_glview_expertcompile.jpg]] | ||
[[Category:Level Design]] | [[Category:Level Design]] |
Revision as of 14:20, 16 December 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.

- Example1: -game c:/steam/steamapps/sourcemods/insurgency -glview $path\$file.$ext
- Example2: -game c:/steam/steamapps/counter-strike source/cstrike -glview $path\$file.$ext

- 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"

- Example1: -game c:/steam/steamapps/sourcemods/insurgency -portals $path\$file.gl
- Example2: -game c:/steam/steamapps/counter-strike source/cstrike -portals $path\$file.gl

- Example: -game "c:/program files/steam/steamapps/sourcemods/insurgency" -portals $path\$file.gl