In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

User:SquidMan/HBC Repository Example: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
Chaosteil (talk | contribs)
mNo edit summary
SquidMan (talk | contribs)
m Minor fixes
Line 2: Line 2:
<source lang="xml">
<source lang="xml">
     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
     <source version="1">
     <repo version="1">
         <name>Repository Name</name>
         <name>Repository Name</name>
         <author>Repository Owner</author>
         <author>Repository Owner</author>
Line 12: Line 12:
         <version>Version of app in following format: x.x.x all others will not appear</version>
         <version>Version of app in following format: x.x.x all others will not appear</version>
         <description>Description of the Application</description>
         <description>Description of the Application</description>
         <url>ZIP file containing files. See the following file for a reference on structure. http://otokoyariika.vectorfive.net/wii/repo/RepoStruct.zip</url>
         <url>ZIP file containing files. See the following file for a reference on structure. http://wiibrew.exofire.net/wii/repo/RepoStruct.zip</url>
     </app>
     </app>
     </source>
     </repo>
</source>
</source>
Discuss please.
Discuss please.

Revision as of 03:30, 9 September 2008

Here is my example of what the HBC Repository XML files could look like.

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <repo version="1">
        <name>Repository Name</name>
        <author>Repository Owner</author>
        <description>Description of Repository</description>
    	<app version="1">
    	    <name>Application Name</name>
    	    <ident>Destination Folder Name</ident>
    	    <author>Author of Application</author>
    	    <version>Version of app in following format: x.x.x all others will not appear</version>
    	    <description>Description of the Application</description>
    	    <url>ZIP file containing files. See the following file for a reference on structure. http://wiibrew.exofire.net/wii/repo/RepoStruct.zip</url>
    	</app>
    </repo>

Discuss please. It needs things such as (for example):

<requiresgccontroller>1</requiresgccontroller>
<classicsupport>1</classicsupport>

Etc. Muzer 19:31, 11 June 2008 (CEST)

  • Good idea, but I feel it would be easier to use bitmasks, so lets take a32-bit number, and split it up so with one value we can specify any extensions.
<peripherals>14</peripherals> // 1=GC, 2=Wiimote 4=Nunchuk 8=Classic 16=GH3 (List may be added to later)

SquidMan

Why only limit to zip files? tar.gz and tar.bz2 should also be supported. --Chaosteil 19:52, 11 June 2008 (CEST)

  • Because zip files are natively supported by all major operating systems, and because it would be easier to program a repository app that just expects a ZIP file. SquidMan