-
Notifications
You must be signed in to change notification settings - Fork 1
UnleashX Menu Notes
UnleashX Config.xml file consists of a "Settings" and a "Menu" section.
A Menu can have Items and Lists.
<Menu>
<Item Action="LaunchDVD">Launch Disc</Item>
<Item Action="Filemanager">File Explorer</Item>
<Item Action="F:\Games\XBMC-Emustation\default.xbe" Icon="F:\Games\XBMC-Emustation\Icon2.png">EmuStation</Item>
<List Text="Games" Sort="On" DelayLoad="True">
<Path>F:\Games</Path>
<Path>G:\Games</Path>
</List>
<!-- This is abbreviated, didn't want to put the whole default menu in here. -->
</Menu>An "Item" can have the following simple actions:
- Action="Path\to\program.xbe" - Launch an XBOX program/game/xbe.
- Action="LaunchDVD" - Launches the Game in the Disc tray.
- Action="CopyDVD" - Copy the Game in the Disc tray to a nice place on the HDD.
- Action="TrayOpen" - Opens the DVD Tray.
- Action="TrayClose" - Closes the DVD Tray.
- Action="Filemanager" - Launch the File Manager.
- Action="SavesManager" - Launch the gamesave manager.
- Action="Settings" - Launch the settings editor.
- Action="Skins" - Launch the "Skins" selector.
- Action="Restart" - Soft Restart the XBOX.
- Action="PowerCycle" - Power cycle the XBOX (Reboot).
- Action="Shutdown" - Turn off the XBOX.
- Action="FTPStop" - Stop the FTP server.
- Action="FTPStart" - Start the FTP server.
- Action="FTPReset" - Reset the FTP server.
- Action="NEReset" - Restart the Network.
For an item, the text is specified in the content area. Example:
<Item Action="F:\Games\XBMC-Emustation\default.xbe" Icon="F:\Games\XBMC-Emustation\Icon2.png">Emulation Station</Item>Lists can contain Items, Paths and Lists. They can have attributes [Text, Icon, Sort, DelayLoad, Batch]. Example:
<List Text="720p Patched Games" Sort="On" DelayLoad="True" Icon="F:\Games\Darkwatch\my_720p_icon.png">
<Item Action="F:\Games\Darkwatch\defaultXHD128.XBE">Darkwatch</Item>
<Item Action="F:\Games\kill.switch\defaultHD.xbe">Kill Switch</Item>
<Item Action="F:\Games\Serious Sam 2\defaultHD.XBE">Serious Sam II</Item>
</List> <Path>F:\Apps</Path>Will result in a search for .xbes under the given path; a list of default.xbes will be returned and displayed according to the attributes of the file (Icon, display string).
Icons for Programs are often 'figured out' based on the given .xbe. But override icons can be specified (on Items and Lists) with something like:
"Icon"="F:\Games\my_game\my_icon.png"
Icons can be .png, .jpg or native XBOX images (have not tested other image types). Example:
<!-- same example as above. -->
<Item Action="F:\Games\XBMC-Emustation\default.xbe" Icon="F:\Games\XBMC-Emustation\Icon2.png">Emulation Station</Item>When a List has a Batch="True" attribute, it appears as though this list is processed one by one. I've not written one but let's see an Example from the default config.xml file:
<!-- This is a complex example and I've never run it. But it looks like it first prompts the user if they are sure they want to do the action.
And then executes the rest of the Actions in the list.
-->
<List Text="Clear Cache" Sort="Off" Batch="True">
<Item Action="AskUser" Arg1="Clear CACHE?">Doing this can help with applications or games that crash or refusing to boot.</Item>
<Item Action="Copy" Arg1="Dummy" Arg2="E:\CACHE"></Item>
<Item Action="Delete" Arg1="E:\CACHE"></Item>
<Item Action="Copy" Arg1="Dummy" Arg2="E:\CACHE"></Item>
<Item Action="Format" Arg1="X"></Item>
<Item Action="Format" Arg1="Y"></Item>
<Item Action="Format" Arg1="Z"></Item>
<Item Action="MessageBox" Arg1="Complete">The CACHE has been cleared!</Item>
</List>- Developing a SWBFII DLC package
-
Notes
- SWBFII Lua Environment
- common.lvl notes
- PSP notes
- PPSSPP notes
- Console world memory notes
- Shipped world sizes
- Sides memory notes
- Sound File analysis
- Sound file Notes
- Console memory adjustments
- Important Links
- Productivity Tips
- Useful Debugging Functions
- BF1 Notes
- UnleashX Menu Notes
- Video Conversion Notes