Create account / Log in

Shut off splash graphic in Vassal 3.0 ?

Suggestions for additional features for the module editor and Vassal engine.

Moderators: Tim M, uckelman

Shut off splash graphic in Vassal 3.0 ?

Postby Brent Easton » January 15th, 2008, 11:27 am

*********** REPLY SEPARATOR ***********

On 15/01/2008 at 12:22 PM Joel Uckelman wrote:


I'm not sure that we need a spec document. Is there anything more to
it than

1) creating a launcher which loads VASSAL
2) creating a launcher which loads VASSAL + editor
3) showing a splash screen for each while it loads, which can be
switched off
4) moving editor-related buttons into menus in the editor
5) moving server status button into a 'Tools' menu?

I think Ben was hoping to see

6) write new front-end with gui support for tracking modules/games/logs etc.

:)
____________________________________________________________
Brent Easton
Analyst/Programmer
University of Western Sydney
Email: b.easton@uws.edu.au


_______________________________________________
Messages mailing list
Messages@forums.vassalengine.org
http://forums.vassalengine.org/mailman/ ... engine.org

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
Brent Easton
 
Posts: 2880
Joined: December 21st, 2007, 3:06 am
Location: Berry, NSW, Australia

Re: Shut off splash graphic in Vassal 3.0 ?

Postby bsmith » January 15th, 2008, 11:28 am

uckelman wrote:1) creating a launcher which loads VASSAL
2) creating a launcher which loads VASSAL + editor
3) showing a splash screen for each while it loads, which can be
switched off
4) moving editor-related buttons into menus in the editor
5) moving server status button into a 'Tools' menu?



No prob. Looks fine to me.
User avatar
bsmith
Site Admin
 
Posts: 657
Joined: October 2nd, 2007, 4:47 pm

Shut off splash graphic in Vassal 3.0 ?

Postby rk » January 15th, 2008, 4:21 pm

1) creating a launcher which loads VASSAL
2) creating a launcher which loads VASSAL + editor
3) showing a splash screen for each while it loads, which can be
switched off

These are all good. For the splash screen, we should try to show a module-specific image if VASSAL is launched specifying a module file on the command line. This used to be accomplished by telling module editors to include a file named " Splash.gif" Now the About Screen component should provide the splash image, but you have to at least parse the buildFile before you know what it is, and parsing the buildFile is one of the time-consuming operations during which that you'd like to have a splash screen up. You really need a well-known file name for the splash image if you're going to display it right at the start. One idea is to make AboutScreen automatically rename the image to Splash.XXX when saving.


4) moving editor-related buttons into menus in the editor

Good.


5) moving server status button into a 'Tools' menu?

The reason people asked for a server status button in the main window was so that they could check to see what games were being played before deciding which module to load. We should still make this possible.

rk

Post generated using Mail2Forum (http://www.mail2forum.com)
rk
Site Admin
 
Posts: 536
Joined: October 21st, 2007, 3:31 am

Postby bsmith » January 16th, 2008, 6:19 am

The reason people asked for a server status button in the main window was so that they could check to see what games were being played before deciding which module to load. We should still make this possible.


This shouldn't be an issue Rodney, they would go into Tools|Server Status to see which games are being played; Then go into File|Load Module. Or we could even put a button on the Server Status dialog to eliminate the extra clicks.

Is that kind of what you were thinking of doing Joel?
Current PBEMs:- Tunisia, ASL, Vimeiro, Europe Engulfed, EuroFront II.
User avatar
bsmith
Site Admin
 
Posts: 657
Joined: October 2nd, 2007, 4:47 pm

Shut off splash graphic in Vassal 3.0 ?

Postby uckelman » January 16th, 2008, 9:47 am

Thus spake "bsmith":
The reason people asked for a server status button in the main window was s
o that they could check to see what games were being played before deciding w
hich module to load. We should still make this possible.


This shouldn't be an issue Rodney, they would go into Tools|Server Status to
see which games are being played; Then go into File|Load Module. Or we coul
d even put a button on the Server Status dialog to eliminate the extra clicks
.

Is that kind of what you were thinking of doing Joel?


Yes, exactly.

--
J.

_______________________________________________
Messages mailing list
Messages@forums.vassalengine.org
http://forums.vassalengine.org/mailman/ ... engine.org

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Postby bsmith » January 18th, 2008, 6:34 am

Joel. Before I forget.

One more thing you need to add to your list for when you do the interface mods, we need to popup a username/password prompt if a user attempts to open a module with no login details configured.

I also suggest not using "Please enter your full name as your username", I doubt many users adhere to that rule.
Current PBEMs:- Tunisia, ASL, Vimeiro, Europe Engulfed, EuroFront II.
User avatar
bsmith
Site Admin
 
Posts: 657
Joined: October 2nd, 2007, 4:47 pm

Shut off splash graphic in Vassal 3.0 ?

Postby uckelman » January 20th, 2008, 4:36 pm

Thus spake "Rodney Kinney":
1) creating a launcher which loads VASSAL
2) creating a launcher which loads VASSAL + editor
3) showing a splash screen for each while it loads, which can be
switched off


These are all good. For the splash screen, we should try to show a
module-specific image if VASSAL is launched specifying a module file on the
command line. This used to be accomplished by telling module editors to
include a file named "Splash.gif" Now the About Screen component should
provide the splash image, but you have to at least parse the buildFile
before you know what it is, and parsing the buildFile is one of the
time-consuming operations during which that you'd like to have a splash
screen up. You really need a well-known file name for the splash image if
you're going to display it right at the start. One idea is to make
AboutScreen automatically rename the image to Splash.XXX when saving.

4) moving editor-related buttons into menus in the editor

Good.


5) moving server status button into a 'Tools' menu?


The reason people asked for a server status button in the main window was so
that they could check to see what games were being played before deciding
which module to load. We should still make this possible.

rk

Rodney,

I'm looking at this now and I'm seeing some things in Main which I
don't understand. What's the purpose of the -auto option? It looks
to me like it causes an empty module to be loaded. Why do that?

--
J.

_______________________________________________
Messages mailing list
Messages@forums.vassalengine.org
http://forums.vassalengine.org/mailman/ ... engine.org

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Shut off splash graphic in Vassal 3.0 ?

Postby rk » January 21st, 2008, 1:33 am

What's the purpose of the -auto option?

It's possible to embed a module in a .jar file in the classpath rather than have to load it from a file. The commercial Dan Verssen modules are distributed this way, as will the latest version of VASL. The -auto option instructs VASSAL to look for and launch an embedded module.

rk

Post generated using Mail2Forum (http://www.mail2forum.com)
rk
Site Admin
 
Posts: 536
Joined: October 21st, 2007, 3:31 am

Postby uckelman » January 26th, 2008, 5:26 pm

I have something for people to look at now:

http://www.nomic.net/~uckelman/tmp/vass ... splash.zip

Unlike other builds I've posted, this one is really just a mock-up. I don't
recommend that anyone actually use it for playing a game. Once you've opened
a module and had a look at the menus, there's nothing else to see.

What is here:

* No splash screen.
* If you run this build, you'll get the Player only (right now there is no
way to get the Editor).
* Server Status, Preferences moved to the Tools menu.
* Everything related to Files is under the File menu.

What I still intend to do:

* Add back a splash screen which can be turned off in the Preferences.
* Show the Welcome Wizard or something like it in a dialog over the
main window, which can also be turned off in the Preferences.
* Make the entries in the menus enabled/disabled as appropriate.
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Postby bsmith » January 31st, 2008, 3:56 am

uckelman wrote:I have something for people to look at now:

http://www.nomic.net/~uckelman/tmp/vass ... splash.zip

Unlike other builds I've posted, this one is really just a mock-up. I don't
recommend that anyone actually use it for playing a game. Once you've opened
a module and had a look at the menus, there's nothing else to see.



Looks fine to me Joel.
User avatar
bsmith
Site Admin
 
Posts: 657
Joined: October 2nd, 2007, 4:47 pm

Postby uckelman » February 6th, 2008, 11:01 pm

Here's a version of the consoleless/wizardless version which is current with
the trunk, and mostly works:

http://www.nomic.net/~uckelman/tmp/vass ... vn3004.zip

Left to do:

* Add a splash screen which displays on startup, which can be turned off.
* Pop up a dialog to get username/password when VASSAL has none.
* Create a launcher for the Editor.
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Postby uckelman » February 6th, 2008, 11:31 pm

This builds add a splash screen which displays on startup, but which can be
turned off in the preferences:

http://www.nomic.net/~uckelman/tmp/vass ... vn3005.zip

Left to do:

* Pop up a dialog to get username/password when VASSAL has none.
* Create a launcher for the Editor.
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Postby bsmith » February 7th, 2008, 1:57 am

uckelman wrote:This builds add a splash screen which displays on startup, but which can be
turned off in the preferences:

http://www.nomic.net/~uckelman/tmp/vass ... vn3005.zip

Left to do:

* Pop up a dialog to get username/password when VASSAL has none.
* Create a launcher for the Editor.


Very nice, thanks Joel. By the way, the batch file is throwing "could not find the main class"
User avatar
bsmith
Site Admin
 
Posts: 657
Joined: October 2nd, 2007, 4:47 pm

Shut off splash graphic in Vassal 3.0 ?

Postby uckelman » February 7th, 2008, 8:30 am

Thus spake "bsmith":
Very nice, thanks Joel. By the way, the batch file is throwing "could not fi
nd the main class"


Thanks for spotting that. It will be fixed the next time I post a build.

--
J.

_______________________________________________
Messages mailing list
Messages@forums.vassalengine.org
http://forums.vassalengine.org/mailman/ ... engine.org

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Postby uckelman » February 7th, 2008, 11:30 pm

This builds gets the Editor to work (maybe, as I haven't thoroughly tested
it) and corrects the Windows batch file:

http://www.nomic.net/~uckelman/tmp/vass ... vn3012.zip

Left to do:

* Pop up a dialog to get username/password when VASSAL has none.

Also:

* Does anyone know whether the "Translate VASSAL" option really depends
on GameModule? (I think it doesn't.) This matters for determining when
exactly the option is enabled.

* Does anyone have an opinon on what the names of the launchers should be?
Should the player be VASSAL? VASSALPlayer? Player? Something else?
Should the editor be VASSALEditor? Editor? Something else?

Should we call the player Rodney and the editor Kinney? (Joking.)
User avatar
uckelman
Site Admin
 
Posts: 8380
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

PreviousNext

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest