MegaGlest Forum

MegaGlest => MegaGlest => Topic started by: titi on 20 September 2011, 00:08:10

Title: MGViewer ( Tool like MGTray )
Post by: titi on 20 September 2011, 00:08:10
Sorry i couldn't resist....

Launch it with java webstart:
http://www.titusgames.de/javaws/mgviewer/MGViewer.jnlp (http://www.titusgames.de/javaws/mgviewer/MGViewer.jnlp)

... and yes, next version will be able to start MG directly.
Title: Re: MGViewer ( Tool like MGTray )
Post by: tomreyn on 21 September 2011, 16:18:20
I like this one, too. I think the GUI is nicer.

My fears regarding memory consumption seem to be somewhat justified: on my computer (OpenJDK 6b22-1.10.2-0ubuntu1~11.04.1), two Java processes were launched and remain active after clicking on the JNLP link, consuming a total of 138 MB RSS right from the start:
Code: [Select]
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
tomreyn    30899  8.3  0.6 2619048 55540 ?       Sl   17:49   0:01 /usr/lib/jvm/java-6-openjdk/bin/java -Xbootclasspath/a:/usr/share/icedtea-web/netx.jar -Xms8m -classpath /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar -Dicedtea-web.bin.name=javaws -Dicedtea-web.bin.location=/usr/bin/javaws net.sourceforge.jnlp.runtime.Boot /tmp/MGViewer-2.jnlp
tomreyn    30935 18.2  1.0 2628144 82972 ?       Sl   17:49   0:03 /usr/lib/jvm/java-6-openjdk/bin/java -Xbootclasspath/a:/usr/share/icedtea-web/netx.jar -Xms8m -esa -Xnoclassgc -classpath /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar -Dicedtea-web.bin.name=javaws -Dicedtea-web.bin.location=/usr/bin/javaws net.sourceforge.jnlp.runtime.Boot -Xnofork /tmp/MGViewer-2.jnlp
Both processes appear whenever I start the application by visiting the URL in my web browser or when I click on the Desktop starter. They both exit as soon as I use the GUI option to shutdown the application.

So far MGViewer lacks some features compared to MGTray. Features and improvements I'm missing:
* nicer tray icon (currently 'zzz' or exclamation mark, depending on status)
* nicer Desktop icon (currently a 'blank document' icon)
* It should not automatically attempt to create a desktop starter icon when the user has chosen to not create one, or when there already is one in place.
* I do not know whether the X.509 certificate used to sign this software, whose serial is 1316469924 and whose SHA1 fingerprint is F0:12:1A:1D:3E:A9:D1:F8:63:46:34:76:10:7B:55:B2:DD:0B:6B:C7, is one I can safely trust. That's because I both have no way to verify its fingerprint with its issuer over a secure (enough) channel, nor is it signed by another entitiy I might already trust. (Obviously MGTray has the same issue, just is not signed.)
* MGViewer should provide an option to join a listed game on the correct port by double-clicking its entry, as well as by selecting its entry and clicking on a yet-to-be-added button
* To do so, it should be possible to point to the location of the executable file (binary or wrapper script) of the local MegaGlest installation
* MGViewer should provide an option to host a new game by a click of a button