directories
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| directories [2011/01/14 11:55] – vic | directories [2026/06/22 12:14] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== Directories ==== | ==== Directories ==== | ||
| - | There are 4 directories that are important and that can be set either in the [[startup scripts]] file or in the scenario file. | + | There are 3 directories that are important and that can be set either in the [[startup scripts]] file or in the scenario file. |
| - | They are: | + | |
| - | * System Graphics Directory (must be directory under bin/ | + | * System Graphics Directory (must be directory under APP_DIR/graphics) |
| - | * Sound Directory (must be directory under bin/) | + | |
| - | * Scenario Directory (must be directory under bin/) (savedgames directory is always the same) | + | * Sound Directory (must be directory under APP_DIR/) |
| - | * Natocounter Directory | + | |
| + | * Scenario Directory (must be directory under APP_DIR/) (savedgames directory is always the same) | ||
| If no directory is specified in the scenario (empty string) the directories specified in the [[startup scripts]] will be used. | If no directory is specified in the scenario (empty string) the directories specified in the [[startup scripts]] will be used. | ||
| Line 12: | Line 13: | ||
| ===Combine with startup file=== | ===Combine with startup file=== | ||
| - | In combination with a custom startup file the use of alternate directories for graphics and sounds can have a very powerfull effect. | + | In combination with a custom startup file the use of alternate directories for graphics and sounds can have a very powerfull effect |
| + | |||
| + | ===Combine with ExecReplaceGfx=== | ||
| + | Will allow you to for example immediatly have the right initial systemgraphics loaded due to the use of alternate systemgraphics file, but then change it again and again based on which regime is playing. | ||
| + | |||
| + | ====Systemgraphics==== | ||
| ===What are the systemgraphics? | ===What are the systemgraphics? | ||
| Line 18: | Line 24: | ||
| ===When are system graphics loaded=== | ===When are system graphics loaded=== | ||
| - | 1. At startup of the game right after the game has read the startup modfile. If the modfile specifies an alternate systemgraphics directory the game will attempt to load the graphics from there. However if a file is not available in the specified directory it will look in " | + | 1. At startup of the game right after the game has read the startup modfile. If the startup |
| + | |||
| + | 2. When you load a new scenario or saved game the scenarios systemgraphics directory (if any specified) is used to replace the systemgraphics. | ||
| + | |||
| + | 3. When you exit the scenario setup window or quit back to main menu from a running game the graphics are reloaded from the systemgraphics directory specified in the startup modfile used on startup of the game. | ||
| + | |||
| + | 4. When an event loads a scenario | ||
| + | |||
| + | 5. When a masterfile is loaded | ||
| + | |||
| + | ===Keep in mind=== | ||
| + | You can just replace 1 or 2 systemgraphics when making an alternate systemgraphics directory. You do not have to create copies of everything! | ||
| + | |||
| + | ====Sound Directory==== | ||
| + | Sounds are not stored in memory and loaded and discarded when required. They are looked for in the sound directory specified in the startup modfile used. A scenario can specify its own sound directory, the sounds are looked up there then. If a scenario has not specified its sound directory (blank string) the sound directory specified in the startup modfile is used. | ||
| + | |||
| + | ====Scenario Directory==== | ||
| + | Can be specified in the startup modfile used. Basicly it has little use. The 'Load Scenario' | ||
| - | 2. When you load a new scenario or saved game the scenarios systemgraphics directory (if any specified) is used to replace the systemgraphics | ||
directories.1295006145.txt.gz · Last modified: 2026/06/22 12:13 (external edit)
