Skip to content

This is a launcher for Apex Legends. The script does a few things: it sets desktop resolution, CPU priority, affinity and optimizations, then finally starts the game together with Steam Achievement Manager so that Steam knows that you're playing even if running on Origin.

License

Notifications You must be signed in to change notification settings

davidecolombo/r5apex

Repository files navigation

r5apex.cmd

Here's my launcher for Apex Legends. The script does a few things: it sets desktop resolution, CPU priority, affinity and optimizations, then finally starts the game together with Steam Achievement Manager so that Steam knows that I'm playing even if I'm running Origin. This is because I'm forced to use Origin or the game will stutter, possibly due to the Steam overlay. This way your friends can see you're playing, and join. When you close the game, the Steam Achievement Manager is closed automatically, further information about what the script does here.

Quick Start

Variable Value
apex_bin C:\Program Files (x86)\Origin Games\Apex\r5apex.exe
apex_width 1920
apex_height 1080
apex_cpu_affinity FF
  • Change apex_bin to the full path of your Apex Legends executable r5apex.exe
  • Change apex_width and apex_height to your preferred in-game screen resolution
  • Change apex_cpu_affinity to match your preferred settings, further information here and here
  • Finally run r5apex.cmd to start the game

Affinity Table

AFFINITY works with hexidecimal mask that allows granular control of all of your processors, where the rightmost bit specifies the lowest-order CPU (0). You can tweak the affinity parameter FF for your system, these are some affinity mask values for an 8-CPU system:

Decimal value Binary bit mask Allow threads on processors
1 00000001 0
3 00000011 0 and 1
7 00000111 0, 1, and 2
15 00001111 0, 1, 2, and 3
31 00011111 0, 1, 2, 3, and 4
63 00111111 0, 1, 2, 3, 4, and 5
127 01111111 0, 1, 2, 3, 4, 5, and 6
255 11111111 0, 1, 2, 3, 4, 5, 6, and 7

About

This is a launcher for Apex Legends. The script does a few things: it sets desktop resolution, CPU priority, affinity and optimizations, then finally starts the game together with Steam Achievement Manager so that Steam knows that you're playing even if running on Origin.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published