Headless put in main installer
Moderator: Moderators
Headless put in main installer
It would be most useful to bundle headless spring when ready into the main installer. Im not simply talking about AI botrunnners for the AI ladder, ( although it would make access to AI dev a lot easier )
There are various other things that can be gained form running a headless spring, for example, pre-generation of pathfinding using a headless spring would be far far faster and convenient than normal spring. It would also be useful for authosts, reducing springs footprint on our machines running autohosts, and not interfering with other OGL/directx apps under XP, nm running full autohosts on web servers (although theres the dedicated host app for that).
There are various other things that can be gained form running a headless spring, for example, pre-generation of pathfinding using a headless spring would be far far faster and convenient than normal spring. It would also be useful for authosts, reducing springs footprint on our machines running autohosts, and not interfering with other OGL/directx apps under XP, nm running full autohosts on web servers (although theres the dedicated host app for that).
Re: Headless put in main installer
why would a normal user need to pregenerate paths?
the dedicated server has a much smaller footprint/less dependencies then spring-headless, i did not get your argument there.
It do not see a good argument pro this yet. I guess your main motivation is that you want to use it, but do not want to compile it yourself. that would be solveable by allowing buildbot to upload spring-headless binary.
the dedicated server has a much smaller footprint/less dependencies then spring-headless, i did not get your argument there.
It do not see a good argument pro this yet. I guess your main motivation is that you want to use it, but do not want to compile it yourself. that would be solveable by allowing buildbot to upload spring-headless binary.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Headless put in main installer
Afaik dedicated is neither part of the installer. The main reason for it is that it is not usefull alone, as it should rather come with the autohost-program. Some imho for headless.
PS: gg for generating paths over half an hour after every spring or mod update.
PS: gg for generating paths over half an hour after every spring or mod update.
Re: Headless put in main installer
Because you can pregen the paths while waiting for a game to start. Some people already do this manually.
Eitherway it should be bundled if only for the purposes of aiding development.
Eitherway it should be bundled if only for the purposes of aiding development.
Re: Headless put in main installer
spring-headless doesn't appear to have any dependencies more than normal spring... I think it'd be worth including if it compresses well with normal spring.
Re: Headless put in main installer
Say I wanted to develop my own autohost in java. Which list of steps would be the most encouraging to me as a new developer:
List 1:
List 1:
- Run netbeans installer
- Launch Netbeans
- Start coding my autohost
- Install and configure mingw32/Visual studio
- Install git
- Do a git checkout of spring trunk
- Build dedicated host
- Run netbeans installer
- Launch netbeans
- Start coding my autohost
Re: Headless put in main installer
hoijui wrote:I guess your main motivation is that you want to use it, but do not want to compile it yourself. that would be solveable by allowing buildbot to upload spring-headless binary.
Re: Headless put in main installer
How the hell is that ad hominem? Rather than package another few megabytes of what will be deadweight for the vast majority of downloading users, he's proposing we simply provide a link to the headless binary to the few developers who will require it. No compiling required, no bandwidth wasted, win-win for every party.
Re: Headless put in main installer
I'm not sure that'd be the case. I'll check.Peet wrote:another few megabytes of what will be deadweight
Re: Headless put in main installer
For now headless spring & dedicated host among others on the download page as an add-on pack might be a good idea even if they're just links to buildbot
Re: Headless put in main installer
about half a mb when lzma-compressed alongside the normal spring binaryPeet wrote:another few megabytes
edit: about another 1/3mb to add libspringserver
Re: Headless put in main installer
a few megs is not important; what's important is that it's completely useless for 99% of the people who download the installer. i'm not completely against it, but i really don't see the point.
-
- Posts: 51
- Joined: 14 Aug 2008, 21:54
Re: Headless put in main installer
Not sure which side I land on here...but I would like headless binaries in order to do some mutation/GA tests on my bots.......
I've never had luck compiling spring engine at all from source....
I've never had luck compiling spring engine at all from source....
Re: Headless put in main installer
headless spring and accompanying spring to watch replays (headless spring will currently break your viewradius and treeviewradius, you'll need to turn these back up when using normal spring)
lua widget to set speed to 120x and disable interface (only when headless is running) - note, you might need to enable this (HeadlessSetup) manually in normal spring.
lua widget to set speed to 120x and disable interface (only when headless is running) - note, you might need to enable this (HeadlessSetup) manually in normal spring.