Difference between revisions of "Screenshots"
m (→Taking Screenshots during a Demorecord Playback) |
m (Added Color Adjustment section) |
||
Line 111: | Line 111: | ||
A symbolic link may not be used to replace the screenshots subdirectory. City of Heroes uses filesystem calls that bypass symbolic links, and if the screenshots directory is removed and a symbolic link is created in its place, City of Heroes will recreate the screenshots subdirectory, which will cause it to exist side-by-side with the symbolic link. This could cause unexpected filesystem behavior and should be avoided. | A symbolic link may not be used to replace the screenshots subdirectory. City of Heroes uses filesystem calls that bypass symbolic links, and if the screenshots directory is removed and a symbolic link is created in its place, City of Heroes will recreate the screenshots subdirectory, which will cause it to exist side-by-side with the symbolic link. This could cause unexpected filesystem behavior and should be avoided. | ||
+ | |||
+ | == Screenshot Color Adjustment == | ||
+ | |||
+ | Any gamma setting applied within City of Heroes is ignored when the game creates its screenshots. If the game image appears too dark or too light on a player's screen with the gamma level set at 100%, it will appear with the same darkness/lightness when saved as a screenshot, even if a player adjusts his or her graphics settings to compensate within the game. Most popular image editing programs support gamma adjustment of images. | ||
[[Category:Player Guides (Commands and Binds)]] | [[Category:Player Guides (Commands and Binds)]] |
Revision as of 03:57, 14 March 2007
Contents
Overview
This article describes in depth the process of taking screenshots within City of Heroes.
Quick Primer
By default, the Print Screen key on a user's keyboard is mapped to create an in-game screenshot, without the user interface (UI). The screenshot is stored in the screenshots subdirectory of the City of Heroes application directory (C:\Program Files\City of Heroes) by default. Alternatively, a user may type /screenshot on the chat command line in order to create a screenshot.
In addition to saving a screenshot, the screenshot (with the user interface) is copied to the clipboard, where it may be pasted into an image editor such as Paint, Adobe Photoshop, or The Gimp, or into any application that supports images on the clipboard, such as Microsoft Word.
To get a screenshot of one's own character, it is common to rotate the camera around the character by either holding down the middle mouse button (or wheel, if it also acts as a button) and moving the mouse, or by holding down the Page Up key and moving the mouse. One can zoom in or out by either using the Home/End keys on the keyboard or the mouse wheel. The Page Down key on the keyboard restores the normal behind-the-character perspective and camera distance.
The User Interface
Screenshots do not contain the user interface (UI) by default. The UI are the elements of the game that appear over the main action window; for example, chat bubbles, the health and endurance display, the power trays, the chat windows, etc.
To take a screenshot of the game screen with the UI, a player has two options: pasting the screenshot from the clipboard, or using the screenshotui slash command to change the default behavior of the screenshot command.
Using the Clipboard
The Print Screen key works in the game the same way it work within Windows; it takes a screenshot of everything displayed on your screen. If you run City of Heroes as a full-screen application, this means that it will copy the game window with the UI. The screenshot may then be pasted into an image editor or any application that supports pasting images from the Windows clipboard.
Since this is an operating system functionality, it is not affected by changes using the screenshotui slash command, and the function cannot be disabled within City of Heroes or remapped to a different key as most commands can. Also, if a player is running City of Heroes using a multiple monitor setup, a screenshot from the clipboard will include all screens on one large picture, not just the City of Heroes game screen.
Using the screenshotui Command
The default behavior of the screenshot command is save the image without the UI. This may be changed by using the screenshotui slash command. To save images with the UI, type the following on the chat command line:
/screenshotui 1
To disable capturing the UI in screenshots again, type the following on the chat command line:
/screenshotui 0
Players may use the screenshotui command in conjunction with the screenshot command and keybinds to create screenshots with and without the UI by pressing Print Screen and Shift Print Screen, respectively. To do so, type the following commands on the chat command line:
/bind sysrq "screenshotui 0$$screenshot" /bind shift+sysrq "screenshotui 1$$screenshot"
Tga Formatted Files
The default image format of saved screenshots is the compressed and lossy JPEG format. It is possible to create an image in the TGA format by using the screenshottga slash command. These files are typically much larger, but have the advantage of being an exact copy of what is on the screen without image quality loss.
The Print Screen may be remapped to produce TGA files instead by typing the following on the chat command line:
/bind sysrq "screenshotui 0$$screenshottga"
Using Demorecord Files
Screenshots may be taken within demorecord files. However, there additional issues players should be aware of when taking screenshots in demorecord files.
The Command Console
Unlike the live game, there is no chat command window during a demorecord playback. In order to issue commands to the playback, a player must open the demorecord command console. To do so, press the grave accent, or "backtick" (`) key, normally located on the bottom of the tilde (~) key on a standard keyboard. When the backtick key is pressed a gray box will drop down over the top 2/3 of the screen with a green > prompt and a cursor. Commands may be typed at this prompt as they are normally typed on the chat command line in the live game. Pressing the backtick key again will close the demorecord command line console.
Taking Screenshots during a Demorecord Playback
Unlike the live version of the game, the screenshot command is not bound to the Print Screen key by default, although the normal clipboard functionality still exists. In order to create a screenshot within a demorecord playback file, the screenshot or screenshottga command may be typed directly in the demorecord command line console as described above, or it may be manually bound to a key by typing, for example, the following bind command in the command line console:
/bind sysrq "screenshotui 0$$screenshot"
The Demorecord UI
The only UI elements in demorecord files are the chat bubbles and the command line console. There are a few differences in the chat bubbles between the live game and a demorecord playback. Each chat command is actually recorded twice in a demorecord file, which means that it will appear twice. Also, depending on when a demorecord file was recorded, it is possible that other messages regarding power recharges and other system messages may be recorded as well. If a screenshot with the UI is desired, some editing of the demorecord file to remove unwanted chat bubbles may have to take place.
As with live screenshots, the screenshot command does not capture UI elements by default. If chat bubbles and/or the demorecord command line console are desired to be in the screenshot, the screenshotui 1 command should be used on the command line console before creating the screenshot.
Accessing Screenshots from Other Directories
There is no known way to redirect screenshots to be saved in any location other than the screenshots subdirectory of the City of Heroes application directory. However, there are two methods that may be used to facilitate accessing screenshots from other folders.
Shortcuts
The easiest way to access the screenshots folder from another location is to simply create a shortcut to the screenshots folder. To do so, follow these steps:
- Right-click in the location where you wish to create a shortcut to the screenshots folder.
- From the popup menu, select New / Shortcut.
- When prompted for the location of the item, type the location of the screenshots folder or browse to it using the Browse button.
- When prompted for a name for the shortcut, give it a name that is desired to be the label of the shortcut icon.
This shortcut may now be used to quickly access the shortcuts folder in City of Heroes.
Symbolic Links
Important Note: This section describes advanced functionality that should be used by advanced users only.
There may be circumstances where a shortcut may not be the preferred way to access the screenshots folder. In Windows Explorer and file dialog boxes, shortcuts are sorted as normal files, not directories. Also, some applications (notably The Gimp) are not able to correctly handle shortcuts properly.
In such cases, a symbolic link may be more appropriate. Symbolic links are supported by the NTFS filesystem that is in use on most hard drives on Windows machines. However, there are no utilities included with Windows to create or manage symbolic links. In order to use them, one must acquire a separate utility. Microsoft provides a free command-line junction utility available for download called Junction. There are also other utilities available to manage junction points graphically.
To create a symbolic link using Microsoft's junction utility, follow these steps:
- Acquire the free command-line Junction utility.[1]
- Extract the junction.exe file into an executable path. A common location to save such utilities is C:\Windows\system32.
- Open a command prompt window by clicking on the Start menu, then Run, typing cmd in the prompt that pops up, and clicking OK or pressing Enter.
- In the command prompt window, change to the directory where you wish to create the symbolic link. For example, if you wish to place the symbolic link on your desktop, change to the C:\Documents and Settings\username\Desktop folder.
- Type the following command, substituting the location of the City of Heroes installation directory if necessary:
junction SymlinkName "C:\Program Files\City of Heroes\screenshots"
The SymlinkName may be any name desired. If it contains spaces, the SymlinkName should be enclosed in quotations marks. For example, the following command line will create a symbolic link to the screenshots directory named CoH Screenshots that will, for all practical purposes, function as if it were the screenshots directory:
junction "CoH Screenshots" "C:\Program Files\City of Heroes\screenshots"
Important Note: A symbolic link is strongly linked to its target directory. The fiels within it are not copies, they are the original files! This means that if you delete a file from the symbolically linked directory, it will be deleted from the original directory as well.
To remove a symbolic link to a directory use the junction command with the -d parameter. For example, to remove the above symbolic link, type the following on the command line in the directory in which the symbolic link was created:
junction -d "CoH Screenshots"
Important Note: Do not try to simply delete a symbolic link to remove it. It will remove the symbolic link, but it will also delete all of the files within it, which are the original files. In other words, if a symbolic link to the screenshots directory is deleted, all files in the screenshots subdirectory will be deleted.
A symbolic link may not be used to replace the screenshots subdirectory. City of Heroes uses filesystem calls that bypass symbolic links, and if the screenshots directory is removed and a symbolic link is created in its place, City of Heroes will recreate the screenshots subdirectory, which will cause it to exist side-by-side with the symbolic link. This could cause unexpected filesystem behavior and should be avoided.
Screenshot Color Adjustment
Any gamma setting applied within City of Heroes is ignored when the game creates its screenshots. If the game image appears too dark or too light on a player's screen with the gamma level set at 100%, it will appear with the same darkness/lightness when saved as a screenshot, even if a player adjusts his or her graphics settings to compensate within the game. Most popular image editing programs support gamma adjustment of images.