Adventure Game Studio

AGS Support => Modules, Plugins & Tools => Topic started by: Daniel Eakins on Sat 09/11/2013 02:43:07

Title: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: Daniel Eakins on Sat 09/11/2013 02:43:07
LÖVE Setup for Adventure Game Studio is a setup launcher that I wrote as an alternative to AGS's default winsetup.exe. It is written in Lua, using the LÖVE framework (http://love2d.org/).

This is its default appearance:

(http://i.imgur.com/DSGAIr0.png)

This launcher relies primarily on a LÖVE library, Löve Frames (http://nikolairesokav.com/projects/loveframes/), written by Kenny Shields. This library features a skinning system that you can use to easily change the appearance of this default GUI even you have little knowledge of Lua:

(http://i.imgur.com/QD3T8Xs.png)

(http://i.imgur.com/t24qRlh.png)

If you do know Lua, of course, you can modify everything in the script to further customize your GUI. I tried to keep the code as organized and as easy as possible to understand. Here is an example of a different GUI with non relevant options removed and French text:

(http://i.imgur.com/IqLZ13o.png)

Main benefits over the default winsetup:

Minor drawbacks:

How to edit as a developer:

How to turn the script folder into an executable:

Download link:

LÖVE Setup v0.1 BETA (https://www.dropbox.com/s/xkig0dw6438jrpy/LOVESetup-v0.1.zip?dl=1)

Have fun! (I hope := )
Title: Re: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: dbuske on Sat 09/11/2013 11:42:24
Cool, downloading now.
Title: Re: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: Ghost on Sat 09/11/2013 13:31:11
Suuuu-weet! Looks good and may actually make me learn a little LUA.
Title: Re: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: Calin Leafshade on Sat 09/11/2013 13:56:23
Seems a bit overkill to use love for just the set up program.
Title: Re: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: Daniel Eakins on Sat 09/11/2013 14:01:17
Quote from: Calin Leafshade on Sat 09/11/2013 13:56:23
Seems a bit overkill to use love for just the set up program.
I know but it's the only non-AGS language I know :grin: I don't even know native Lua, only the LÖVE version of it.
Title: Re: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: EliasFrost on Sat 09/11/2013 14:07:29
This made me wonder.. I've been thinking about doing my own setup for the game I'm making, though that's a bit far into the future. What I'm wondering is: are all the configuration options from the winsetup inside the .cfg file or are there under-the-hood stuff that I can't access through the .cfg?
Title: Re: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: Daniel Eakins on Sat 09/11/2013 14:24:20
Quote from: Frostfalk on Sat 09/11/2013 14:07:29
This made me wonder.. I've been thinking about doing my own setup for the game I'm making, though that's a bit far into the future. What I'm wondering is: are all the configuration options from the winsetup inside the .cfg file or are there under-the-hood stuff that I can't access through the .cfg?
I think the only factors that affect winsetup but are not contained in the .cfg file are the existence of a speech pack (winsetup checks for a file named "speech.vox" to make the corresponding checkbox activable) and that of the translations (winsetup checks for *.tra files to fill the corresponding droplist).

The actual configuration options for these, however, are still in the actual .cfg file, as "usespeech" and "translation" (these keys only appear in the file only if they are set up with non-default values).
Title: Re: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: Crimson Wizard on Sat 09/11/2013 14:37:41
Finally! Now we can remove winsetup code from the engine :tongue:.

Also, this is a portable program, right?
Title: Re: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: Daniel Eakins on Sat 09/11/2013 15:44:29
Quote from: Crimson Wizard on Sat 09/11/2013 14:37:41
Finally! Now we can remove winsetup code from the engine :tongue:.

Also, this is a portable program, right?
Yeah, the only thing trace it leaves on a computer is the acsetup.cfg file generated.
Title: Re: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: Crimson Wizard on Sat 09/11/2013 15:47:16
Quote from: Daniel Eakins on Sat 09/11/2013 15:44:29
Quote
Also, this is a portable program, right?
Yeah, the only thing trace it leaves on a computer is the acsetup.cfg file generated.
I mean, will it work on other platforms (like Linux)? :)
Title: Re: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: Gilbert on Sat 09/11/2013 16:01:40
Quote from: Crimson Wizard on Sat 09/11/2013 15:47:16
I mean, will it work on other platforms (like Linux)? :)

Quote from: Daniel Eakins on Sat 09/11/2013 02:43:07
Main benefits over the default winsetup:

    ...
    • Potentially cross-platform: Since this script is written using LÖVE (i.e. Lua), it should in theory work on Mac OS X and Linux. That said, I can only test it on Windows.
All we need is someone who can try it.
Title: Re: LÖVE Setup v0.1 BETA -- Custom winsetup launcher
Post by: Daniel Eakins on Sat 16/12/2017 21:25:35
The broken link has been corrected.