But I found an old archaic Microsoft system32 tool, crudely named « Process » which you can pipe a process name to plus what you want it to do to it without requiring any privileges of any sort. This was a bit tricky as normally no non-admin process could modify other threads in this way. Well this was a popular thing to do by hand but I found it tedious so I automated it. Right, so you could just open your task manager after launching a game, find FA in the details tab (not the processes tab) right click it and set core affinity and remove the checkmark on the first core and apply. This combination of factors means that moving FA main thread to another thread, any other thread, yields overhead that you aren’t otherwise getting. windows boots and runs it’s main services on the first core/thread.The main thread/core however generally averages at 100% usage. It has a second thread for the user interface (which accounts for about 5% of FA’s cpu usage so it doesn’t really matter, it’s thread/core is generally very idle). FA is mainly a single thread, single core app.FA always starts on the first core/thread.The optimisation bit is something that works for FA for the following reasons : Then, in the first example I listed, to maximize (which when you don’t have a window border means the entire screen) ( in the second example I listed I set it to the combined dual monitor resolution) Then we tell it to disable the window border, Yes, this does imply that simply by replacing this you can get the same full screen effect on any other game or app). The first couple lines set our variables namely the process name that we’re looking for (E.G. I use autohotkey (AKA : AHK) as a scripting language here because AHK has absolutely no performance hit on your system especially in the case of this script and if it’s the only one. The breakdown, for those who like understanding the nuts and bolts of what they use : How to correctly handle two different sized screens : WinMove, % "ahk_exe " procName, , 0, 0, 3840, 1080 move the window to 0,0 and resize it to fit across 2 monitors. WinSet, Style, -0xC40000, % "ahk_exe " procName remove the titlebar and border(s) (Example with two 1080p monitors that are ordered left to right you’ll need to adapt the pixel sizes if your monitors are a different resolution than 1080p, note that FA is now a window so it can’t stretch it’s bottom border two different amounts, if you have different resolution monitors one of the two monitors will not be completely filled.) #NoEnv (Optional although strongly recommended, especially if you have two monitors) add « UI Party » in the mod vault and enable it by hosting a test game with it (you’ll have to configure UI Party).You’re done! you can either restart the computer or double click the file.(if not interested in optimisation skip this) download this : and place this file (Process.exe) in c:\windows\system32. when you’re satisfied with your edits hit ctrl-S, then alt-F4 to exit your text editor.Mine has twelve so my number has twelve digits E.G. However, if you are interested, edit the 1110 on that line to fit your processor thread count. The Run, %comspec% bit is the part you can remove (two lines) if you’re not interested in the optimization. Run, %comspec% /c process -p forgedalliance.exe high Run, %comspec% /c process -a forgedalliance.exe 1110 WinSet, Style, -0xC40000, % "ahk_exe " procName WinGet Style, Style, % "ahk_exe " procName Paste this (this is the script you will have to adapt to suit your needs) #NoEnv Open this file with notepad or notepad++ ( or equivalent basic text editor that can edit code) (You can name it fullscreenScript or something similar)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |