Changes between Version 32 and Version 33 of BuildAndDeploymentEnvironment


Ignore:
Timestamp:
Jan 16, 2012, 12:42:48 AM (12 years ago)
Author:
historic_bruno
Comment:

Added Windows paths. Updated suggested paths. Fixed some typos.

Legend:

Unmodified
Added
Removed
Modified
  • BuildAndDeploymentEnvironment

    v32 v33  
    113113
    114114=== Where to place which files ===
     115NOTE: This is just a draft.
     116
    115117A discussion can be found in [http://www.wildfiregames.com/forum/index.php?showtopic=14759 this thread].
    116118
    117 TODO: A summary table like for MacOSX would probably be helpful here too.
     119||'''Name'''||'''Readonly'''||'''Description'''||'''Path Windows'''||'''Determined by/Set where?'''||
     120||Game data root||Y||Data-Directory for static game data||relative to EXE||m_rdata in Paths.cpp||
     121||User data root||N||Root-Directory for data the user creates in-game (savegames, screenshots etc...)||My Documents\0ad||m_Data in Paths.cpp||
     122||Savegame directory||N||Directory where savegames are saved to and loaded from||My Documents\0ad\saves||As [User data root]\saves in GameSetup.cpp InitVFS||
     123||screenshot directory||N||Directory where screnshots are saved by the game||My Documents\0ad\screenshots||As [User data root]\screenshots in GameSetup.cpp InitVFS||
     124||Default config||Y||Default config-file which is readonly||relative to EXE||As [Game data root]\config in GameSetup.cpp IniVFS||
     125||Userconfig||N||Contains user specific configuration settings||My Documents\0ad\config||m_config = %appdata%\config in Paths.cpp||
     126||Logs||N||Contains logs created by the game||My Documents\0ad\logs||m_logs = %appdata%\logs in Paths.cpp||
     127||Cache||N||Cache directory||%appdata%\0ad\cache||m_cache||
     128||User mod||N||User mod directory, where e.g. Atlas should save maps||My Documents\0ad\mods\user||Not implemented yet||
     129||Mods||N||Other mods added by the user||My Documents\0ad\mods||Not implemented yet||
    118130
    119131== Linux ==
     
    125137||XDG_CONFIG_HOME||~/.config||
    126138||XDG_DATA_HOME||~/.local/share||
     139||INSTALLED_DATADIR||e.g. /opt/local/data||
    127140
    128141The default Atlas config dir (or file) is specified in source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp and does not adhere to the values in Paths.cpp or the basedir-spec (Note #868)
     
    130143
    131144||'''Name'''||'''Readonly'''||'''Description'''||'''Path Linux'''||'''Determined by/Set where?'''||
    132 ||Game data root||Y||Data-Directory for static game data||[0adinstalldir]/data eg: /opt/0ad ||m_rdata in Paths.cpp||
    133 ||User data root||N||Root-Directory for data the user creates with the game (savegames, screenshots etc...)||$XDG_DATA_HOME/0ad||m_Data in Paths.cpp||
    134 ||savegame directory||N||Directory where savegames are saved to and loaded from||$XDG_DATA_HOME/0ad/saves||As [User data root]/saves in GameSetup.cpp InitVFS||
    135 ||screenshot directory||N||Directory where screnshots are saved by the game||$XDG_DATA_HOME/0ad/screenshots||AS [User data root]/screenshots in GameSetup.cpp InitVFS||
    136 ||Default config||Y||Defaullt config-file which is readonly||[0adinstalldir]/data/config||As [Game data root]/config in GameSetup.cpp IniVFS||
     145||Game data root||Y||Data-Directory for static game data||$INSTALLED_DATADIR/ or relative to binary||m_rdata in Paths.cpp||
     146||User data root||N||Root-Directory for data the user creates in-game (savegames, screenshots etc...)||$XDG_DATA_HOME/0ad||m_Data in Paths.cpp||
     147||Savegame directory||N||Directory where savegames are saved to and loaded from||$XDG_DATA_HOME/0ad/saves||As [User data root]/saves in GameSetup.cpp InitVFS||
     148||screenshot directory||N||Directory where screnshots are saved by the game||$XDG_DATA_HOME/0ad/screenshots||As [User data root]/screenshots in GameSetup.cpp InitVFS||
     149||Default config||Y||Defaullt config-file which is readonly||$INSTALLED_DATADIR/config||As [Game data root]/config in GameSetup.cpp IniVFS||
    137150||Userconfig root||N||Currently unclear... why is [Logs] here and not in [User data root]?||$XDG_CONFIG_HOME/0ad||As xdgConfig in Paths.cpp||
    138151||Userconfig||N||Contains user specific configuration settings||$XDG_CONFIG_HOME/0ad/config||m_config = [Userconfig root]/config in Paths.cpp||
    139152||Logs||N||Contains logs created by the game||$XDG_CONFIG_HOME/0ad/logs||m_logs = [Userconfig root]/logs in Paths.cpp||
    140153||Cache||N||Cache directory||$XDG_CACHE_HOME/0ad||m_cache||
    141 ||Mods||?||Probably $XDG_DATA_HOME/0ad/mods ? if they should be added by the user (without needing root permissions)||???||???||
     154||User mod||N||User mod directory, where e.g. Atlas should save maps||$XDG_DATA_HOME/0ad/mods/user||Not implemented yet||
     155||Mods||N||Other mods added by the user||$XDG_DATA_HOME/0ad/mods||Not implemented yet||
    142156
    143157
     
    145159
    146160=== Where to place which files? ===
     161NOTE: This is just a draft.
     162
    147163||'''Name'''||'''Readonly'''||'''Description'''||'''Path MAC'''||'''Determined by/Set where?'''||
    148164||Game data root||Y||Data-Directory for static game data||[Bundle]/Contents/Resources/data||m_rdata in Paths.cpp||
    149 ||User data root||N||Root-Directory for data the user creates with the game (savegames, screenshots etc...)||~/Documents/0ad||m_Data in Paths.cpp||
    150 ||savegame directory||N||Directory where savegames are saved to and loaded from||~/Documents/0ad/saves||As [User data root]/saves in GameSetup.cpp InitVFS||
    151 ||screenshot directory||N||Directory where screnshots are saved by the game||~/Documents/0ad/screenshots||AS [User data root]/screenshots in GameSetup.cpp InitVFS||
     165||User data root||N||Root-Directory for data the user creates in-game (savegames, screenshots etc...)||~/Documents/0ad||m_Data in Paths.cpp||
     166||Savegame directory||N||Directory where savegames are saved to and loaded from||~/Documents/0ad/saves||As [User data root]/saves in GameSetup.cpp InitVFS||
     167||screenshot directory||N||Directory where screnshots are saved by the game||~/Documents/0ad/screenshots||As [User data root]/screenshots in GameSetup.cpp InitVFS||
    152168||Default config||Y||Defaullt config-file which is readonly||[Bundle]/Contents/Resources/data/config||As [Game data root]/config in GameSetup.cpp IniVFS||
    153169||Userconfig root||N||Currently unclear... why is [Logs] here and not in [User data root]?||~/Documents/0ad||As xdgConfig in Paths.cpp||
     
    155171||Logs||N||Contains logs created by the game||~/Documents/0ad/logs||m_logs = [Userconfig root]/logs in Paths.cpp||
    156172||Cache||N||Cache directory||~/Library/Application Support/0ad/cache||m_cache||
    157 ||Mods||Y||Directory where „modable“ data is places,,, not quite clear yet how this should work||???||???||
     173||User mod||N||User mod directory, where e.g. Atlas should save maps||~/Documents/0ad/mods/user||Not implemented yet||
     174||Mods||N||Other mods added by the user||~/Documents/0ad/mods||Not implemented yet||
    158175
    159176----