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
SquidMan (talk | contribs)
m Minor fixes
Clorox (talk | contribs)
mNo edit summary
Line 18: Line 18:
Discuss please.
Discuss please.
It needs things such as (for example):
It needs things such as (for example):
<pre>
<source lang="xml">
<requiresgccontroller>1</requiresgccontroller>
<requiresgccontroller>1</requiresgccontroller>
<classicsupport>1</classicsupport>
<classicsupport>1</classicsupport>
</pre>
</source>
Etc. [[User:Muzer|Muzer]] 19:31, 11 June 2008 (CEST)
Etc. [[User:Muzer|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.
* 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.
<pre>
<source lang="xml">
<peripherals>14</peripherals> // 1=GC, 2=Wiimote 4=Nunchuk 8=Classic 16=GH3 (List may be added to later)
<peripherals>14</peripherals> // 1=GC, 2=Wiimote 4=Nunchuk 8=Classic 16=GH3 (List may be added to later)
</pre>[[User:SquidMan|SquidMan]]
</source>[[User:SquidMan|SquidMan]]


Why only limit to zip files? tar.gz and tar.bz2 should also be supported. --[[User:Chaosteil|Chaosteil]] 19:52, 11 June 2008 (CEST)
Why only limit to zip files? tar.gz and tar.bz2 should also be supported. --[[User:Chaosteil|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. [[User:SquidMan|SquidMan]]
* 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. [[User:SquidMan|SquidMan]]

Revision as of 06:09, 17 January 2009

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