User:SquidMan/HBC Repository Example

From WiiBrew
Jump to navigation Jump to search

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/~squidman/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 a 32-bit number, and split it up so with one value we can specify any extensions.
But it may be cumbersome when you look at all the available peripherals. --Clorox who vectored some rasters 03:00, 24 February 2009 (UTC)
<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
Which is nice, but many homebrew apps are distributed as .RAR, .7Z, .TAR.GZ, .TAR.BZ2, etc. and those need to be supported. --Clorox who vectored some rasters 04:12, 17 January 2009 (UTC)
Wow, I thought everyone forgot about this thing. Well, sure, everything could be supported. Except RAR would be more difficult. But whatever, this is old. --SquidMan 06:24, 17 January 2009 (UTC)
Meh, more people discover it every day. No reason to abandon it. And we could probably just try to standardize stuff and ban (or at least discourage) .RAR - I even have trouble with it on my Linux computer. --Clorox who vectored some rasters 02:56, 24 February 2009 (UTC)