FYI, theTrav (and anyone else building a custom client), I've made a separate JNLP file for haven-res.jar, so it should now be possible and easy for you to make a JNLP launcher for your client. If you just publish your compiled haven.jar on Github's download section, you should be able to put a JNLP file next to it that looks like this (copied and slightly modified from my own version):
- Code: Select all
<?xml version="1.0" ?>
<jnlp spec="1.0+" codebase="http://github.com/thetrav/haven-client/downloads/" href="haven.jnlp">
<information>
<title>Haven and Hearth (Trav's Extendo)</title>
<vendor>theTrav Custom Software Inc.</vendor>
<homepage href="http://www.havenandhearth.com/" />
<description>The Haven game</description>
<shortcut online="false">
<desktop />
<menu submenu="Haven and Hearth" />
</shortcut>
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.5+" max-heap-size="256M" />
<jar href="haven.jar" />
<property name="haven.errorhandler" value="on" />
<property name="haven.defserv" value="sh.seatribe.se" />
<property name="haven.fullscreen" value="off" />
<extension name="jogl" href="http://www.havenandhearth.com/java/haven-res.jnlp" />
<extension name="jogl" href="http://www.havenandhearth.com/java/jogl/jogl.jnlp" />
</resources>
<application-desc />
</jnlp>
Note that the jnlp/information/title tag is what names the start menu item on Windows, so it's useful to give it some meaningful distinguisher from name of the official client.
EDIT: The things you should have to replace if you're not theTrav is the codebase attribute of the jnlp tag itself, and the jnlp/information/title tag. Everything else should at least kinda sorta work if you haven't made any other changes.