#[MOD]FPS Booster

1 messages · Page 1 of 1 (latest)

warm pumice
#

This is mostly just a test mod to see if it works as an fps booster, initial results show for me small increase of about 20 fps (depending on situation and mission) and looking to get feedback if it helps others.

Step-by-Step Installation

  1. Download BepInEx
    • Go to the BepInEx release page. -> https://github.com/BepInEx/BepInEx/releases/tag/v5.4.23.2
    • Download the BepInEx_win_x64_5.4.23.2.zip file.

  2. Extract BepInEx
    • Extract the contents of the BepInEx_win_x64_5.4.23.2.zip file into the root folder of your game. This is the folder where your game's executable is located.

  3. Verify BepInEx Installation
    • After extraction, your game folder should contain the following:
    • BepInEx (folder)
    • doorstop_config.ini (file)
    • winhttp.dll (file)

  4. Place the FPSBooster.dll
    • Navigate to the BepInEx folder inside your game directory.
    • Inside the BepInEx folder, locate the plugins folder. If it does not exist, create it.
    • Copy the FPSBooster.dll file into the plugins folder.

  5. Launch the Game

GitHub

Doorstop has been upgraded from v3.4 to v4.3, bringing some new features for developers. It's for the most part a drop-in replacement.

Doorstop 4 debugging works on all platforms and IDEs that...

clever briar
#

Very cool and nice.
This is available for multiplayer? Because most part of problems with FPS in multiplayer.
If yes. This modification could become a part of vanila game

warm pumice
clever briar
warm pumice
#

could be 0% could be 33% its really unknown at this time, my measurements as hosting appears a 1/3 boost, joining an ongoing mission? 5%-10%?

#

Start a singleplayer game -- press f3 to see fps, exit game and apply mod

#

see if it goes higher.

clever briar
warm pumice
#

I have ways i can apply other fixes, i may make this into an experimental configurable branch.

clever briar
ashen lantern
#

gonna note my free flight and talon one server performance here before installing the mod

#

oh bruh i had vsync

#

alr ill keep it off

warm pumice
#

yeah disable vsync lol

clever briar
ashen lantern
#

actually makes it feel a bit smoother

#

might have to keep it on 😭

warm pumice
ashen lantern
#

ok heres free flight

#

current t1 roster

#

eh ill disable it just to see what performance i can get

warm pumice
ashen lantern
#

ok this is just on the viewing aircraft screen

#

hopefully thats a good enough metric?

warm pumice
#

now to apply it?

#

inb4 its 100% worse

ashen lantern
#

actually in the aircraft

#

ok ill apply now gimme a minute to follow the instructions lol

#

ok this is a bit easier than harmony/umm and such

#

a lot easier actually

#

can i verify in game if it worked?

#

i think my free flight without vsync was 130

warm pumice
#

if you want the console to open -> Bepinex -> config folder -> just put this in it...

ashen lantern
warm pumice
#

so 7 fps boost in aircraft? Lol

ashen lantern
#

yea lmao

#

the console opened so that is indeed with the patch

#

my pc is a 5 5600 + 1650 super + 16gb of ram so dont expect too much 😂

warm pumice
#

Its better than nothing!

#

I got another update coming give me like an hour or so... possibly earlier

ashen lantern
#

alr

#

wish it auto updated

clever briar
# ashen lantern 😅

Pretty interesting result. Average small increase. But sometimes frames boost almost double. Average increase near 10% what pretty good

ashen lantern
#

oh i didnt see what it was with vsync

ashen lantern
#

if it gets a constant 75 then thats a win in my book

#

oh shi im too poor on his server 💀

#

nvm reserved

#

hey not bad

warm pumice
#

Lol

jovial raft
#

makes the game lag extra extra hard for me

#

i7 13650hx

#

feels like when I bugger up the game with process lasso

#

oh u know what

#

my goddamn laptop charger was unplugged

#

lol

solemn quartz
#

how does this mod work?

dawn viper
#

lol actually wanted to ask it rn

warm pumice
warm pumice
solemn quartz
#

strange

#

so multi treading actually hurts performance??

warm pumice
#

Appears so

#

first start altercation pala

#

unpatched ^

#

patched first start

dawn viper
#

464fps...

warm pumice
dawn viper
#

But yeah i tested it and it's seems to working, but it's very negligible improvements for me. Sometimes it's the same, sometimes it's 1-2ms faster, which might give +2 more fps in escalation-like lobby.

jovial raft
rose rose
#

In my case, I get :

  • 45-75fps without the mod
  • stable 60fps with the mod

For reference my CPU is a Ryzen 5800x3d

warm pumice
#

Well glad its more stable then? interesting

small reef
#

I'd like to think my mission is the final boss of lag testing 😭

warm pumice
#

Well start your test then!

rose rose
warm pumice
#

Ay

jovial raft
#

i feel like I'm getting stutters with this when noblackbox is turned on

#

might be impacting the streamwriter dumping the tacview log in the background?

#

nah it can't be the disk writes because that only occurs every 60 seconds

wintry geyser
#

If you don't mind sharing, how does it work? How what exactly does it do to boost the fps?

clear socket
warm pumice
clear socket
#

Doesn't even make sense considering it performed way better than the 13900k at MSFS but idk

warm pumice
#

First starts are always very high

clear socket
#

First as in literally the first second

#

I get a high burst of FPS then it immediately drops to 100 to 80

feral basalt
#

has this mod been tested on games with actually high entity counts

cunning urchin
#

JobWorkerCount = 2 😂

clear socket
feral basalt
#

thats always a good stress test

tawny bridge
#

just tested it on ryzen 5 5500 + rx6600 + 32gb ram. launched escalation coop as pala and donated a shitton of funds to ground forces, they spawned, i flew fs-20 near them and it was 10-13fps unpatched and 20-27fps patched

clever briar
#

I long time check this mod. He works pretty good. He give at least 20% increase frame boost. And sometimes can increase 200% frames!
Overall give at last 60-100% frame boost! And it seems sometimes frame appear higher than apear on eyes. And graphic of frames appear this.

Best performance in dedicated servers!
And control feedback increased when you are change aircraft in aircraft change menu!

Looks like mod generate frames and something else, like probably turn off not needed UI part and probably, IDK turn off some data transfer if some units very far and when you not open map. And when you open map it seems map refresh to current state, probably some parts of game calculate and appears in lower frame like smoke, and probably something else.

I get bug with this mod. Sometimes not appear objective names at map and HUD, usualy on dedicated servers

I can recommend this mod for everyone. Nice job. @warm pumice thank you very much, now i can forget about 6 frames gameplay

||1050ti, 8GB RAM, I5-7400||

ancient garden
warm pumice
ancient garden
warm pumice
wooden flume
clever briar
tawny bridge
wooden flume
wooden flume
#

I think this is actually coming in handy, I used to get around 20 FPS now I'm getting 30, which will be nice

ancient garden
wooden flume
ancient garden
#

turn it down then back up

#

but lmaooo i had to zoom in to see

wooden flume
#

i mean even then I don't even get that good of a FPS boost. Its just 24 fps i get

#

ugh

wooden flume
#

yea

#

i mainly play multiplayer

ancient garden
#

how many people in the server

#

more people = lag grows exponentially

wooden flume
#

its just random coop servers i join

ancient garden
#

talon one (pvp server) cooks my device when i join at peak hours

ancient garden
#

try to connect to a server that has the best ping for you

wooden flume
#

yea i play on a gaming laptop

ancient garden
long jungle
#

how do you feel about making that mod open source?

jovial raft
#

it quite literally just sets the unity jobworker count to 2 and the process priority to high

#

you can confirm this yourself with a decompiler

glacial mountain
#

hi, avid ILSpy user here as well. though you're right, it makes life a lot easier for anyone wanting to read it or change it. there's no point in not sharing the src while you're at it

long jungle
#

i just find it "wrong" to not have a mod open source, cause, well, why would it not be, not meaning the author is likely to do malicious stuff, its just... the right way to have it open source

final sluice
long jungle
#

it absolutely is

#

its about principle

long jungle
final sluice
#

@warm pumice did you try any numbers other than 2? I'm looking into setting this lower in the next release

long jungle
final sluice
#

I was reading other using unity saw better performance when its lower as well, but none of the posts said why

#

I'm guessing if it is using all the cpu cores, then other processes on your pc could slow it down 🤔 so I'm wondering if setting it to 1/2 thread count would be enough to fix performance

long jungle
#

TIAS?

warm pumice
warm pumice
glacial mountain
jovial raft
#

fun fact: the world runs on shit code

long jungle
#

and any person which's opinion is worth something in the slightest would not shit on you, but would just.... try to improve things

#

but i understand exactly where you are coming from, ask me why my things are mostly private github repos

vernal canyon
wind mantle
#

props mate i got notoriously better framerates in high intensity multiplayer servers

warm pumice
warm pumice
final sluice
#

I might add a command line option to set it, so it can be used for advanced users and servers

wind mantle
clear socket
#

Like a config file yeah, let's you change the max fps cap and other settings stuff

#

In some games you can even change the memory allocation

wind mantle
ashen lantern
#

i would give it 15gb out of my 16

wind mantle
long jungle
long jungle
#

(sure, this is for the java vm technically, but might also be possible for a game, not that into unity tech, just c# sadly)

final sluice
#

and I think a lot of the memory will be taken up by texture and other assets, rather than the code side. so not much we can reduce there

wind mantle
final sluice
vernal canyon
#

Could maybe preload scenes but that's about it. And it would come with some problems

wind mantle
#

Anything for people to manage their devices

warm pumice
jovial raft
#

but that doesnt make it impossible to configure programmatically...

warm pumice
#

oh no the server mod set em all to lowest

#

and that was before i realized it editted the registry lol

#

then i removed that part

plain arch
#

the game seems to have a problem with asynchronous calculations when multithreads...

How many times I have the same performance on 2 cores as all the others...

I've tried different combinations of shutting down cores and threads...

Interesting from 2 cores have almost the same performance as on 8

plain arch
#

@warm pumice how do I test that the mod works

wind mantle
plain arch
wind mantle
#

I dont think theres a genuine way

clever briar
wind mantle
vernal canyon
#

Only way to measure it is to use some sort of benchmark and an FPS counter

clever briar
vernal canyon
#

Steam frame counter measures how often it is drawn by the driver (or whatever.) There is also an ingame frame counter and CPU latency.

clear socket
#

Use RTSS

long jungle
#

"easiest" would be, press <key> which opens a little dialog on what the current value of JobsUtility.JobWorkerCount

somber fiber
#

still working on new update?

clever briar
#

Seems still work. I checked

plain arch
#

I don't know why it's not implemented in the game if / maybe it works.....

plain arch
# final sluice pretty sure the code is just ```cs JobsUtility.JobWorkerCount = 2; ```

#1340695286405791764 message

I did various experiments, and it's funny that the game runs at the same performance on 2 cores as all the others.

This proves that one core of instructions waits for the other while slowing down.

When I disabled individual cores for the game process.

It logically follows that many instructions are not synchronized at the core level.

final sluice
#

the mod probably isn't needed any more

clever briar
# final sluice I limited the worker count to between 2 and 8, in the last patch, so that's prob...

My friend said in 0.31 he get higher frame rate. And early he tried installing this mod, but on him PC he dont get frames boost.

Thank you so much for optimisation! Optimisation for this game perfectly give ability to players play in higher intensive war without 6 frames gameplay.

P.S. i feel a frame boost too(i still use fps booster) and this boost mostly help increase FPS in low and middle intensity battles(somewhere 15-25%), but even in high intensive probably get 5-10% frame boost(unfortunately im not counting, its just feelings)

stoic mountain
#

does this still work post-brawler?

jovial raft
#

it doesn't do much

#

if you have random dips where the game goes to like 5-10fps for a minute randomly, try limiting the framerate

#

also try launch options -force-dx12 or -force-vulkan

#

alongside capping the framerate

jovial raft
stoic mountain
jovial raft
#

yes you can set them for the game in steam launch options

#

or you can just enable vsync, although that might only result in a reasonable fps limit if you have a 60hz screen

stoic mountain
#

my issue is specifically low fps on high vehicle count missions but im saying this as i have a 7 year old cpu

jovial raft
#

that's typical behaviour of the game unfortunately

stoic mountain
#

nah its not as bad as for others, i reach 15-20 on almost every non escalation mission

jovial raft
#

what this fps booster mod does it restricts the unity job system to 2 threads which depending on the cpu may or may not help, for me it stopped being useful several patches ago

stoic mountain
#

mmm the cpu im using is an i5 9400f

#

you probably dont know but if you do, do you think itd help?

jovial raft
#

if you don't try it you will never know

stoic mountain
#

i suppose

#

ty anyway

stoic mountain
jovial raft
#

it might help because new graphics apis are a bit smarter at pushing instructions to the gpu, so the cpu can work a bit more efficiently

stoic mountain
#

fair enough ill try these at home

jovial raft
#

-force-d3d12
or
-force-vulkan

#

only set one at a time

#

don't try to set them together

stoic mountain
#

does the mod function with the current game version at least?

jovial raft
#

it will work

stoic mountain
#

awesome

#

no known conflicts with other mods?

#

specifically NOTT

jovial raft
#

it doesn't modify actual game code, it just tells the unity player to only use 2 threads for the job queue

#

so it should not conflict with any other mods

stoic mountain
#

cool ty again

stoic mountain
#

Ok so combined with the dx12 forced i gained about 10 extra fps with the mod but its probably just the api change

jovial raft
#

i get something like that with dx12 over the default also, without the mod

clear socket
gentle rock
#

How do I know if ive install this correctly? Does this show in the mod manager? i've put it in the plugins folder but when i press f1, it only shows my other mods