July 2, 20205 yr 4 hours ago, Nyxx said: Cannot get it to work made a BAT file and it starts AS but affinity mask does not set. A copy of what I have entered C:\Windows\System32\cmd.exe /c start "MyExeApp" /affinity 160 "C:\Program Files\HiFi\ASP3D\ASP3D.exe" and C:\Windows\System32\cmd.exe /c start "MyExeApp" /affinity 160 "D:\PRO-ATC\PRO-ATC-X\proatcx.exe" David, your BAT file didn't work only because you put decimal value 160 instead of HEX A0. If you use A0 instead of 160 your batch will work just fine, you can test it out. Also if you want your the EXEs stated in the batch all run in administrative mode you should add these lines to to the top of the batch: REM --add the following to the top of your bat file-- @echo off :: BatchGotAdmin :------------------------------------- REM --> Check for permissions >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" REM --> If error flag set, we do not have admin. if '%errorlevel%' NEQ '0' ( echo Requesting administrative privileges... goto UACPrompt ) else ( goto gotAdmin ) :UACPrompt echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" set params = %*:"="" echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" exit /B :gotAdmin pushd "%CD%" CD /D "%~dp0" :-------------------------------------- then your affinity lines below (here) Hope this will help. Cheers, PS: this AM batch file might be helpful as Affinity Shortcut Creato has some limitations and won't work as stated for apps installed in \programs files and \program files(x86) Edited July 2, 20205 yr by Dirk98
July 2, 20205 yr 10 hours ago, djbully said: In sim I have vsync on, TB on, locked 30FPS. Bully, why would you have both Locked 30FPS and VSYNC On while your monitor is at 60Hz V-refresh? That does look somewhat excessive to me. All VSYNC On setting does is trying to keep pace with your monitor's refresh and it is 60Hz while you limit P3D to 30FPS... I'm not sure if you really need VSYNC On.. or I'm missing something in my understanding. Cheers,
July 3, 20205 yr Easiest solution = lock the fps slider to a number such as 30 no more autogen not loading or slowly loading in patches. Lockheed Martin is never going to address this in every version of 4.x and now v5 has the same issue!
July 3, 20205 yr 8 hours ago, Nyxx said: Cannot get it to work made a BAT file Here is my batch file...it is a little simpler than Dirk's: @ECHO OFF echo. echo Starting Pilot2ATC with AffinityMask . . . start "Pilot2ATC" /affinity FFC "D:\FSTools\Pilot2ATC_2018_x64\Pilot2ATC_2018.exe" echo Starting ActiveSky with AffinityMask . . . start "ActiveSky" /affinity FFC "E:\FSTools\ASP3D\ASP3D.exe" -simVersion=5 echo Starting ChasePlane with AffinityMask . . . start "Chaseplane" /affinity FFC "C:\Program Files\Parallel 42\ChasePlane\ChasePlane.exe" echo Starting SimSounds with AffinityMask . . . start "SimSounds" /affinity FFC "D:\FSTools\SimSounds\SimSounds.exe" echo Starting LittleNavConnect with AffinityMask . . . start "LittleNavConnect" /affinity FFC "D:\FStools\Little Navmap\Little Navconnect\littlenavconnect.exe" echo. I start this first, before P3D. Someone mentioned Chaseplane. This is how I start it and get it away from Cores0 and 1. For a 4-core, HT=on you could use a hex of FC (instead of FFC) which would achieve the same. Some of these add-ons, like SimSounds, I don't use all the time, so I let it start but then close it right away. Rhett 7800X3D ♣ 96 GB G.Skill Flare ♣ Gigabyte 4090 ♣ Crucial P5 Plus 2TB
Archived
This topic is now archived and is closed to further replies.