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

Hbcxmlgen-bash Wii: Difference between revisions

From GameBrew
m (HydeWing moved page Hbcxmlgen Bash Wii to Hbcxmlgen-bash Wii without leaving a redirect)
No edit summary
Line 1: Line 1:
{{#seo:
|title=Wii Homebrew PC Tools (PC utilities) - GameBrew
|title_mode=append
|image=wii-logo.jpg
|image_alt=hbcxmlgen-bash
}}
{{Infobox Wii Homebrews
{{Infobox Wii Homebrews
|title=hbcxmlgen-bash
|title=hbcxmlgen-bash
|image=wii-logo.jpg
|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.
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
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).


* can be installed to <code>/usr/bin</code> so you can run it from anywhere just by typing <code>hbcxmlgen-bash</code>
'''Note:''' [[HBCXMLGen Wii|Hbcxmlgen Wii]] is Pinecone's Java-based program that serves the same purpose as 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)


Also, a bug: You must run install.sh from the directory that hbcxmlgen-bash.sh is in. Otherwise:
==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>
<pre>
mcpancakes@desktop:/$ /usbhdd/Programming/hbcxmlgen-bash/install.sh -i
mcpancakes@desktop:/$ /usbhdd/Programming/hbcxmlgen-bash/install.sh -i
Line 39: Line 42:
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.
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.


<pre>
==User guide==
+------------------+
Once installed:
| (Un)Installation |
  $ hbcxmlgen-bash
+------------------+
 
If not installed:
install.sh parameters:
  $ ./hbcxmlgen-bash.sh
  -i = install
      OR
  -u = uninstall
  $ [dir of script]/hbcxmlgen-bash.sh
 
$ sh install.sh -i |-u
  OR
$ bash install.sh -i | -u
 
+---------+
| Running |
+---------+
 
Once installed:
  $ hbcxmlgen-bash
 
If not installed:
  $ ./hbcxmlgen-bash.sh
    OR
  $ [dir of script]/hbcxmlgen-bash.sh
</pre>


== Changelog ==
== Changelog ==
'''r2'''
'''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).<br />
* 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'''
'''r1'''
*initial release.
*Initial release.
 
== Note ==
[[Hbcxmlgen Wii]] is Pinecone's Java-based program that serves the same purpose as hbcxmlgen-bash.


==External links==
==External links==
* Wiibrew - https://wiibrew.org/wiki/Hbcxmlgen-bash
* WiiBrew - https://wiibrew.org/wiki/Hbcxmlgen-bash

Revision as of 03:11, 1 April 2023

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 Wii 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: