Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Hbcxmlgen-bash Wii

From GameBrew
hbcxmlgen-bash
Wii2.png
General
Authormcpancakes
TypePC utilities
Versionr2
LicenseGPL-3.0
Last Updated2019/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 typing hbcxmlgen-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

Advertising: