Game-ui.xml
From MythTV Official Wiki
The game-ui.xml file governs the layout and behavior of the MythGame plugin. It consists of the following windows and named attributes:
Contents
MythGame Plugin Windows
Window Name | Type | Description |
gameui | Window | The Main MythGame Interface |
gamedetailspopup | Popup Window | The Game Info Screen |
edit_metadata | Window | Edit Game Metadata screen. |
The "gameui" window
Widget Name | Widget Type | Description | Required? |
gametreelist | buttontree | Button Tree for emulator/game/genre hierarchy. | Yes |
title | textarea | Plain english title of the selected item. | No |
system | textarea | The game system of the selected item. | No |
year | textarea | The Year of release of the selected item. | No |
genre | textarea | The Genre of the selected item. | No |
favorite | statetype | Whether or not the selected item is a favorite (Yes/No). State names are "yes" and "no" | No |
screenshot | imagetype | A screenshot for the selected item. | No |
coverart | imagetype | The box image of the selected item. | No |
fanart | imagetype | The fanart image for the selected item. | No |
description | textarea | The plot text for the selected item. | No |
The "gamedetailspopup" window
Widget Name | Widget Type | Description | Required? |
screenshot | imagetype | Screenshot for the selected item. | Yes |
fanart | imagetype | Fanart for the selected item. | Yes |
coverart | imagetype | Box art for the selected item. | Yes |
title | textarea | Plain english name of the selected item. | Yes |
allsystems | textarea | Plain english emulator name. | Yes |
gametype | textarea | Internal myth emulator type name. | Yes |
crc | textarea | CRC value for the selected item. | Yes |
romname | textarea | Name of the ROM file. | Yes |
rompath | textarea | Path to the ROM file. | Yes |
publisher | textarea | The publisher of the selected item. | Yes |
year | textarea | Release year of the selected item. | Yes |
genre | textarea | Genre of the selected item. | Yes |
country | textarea | Country of the selected item. | Yes |
plot | textarea | The plot for the selected item. | Yes |
done_button | button | "Done" (Cancel) button. | Yes |
play_button | button | "Play" button. | Yes |
The "edit_metadata" window
Widget Name | Widget Type | Description | Required? |
title_edit | textedit | Edit widget for game name. | Yes |
genre_edit | textedit | Edit widget for game genre. | Yes |
year_edit | textedit | Edit widget for game release year. | Yes |
country_edit | textedit | Edit widget for game country. | Yes |
publisher_edit | textedit | Edit widget for game publisher. | Yes |
description_edit | textedit | Edit widget for game plot. | Yes |
favorite_check | checkbox | checkbox to make game a favorite. | Yes |
coverart_button | button | Button to bring up file browser for box art. | Yes |
fanart_button | button | button to bring up file browser for fanart. | Yes |
screenshot_button | button | Button to bring up file browser for screenshot. | Yes |
coverart_text | textarea | Text of absolute path to boxart image file. | Yes |
fanart_text | textarea | Text of absolute path to fanart image file. | Yes |
screenshot_text | textarea | Text of absolute path to screenshot image file. | Yes |
done_button | button | "Done" button. | Yes |