Star Citizen - How to fix performance issues using a script (mouse lag/freezes/crashes/FPS problems)

preview_player
Показать описание
In this video I show how you can fix some performance issues in Star Citizen.

This is for people who have the game running on 1 core instead of all the cores.

Performance issues that might get fixed by this:
- Mouse lag / freezes
- Frames freezing every few seconds / Frame pausing
- FPS* dropping
- Certain type of game crashes

Doing this might get you more FPS overall and smoother gameplay.

*FPS = frames per second

If you want to use the script, you can choose to download the batch file or copy the text from here and make your own batch file (you still need to change paths and decimal numbers).
Watch the entire video to understand how it works and what you need to change.

Here is the script (starts the patcher when launching the batch file):
(copy everything between the '=' signs)
================================================================================
@echo off
C:
cd C:\Program Files\Cloud Imperium Games\Patcher

echo DON'T CLOSE THIS WINDOW UNTIL THE VERY END!
echo:
echo READ THIS FILE WITH NOTEPAD BEFORE USING IT!!!
echo:
REM ----------------------------------------------------------------------------------------------------------
REM This batch script is made for people who have the game running on 1 core.
REM This batch script needs to be adjusted if you have more or less than 4 cores (quadcore)
REM To get the correct decimal numbers for the affinity check this website:
REM to make sure that the 1 core that is running the game FOR YOU is refreshed.
REM you can change these numbers below at the powershell lines where you see "$Process.ProcessorAffinity=14"
REM Also make sure the pathnames and drive letter for the Patcher are correct before you run this.
REM both the path at the top (above this text) and under this text.
REM ----------------------------------------------------------------------------------------------------------
echo:
echo:

echo Timer has started.
echo -----------------------------------------------------------------------
echo 1. LOG IN,
echo 2. LAUNCH THE GAME,
echo 3. WAIT, script will automaticly refresh affinity!
echo -----------------------------------------------------------------------
echo:
echo You are fine when you see or have seen the window with the CryEngine logo.

REM change the number of seconds the timer runs here:
TIMEOUT /T 35 /NOBREAK

echo:
echo:
PowerShell "Get-Process StarCitizen | Select-Object ProcessorAffinity";
PowerShell "$Process = Get-Process StarCitizen; $Process.ProcessorAffinity=14"
PowerShell "Get-Process StarCitizen | Select-Object ProcessorAffinity";
PowerShell "$Process = Get-Process StarCitizen; $Process.ProcessorAffinity=15"
PowerShell "Get-Process StarCitizen | Select-Object ProcessorAffinity";

echo:
echo The affinity has been refreshed successfully if you see no red errors.
echo:
echo NOTE: However even if you see no errors, if you didn't see the
echo Star Citizen/CryEngine logo (window) before the timer was done,
echo then the game might still run on 1 core. (check in Task manager)
echo:
echo If you DO see errors: quit the game and patcher and run this file again.
echo:
echo Edit the .bat file if you need more time. Change the number
echo at the line "TIMEOUT /T xx /NOBREAK" where xx equals the number in seconds.
echo:
echo:
echo (if you want it to automaticaly exit next time, delete the last line in notepad)
pause
================================================================================

You can download both scripts here:

If you have any questions feel free to ask them down below.

Рекомендации по теме
Комментарии
Автор

Thank you very very much for this,
Noticed a problem with my cores through Afterburners Riva Tuners statistics
and after watching a short but sweet video of yours, I'm all repaired.
Thx for the quick and easy Fix
i aswell needed to run as admin thx Arnaud Ruegg

smalldetails
Автор

Nice work so far, thank you for this very detailed video! I'm currently downloading SC 2.1.1, I'm looking forward to check this affinity out!

godseal
Автор

still working great on 2.4 dude love it

smalldetails
Автор

Great idea! I hope they can fix this in the engine at some point.

sebastianbottger
Автор

Hi, ty for your detailed job ! Even if I know nothing about this subject, I managed to do something...

EDIT: I had an issue but, it was only because I didn't run the .bat as Administrator ! ^^

Segourat
Автор

Didn't work for me, at first it was running on 3 out of 6 cores, switched around the affinity and then it ran on all six but it all zero affect of performance, still got crazy lag-spikes that makes it 100% unplayable.
The total CPU usage was around 40% spiked around 70% at one point.
I have 8gb of RAM and it got up to about 6gb usage at some points.
I have 2gb VRAM which is more than the system requirements.

I'm gonna try it when there's fewer people playing.

sartanko
Автор

Hi there arent the options on Windows 10 to do that can you make an video for win10 too ?

The_Alpha_Kevin
Автор

I´m not sure, but it seems like it wont work now that the new 2.6.1 patch have been released.
When i rub the .bat file it start up the launcher and want to upgrade it. i just spent the whole day updating the game and now when it´s done it says it want to do it again.

nacki
Автор

What happens for me is that the menu screen, and when I move the mouse icon, is smooth and clear. when I go to my hangar or anywhere else it's laggy af. I turned down my resolution too. I have an Asus laptop with a gtx 960m and an Intel i7. And plenty of memory. I can play doom perfectly, cs go, gta5, does someone know if this game is refundable? I'll try no man's sky.

maxwellstylo
Автор

solution: change game or wait for final release.

Norman_Peterson
Автор

what if you have a quad core with 8 threads or a 8 core with 16 threads (how to i adjust the script ?)

zero
Автор

I have no permissions on the cmd such as asset?

juansebastiansierracuellar
Автор

Ugh, this video is helpful, but my PC.l was already using both CPUs. Since it's a laptop, well that's it. Sadly, I doubt it'll work for me. Otherwise, this is pretty cool.

danthespaceman
Автор

Can't tell whats going on when your using win7 mate :\

ShalntBeKillStreak