Where is OPENMW_PHYSICS_FPS located?

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Post Reply
ScrapCrap
Posts: 2
Joined: 25 Feb 2018, 08:59

Where is OPENMW_PHYSICS_FPS located?

Post by ScrapCrap » 25 Feb 2018, 09:07

title

magamo
Posts: 103
Joined: 28 May 2016, 17:28

Re: Where is OPENMW_PHYSICS_FPS located?

Post by magamo » 25 Feb 2018, 14:17

It is an environment variable, meaning it is set in your command shell before running the game.
`OPENMW_PHYSICS_FPS=60.0 openmw-launcher` would launch the launcher with the default setting under the bash shell.

ScrapCrap
Posts: 2
Joined: 25 Feb 2018, 08:59

Re: Where is OPENMW_PHYSICS_FPS located?

Post by ScrapCrap » 26 Feb 2018, 03:47

I don't really understand, can you show me using images or step by step?

User avatar
akortunov
Posts: 277
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation
Github profile: https://github.com/akortunov

Re: Where is OPENMW_PHYSICS_FPS located?

Post by akortunov » 26 Feb 2018, 11:01

ScrapCrap wrote:
26 Feb 2018, 03:47
I don't really understand, can you show me using images or step by step?
Just google "setting environment variables in [insert your OS name here]".
Also OPENMW_PHYSICS_FPS is for testers and developers, not for gamers.
If you do not know how to use it, probably you do not need it.

A quote from OpenMW manual:
"There are several environment variables that can be used to change the way OpenMW behaves, for debugging or to test experimental functionality. These variables are not officially supported and not intended for end users. Use at your own risk!"

imec
Posts: 32
Joined: 13 May 2012, 22:03

Re: Where is OPENMW_PHYSICS_FPS located?

Post by imec » 26 Feb 2018, 13:15

If you're on Windows 10:

Right-click "This Computer" -> Properties -> Advanced System Settings -> Advanced Tab -> Environment Variables -> Click "New" under "User variables for USERNAME" -> Enter "OPENMW_PHYSICS_FPS" for your variable name and then enter the desired FPS for your value.

There are screenshots here that can help you out if you have trouble navigating the menus:
https://superuser.com/questions/949560/ ... windows-10

davidcernat
Posts: 47
Joined: 19 Jul 2016, 01:02

Re: Where is OPENMW_PHYSICS_FPS located?

Post by davidcernat » 03 Mar 2018, 01:34

akortunov wrote:
26 Feb 2018, 11:01
Also OPENMW_PHYSICS_FPS is for testers and developers, not for gamers.
If you do not know how to use it, probably you do not need it.
The physics thread is one of the main bottlenecks in OpenMW, and setting OPENMW_PHYSICS_FPS to 40 or 30 provides a quick and somewhat effective solution to it, with side effects that are not very visible or important to most people who have changed it and reported back.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest