Page 1 of 2 12 LastLast
Results 1 to 30 of 34

Thread: Launcher Shortcut for IL2COD

  1. #1
    Team Fusion ATAG_Bliss's Avatar
    Join Date
    Feb 2011
    Location
    United States of China
    Posts
    4,135
    Post Thanks / Like
    Total Downloaded
    457.02 MB

    Launcher Shortcut for IL2COD

    Hi everyone,

    As we all know, it's only a matter of time before we get a launcher crash playing online. In saying that, most people fly a sortie and then restart the game upon completion. Doing this through the game is a hassle as you have to go through all the start up menus, and click through everything to get to the server. Then, when you want to exit, you have to not only exit the server, but then also wait to exit the game. Repeating this process is a pain to do for every sortie.

    With that said, I've created a shortcut that works exactly like the launcher.exe executable that will start the game for you. But the real kicker here is it will connect you automatically to the server. No more intro video/menus/mouse clicks (should help some of the ATI guys out) But even better, after you've completed your sortie, when you leave the server, the game will automatically close down.

    Simply place this file anywhere you want and viola, you should get some better performance, not to mention save a bunch of time.

    Cheers!

    ATAG Shortcut.zip


    "The dissenter is every human being at those moments of his life when he resigns momentarily from the herd and thinks for himself". - Archibald Macleish


  2. #2
    Supporting Member Ohms's Avatar
    Join Date
    Sep 2011
    Location
    ottawa,ontario
    Posts
    881
    Post Thanks / Like
    Total Downloaded
    100.64 MB

    Re: Launcher Shortcut for IL2COD

    Thx Bliss will give this a try when i get home.

    P.S Don't want to sound like a suck up but thx's for all your and the rest of the ATAG guys hard work.

  3. #3
    Ace ChiefRedCloud's Avatar
    Join Date
    Jul 2011
    Location
    Canton, Ga, USA
    Posts
    1,855
    Post Thanks / Like
    Total Downloaded
    8.93 MB

    Re: Launcher Shortcut for IL2COD

    Works fine for me ....... batch file. Simple and very effective. thanks ....

  4. #4
    Supporting Member JG6_BigglesCDN's Avatar
    Join Date
    Nov 2011
    Location
    Canada
    Posts
    43
    Post Thanks / Like
    Total Downloaded
    0

    Re: Launcher Shortcut for IL2COD

    Bliss...when u say anywhere I assume u mean in the game folder on Steam?

    Ohmie...what is that sucking sound I hear??:laugh1

    Cheers!

    Biggs

  5. #5
    Ace ChiefRedCloud's Avatar
    Join Date
    Jul 2011
    Location
    Canton, Ga, USA
    Posts
    1,855
    Post Thanks / Like
    Total Downloaded
    8.93 MB

    Re: Launcher Shortcut for IL2COD

    Quote Originally Posted by JG6_BigglesCDN View Post
    Bliss...when u say anywhere I assume u mean in the game folder on Steam?

    Ohmie...what is that sucking sound I hear??:laugh1

    Cheers!

    Biggs
    Actually your desktop is fine for it ......

  6. #6
    ATAG Member ATAG_Deacon's Avatar
    Join Date
    Oct 2011
    Location
    Heaven, I've already served my time in Hell!
    Posts
    1,494
    Post Thanks / Like
    Total Downloaded
    12.34 MB

    Re: Launcher Shortcut for IL2COD

    Quote Originally Posted by ATAG_Bliss View Post
    Hi everyone,

    As we all know, it's only a matter of time before we get a launcher crash playing online. In saying that, most people fly a sortie and then restart the game upon completion. Doing this through the game is a hassle as you have to go through all the start up menus, and click through everything to get to the server. Then, when you want to exit, you have to not only exit the server, but then also wait to exit the game. Repeating this process is a pain to do for every sortie.

    With that said, I've created a shortcut that works exactly like the launcher.exe executable that will start the game for you. But the real kicker here is it will connect you automatically to the server. No more intro video/menus/mouse clicks (should help some of the ATI guys out) But even better, after you've completed your sortie, when you leave the server, the game will automatically close down.

    Simply place this file anywhere you want and viola, you should get some better performance, not to mention save a bunch of time.

    Cheers!

    ATAG Shortcut.zip

    Bliss,

    Thanks for the Launcher! Placed on the desktop and works like a charm!!!

    ~S~

    Deacon
    Celer, Silens, Mortalis

  7. #7
    Admin ATAG_Snapper's Avatar
    Join Date
    Nov 2011
    Location
    Kitchener, Ontario, Canada
    Posts
    11,630
    Post Thanks / Like
    Total Downloaded
    406.29 MB

    Re: Launcher Shortcut for IL2COD

    Just tried it and it works like a dream! Thanks, Bliss!

  8. #8
    Supporting Member Ohms's Avatar
    Join Date
    Sep 2011
    Location
    ottawa,ontario
    Posts
    881
    Post Thanks / Like
    Total Downloaded
    100.64 MB

    Re: Launcher Shortcut for IL2COD

    Works great thanks

  9. #9
    Novice Pilot =AN=Felipe's Avatar
    Join Date
    Dec 2011
    Location
    Brazil - Curitiba/PR
    Posts
    80
    Post Thanks / Like
    Total Downloaded
    0

    Re: Launcher Shortcut for IL2COD

    nice one!! thx!!!!!!
    109's got better engines, we shoot better.
    http://theairtacticalassaultgroup.com/forum/image.php?type=sigpic&userid=388&dateline=13247812  65

  10. #10
    Student Pilot NNFFL=Temeraire='s Avatar
    Join Date
    Dec 2011
    Posts
    1
    Post Thanks / Like
    Total Downloaded
    0

    Re: Launcher Shortcut for IL2COD

    Tanks

  11. #11
    Novice Pilot
    Join Date
    Jul 2011
    Location
    Austria
    Posts
    36
    Post Thanks / Like
    Total Downloaded
    92.59 MB

    Re: Launcher Shortcut for IL2COD

    Thats a great thing, tested it now for weeks, and it solved my joining issues!!!!!


  12. #12
    Supporting Member Robo.'s Avatar
    Join Date
    Nov 2011
    Location
    Nottingham, UK
    Posts
    476
    Post Thanks / Like
    Total Downloaded
    0

    Re: Launcher Shortcut for IL2COD

    Superb, Bliss. Thanks a lot!

  13. #13
    Combat pilot Chair1's Avatar
    Join Date
    Jan 2012
    Location
    Northern California
    Posts
    100
    Post Thanks / Like
    Total Downloaded
    1.07 GB

    Re: Launcher Shortcut for IL2COD

    Thanks Bliss................Us old guys need this because we (old guys) do not want to waste any time because we don't know how much time we have left.


    i7-4790K GIGABYTE/GA-Z97X-SOC FORCE ATX 2X8G.SKILL RAM SSD 240G CORSAIR H70 COOLER Track IR5 :hiding:

  14. #14
    Public Relations ATAG_Lewis's Avatar
    Join Date
    Jan 2012
    Location
    Sheffield UK
    Posts
    7,253
    Post Thanks / Like
    Total Downloaded
    506.15 MB

    Re: Launcher Shortcut for IL2COD

    Brilliant....works a treat!....Now I can actually do more than just pretend to pay attention to the missus as she talks to me while I am starting up my game.....

    Great Work!...a real help for me..

    PS...Also..if you make a shortcut you can change the icon to one of the selection of icons if you want something a little more interesting than the cog icon...just remember not to delete the original...(apparently you can't change the icon of a 'bat' or 'exe' for fear of them being diguised as nasties but you can change the shortcut icon....)

    Right click file - Create Shortcut - Right Click Shortcut - Properties - Shortcut - Change icon...
    Last edited by ATAG_Lewis; Feb-28-2013 at 14:35.
    "The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt.'' - Bertrand Russell
    1.618 - You know this number?
    My Turing machine :CPU: Intel Core i7 2700K 3.50GHz Sandybridge, Motherboard: Asus Maximus IV Extreme -Z Intel Z68 (Socket 1155) PCI-Express DDR3,
    RAM: 8GB (2x4GB) DDR3 Dual Channel Kit, Graphics Card: Nvidia GeForce GTX 970 4096MB GDDR5, OS:Windows 10
    Joystick: Microsoft Sidewinder II ForceFeedback Joystick, Throttle: CH Products Pro Throttle
    ATAG_Lewis Youtube Channel

  15. #15
    Student Pilot
    Join Date
    Jan 2013
    Posts
    17
    Post Thanks / Like
    Total Downloaded
    0

    Re: Launcher Shortcut for IL2COD

    Quote Originally Posted by ATAG_Bliss View Post
    Hi everyone,

    As we all know, it's only a matter of time before we get a launcher crash playing online. In saying that, most people fly a sortie and then restart the game upon completion. Doing this through the game is a hassle as you have to go through all the start up menus, and click through everything to get to the server. Then, when you want to exit, you have to not only exit the server, but then also wait to exit the game. Repeating this process is a pain to do for every sortie.

    With that said, I've created a shortcut that works exactly like the launcher.exe executable that will start the game for you. But the real kicker here is it will connect you automatically to the server. No more intro video/menus/mouse clicks (should help some of the ATI guys out) But even better, after you've completed your sortie, when you leave the server, the game will automatically close down.

    Simply place this file anywhere you want and viola, you should get some better performance, not to mention save a bunch of time.

    Cheers!

    ATAG Shortcut.zip
    How about a launcher that eliminates the need to conect to internet and steam? This would allow multiple working installs for CloD outside steam directory.

  16. #16
    Team Fusion ATAG_Bliss's Avatar
    Join Date
    Feb 2011
    Location
    United States of China
    Posts
    4,135
    Post Thanks / Like
    Total Downloaded
    457.02 MB

    Re: Launcher Shortcut for IL2COD

    Quote Originally Posted by talesc View Post
    How about a launcher that eliminates the need to conect to internet and steam? This would allow multiple working installs for CloD outside steam directory.
    You can already do this.

    Just restart steam in offline mode (which must be done with an internet connection at 1st) Once offline, you can start the sim and do any offline/SP missions you desire. Unplug your Ethernet cable etc. It doesn't matter. This doesn't have the online requirement like other sims

    As far as multiple working installs outside the steam directory. You can copy and past the entire IL2 Cliffs of Dover folder to anywhere you want outside of the steam directory, and the sim will work fine. Obviously the short cut that steam uses only starts the install located inside the steam folder, but you can create your own shortcut for launcher.exe for any install and start and run the sim just fine, with multiple copies, without the need for it being in the steam folder at all.

    To give you an idea, I have 5 different copies of the sim, only one of which is located in the steam folder. All work fine.


    "The dissenter is every human being at those moments of his life when he resigns momentarily from the herd and thinks for himself". - Archibald Macleish


  17. #17
    Veteran Combat pilot
    Join Date
    Sep 2013
    Posts
    411
    Post Thanks / Like
    Total Downloaded
    754 Bytes

    Re: Launcher Shortcut for IL2COD

    This is a very useful utility, nicely done mate.

    You guys make a very solid community. Love it.

  18. #18
    Combat pilot
    Join Date
    Dec 2013
    Posts
    103
    Post Thanks / Like
    Total Downloaded
    262.05 MB

    Re: Launcher Shortcut for IL2COD

    S! All
    I have used this batch file and like that I can auto connect to the ATAG server on launch of Steam.
    However from my perspective there is a shortcoming in that when you exit the ATAG server CoD closes down.
    What I want is for the game not to close when I exit the server.
    I don't want to have to re-launch the game when I want to change servers

    I've searched and can't find an answer...any ideas anyone.

    69th Steerpots

  19. #19
    Combat pilot
    Join Date
    Dec 2013
    Posts
    103
    Post Thanks / Like
    Total Downloaded
    262.05 MB

    Re: Launcher Shortcut for IL2COD

    S! All
    Find attached my extension to the original bat file posted above.
    The extension works in the exact same way as the original.
    The difference is my version offers you a menu of different servers to connet to (with ATAG being number 1 ).

    I have also developed an AHK script that when activated does the following:
    1. Automatically closes unnecessary processes
    2. Automatically deletes the cache folder
    3. Automatically starts TS Notifier
    4. Automatically starts TeamSpeak
    5. Automatically starts TrackIR and activates the precision option(F7)
    6. Automatically starts the menu option bat file
    7. Offers a hotkey to clear cache and re-run menu options when you leave the server(when maps swap)
    8. Offers a hotkey to Automatically close:
    TS Notifier
    TeamSpeak
    TrackIR
    Steam
    Re-start the processes closed at the beginning of the script.

    I am happy to share this script, however it would need to be personalised to your file names and file structure for it to work.
    If you are interested then let me know and we can get together.

    Meanwhile enjoy the stand alone menu options attached.

    69th Steerpots
    Attached Files Attached Files
    Last edited by Steerpots; Feb-20-2014 at 01:57.

  20. #20
    Novice Pilot arvigna's Avatar
    Join Date
    Feb 2014
    Location
    Ariège - France
    Posts
    94
    Post Thanks / Like
    Total Downloaded
    552.08 MB

    Re: Launcher Shortcut for IL2COD

    hi,

    don't work..

    i have an install of CloD_TF outside steam directory.

    but he"s start with my original steam install.

    what can i do please?

  21. #21
    Combat pilot
    Join Date
    Dec 2013
    Posts
    103
    Post Thanks / Like
    Total Downloaded
    262.05 MB

    Re: Launcher Shortcut for IL2COD

    Quote Originally Posted by arvigna View Post
    hi,

    don't work..

    i have an install of CloD_TF outside steam directory.

    but he"s start with my original steam install.

    what can i do please?
    Hi arvigna,
    Actually the script does work, it is doing exactly what it's meant to i.e. start steam and connect to a server.
    The difference for you is that you are running the game outside steam and the script is not designed to launch the game from outside steam.

    Might be able to get it to work for you if you supply your game path.

    56RAF_Steerpots
    Last edited by Steerpots; Apr-02-2014 at 03:54.

  22. #22
    Novice Pilot arvigna's Avatar
    Join Date
    Feb 2014
    Location
    Ariège - France
    Posts
    94
    Post Thanks / Like
    Total Downloaded
    552.08 MB

    Re: Launcher Shortcut for IL2COD

    Steerpots ,
    thank you very much for your repply ..

    "C:\Games\IL-2 Sturmovik Cliffs of Dover_TF"

    cordialement
    Arvigna

  23. #23
    Combat pilot
    Join Date
    Dec 2013
    Posts
    103
    Post Thanks / Like
    Total Downloaded
    262.05 MB

    Re: Launcher Shortcut for IL2COD

    Quote Originally Posted by arvigna View Post
    Steerpots ,
    thank you very much for your repply ..

    "C:\Games\IL-2 Sturmovik Cliffs of Dover_TF"

    cordialement
    Arvigna
    S! Arvigna
    Sorry but I have failed to get Launcher.exe to auto connect to a server via the batch file.

    56RAF_Steerpots

  24. #24
    Novice Pilot arvigna's Avatar
    Join Date
    Feb 2014
    Location
    Ariège - France
    Posts
    94
    Post Thanks / Like
    Total Downloaded
    552.08 MB

    Re: Launcher Shortcut for IL2COD



    no problem

    thanks...

  25. #25
    Manual Creation Group Sandy1942's Avatar
    Join Date
    Dec 2012
    Location
    Western Desert
    Posts
    2,613
    Post Thanks / Like
    Total Downloaded
    0

    Re: Launcher Shortcut for IL2COD

    Convenient thing. Thanks Bliss!

  26. #26
    Supporting Member Decay's Avatar
    Join Date
    Nov 2012
    Location
    Darwin
    Posts
    102
    Post Thanks / Like
    Total Downloaded
    403.38 MB

    Re: Launcher Shortcut for IL2COD

    Quote Originally Posted by 69th Steerpots View Post
    S! All
    I have also developed an AHK script that when activated does the following:
    1. Automatically closes unnecessary processes
    2. Automatically deletes the cache folder
    3. Automatically starts TS Notifier
    4. Automatically starts TeamSpeak
    5. Automatically starts TrackIR and activates the precision option(F7)
    6. Automatically starts the menu option bat file
    7. Offers a hotkey to clear cache and re-run menu options when you leave the server(when maps swap)
    8. Offers a hotkey to Automatically close:
    TS Notifier
    TeamSpeak
    TrackIR
    Steam
    Re-start the processes closed at the beginning of the script.

    I am happy to share this script, however it would need to be personalised to your file names and file structure for it to work.
    If you are interested then let me know and we can get together.
    69th Steerpots
    Hi Steerpots,

    I made my own CMD script to run up:
    Track IR
    Teamspeak
    Virtual Cockpit
    CloD.

    But I'm struggling to automate a couple more things:
    So I'd like to have your script as a source to modify.

    I want to auto-connect to my last used TS channel.
    I want to auto-start VC with my last used cockpit.

    Also at the start of running, the file should offer-
    a 4 second timeout on choice:
    1) Last used settings.
    2) Enter new settings

    I use calls to the shortcuts for the programs from a .cmd file which I Run As administrator.
    ie
    Start "" C:\etc\Desktop\TS3.lnk

    Here's a great resource for using things like choice and timeout: http://ss64.com/index.html

    Can you paste an example of your source in this thread for all to see?


    Thanks,

    - Decay.
    "If a job's worth doing, it's worth half doing twice" - Homer


  27. #27
    Combat pilot
    Join Date
    Dec 2013
    Posts
    103
    Post Thanks / Like
    Total Downloaded
    262.05 MB

    Re: Launcher Shortcut for IL2COD

    Quote Originally Posted by Decay View Post
    Hi Steerpots,

    I made my own CMD script to run up:
    Track IR
    Teamspeak
    Virtual Cockpit
    CloD.

    But I'm struggling to automate a couple more things:
    So I'd like to have your script as a source to modify.

    I want to auto-connect to my last used TS channel.
    I want to auto-start VC with my last used cockpit.

    Also at the start of running, the file should offer-
    a 4 second timeout on choice:
    1) Last used settings.
    2) Enter new settings

    I use calls to the shortcuts for the programs from a .cmd file which I Run As administrator.
    ie
    Start "" C:\etc\Desktop\TS3.lnk

    Here's a great resource for using things like choice and timeout: http://ss64.com/index.html

    Can you paste an example of your source in this thread for all to see?


    Thanks,

    - Decay.
    S! Decay
    I've moved on from the original script to now using AHK as a GUI to launch/close CoD (see the attached)
    However more than happy to share the code behind the GUI.

    Code:
    Gui, Add, Tab2,w960 h456, Launch CloD | Application Paths|Install and Usage
     
    PicFile5 = %A_ScriptDir%\spit_2.jpg  
    FileInstall,spit_2.jpg ,%PicFile5%
    Gui,Add,Picture,x12 y28 w954 h431 vPicWp5,%PicFile5%
    FileDelete,%PicFile5% 
    
       Gui, Add, Button, xm27 ym60 w100 h30 gkill, Kill Non-CloD Apps
       Gui, Add, Button, xm27 ym110 w100 h30 glaunch, Launch CloD Apps
       Gui, Add, Button, xm27 ym160 w100 h30 gdelete, Clear Cache
       Gui, Add, Button, xm27 ym210 w100 h30 gagain, Kill Server
       Gui, Add, Button, xm27 ym260 w100 h30 gstop, Close CloD Apps
       Gui, Add, Button, xm27 ym310 w100 h30 grestart, Re-Start Non-CloD Apps
       Gui, Add, Text, cRed xm10 ym39 w81 h12,%A_Space%APPLICATIONS
    
       
    
       Gui, Add, Button, xm640 ym60 w100 h30 gatag, ATAG`nAxis v Allies
       Gui, Add, Button, xm760 ym60 w100 h30 gatag2, ATAG `nCampaign Server
       Gui, Add, Button, xm580 ym110 w100 h30 g401sqd, 401 Squadron
       Gui, Add, Button, xm700 ym110 w100 h30 gsow, Storm of War
       Gui, Add, Button, xm820 ym110 w100 h30 gsow, AX Dogfight
       Gui, Add, Text, cRed xm567 ym39 w56 h12,%A_Space%SERVERS
    
       Gui, Add, Button, xm774 ym205 w90 h18 gcon, Connect
       Gui, Add, Text, cRed xm580 ym208 w56 h12,%A_Space%IP Address
       Gui, Add, Edit, xm643 ym205 w110 h18 vaddy,
    
       Gui, Add, Button, xm714 ym477 w100 h30 gmin, Minimise
       Gui, Add, Button, Default xm834 ym477 w100 h30 gexit, Exit  
    
    Gui, Tab, 2 
       PicFile4 = %A_ScriptDir%\109_2.jpg  
       FileInstall,109_2.jpg ,%PicFile4%
       Gui,Add,Picture,x12 y28 w954 h431 vPicWp4,%PicFile4%
       FileDelete,%PicFile4%
       
       Gui, Add, Text, cRed xm300 ym43 w87 h15,%A_Space% Steam.exe Path
       Gui, Add, Edit, xm410 ym42 w350 h18 vstock ReadOnly,
       IfExist, %A_ScriptDir%\steampath.txt
         {
    	   IniRead, steampath, steampath.txt, path, key1
           guicontrol,,stock, %A_Space%%steampath%
    	 }
       else
         {
    	   guicontrol,,stock, %A_Space%No Steam.exe Path Recorded
         }	  
       Gui, Add, Button, xm776 ym66 w80 h30 gsteam, Set Steam Path   
       Gui, Add, Text, cRed xm300 ym72 w87 h15,%A_Space%Update the Path
       Gui, Add, Edit, xm410 ym71 w350 h18 vcheck,
         
    
       Gui, Add, Text, cRed xm413 ym120 w87 h15,%A_Space% Cache Folder
       Gui, Add, Edit, xm521 ym119 w416 h18 vchack ReadOnly,
       IfExist, %A_ScriptDir%\cachepath.txt
         {
    	   IniRead, cachepath, cachepath.txt, path, key1
           guicontrol,,chack, %A_Space%%cachepath%
    	 }
       else
         {
    	   guicontrol,,chack, %A_Space%No Cache Path Recorded
         }	  
       Gui, Add, Button, xm869 ym170 w80 h30 gcache, Set Cache Path
       Gui, Add, Text, cRed xm413 ym147 w87 h15,%A_Space%Update the Path
       Gui, Add, Edit, xm521 ym143 w416 h18 vchick,  
       
    #ctrls = 2  ;How many Hotkey controls to add.
    hk1:=350
    hk2:= "Hotkey to minimise GUI"
    hk3:= "Hotkey to restore GUI"
    hk4:= 57
    Loop,% #ctrls {
     Gui, Add, Text, xm50 ym%hk1%, %hk2%:
     IniRead, savedHK%A_Index%, Hotkeys.ini, Hotkeys, %A_Index%, %A_Space%
     If savedHK%A_Index%                                       ;Check for saved hotkeys in INI file.
      Hotkey,% savedHK%A_Index%, Label%A_Index%                 ;Activate saved hotkeys if found.
     StringReplace, noMods, savedHK%A_Index%, ~                  ;Remove tilde (~) and Win (#) modifiers...
     StringReplace, noMods, noMods, #,,UseErrorLevel              ;They are incompatible with hotkey controls (cannot be shown).
     Gui, Add, Hotkey, x+%hk4% vHK%A_Index% gLabel, %noMods%           ;Add hotkey controls and show saved hotkeys.
     Gui, Add, CheckBox, xm175 ym%hk1% vCB%A_Index% Checked%ErrorLevel%, Win  ;Add checkboxes to allow the Windows key (#) as a modifier...Check the box if Win modifier is used.
     hk1:=(hk1+47)
     hk2:= hk3 
     hk4:= (hk4+5)
    } 
    
    setHK(num,INI,GUI) {
     If INI
      Hotkey, %INI%, Label%num%, Off
     If GUI
      Hotkey, %GUI%, Label%num%, On
     IniWrite,% GUI ? GUI:null, Hotkeys.ini, Hotkeys, %num%
     savedHK%num%  := HK%num%
     TrayTip, Label%num%,% !INI ? GUI " ON":!GUI ? INI " OFF":GUI " ON`n" INI " OFF"
    }
    
       Gui, Add, Button, xm714 ym477 w100 h30 gmin, Minimise
       Gui, Add, Button, Default xm834 ym477 w100 h30 gexit, Exit  
    
    Gui, Tab, 3
       FileInstall, ReadMe_2.txt, ReadMe.txt, 1
       FileDelete, %A_ScriptDir%\ReadMe_2.txt  
       FileRead,FileContents,Readme.txt
       Gui, font, s10, Courier New 
       Gui, Add, Edit, xm12 ym29 w944 h424,%FileContents%
    
       Gui, Add, Button, xm714 ym477 w100 h30 gmin, Minimise
       Gui, Add, Button, Default xm834 ym477 w100 h30 gexit, Exit  
    
    PicFile = %A_ScriptDir%\splash_2.jpg
    FileInstall,splash_2.jpg,%PicFile%
    SplashImage, %PicFile%,w1920 h1080,
    Sleep, 6500
    SplashImage, Off
    FileDelete,%PicFile%
    Gui,+AlwaysOnTop
    Gui, Add, Text, cRed xm10 ym485 w196 h12,%A_Space%Developed by 56RAF_Steerpots (US-T)
    Gui, Color, CAE1ff
    Gui,Show, w978 h527,CloD Full v 2.0
    
    return
    
    
    
    steam:
      {
       F3=%A_scriptdir%\steampath.txt
       Gui,Submit,nohide
       IniWrite, %check%  , %F3% ,path      , KEY1
       IniRead, steampath, steampath.txt, path, key1
       guicontrol,,stock, %A_Space%%steampath%
      }
    return
    
    cache:
      {
       F2=%A_scriptdir%\cachepath.txt
       Gui,Submit,nohide
       IniWrite, %chick%  , %F2% ,path      , KEY1
       IniRead, cachepath, cachepath.txt, path, key1
       guicontrol,,chack, %A_Space%%cachepath%
      }
    return
    
    atag:
      {
       Run,%steampath% "steam://connect/216.52.148.29:27016"
       WinMinimize 
      }
    return
    
    atag2:
      {
       Run,%steampath% "steam://connect/64.74.97.179:27016"
       WinMinimize 
      }
    return
    
    401sqd:
      {
       Run,%steampath% "steam://connect/198.251.67.98:27016"
       WinMinimize  
      }
    return
    
    sow:
      {
       Run,%steampath% "steam://connect/86.185.131.44:27015"
       WinMinimize 
      }
    return
    
    axdf:
      {
       Run,%steampath% "steam://connect/193.111.254.226:27016"
       WinMinimize 
      }
    return
    
    con:
      {
       Run, "C:\Program Files (x86)\Steam\Steam.exe" "steam://connect/%addy%"
       WinMinimize 
      }
    return
    
    Kill:
      {
    	Process, close, sidebar.exe
    	Process, close, peerblock.exe
    	Process, close, thunderbird.exe
    	Process, close, Soluto.exe
    	Process, close, SolutoLauncherService.exe
    	Process, close, SolutoRemoteService.exe
    	Process, close, SolutoService.exe
    	Process, close, CCC.exe
    	Process, close, MOM.exe
    	Process, close, SQUEEZ~3.EXE
    	Process, close, SqueezeTray.exe
    	Process, close, SqueezeSvr.exe
    	Process, close, EMET_Agent.exe
        Process, close, firefox.exe
        Process, close, iexplore.exe
        Process, close, chrome.exe
      }
    return
    
    Launch:
      {
       Run cmd /c ipconfig /flushdns
       Run cmd /c ipconfig /renew
       FileDelete, C:\Windows\Prefetch\*.*
    	Run, "C:\Program Files (x86)\IObit\Advanced SystemCare 7\ASC.exe"
    	Run, "C:\Program Files (x86)\D3DOverrider\D3DOverrider.exe"
    	Run, "C:\Program Files (x86)\NaturalPoint\TrackIR5\TrackIR5.exe"
    	Run, "C:\Program Files (x86)\TS Notifier\TSNotifier.exe"
    	Run, "C:\Program Files\TeamSpeak 3 Client\ts3client_win64.exe"
    	Run, "C:\Program Files (x86)\ROCCAT\Power-Grid\ROCCATPowerGrid.exe"
    	Run, C:\Windows\explorer.exe "C:\Program Files (x86)\CoD Gauges\VirtualCockpit.exe"
       SendInput, {F7}
      }
    return
    
    delete:
      {
       FileRemoveDir, C:\Users\Robert\Documents\1C SoftClub\il-2 sturmovik cliffs of dover - MOD\cache, 1
      }
    return
    
    again:
      {
       Process, close, Launcher.exe  
      }
    return
    
    stop:
      {
       Process, close, TrackIR5.exe
    	Process, close, TSNotifier.x64
    	Process, close, TSNotifier.exe
    	Process, close, ts3client_win64.exe
    	Process, close, Steam.exe
    	Process, close, D3DOverrider.exe
    	Process, close, sidebar.exe
    	Process, close, VirtualCockpit.exe
    	Process, close, ROCCATPowerGrid.exe
      }
    return
    
    restart:
      {
    	Run, sidebar.exe, "%ProgramFiles%\Windows Sidebar\
    	Run, "C:\Program Files (x86)\IObit\Advanced SystemCare 7\ASCTray.exe"
    	Run cmd /c ipconfig /flushdns
    	Run cmd /c ipconfig /renew
    	FileDelete, C:\Windows\Prefetch\*.*
    	Run, "C:\Program Files\Soluto\Soluto.exe"
    	Run, "C:\Program Files\Soluto\SolutoLauncherService.exe"
    	Run, "C:\Program Files (x86)\Squeezebox\SqueezeTray.exe"
    	Run, "C:\Program Files\PeerBlock\peerblock.exe"
    	Run, "C:\Program Files (x86)\EMET 5.0\EMET_Agent.exe"
      }
    return
    
    Label:
     If %A_GuiControl% in +,^,!,+^,+!,^!,+^!    ;If the hotkey contains only modifiers, return to wait for a key.
      return
     num := SubStr(A_GuiControl,3)              ;Get the index number of the hotkey control.
     If (HK%num% != "") {                       ;If the hotkey is not blank...
      Gui, Submit, NoHide
      If CB%num%                                ;  If the 'Win' box is checked, then add its modifier (#).
       HK%num% := "#" HK%num%
      If !RegExMatch(HK%num%,"[#!\^\+]")        ;  If the new hotkey has no modifiers, add the (~) modifier.
       HK%num% := "~" HK%num%                   ;    This prevents any key from being blocked.
      Loop,% #ctrls
       If (HK%num% = savedHK%A_Index%) {        ;  Check for duplicate hotkey...
        dup := A_Index
        Loop,6 {
         GuiControl,% "Disable" b:=!b, HK%dup%  ;    Flash the original hotkey to alert the user.
         Sleep,200
        }
        GuiControl,,HK%num%,% HK%num% :=""      ;    Delete the hotkey and clear the control.
        break
       }
     }
     If (savedHK%num% || HK%num%)
      setHK(num, savedHK%num%, HK%num%)
    return
    
    ;These labels may contain any commands for their respective hotkeys to perform.
    Label1:
     WinMinimize, CloD Full v 2.0
    return
    
    Label2:
     WinRestore, CloD Full v 2.0
    return
    
    min:
      {
       WinMinimize 
      }
    return
    
    Guiclose:
    exit:
      {
       FileDelete, ReadMe.txt
       exitapp
      }
    return
    Steerpots
    Attached Images Attached Images
    Last edited by ATAG_Colander; Sep-22-2014 at 14:04. Reason: Added CODE tags

  28. #28
    Supporting Member Decay's Avatar
    Join Date
    Nov 2012
    Location
    Darwin
    Posts
    102
    Post Thanks / Like
    Total Downloaded
    403.38 MB

    Re: Launcher Shortcut for IL2COD

    Thanks for the code.
    AHK is a brand new thing to me.

    Still, you'll never never know if you never never go.Can I ask about this Section of Code:

    I can google the individual programs to understand what's going on, but how have you got F7 being sent only to Track IR?
    To make a script work for me I will want to send specific inputs to specific programs.

    Launch:
    {
    Run cmd /c ipconfig /flushdns
    Run cmd /c ipconfig /renew
    FileDelete, C:\Windows\Prefetch\*.*
    Run, "C:\Program Files (x86)\IObit\Advanced SystemCare 7\ASC.exe"
    Run, "C:\Program Files (x86)\D3DOverrider\D3DOverrider.exe"
    Run, "C:\Program Files (x86)\NaturalPoint\TrackIR5\TrackIR5.exe"
    Run, "C:\Program Files (x86)\TS Notifier\TSNotifier.exe"
    Run, "C:\Program Files\TeamSpeak 3 Client\ts3client_win64.exe"
    Run, "C:\Program Files (x86)\ROCCAT\Power-Grid\ROCCATPowerGrid.exe"
    Run, C:\Windows\explorer.exe "C:\Program Files (x86)\CoD Gauges\VirtualCockpit.exe"
    SendInput, {F7}

    But wait: What I actually want to do is to open the ATAG TS server.


    I can use the code from their Web Page:
    ts3server://216.52.148.29?port=9987

    Now all I need to do is to figure how to make TS navigate to a particular channel within that Server : Port

    Any thoughts?
    "If a job's worth doing, it's worth half doing twice" - Homer


  29. #29
    Ace Roblex's Avatar
    Join Date
    Nov 2012
    Location
    Kent, England
    Posts
    1,185
    Post Thanks / Like
    Total Downloaded
    0

    Re: Launcher Shortcut for IL2COD

    Like Steerpots, I would like the ability to go straight into the server but not get kicked back to desktop out as soon as I finish. Despite having a reasonable quad-core PC and a very fast broadband, for some reason it can take me four or five minutes to get from desktop to spawned! Even just leaving the server and coming back in when the map changes can take two or three minutes which is frustrating for the rest of my squad who are all lined up ready to take-off before I can even start my engine.
    56sqn US@R - Diary of a hopeless Pilot Officer http://roblex56raf.livejournal.com/


    Windows 7 Home Premium (64-bit) > AMD Athlon II X4 605e @ 2300MHz
    16Gb RAM > Video Card : NVIDIA GeForce 1050Ti

  30. #30
    Combat pilot
    Join Date
    Dec 2013
    Posts
    103
    Post Thanks / Like
    Total Downloaded
    262.05 MB

    Re: Launcher Shortcut for IL2COD

    Quote Originally Posted by Decay View Post
    Thanks for the code.
    AHK is a brand new thing to me.

    Still, you'll never never know if you never never go.Can I ask about this Section of Code:

    I can google the individual programs to understand what's going on, but how have you got F7 being sent only to Track IR?
    To make a script work for me I will want to send specific inputs to specific programs.

    Launch:
    {
    Run cmd /c ipconfig /flushdns
    Run cmd /c ipconfig /renew
    FileDelete, C:\Windows\Prefetch\*.*
    Run, "C:\Program Files (x86)\IObit\Advanced SystemCare 7\ASC.exe"
    Run, "C:\Program Files (x86)\D3DOverrider\D3DOverrider.exe"
    Run, "C:\Program Files (x86)\NaturalPoint\TrackIR5\TrackIR5.exe"
    Run, "C:\Program Files (x86)\TS Notifier\TSNotifier.exe"
    Run, "C:\Program Files\TeamSpeak 3 Client\ts3client_win64.exe"
    Run, "C:\Program Files (x86)\ROCCAT\Power-Grid\ROCCATPowerGrid.exe"
    Run, C:\Windows\explorer.exe "C:\Program Files (x86)\CoD Gauges\VirtualCockpit.exe"
    SendInput, {F7}

    But wait: What I actually want to do is to open the ATAG TS server.


    I can use the code from their Web Page:
    ts3server://216.52.148.29?port=9987

    Now all I need to do is to figure how to make TS navigate to a particular channel within that Server : Port

    Any thoughts?
    Hi Decay
    AHK was new to me to once upon a time, I started out using it as a way of automating re-spwaning within the game, then moved on to use it to automate launching the game and choosing which server to spawn into.
    Eventually I've ended up using it to create a GUI with point and click to launch/choose/close down and allocate hot keys.

    To answer your questions in the order they were asked in your post.

    1. F7: yes F7 is being sent to TIR, the reason it's being sent only to TIR; is that only TIR has been configured to recognise F7 as an input.

    2. To make TS go to a particular server/channel, configure that server/channel as the default in TS not in the script.
    That's what I've done to log on to ATAG Allies channel every time I launch TS, also makes it easier to manage should you want to change the default server and/or channel.

    Steerpots

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •