At the moment we have at least three persons (
NowNewStart,
C4TH34D,
Totti1992) which write a launcher. Thank you for your work!!!
I think we need to concentrate the work. Please let us discuss the features and concepts at this thread and write together only one launcher.
Some ideas and concepts about launcher, updater and installer.
Terasology uses the launcher "launch4J". The file "Terasology.exe" is created by "launch4j".
Please look at the features (
http://launch4j.sourceforge.net/).
Other java launchers/installers:
IzPack:
http://izpack.org/
Janel:
http://www.redskaper.com/
WinRun4J:
http://winrun4j.sourceforge.net/
JSmooth:
http://jsmooth.sourceforge.net/
At first we should discuss what we need/want. Some ideas:
* Executable file (EXE, ...) which search for java (JRE) and start the game. Should work on different OS (Windows, Linux, Mac)
* Display information (changelog, new version hint, links/URLs, version of the installed game, ...)
* Download and install a new version (stable/master or develop)
* Install path (display and edit)
* Search/download/update/install mods/plugins
* Change graphic/video options (before the game starts)
* Enter a username (mail, password, ...) (needed for multiplayer or different users at the same computer)
* Enable a developer/debug mode
* A splash screen
* ...
Solutions:
1. Extend an existing open-source launcher/installer
We add some of the features into the launcher.
I think launch4J doesn't support all features.
2. Open-source launcher/installer starts our launcher/updater (java)
Our new updater is written in java and integrated into the file "Terasology.jar".
3. Our new launcher/updater (EXE, ...) starts an open-source launcher/installer
The updater have to exist for different OS. We need an EXE file for windows.
4. Our new launcher/updater (EXE, ...) starts the game
The updater have to exist for different OS. We need an EXE file for windows.
We use not an existing open-source launcher/installer. Our launcher searches for the java (JRE).
I prefer the solutions 1 and 2.
What do you think?