Rise and Fall Development

Rise And Fall Development

Main

News

Chat Forums

Pictures

Documentation

Development

Code

Download

SourceForge Logo

File Structure: The files will contain all the information for an individual game type. Special game types can have their game data in different game type directories. In fact the main game type will also be in a game type directory, as to not overlap with the main (fixed) game files.

RiseAndFall\RiseAndFall.exe: The main executable.
RiseAndFall\RiseAndFall.ini: An initilization file for the game. Keeps the game state.
RiseAndFall\Sounds\Soundfile.wav: A sound file for the main game.
RiseAndFall\Textures\Texturefile.jps: A texture file for the main game.
RiseAndFall\Music\Musicfile.mp3: A music file for the main game.
RiseAndFall\<game type>\TechTree.dat: The tech tree data file.
RiseAndFall\<game type>\Units.dat: The unit data file.
RiseAndFall\<game type>\LandType.dat: The land type data file.
RiseAndFall\<game type>\Cities.dat: The city data file.
RiseAndFall\<game type>\GameData.dat: A data file that holds the game defaults, strings, and game type.
RiseAndFall\<game type>\Events.dat: A data file for holding player made events for scenarios.
RiseAndFall\<game type>\CityNames.dat: A data file for making city names.
RiseAndFall\<game type>\Models\Units.mdl: A model file for units. Can hold all model files for units.
RiseAndFall\<game type>\Models\Land.mdl: A model file for drawing land types.
RiseAndFall\<game type>\Models\Cities.mdl: A model file for a building.
RiseAndFall\<game type>\Skins\UnitSkin.jpg: A skin file for a unit.
RiseAndFall\<game type>\Textures\LandTexture.jpg: A texture file for a land type.
RiseAndFall\<game type>\Textures\CityTexture.jpg: A texture file for a building.
RiseAndFall\<game type>\Sound\SoundFile.wav: A sound file for the game.
RiseAndFall\<game type>\Save\SaveGameName.raf: A save game file.
RiseAndFall\<game type>\Music\Musicfile.mp3: In game music files.


Original File structure: The original file structure was going to use text files for holding data. I have decided to now go with binary data files, below is the original concept.

RiseAndFall\RiseAndFall.exe: The main executable.
RiseAndFall\RiseAndFall.ini: An initilization file for the game. Keeps the game state.
RiseAndFall\Sounds\Soundfile.wav: A sound file for the main game.
RiseAndFall\Textures\Texturefile.jps: A texture file for the main game.
RiseAndFall\Music\Musicfile.mp3: A music file for the main game.
RiseAndFall\<game type>\TechTree.txt: A tech tree setup file.
RiseAndFall\<game type>\TechDisc.txt: A tech tree description file. Describes each tech.
RiseAndFall\<game type>\Units.txt: A unit setup file.
RiseAndFall\<game type>\UnitDisc.txt: A unit description file. Describes each unit.
RiseAndFall\<game type>\Models\UnitBase.mdl: A model file for units. Can hold all model files for units.
RiseAndFall\<game type>\Models\MoreUnit.mdl: Another user defined model file for holding units.
RiseAndFall\<game type>\Skins\UnitSkin.jpg: A skin file for a unit.
RiseAndFall\<game type>\Skins\MoreSkins.jps: More skin files.
RiseAndFall\<game type>\LandInfo.txt: A land setup file.
RiseAndFall\<game type>\LandDisc.txt: A land description file. Describes each land type.
RiseAndFall\<game type>\Models\LandBase.mdl: A model file for drawing land types.
RiseAndFall\<game type>\Models\MoreLand.mdl: A model file for more land types.
RiseAndFall\<game type>\Textures\LandTexture.jpg: A texture file for a land type.
RiseAndFall\<game type>\Textures\MoreLand.jpg: More land textures.
RiseAndFall\<game type>\CityInfo.txt: A city setup file.
RiseAndFall\<game type>\CityDisc.txt: Describes city buildings.
RiseAndFall\<game type>\Models\CityBuilding.mdl: A model file for a building.
RiseAndFall\<game type>\Models\MoreBuilding.mdl: Another building model.
RiseAndFall\<game type>\Textures\CityTexture.jpg: A texture file for a building.
RiseAndFall\<game type>\Textures\MoreCity.jpg: Another texture file.
RiseAndFall\<game type>\CityNames.txt: A text file for making city names.
RiseAndFall\<game type>\Sound\SoundFile.wav: A sound file for the game.
RiseAndFall\<game type>\Strings.txt: A file for setting in game strings.
RiseAndFall\<game type>\Defaults.txt: A file for setting the game defaults.
RiseAndFall\<game type>\Events.txt: Until I can compile this, this will hold player made events.
RiseAndFall\<game type>\Save\SaveGameName.raf: A save game file.
RiseAndFall\<game type>\GameDisc.txt: Describes the game type and adds it to the main list.
RiseAndFall\<game type>\Music\Musicfile.mp3: In game music files.