instead of spring.exe, we would have launcher.exe (could also be spring.exe still, but i will call it launcher.exe here, cause its easier to understand this way). spring.exe would then be spring.dll, and would be moved to a subdir (eg lib), together with all the other dlls. the lib dir would also contain spring-dedicated.dll, spring-headless.dll, and spring-dedicated-client.dll. The launcher could then be called in these ways:
Code: Select all
launcher.exe /path/to/script.txt (launches normal spring)
launcher.exe --headless ... (launches headless spring)
launcher.exe --dedicated ... (launches dedicated-server)
launcher.exe --only-record-demo ... (launches dedicated-client)
- dlls would not have to remain in the main directory
- only one exe in the main dir
- in a lobby, you would have to configure the path to launcher.exe only, and all the versions could be used then, without changing the configuration. for example, htere could be an additional check-box right next to the spectator box, labeled only record demo
- possibly other things (eg. run headless spring by default on linux, if no X is available)