Author Topic: MGViewer ( Tool like MGTray )  (Read 1234 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
MGViewer ( Tool like MGTray )
« 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

... and yes, next version will be able to start MG directly.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: MGViewer ( Tool like MGTray )
« Reply #1 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
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything