Skin XML schema documentation version 2.0

Skin XML schema documentation version 2.0 Seeing samples is a good way how to understand PocketGamepad xml file. All skins are possible to export from...
Author: Beverley Rice
8 downloads 1 Views 366KB Size
Skin XML schema documentation version 2.0 Seeing samples is a good way how to understand PocketGamepad xml file. All skins are possible to export from application. Open skins (Menu/Skins), long tap desired item and tap Export. Exported file has extension pgpad, which is zip file. Just rename pgpad to zip.

Element: PocketGamepadSkin PocketGamepadSkin is a root element XML instance representation: … [1] … [0..1] … [1..*]

Element: GeneralInfo GeneralInfo is an element, which represents basic information about the skin. minXMLParserVersion

versionCode versionName name description controlling

Minimum Pocket Gamepad parser version. If parser has lower value, skin must not work. Using the last version of Pocket Gamepad guarantees the last version of XML parser. Version of skin, number from 1 till … When it is created new version of skin, this number must be increased Version of skin which is displayed to users Name of the skin Description (long name) Notes about controlling the game

Each skin can be designed for several screen aspect ratios (minimum is one). Application will find and use the closest possible (depend of device screen aspect ratio). For each defined DesignedScreen element you must also define the Screen element (parent PocketGamepadSkin) with the same aspect ratio. XML instance representation: designedHeight it is landscape mode If designedWidth < designedHeight it is portrait mode XML instance representation: