More actions
(Created page with "{{#seo: |title=Wii Homebrew PC Tools (PC utilities) - GameBrew |title_mode=append |image=wii-logo.jpg |image_alt=hbcxmlgen-bash }} {{Infobox Wii Homebrews |title=hbcxmlgen-bas...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox Wii Homebrews | {{Infobox Wii Homebrews | ||
|title=hbcxmlgen-bash | |title=hbcxmlgen-bash | ||
|image= | |image=wii2.png | ||
|description=A Bash script for Homebrew Channel meta.xml file creation. | |description=A Bash script for Homebrew Channel meta.xml file creation. | ||
|author=mcpancakes | |author=mcpancakes | ||
Line 15: | Line 9: | ||
|license=GPL-3.0 | |license=GPL-3.0 | ||
|download=https://dlhb.gamebrew.org/wiihomebrews/hbcxmlgenbashwii.7z | |download=https://dlhb.gamebrew.org/wiihomebrews/hbcxmlgenbashwii.7z | ||
|website= | |website=https://wiibrew.org/wiki/Hbcxmlgen-bash | ||
|source= | |source= | ||
}} | }} | ||
Hbcxmlgen-bash is a Bash script for creating the Homebrew Channel's meta.xml files. | |||
Along with just making the meta.xml file, it also: | |||
* can be installed to <code>/usr/bin</code> so you can run it from anywhere just by typing <code>hbcxmlgen-bash</code>. | |||
* checks if meta.xml already exists in the current directory, and asks if you want to overwrite it. | |||
* notifies you if you need write permissions to write in the current directory before you enter all the meta.xml information. | |||
* enforces the entering of the release date by making sure you input 14 characters (YYYYmmddMMDDSS). | |||
'''Note:''' [[HBCXMLGen Wii|Hbcxmlgen]] is Pinecone's Java-based program that serves the same purpose as hbcxmlgen-bash. | |||
==Installation== | |||
install.sh parameters: | |||
-i = install | |||
-u = uninstall | |||
$ sh install.sh -i |-u | |||
OR | |||
$ bash install.sh -i | -u | |||
Due to a bug, you must run install.sh from the directory that hbcxmlgen-bash.sh is in. Otherwise: | |||
<pre> | |||
mcpancakes@desktop:/$ /usbhdd/Programming/hbcxmlgen-bash/install.sh -i | |||
Copying to /usr/bin/hbcxmlgen-bash ... | |||
[sudo] password for mcpancakes: | |||
cp: cannot stat `hbcxmlgen-bash.sh': No such file or directory | |||
Installed! | |||
mcpancakes@desktop:/$ | |||
</pre> | |||
It won't really be installed. They come together in the same archive anyway, and are extracted to the same place, so just take the time to <code>cd</code> to the directory you unpacked it in and run <code>./install.sh -i</code> from there. The uninstall can be run from any directory, however. | |||
==User guide== | |||
Once installed: | |||
$ hbcxmlgen-bash | |||
If not installed: | |||
$ ./hbcxmlgen-bash.sh | |||
OR | |||
$ [dir of script]/hbcxmlgen-bash.sh | |||
== Changelog == | |||
'''r2''' | |||
* Fixed issue of the wrongly always-appearing "Write privileges required" message when there was no meta.xml already in the directory. Sorry to the 11 who already downloaded it. When write privileges are required, running with <code>sudo</code> breaks the conditional statements for some odd reason (this existed in r1 as well). <code>su -c</code> works, though. (released ~8 hours after r1). | |||
'''r1''' | |||
*Initial release. | |||
== | ==External links== | ||
* WiiBrew - https://wiibrew.org/wiki/Hbcxmlgen-bash | |||
Latest revision as of 03:12, 1 April 2023
hbcxmlgen-bash | |
---|---|
General | |
Author | mcpancakes |
Type | PC utilities |
Version | r2 |
License | GPL-3.0 |
Last Updated | 2019/01/26 |
Links | |
Download | |
Website | |
Hbcxmlgen-bash is a Bash script for creating the Homebrew Channel's meta.xml files.
Along with just making the meta.xml file, it also:
- can be installed to
/usr/bin
so you can run it from anywhere just by typinghbcxmlgen-bash
. - checks if meta.xml already exists in the current directory, and asks if you want to overwrite it.
- notifies you if you need write permissions to write in the current directory before you enter all the meta.xml information.
- enforces the entering of the release date by making sure you input 14 characters (YYYYmmddMMDDSS).
Note: Hbcxmlgen is Pinecone's Java-based program that serves the same purpose as hbcxmlgen-bash.
Installation
install.sh parameters: -i = install -u = uninstall $ sh install.sh -i |-u OR $ bash install.sh -i | -u
Due to a bug, you must run install.sh from the directory that hbcxmlgen-bash.sh is in. Otherwise:
mcpancakes@desktop:/$ /usbhdd/Programming/hbcxmlgen-bash/install.sh -i Copying to /usr/bin/hbcxmlgen-bash ... [sudo] password for mcpancakes: cp: cannot stat `hbcxmlgen-bash.sh': No such file or directory Installed! mcpancakes@desktop:/$
It won't really be installed. They come together in the same archive anyway, and are extracted to the same place, so just take the time to cd
to the directory you unpacked it in and run ./install.sh -i
from there. The uninstall can be run from any directory, however.
User guide
Once installed: $ hbcxmlgen-bash If not installed: $ ./hbcxmlgen-bash.sh OR $ [dir of script]/hbcxmlgen-bash.sh
Changelog
r2
- Fixed issue of the wrongly always-appearing "Write privileges required" message when there was no meta.xml already in the directory. Sorry to the 11 who already downloaded it. When write privileges are required, running with
sudo
breaks the conditional statements for some odd reason (this existed in r1 as well).su -c
works, though. (released ~8 hours after r1).
r1
- Initial release.
External links
- WiiBrew - https://wiibrew.org/wiki/Hbcxmlgen-bash