Generating Gamesheets
Since version 2.0.0.5, you can generate game sheets that I call gamesheet, which gather graphic media and some textual information retrieved from the database which are:
- Game title
- Developer
- Editor
- Release date (year)
- Gender
- Numbers of players
- Rqting
- Description of the game
We use a template to which we add textual information at the very end of the creation of the media (on the last layer)
The generated media (gamesheet) will be saved in the folder defined in the Folder / 'Gamesheet' directory tab The desired extension of the generated file will be defined in the template. See below
You can see an example with the template retro_gamesheet
The retro_gamesheet template is an example and can be customized as you wish.
View of the retro_gamesheet template directory:
The texts to be displayed are defined in tags containing the parameters separated by ; (semicolon) These parameters define in order:
- - The label to display in front of the tag (the only parameter that can be left empty)
- - X coordinate
- - Y coordinate
- - Text width
- - Text height
- - Font name
- - Font size
- - Font color (You can find color name here)
- - Text alignement (left, center or right)
Example :
<gametitle_text>;545;0;855;76;Times New Roman;40;red;center</gametitle_text> <developer_text>Developer : ;545;70;471;46;Times New Roman;30;black;left</developer_text> <publisher_text>Publisher : ;545;126;471;46;Times New Roman;30;blackl;left</publisher_text> <date_text>Release Date : ;545;182;471;46;Times New Roman;30;black;left</date_text> <genre_text>Genre : ;545;238;471;46;Times New Roman;30;black;left</genre_text> <players_text>Players : ;545;294;471;46;Times New Roman;30;black;left</players_text> <description_text>;550;366;882;376;Times New Roman;25;black;left</description_text> <rating_text>Rating : ;178;736;213;46;Times New Roman;25;blue;center</rating_text>
<gamesheet_filename_suffix>-gamesheet</gamesheet_filename_suffix>
indicates which suffix will be added to the generated file
<type>gamesheet</type>
allows to indicate to ARRM that the template is a gamesheet
In this case, the image created will be saved in the directory defined for the gamesheets (see Settings/Folders tab) and will carry the extension defined in the tag <gamesheet_filename_suffix>
<type>gamesheet</type>
is not filled in, the template will be considered as a standard template + text and will create a mix image
Example of the retro_gamesheet template:
<?xml version="1.0" encoding="utf-8" ?> <data> <info> <author>Pouilly Franck</author> <description>Retro Gamesheet </description> </info> <item> <name>Retro Gamesheet</name> <sample>retro_gamesheet.png</sample> <layers>true</layers> <marquee>true</marquee> <box>true</box> <type>gamesheet</type> <add_black_borders>false</add_black_borders> <fanart_add_black_borders>false</fanart_add_black_borders> <custom_background_width>1920</custom_background_width> <custom_background_height>784</custom_background_height> <custom_screenshot_x>1445</custom_screenshot_x> <custom_screenshot_y>18</custom_screenshot_y> <custom_screenshot_width>471</custom_screenshot_width> <custom_screenshot_height>419</custom_screenshot_height> <custom_marquee_x>1041</custom_marquee_x> <custom_marquee_y>56</custom_marquee_y> <custom_marquee_width>389</custom_marquee_width> <custom_marquee_height>299</custom_marquee_height> <item cartridge_align="true"></item> <custom_cartridge_x>1445</custom_cartridge_x> <custom_cartridge_y>455</custom_cartridge_y> <custom_cartridge_width>463</custom_cartridge_width> <custom_cartridge_height>307</custom_cartridge_height> <item boxart_align="true"></item> <custom_boxart_x>2</custom_boxart_x> <custom_boxart_y>20</custom_boxart_y> <custom_boxart_width>538</custom_boxart_width> <custom_boxart_height>762</custom_boxart_height> <custom_system_x>25</custom_system_x> <custom_system_y>5</custom_system_y> <custom_system_width>468</custom_system_width> <custom_system_height>82</custom_system_height> <custom_fanart_x>0</custom_fanart_x> <custom_fanart_y>0</custom_fanart_y> <custom_fanart_width>1920</custom_fanart_width> <custom_fanart_height>784</custom_fanart_height> <item screenshot="portrait"> </item> <item screenshot="landscape"> </item> <item screenshot="cd"> </item> <!-- Textual zone --> <!-- <gametitle_text>libelle;x;y;width;height;police_name;police_size;color</gametitle_text> --> <gametitle_text>;545;0;855;76;Times New Roman;40;red;center</gametitle_text> <developer_text>Developer : ;545;70;471;46;Times New Roman;30;black;left</developer_text> <publisher_text>Publisher : ;545;126;471;46;Times New Roman;30;blackl;left</publisher_text> <date_text>Release Date : ;545;182;471;46;Times New Roman;30;black;left</date_text> <genre_text>Genre : ;545;238;471;46;Times New Roman;30;black;left</genre_text> <players_text>Players : ;545;294;471;46;Times New Roman;30;black;left</players_text> <description_text>;550;366;882;376;Times New Roman;25;black;left</description_text> <rating_text>Rating : ;178;736;213;46;Times New Roman;25;blue;center</rating_text> <gamesheet_filename_suffix>-gamesheet</gamesheet_filename_suffix> <!-- end Textual area --> <layer1>background_mauve_1920.png</layer1> <layer2></layer2> <layer3>screenshot</layer3> <layer4>cartridge</layer4> <layer5></layer5> <layer6>boxart</layer6> <layer7>marked</layer7> <layer8>system</layer8> <layer9></layer9> <layer10></layer10> <category>Nex,Gamesheet</category> </element> </data>