Launcher executable - Page 2

Launcher executable

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Launcher executable

Post by hoijui »

Satirik wrote:
smoth wrote:if it would require a lobby to run I am 100% against it. Spring.exe is one of the fastest ways to test for me.
+1, don't make a launcher please !! plus as koshi said you couldn't launch the dll directly ! :shock:
hoijui wrote:the launcher could be named spring.exe, and double clicking it would result in the exact same happening like double clicking spring.exe now.
hello?

@Argh
i see no even partly valid argument there, plus a few errors:
the ingame menu is part of spring.exe/dll and spring-MT.exe|dll. for it to appear in the launcher, the launcher would have to consist of half of spring.exe already, plus it would not make sense for headless, dedicated and dedicated-client (selecting headless spring in a GUI, hae? ;-) )
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Launcher executable

Post by hoijui »

btw, if there would be a real need for double clicking spring-headless.exe or dedicated or any of the others, then we could still bake a shell or batch script, or even an exe that sptarts "spring.exe --headless", even that this would be really silly, and i can not see any valid scenario for it, except maybe for MT.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: Launcher executable

Post by Satirik »

yeah but nobody want spring not being launchable without a lobby !
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Launcher executable

Post by hoijui »

hoijui wrote:the launcher could be named spring.exe, and double clicking it would result in the exact same happening like double clicking spring.exe now.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Launcher executable

Post by AF »

Im sorry but those people opposing this have obviously not read what hoijui is posting and are just reacting to the thread title.

Satirik, that you a lobby developer of all people should be saying the things your saying is a testament to how laughable your posts are. How any of you arent utterly embarassed by how blatantly obvious it is you have no idea what your even responding to is beyond me
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Launcher executable

Post by smoth »

smoth wrote:would be awesome, can we specify a different start script dir and bg image for what would normally be the spring.exe menu? that would be pretty cool if all I needed to do was run a bat to gundam-ify spring.
I still want an answer to this... before sinbad apparently thought I failed at understanding dll.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Launcher executable

Post by hoijui »

@smoth
smoth wrote: this would be a very low-level/basic change, and does not at all touch something like the ingame menu. also, i never heard of anything like the start script dir, as you should allways give the full path to the start script, and it does not matter where the script lies.
ok i may not have said that clearly enough, but the bg image resuest has absolutely nothing to do with a launcher as proposed here, please open a new thread or bump a relevant old one or whatever.
and for the start script dir (even doh i still don't know what it should be), i am 99% sure that the same applies like what i said about the bg image.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Launcher executable

Post by zwzsg »

smoth wrote:would be awesome, can we specify a different start script dir and bg image for what would normally be the spring.exe menu? that would be pretty cool if all I needed to do was run a bat to gundam-ify spring.

if it would require a lobby to run I am 100% against it. Spring.exe is one of the fastest ways to test for me.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Launcher executable

Post by smoth »

I know, but I was asking specifically about the spring solution as it would be multi-platform.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Launcher executable

Post by zwzsg »

My solution is multiplateform.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Launcher executable

Post by smoth »

cool.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Launcher executable

Post by zwzsg »

Can I port my single player system to Gundam (Saving and loading game state to and from startscript + a regenerative AI that handle any mod + main menu widget + bunch of missions), or would you ignore it if I did?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Launcher executable

Post by smoth »

no sure, go ahead, I would like to see how it works.
User avatar
thesleepless
Posts: 417
Joined: 24 Oct 2007, 04:49

Re: Launcher executable

Post by thesleepless »

if each engine version was stored as a different DLL/SO
then you (or the lobby) could select the appropriate one to run, would be nice.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Launcher executable

Post by hoijui »

um.. right... this could probably make running different spring versions from a single executable possible too, eg. if you have the dll for each one of them still around...
it would need some other changes too though, but this would be one step closer to this.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Launcher executable

Post by zerver »

Good thing is that the default exe version to use could be read from springsettings, but also overridden with the command line as suggested.

//springsettings.cfg
GameDLL=spring.dll

// cmd
spring.exe --gamedll=spring.dll
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Launcher executable

Post by Auswaschbar »

I really don't see any benefits here. Dedicated, headless and main spring exe have totally different use cases, and I don't see why an autohost or a lobby would need to share the same file to execute. Instead of differencing them by filenames, you would do it by commandline arguments, introducing another possible point of failure.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Launcher executable

Post by koshi »

A sane interface to launch different engine versions would be big advantage imo. Not only would it make watching replays much more convenient, it could also facilitate testing of pre-releases.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Launcher executable

Post by zerver »

Indeed, the benefit is that you can set it up to launch a different spring version via the config file, without making any changes to the lobby or replacing the main executable.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Launcher executable

Post by Auswaschbar »

zerver wrote:Indeed, the benefit is that you can set it up to launch a different spring version via the config file, without making any changes to the lobby or replacing the main executable.
Why would editing the launcher config file be easier than editing the lobby config file?
Post Reply

Return to “Engine”