Mercurial > parpg-core
view parpg.cfg.in @ 11:4706e0194af3
Various improvements to the build process including support for self-contained builds.
* Note that despite all of these changes PARPG still does not run because asset paths are not standardized,
* Modified the SCons script so that by default running `scons` with no arguments creates a self-contained "build" under a build subdirectory to make in-source testing easier. To install PARPG, use `scons install` instead.
* Got rid of the binary launcher and replaced it with a shell script for unix and a batch script for Windows (batch script is untested). The binary turned out to be too much trouble to maintain.
* Modified the parpg.settings module and parpg.main entry script so that PARPG searches through several default search paths for configuration file(s). PARPG thus no longer crashes if it can't find a configuration file in any particular search path, but will crash it if can't find any configuration files.
* Paths supplied to parpg.main are now appended as search paths for the configuration file(s).
* Changed the default configuration file name to "parpg.cfg" to simplify searches.
* Created the site_scons directory tree where SCons extensions and tools should be placed.
* Created a new SCons builder, CopyRecurse, which can copy only certain files and folders from a directory tree using filters (files and folders that start with a leading dot "." e.g. ".svn" are ignored by default).
* Added the CPython SCons tool (stands for Compile-Python - I didn't name it!), which provides the InstallPython builder for pre-compiling python sources before they are installed. However, it is currently broken and only installs the python sources.
author | M. George Hansen <technopolitica@gmail.com> |
---|---|
date | Tue, 31 May 2011 02:46:20 -0700 |
parents | system.cfg.in@af8e90c22758 |
children | d60f1dab8469 |
line wrap: on
line source
[fife] # Options marked with ? are untested/unknown # Game window's title (string) DO NOT EDIT! WindowTitle = PARPG Techdemo 2 # Icon to use for the game window's border (filename) DO NOT EDIT! WindowIcon = window_icon.png # Video driver to use. (?) VideoDriver = "" # Backend to use for graphics (OpenGL|SDL) RenderBackend = OpenGL # Run the game in fullscreen mode or not. (True|False) FullScreen = False # Screen Resolution's width. Not used if FullScreen is set to False (800|1024|etc) ScreenWidth = 800 # Screen Resolution's height. Not used if FullScreen is set to False (600|768|etc) ScreenHeight = 600 # Screen DPI? (?) BitsPerPixel = 0 # ? (?) SDLRemoveFakeAlpha = 1 # Subdirectory to load icons from (path) IconsPath = icons # ? ([R, G, B]) ColorKey = [250, 0, 250] # ? (True|False) ColorKeyEnabled = False # Turn on sound effects and music (True|False) EnableSound = True # Initial volume of sound effects and music (0.0-100.0?) InitialVolume = 5.0 # Characters to use to render fonts. DO NOT EDIT! FontGlyphs = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`'*#=[]"" # Subdirectory to load fronts from (path) FontsPath = fonts # Font to load when game starts #TODO: make it so that the font name is supplied instead of the filename Font = oldtypewriter.ttf # Size of in-game fonts DefaultFontSize = 12 # ? (?) LogModules = [controller] # ? (?) PychanDebug = False # use Psyco Acceperation (True|False) UsePsyco = False # ? (?) ProfilingOn = False # Lighting Model to use (0-2) Lighting = 0 [parpg] # System subdirectory to load maps from (path) MapsPath = maps # YAML file that contains the available maps (filename) MapsFile = maps.yaml # Map to load when game starts (filename) Map = Mall # ? (filename) AllAgentsFile = all_agents.yaml # System subdirectory to load objects from (path) ObjectsPath = objects # YAML file that contains the database of availabel objects (filename) ObjectDatabaseFile = object_database.yaml # System subdirectory to load dialogues from (path) DialoguesPath = dialogues # System subdirectory to load quests from (path) QuestsPath = quests # System subdirectory where gui files are loaded from (path) GuiPath = gui # System subdirectory where cursors are loaded from (path) CursorPath = cursors # File to use for default cursor (filename) CursorDefault = cursor_plain.png # File to use for up cursor (filename) CursorUp = cursor_up.png # File to use for right cursor (filename) CursorRight = cursor_right.png # File to use for down cursor (filename) CursorDown = cursor_down.png # File to use for left cursor (filename) CursorLeft = cursor_left.png # Player walk speed (digit) PCSpeed = 3