Author Topic: Boost fonline performance (reloaded/2238/other)  (Read 12532 times)

Boost fonline performance (reloaded/2238/other)
« on: May 26, 2017, 07:29:43 pm »
Is there a way to boost performance on low tech machines? Some tips & tricks you know from client side and server which is hosted on localhost.

Re: Boost fonline performance (reloaded/2238/other)
« Reply #1 on: June 25, 2017, 04:10:41 am »
The sky above the port was the color of television, tuned to a dead channel.
irc V_guessWho

Re: Boost fonline performance (reloaded/2238/other)
« Reply #2 on: June 25, 2017, 01:38:35 pm »
Nah, it is bull***t.

Re: Boost fonline performance (reloaded/2238/other)
« Reply #3 on: July 15, 2017, 01:10:39 pm »
Well, caching more of the sprites and textures does actually help in performance but not in amount of FPS but smoothness and load time on machines with slow HDD. What I've always been doing is play the game with compability set to 98/ME or XP SP3 to ensure stability with custom graphical modifications and cap the FPS on 80 for smoothness (in D3D you've got VSync working but in OGL old revision based FOnlines that option was broken). What you may also try is to disable 3D Multisampling and all FPS setting related to 3D on 0.

In extreme situation you might set FPS cap on minus.. yes like -6 will give you stable ~20 to 30 frames but it's useful only on VERY low end machines with only one ancient core and GPU worser than GT240.

Re: Boost fonline performance (reloaded/2238/other)
« Reply #4 on: July 15, 2017, 10:48:31 pm »
How many sprites and textures can I set? Are there any limits?

Yadanut

  • Guest
Re: Boost fonline performance (reloaded/2238/other)
« Reply #5 on: November 23, 2017, 10:34:18 am »
I just want a way to add it.

Re: Boost fonline performance (reloaded/2238/other)
« Reply #6 on: January 20, 2019, 04:32:33 pm »
Client
Client/data/*.zip are compressed with a strong compression algorithm that should only be used for long-term archival.
If you unpack the archives and compress them with the algorithm "Deflate Level: Fastest" you should be able to access maps up to ~400% faster.

Server
In Server/FOnlineServer.cfg you can increase the cycle per seconds by reducing the GameSleep frequency.
GameSleep = 0, a processor core is fully utilized. Up to 500 cycles per second are possible with a 10 year old processor.
This is unnecessary and can negatively affect the game, try to reach 40 cycles per second.
If you are using server and client at the same time on an old single core processor you should not make these changes.

Re: Boost fonline performance (reloaded/2238/other)
« Reply #7 on: January 25, 2019, 01:20:46 pm »
Client
Client/data/*.zip are compressed with a strong compression algorithm that should only be used for long-term archival.
If you unpack the archives

What if archives are not compressed?

Re: Boost fonline performance (reloaded/2238/other)
« Reply #8 on: January 25, 2019, 02:27:25 pm »
What if archives are not compressed?

With a slow hard disk it can take longer. Unless you have Windows Prefetch active with enough RAM.
Windows Prefetch must also recognize the files as frequently used.  ::)

If the files on an SSD(250MB/s read) or RAM disk are uncompressed, there is a small speed advantage.
I'm not sure if it works well with SSD since the "Intel Meltdown" patch.   ;)

The files are also partially compressed without an archive, mostly images. https://en.wikipedia.org/wiki/Image_compression
It would be possible to create a client that decodes everything at startup, then there would be no more load times.
The drawback is that it probably takes more than 4 gigabytes of ram.  ;D
« Last Edit: January 25, 2019, 05:48:04 pm by Engardo »