File List Dialog

From Serious Sam Wiki
Jump to: navigation, search

Introduction

Screenshot of 'Open files...' dialog, Serious Editor 4.0.

The file list dialog is a generic dialog that is used for the selection and creation of files or folders on disk. On the right is a screenshot of the 'Open files...' dialog that is just one clone of the file list dialog. Functionality is the same in all versions of the file list dialog with two exceptions:

These two duplicate functionality of the file list dialog only with respect to its controls for purposes of selecting a file.

Functions

A file list dialog is typically used for two functions each of which will be described in the title bar of the dialog:

Selecting a File

A file is selected by

  • locating it in the file list display, and
    • double-clicking LMB.png on it or
    • selecting it with LMB.png or space, and pressing ↵ Enter or clicking Open.

Saving a File

A file is saved by

  • locating the folder the file is supposed to be saved in, and
  • typing the file name in the 'File name' input line and pressing ↵ Enter or clicking Save.

File list controls

Controls of the file list dialog mainly concern display of the file list. But they also enable the creation of folders.

Toolbar Controls

File List Toolbar.png
The toolbar at the top of the file list enables access to the following functions:

  • FileListControl Folder.png opens a dropdown menu that lets you jump to
    • one of the hard drive folders of the system,
    • the system folder, or
    • the root folder of the game files.
  • FileListControl Root.png jumps to the root folder of the game files.
Keyboard shortcut: Alt+\
  • FileListControl UpFolder.png moves the file list display one folder up.
Keyboard shortcut: ← Backspace
  • FileListControl Back.png takes the file list display one step back.
Keyboard shortcut: Alt+
  • FileListControl Forward.png takes the file list display one step forward.
Keyboard shortcut: Alt+
  • FileListControl Favourites.png opens a dropdown menu that lets you
    • add or remove the current folder to the list of favourite folders, and
    • jump to a favourite folder.
If the current folder is in the favourite folders list, it is displayed with a checkmark.
Keyboard shortcuts: Ctrl+F and Ctrl+D
  • FileListControl History.png opens a dropdown menu that lets you jump to a folder that was previously displayed.
Keyboard shortcuts: Ctrl+W and Alt+
  • FileListControl ContextMenu.png opens the context menu for the currently selected item. For more context menu information see below.
Keyboard shortcut: ⇧ Shift+F10
keyboard shortcut: Alt+F7
  • FileListControl CreateFolder.png creates a folder in the currently displayed folder.
Keyboard shortcut: F7
  • Sorting of the file list can be changed by clicking LMB.png on one of the column headers.

File Type Control

Dialog OpenFiles TypeSelect.png

The type select menu on the bottom left corner of file list dialog let's you select particular types of files to display exclusively in the file list.

Info 16x16.png Note: This feature is not available in Explorer panel and Resource Commander.

Context Menu

FileListControl DDMenu.png

The context menu can be opened by

  • pressing RMB.png on an item, or
  • selecting an item with LMB.png or space and
    • clicking the FileListControl ContextMenu.png button, or
    • pressing ⇧ Shift+F10.

The options presented in the context menu largely depend on the selected item:

Always available options

  • Display stlyes
    • Files list display: standard display with columns displaying name, extension, size and date.
    • Pure thumbnails: if file types allow (eg .tex) thumbnails are displayed
    • Thumbnails info: if file types allow (eg .tex) thumbnails with file name are displayed
    • Full sized: if file types allow (eg .tex) thumbnails are displayed in relative size.
Info 16x16.png Note: The last three display styles are rather redundant since, in files list display, you can display .tex and even .mdl files by moving your mouse over them and pressing F3.
  • Refresh
Refreshes the file list display.
  • Set filter
Opens the Resource filter Dialog.
  • Copy path
Copies the path of selected item to the clipboard.
Info 16x16.png Note: Copied path is the absolute system path of the item, ie not relative to the root folder of the game files.
  • Select entities that are using these resource(s)
Selects all entities in the currently active map that use the selected resource.
Info 16x16.png Note: This feature only works from the Explorer panel if a map is loaded.
  • Show used resources
If the selected item uses resources a virtual ListResources folder with all used resources is created in the root directory and displayed in the Explorer panel.
Info 16x16.png Note: This feature only works from the Explorer panel.
  • Some Perforce operations
Perforce operations that do not apply in custom mapping.

Resource files options

  • P4 operations (incl. Examine dependecies)
Perforce operations that do not apply in custom mapping.
  • Open in document
Opens the Generic Editor and displays the data of the selected file for editing.
  • Locate in explorer
Locates the selected file in the Explorer panel.
Info 16x16.png Note: This feature only makes sense for files that are selected in dialogs.
  • Locate in commander
Locates the selected file in the Resource Commander.

Texture files options

  • View
Opens the Texture view panel.
  • Export
Opens a File List Dialog titled 'Export .tex as .tga' that lets you specify the file to export to.
  • Import
Opens a File List Dialog titled 'Import targa file' that lets you specify the file to import.
Warning 16x16.png Warning: This feature appears to be bugged and may crash the editor.

ListResource and SearchResults options

  • Add directory
Opens a dialog that lets you name the the folder to add to the virtual folder.
  • Insert files
Opens a File List Dialog titled 'Insert items' for selecting an item to insert.
  • Delete selected
Deletes the selected item from the virtual folder.