![]() Open General by Luis Guzman |
GRAPHIC SPECS |
If you want to support this site, please ... |
Graphics Preferred graphics file type for Open General is .PNG format, although it can also load .JPG, .BMP and for maps .SHP and .s16 formats. Every graphic used by the game must be read from an external files, so it is a good to understand which files are used and where the game will look for them.
There are 3 groups of graphic files:
| |
User Interface graphics (OPENGUI folders) Images used for UI must be located either in the Main OPENGUI folder or in the EFolder\OPENGUI for those requiring a different UI. Installer creates the Main OPENGUI subdirectory including all "default" UI graphics files. Thus to customize any EFile's UI, an specific EFolder\OPENGUI subdirectory is needed, to place the files that must be different than default ones. The files for UI are of type:
Except cursor files (.cur) images can be made as PNG or BMP, although PNG takes precedence in case both exist.
The files in this group are searched using this sequence:
Except cursor files (.cur) images can be made as PNG or BMP, although PNG takes
precedence in case both exist.
The files in this group are searched using this sequence: As EFiles usually have different countries, most EFiles include an specific EFolder\OPENDAT subdirectory, making easier to the player to know which EFile is s/he playing. The files in this group are searched using this sequence:
These are the proper sizes expected by Open General: Dossier_panel
Dossier_medal
Dossier_portrait
Inspect_portrait/ Inspect_leader
Inspect_medal
Flag_small
Flag_med
Flag_big
Roundels
Start_Open
OPENDAT folder also holds rain.png and snow.png files to animate weather: The game also can load icons as standalone .PNG files located in EFile's OPENDAT, but it is recomended to use this feature only to test new icons or to develop using new icons not included yet in the Datfile.
REDIST package
includes all different pictures delivered with Graph-Switcher tool (well except
those having old format) compressed in a package to allow installing
equipment files folders easily.
| |
Unit icons (Datfiles) Unit icons should be made as PNG file having 9 images (faces) arranged as same size 3x3 icons, or just one icon as far as the image is less than 240 pixels width and 150 pixels height. JPG instead of PNG can be used also. Versions prior to 0.91.0.0 allow icons made as PeG's .SI6 format or PG2'a .SHP too, but starting wirh 0.91.0.0 these old formats are not valid for icons anymore. Units icons are expected to be included in Datfiles - a kind of library of icons files - which are more efficient to load and use. Game can use 2 Datfiles, to allow specific EFile icons as well as a general bigger set with all icons available for any EFile. The general Datfile's filename is OpenIcons.dat which is located in main game folder and the (usually smaller) EFile's Datfile's filename is EquipIcons.dat and shlould be located in the EFolder At load time and everytime active EFile is changed, game merges in an internal Datfile: EquipIcons.dat if present and OpenIcons.dat (so icons from EquipIcons take precedence) and then searches for units icons using this sequence:
The first option (standalone png icon files in OPENDAT folders) should be used mainly for testing, and then moved to custom EquipIcons.dat |