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

Difference between revisions of "User:SquidMan/HBC Repository Example"

From WiiBrew
Jump to navigation Jump to search
(New page: Here is my example of what the HBC Repository XML files could look like. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <source version="1"> <name>Repository Name...)
 
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
Here is my example of what the HBC Repository XML files could look like.
 
Here is my example of what the HBC Repository XML files could look like.
 
+
<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/~squidman/wii/repo/RepoStruct.zip</url>
 
     </app>
 
     </app>
     </source>
+
     </repo>
 +
</source>
 
Discuss please.
 
Discuss please.
 +
It needs things such as (for example):
 +
<source lang="xml">
 +
<requiresgccontroller>1</requiresgccontroller>
 +
<classicsupport>1</classicsupport>
 +
</source>
 +
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 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 [[Template:Icon templates|all the available peripherals]]. --[[User:Clorox|Clorox]] <small>who vectored some rasters</small> 03:00, 24 February 2009 (UTC)
 +
<source lang="xml">
 +
<peripherals>14</peripherals> <!-- 1=GC, 2=Wiimote 4=Nunchuk 8=Classic 16=GH3 (List may be added to later) -->
 +
</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)
 +
* 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]]
 +
::Which is nice, but many homebrew apps are distributed as .RAR, .7Z, .TAR.GZ, .TAR.BZ2, etc. and those need to be supported. --[[User:Clorox|Clorox]] <small>who vectored some rasters</small> 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. --[[User:SquidMan|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. --[[User:Clorox|Clorox]] <small>who vectored some rasters</small> 02:56, 24 February 2009 (UTC)

Latest revision as of 05:00, 24 February 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/~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)