Framerate and Performance: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 16: Line 16:


===Advanced Tips for Maximising Performance=== <!--T:5-->
===Advanced Tips for Maximising Performance=== <!--T:5-->
1. If you are playing Single Player, for maximum performance and stability - on a PC with at least 16GB of RAM and a modern CPU - you can set up a dedicated server on your own PC, instead of playing Single Player.  So you copy/move your saved game world into the server's Saves folder and run VintagestoryServer.exe.  Then start the game normally, in the main menu click on Multiplayer and connect to the server you just made.  The address of the server on your own machine is always 127.0.0.1.  This should be straightforward - it's not normally necessary to set up port forwarding or firewall permissions if playing on a server which is running on your own PC.
1. If, in Single Player, you run in to hard lag spikes after some minutes of play, and you have 8 GB or less RAM you could be memory bottlenecked. Buying 4-8 GB more RAM usually is pretty low cost. Or could run a dedicated server on another computer on local network to reduce RAM usage.  
 
<!--T:6-->
Strongly recommended for the new higher view distances above 1024, or any high view distances really!
 
<!--T:7-->
''Why this helps: it means the server part of the game (which generates and runs the world) and the client part of the game (which draws the chunks and animals and everything else you can see) can each run separately in their own memory space, without conflicting with each other and with reduced lag spikes. On some machines (depending on OS version and other factors) you'll also be less likely to run out of memory at high view distances - in some cases .NET framework gives the game a maximum of 4GB of RAM on each instance: in single player, that 4GB has to be shared between the internal server and the client.  With a dedicated server, the server has its own 4GB and the client has its own 4GB. More memory is good!''
 
<!--T:8-->
Alternatively if you have a laptop or similar with only limited RAM, but there's another PC on the same local network, try running a dedicated Vintage Story server on that other PC and connecting to it over your local network.  This may need the firewalls to be set to allow Vintage Story to have network access on both PCs.
 


<!--T:9-->
<!--T:9-->
Confirmedusers, Bureaucrats, editor, Administrators
1,779

edits