Descr geography.db
descr_geography.db is the file that determines which ground textures are used in the battlemap, which colours are used for groundtypes in distant views and various factors concerning the elevation and shape of the battlemap.
It appears to have been originally based (by CA) on the contents of descr_geography.txt however unlike the descr_vegetation.db it will not re-generate from the text file if deleted, the text file is not read by the game and is only useful for record keeping purposes.
Contents
Problem in M2TW
At the time of writing due to a timestamp issue if you unpack your M2TW files you have to delete completely the unpacked version os descr_geography.db
Editing descr_geography.db for RTW
The file can be opened with a normal text editor but attempts to edit with a text editor will result in a non-functioning game. The file can be edited successfully with a hex editor.
Re-pathing for mod-folder
The texture file paths are listed in the db file as path:
- terrain/battlefield/texture_name.tga
when using a mod-folder if you put revised battlefield texture files on that equivalent path in the mod-folder they are not read and the game goes directly to rtw/data/terrain.
However you can relatively easily edit the path so it looks for a name not present in rtw/data/terrain. Due to complications of attempting to use the hex editor it is easiest if the path length stays the same, putting files in my_mod/terrain/battlemynew/ folder so path length stays same and entry becomes:
- terrain/battlemynew/texture_name.tga
seems to work and picks up from the mod-folder.
See Also
- Guide to Battlemap Modification* tutorial by Muizer imported to the Wiki.
- XV132 hex editor