Total War: ATTILA

Total War: ATTILA

Not enough ratings
Improve Performance - Only .txt changes needed
By Aaron
I saw this advice on reddit and felt obliged to make this guide as my performance went from stutters every few seconds to silky smooth framerates akin to Warhammer 3 and so wanted other people who like this game to get more enjoyment out of it. I didn't understand why only one guide was top rated which involved copying files from Thrones of Britannia which some people may not have or the fix didn't work as one hoped.
   
Award
Favorite
Favorited
Unfavorite
Installing Attila and locating your .txt file
After installing Attila, the .txt we need (preferences.script) should be located as follows;
C:\Users\*Yourname*\AppData\Roaming\The Creative Assembly\Attila\scripts

Once this has been done, open the file and locate two parts of this;
"number_of_threads" and "gfx_video_memory"

Threads needs to be set to how many threads your processor has (typically 8 should be enough however I personally set it to 15 (as I have a powerful processor) you can check by going into the details tab of task manager, right clicking an app (such as Attila) and set affinity (make sure you count CPU 0 as well unlike me).

Gfx video memory needs to be set to -4000. It's assumed that Attila wrongly calculates how much vram or rather caps the amount your card has which results in poor performance (alongside the other thread change). Changing this to -4000 causes it to detect more vram. Do not be alarmed if you load in and it says you have 512mb (that happened to me and I have 24gb), run the game and see the performance increase.

15 Comments
Baracko Barmer 15 Oct @ 6:03am 
@Aaron where should I look for it? In the game settings or something like rivertune statistics from MSI afterburner?
xMikeyyU 12 Oct @ 3:54pm 
thanks this made it playable
Aaron  [author] 8 Sep @ 9:51am 
@Baracko, when you load the game what ram does it say? Ryzen 7 7800x3D should be 16 threads (so may need to put 17 depending on what it says on task manager).

@P0nyb01 Do you use Steam deck or linux by any chance?
P0nyb01 8 Sep @ 3:49am 
@thekokki Having same issue as you, no preference.txt script file, annoying as hell
Baracko Barmer 7 Sep @ 6:28pm 
For reference, Ive got an Ryzen 7 7800x3D and a 4080 Super
Baracko Barmer 7 Sep @ 6:27pm 
Both suggestions, actually
Aaron  [author] 6 Sep @ 5:46pm 
What did you do? Both changes?
Baracko Barmer 6 Aug @ 6:29am 
yeah so this didnt do a thing for me
Aaron  [author] 17 Jul @ 6:23pm 
@thekokki You are looking in the steam location for Attila which is where the game is launched. The preferences.script is in the location I mentioned above. Type %appdata% in the start menu and enter and follow the location (AppData\Roaming\The Creative Assembly\Attila\scripts
). All total war games have their respective folders in this location for preferences, saves, logs etc
thekokki 15 Jul @ 1:30pm 
i have seen various guides that mention this but in my case there is no scripts file at all. I have tried to verify the game files, run the game as administrator and change the settings so that it may be created as was mentioned somewhere but still the only folder in the attila repo are data and launcher. If anyone has another idea please write it here