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

Difference between revisions of "HBCXMLGen"

From WiiBrew
Jump to navigation Jump to search
Line 16: Line 16:
 
App finally (should) work! Very embarrassing error on my part.
 
App finally (should) work! Very embarrassing error on my part.
 
==Why Java?==
 
==Why Java?==
Some grimace at this. Java is quick to create UIs in and works on almost any machine.
+
Java is one of those hotly debated topics among the programming community: it's a bit of a Marmite situation (I personally love Marmite. Others would favour eating tar for breakfast).
 +
 
 +
Java was one of the first programming languages I ever learnt, and it's because of this I have an irrational attachment to it (a bit like Mac fan-boys). But beyond this, Java was ideal for this non-CPU intensive program: it runs on (almost) any OS, it's easy to build UIs for it and it has powerful file IO classes. In fact, Java's in-built library is second to none.
 +
 
 +
As I said, I will happily provide the source upon request, but it's exquisitely boring. Most of it is generated by the IDE and the WYSIWYG editor I used to design the UI.
  
 
==Why at all?==
 
==Why at all?==

Revision as of 23:53, 3 November 2008

HBCXMLGen
General
Author(s)pinecone
TypePC utility
Version0.0.1r2
LicenseBSD
Links
[[[1] or for Macs: [2]|Download]]
Source

What It Does

What it says on the tin. This program automatically generates the XML file needed to add a homebrew app to the HBC.

Newsflash!

App finally (should) work! Very embarrassing error on my part.

Why Java?

Java is one of those hotly debated topics among the programming community: it's a bit of a Marmite situation (I personally love Marmite. Others would favour eating tar for breakfast).

Java was one of the first programming languages I ever learnt, and it's because of this I have an irrational attachment to it (a bit like Mac fan-boys). But beyond this, Java was ideal for this non-CPU intensive program: it runs on (almost) any OS, it's easy to build UIs for it and it has powerful file IO classes. In fact, Java's in-built library is second to none.

As I said, I will happily provide the source upon request, but it's exquisitely boring. Most of it is generated by the IDE and the WYSIWYG editor I used to design the UI.

Why at all?

I've actually been quite surprised by the number of people who have downloaded this app. Since it wasn't particularly hard to make and required almost no special knowledge, expertise or ingenuity, the fact that no one had attempted such an app before-hand suggested to me that no one felt the need for it. But I'm happy as long as at least one person finds it useful (whether or not you let me know about this doesn't really matter to me: this app wasn't so much an act of generosity as it was a personal aid).

I always like to solve problems with programs, however small. An hour of my time is well invested if it saves you and me time scrambling around looking for XML tags. Obviously a template file stored somewhere on your system or simply copy-and-pasting an old XML file would be adequate, but I feel this is a somewhat more elegant solution.

Note

Mac OSX users have the choice of downloading either the normal version or the brand new Mac OSX version. It's the same .jar file, but it's wrapped in a nice installer that puts it in your applications folder, creates and alias and checks that the JRE is installed.

The one interesting part of the source is the code which determines the OS of the host system and executes a command accordingly. In this case, it opens a text editor. If there are any beginner Java programmers who may be interested in this: don't hesitate to drop me a message on my Discussion page or on the IRC (although I'm not on it most of the time).

I'd like to thank everyone for being so helpful in helping me find the very stupid mistake I made (more information on the Discussion page). Any comments/bugs/requests/ideas/rantings can be posted on the Discussion page as usual.

Also, feel free to correct any spelling errors. I am a ruthlessly scrappy typist.

Be sure to...

Check out the Discussions page. If you're having trouble running the app, chances are someone else is too...