Jump to content
Sign in to follow this  
aceridgey

P5D Autogen not loading at destination

Recommended Posts

 

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 by Dirk98
  • Like 1

Share this post


Link to post
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,

Share this post


Link to post

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!

Share this post


Link to post
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.

  • Like 1

Rhett

7800X3D ♣ 32 GB G.Skill TridentZ  Gigabyte 4090  Crucial P5 Plus 2TB 

Share this post


Link to post

deleted

Edited by cwburnett

5800X3D | Radeon RX 6900XT

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...