Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can't Set Affinity Mask for Active Sky with Batch File

Featured Replies

It's really a simple script. First it tries to do something that requires elevated permissions. If that fails it sets the BAT file to run as administrator. There are simpler versions without the initial check that are listed at the previous link that I posted. But why bother? The script works and doesn't delay startup of your apps.

Never had any issue with running AS4 via bat file on specific cores. All I had to do was verifying that AS_P3Dv4.exe, the .bat file and the shortcut on my desktop had the "run as administrator" flag set. Only one of them without the flag and it will not work. However, I did not check back for some months, I will do now.

@ark what I would not do is executing P3D itself via .bat file. Rather use the affinity mask entry inside your prepar3d.cfg...

Greetings, Chris

AMD Ryzen 7 9800X3D, 2x32GB DDR5 6000MT/s RAM, MSI RTX 4090 Ventus 3X, Windows 11 Home, MSFS2024

I have some bat files to set the affinity of addons. Then convert the bat file into an exe file. Run the exe as admin  Works great..

To convert into exe file, I use  http://www.f2ko.de/en/b2e.php

Free and easy to use

 

AMD 7 7700X, 32GB DDR5, RTX 5060ti 16GB, 2 x Samsung 1TB NVMe, 1 x 4TB sata SSD, Windows 11 Prof

7 hours ago, AnkH said:

what I would not do is executing P3D itself via .bat file. Rather use the affinity mask entry inside your prepar3d.cfg...

That makes absolutely no difference.

  • Author

 

Now that I think about it, since I'm not trying to restrict which cores P3Dv4 uses, I probably don't need to specify an affinity mask for it.  I know P3D makes heavy use of core 0 which is why I do restrict the addons from using this core.

Al

Edited by ark

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.