Despo 639 Posted September 30, 2015 Share Posted September 30, 2015 (edited) zloLauncherCLI v1.2.3 A very small (~50KiB without icon) command line interface (CLI) launcher for both BF3 and BF4. Uses the most recent version of the zloAPI (BF3 v7.0.4, BF4 v2.0.1).This project's main propose is to serve as an alway-up-to-date minimal Client- and Server-Launcher and as a startingpoint for everybody who want's to code their own launcher.Fully opensource (C#): https://bitbucket.org/_despo/zlolaunchercliEveryone can contribute to the project. Code is rather messy, if you want to clean it up or add functions I would be glad to add them into master.FeaturesLoad API (BF3 & BF4)Login (BF3 & BF4)List all servers (BF3 & BF4)Select server (BF3 & BF4)Basic server info (BF3 & BF4)Singleplayer (BF3 & BF4)Ping server (BF3 & BF4)Basic player stats (BF3 & BF4)Connect to server (BF3 & BF4)ServerLauncher with automatic refresh and reconnect and ErrorLogger (BF3)DLL-Updater/Downloader with automatic restart (BF3 & BF4)UsageThere are 15 commands of which you can pass 5 via command line (see below). Enter help to get a list.select, ping, info and connect can either be used with the server ID you want to target or without an argument in which case the previously selected ID will be used (if any).Load a dll: bf3 / bf4Login with mail-address and password from zloemuList servers: servers or play singleplayer: single(optional) Select a server: select X(optional) Print info: info / info X(optional) Ping the server: ping / ping XConnect to the server: connect / connect X Calling launcher from command lineYou can pass 6 commands: -bf3 or -bf4 -login mailaddress password -connect serverID or -single -autocloseLogin, connect and autoclose are optional. This will not work if your password starts with -, contains whitespaces or regular expressions like \r or \n ServerLauncherEither do it manually by loading a DLL with bf3 / bf4 and starting ServerMode with server, or call it from commandline/batch. For example: copy DLL and launcher into your server-directory and insert following line at the beginning of your _StartServer.bat:start zloLauncherCLI.exe -bf3 -server The status of your server(s) will auto-update. If you get disconnected from master-server launcher will automatically try to reconnect your server after 15seconds. Be aware that even if the server connects back immediately, it will still take some time (1-3 minutes) till you get back IN_GAME. Exit ServerMode by pressing [CTRL] + [E] on your keyboard. FutureServerLauncher for BF4autorestart server if server crashes/hangsCleanup Your browser does not support the video tag. Download v1.2.3:https://bitbucket.org/_despo/zlolaunchercli/downloads/zloLauncherCLI_v1.2.3.0.exe Edited January 11, 2016 by Despo updated to 1.2.3 5 Link to post Share on other sites
Despo 639 Posted October 14, 2015 Author Share Posted October 14, 2015 works as serverlauncher too now Link to post Share on other sites
Despo 639 Posted October 17, 2015 Author Share Posted October 17, 2015 BF4 Client and Server should work now (couldn't test it yet) Link to post Share on other sites
Despo 639 Posted November 21, 2015 Author Share Posted November 21, 2015 Updated to v1.2.0BF4 works now without problems Link to post Share on other sites
shatsoe06 3 Posted November 21, 2015 Share Posted November 21, 2015 This command for make launcher ?? What program which u use sir ? Link to post Share on other sites
Despo 639 Posted November 26, 2015 Author Share Posted November 26, 2015 updated to v1.2.1fixed a gamemode-related erroradded a "autoclose"-function which closes the launcher if game crashes/exits (on request from Cepora) This command for make launcher ?? What program which u use sir ? sorry I don't really understand what you are asking. 1 Link to post Share on other sites
shatsoe06 3 Posted November 27, 2015 Share Posted November 27, 2015 sorry I don't really understand what you are asking.Sorry sir if my question make u confuse , i just ask for u ,what the function of zloAPI , ? this code for making launcher or something sir ? Link to post Share on other sites
Cepora 650 Posted November 27, 2015 Share Posted November 27, 2015 (edited) updated to v1.2.1fixed a gamemode-related erroradded a "autoclose"-function which closes the launcher if game crashes/exits (on request from Cepora) Thanks Despo =) and how using thats command? Edited November 27, 2015 by Cepora Link to post Share on other sites
thetruestarr 239 Posted November 27, 2015 Share Posted November 27, 2015 Thanks Despo =) and how using thats command?+ -autocloseas he did in his example command Link to post Share on other sites
thetruestarr 239 Posted November 27, 2015 Share Posted November 27, 2015 (edited) Sorry sir if my question make u confuse , i just ask for u ,what the function of zloAPI , ? this code for making launcher or something sir ?Its already a launcher, just command line based... You can find his source on his site. Technically you could use the code and build your own launcher on it... Program of your choicehttps://bitbucket.org/_despo/zlolaunchercli/src^ Edited November 27, 2015 by thetruestarr Link to post Share on other sites
Cepora 650 Posted November 27, 2015 Share Posted November 27, 2015 don't work =( -bf4 -login xxx xxx -connect 1 + -autoclose ='( Link to post Share on other sites
Despo 639 Posted November 27, 2015 Author Share Posted November 27, 2015 don't work =( -bf4 -login xxx xxx -connect 1 + -autoclose ='(-bf4 -login xxx yyy -connect 1 -autoclose'+' indicates an additional command Link to post Share on other sites
Despo 639 Posted November 28, 2015 Author Share Posted November 28, 2015 updated to v1.2.2:fixed autoclose once againadded singleplayerchanged minimum required .NET framework to 3.5"C:\OrignGames\Battlefield 4\zloLauncherCLI_v1.2.1.0.exe" -bf4 -login xxx yyy -connect 1 -autoclose dont work =(version 1.2.2 works now from commandline too Link to post Share on other sites
Despo 639 Posted January 11, 2016 Author Share Posted January 11, 2016 updated to v1.2.3:updated BF4 API to 2.0.1added XP7 (R55 server)fixed Alert handlingadded check for 64bit exebug fixes Link to post Share on other sites
Recommended Posts