Mkg3a

From WikiPrizm
Revision as of 00:52, 2 August 2012 by Ahelper (talk | contribs) (Added the recent change)
Jump to navigationJump to search

This page has not been completed. Parts may be missing or reorganized before completed. Information is provided as-is and may have errors.

mkg3a is a utility to combine icons and a binary into a .g3a file executable on the Prizm. The project page for mkg3a is located here.

Download

You can find the latest build of mkg3a here.

Usage

Note that mkg3a has been changed since the release of PrizmSDK 3. If the commands listed don't work, please update your mkg3a

The command line usage of mkg3a is in the form of mkg3a [OPTION] input-file [output-file]. The input file should be a .bin file, produced by gcc in an ELF format. The output file should be a .g3a file (this can be omitted). mkg3a accepts the following options:

  • -i (uns|sel):file - This is used to specify the unselected and selected icons for when the addin is displayed in the Prizm's Main Menu. These images may be in .bmp or .png format with transparency. For more information about the icons, please refer to these guidelines. Note: These images must be the correct size (64hx92w). mkg3a will not resize the images.
  • -n lc:name - This is used to set the localized name of the addin. this is needed because addins contain the name in different languages and for different modes. If you omit lc: (such as -n name), then mkg3a will default to the basic name. You can specify as many language names as you want, however the last one specified for a given language will be used. The list of language codes are listed below:
    • en - English name
    • es - Spanish name.
    • de - German name.
    • fr - French name.
    • pt - Portuguese name.
    • zh - Chinese name.
    • basic - (Default for mkg3a) Unlocalized name.
    • internal - This is used by the Prizm for an internal use and shouldn't be manually set.
  • -v - Displays the version info and copyright information

Examples

Incomplete. Talk about how icons should be made and where to get them Icons must be either .bmp or .png images. The icons should follow these guidelines in order to conform to other addins.