DemonHunter Posted September 10, 2013 Posted September 10, 2013 So I had a real FPS issue the last 2 weeks. Did lots of research and one of the things that helped was some tweaking on my ATI cards, but specifcally killing the Catalyst crap from running before flying. So I started thinking how cool it would be to use a batch file to kill stuff and start stuff up. Basically open up notepad and write your code, than save it as a .bat Here is how I wrote mine for now. Sure to change as I move along: :: Kill Catalyst Control Center taskkill /F /IM CCC.exe :: Kill Catalys Control Center Monitor taskkill /F /IM MOM.exe :: Start TrackIR start /d "C:\Program Files (x86)\NaturalPoint\TrackIR5" TrackIR5.exe :: Start Helios start /d "C:\Program Files (x86)\Gadrocs Workshop\Helios" HeliosControlCenter.exe :: Pause for 15 Sec to give time to start Helios profile timeout /t 15 :: Start DCS World start /d "C:\Program Files\Eagle Dynamics\DCS World\bin\" DCS_updater.exe 1
Tetra Posted September 11, 2013 Posted September 11, 2013 (edited) Its definitely the best way. Did something similar myself, also have a second bat file launch at the end of the launch bat which monitors if the DCS launcher is still running (ie. you are still playing) and if you aren't it quits all the of the processes you launched in the first one, or you could use it to re-launch the processes you killed when you finish playing if you liked in the :Kill block. DCSLAUNCH.bat @echo off Echo DCS LAUNCHER ECHO. timeout /T 1 /NOBREAK > nul Start "AutoHotKey" "C:\AutoHotKey_VoiceAttack\WH_DCS_A-10_VAC_PTA.exe" Echo AUTOHOTKEY RUNNING... timeout /T 1 /NOBREAK > nul Start "Voice Attack" "C:\Program Files (x86)\VoiceAttack\VoiceAttack.exe" Echo VOICE ATTACK RUNNING... timeout /T 1 /NOBREAK > nul Start "Helio" "C:\Program Files (x86)\Gadrocs Workshop\Helios\HCS.lnk" Echo HELIOS STARTED (BEGIN PROFILE!) timeout /T 5 /NOBREAK > nul Echo STARTING FACE TRACKING SIT BACK... timeout /T 5 /NOBREAK Start "FaceTrackNoIR" "C:\Program Files (x86)\Abbequerque Inc\FaceTrackNoIR\FaceTrackNoIR.exe" Echo FACETRACKNOIR RUNNING... timeout /T 3 /NOBREAK > nul Start "DCS World" "E:\Eagle Dynamics\DCS World\bin\Launcher.exe" cls timeout /T 1 /NOBREAK > nul Start /min "BAT CHECK" "E:\DCSBAT\DCSCHECK.bat"DCSCHECK.bat @echo off Echo DCS IS RUNNING... :WAIT timeout /T 8 /NOBREAK > nul tasklist /fi "imagename eq Launcher.exe" | find /i "Launcher.exe" > nul if errorlevel 1 (GOTO KILL) else ( GOTO WAIT ) :KILL taskkill /F /im FaceTrackNoIR.exe >nul taskkill /F /im VoiceAttack.exe >nul taskkill /F /im WH_DCS_A-10_VAC_PTA.exe >nul taskkill /F /im HeliosControlCenter.exe >nul exit Edited September 11, 2013 by Tetra My Mods: Radar Warning Receiver Audio Expansion G-Breath Sound Mod
DemonHunter Posted September 11, 2013 Author Posted September 11, 2013 Nice Tetra! I like the monitor to kill part. I was think about a post flight shutdown batch put that is a better idea:thumbup: Thanks!
toby23 Posted September 11, 2013 Posted September 11, 2013 :: Start TrackIR start /d "C:\Program Files (x86)\NaturalPoint\TrackIR5" TrackIR5.exe If you add this text to the Target section of the shortcut to TrackIR, it will start TrackIR with a high priority and for me, this makes a huge difference to the smoothness: C:\Windows\System32\cmd.exe /C start/high TrackIR5.exe Ryzen 5800X, 32GB RAM, RTX 3060
Recommended Posts