Improved performance addon
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
Improved performance addon
Since BoW devs aren't interested in improving games performance (which has severely worsened over 1.16-18), maybe some modder could make an addon for this specific purpose ? 

"Machine intelligence is the last invention that humanity will ever need to make"
- Nick Bostrom
- Nick Bostrom
- beetlenaut
- Developer
- Posts: 2867
- Joined: December 8th, 2007, 3:21 am
- Location: Washington State
- Contact:
Re: Improved performance addon
I've decided to ignore the snark (directed at volunteers) and answer the question more fully. BfW is fast and smooth for me, and hasn't degraded at all. That's even true with maps full of water running full screen in 4k. I think it's more likely that your operating system is getting sluggish. If you are using Windows, that would make perfect sense.
You seem to think that a modder could add a bunch of code that the game needs to parse on top of all the regular stuff, and that would make the game faster. Obviously, it wouldn't. In fact, mods could be the cause of your problems too, if you have been adding more and more of them. Also, there are some poorly written ones that are especially slow.
You seem to think that a modder could add a bunch of code that the game needs to parse on top of all the regular stuff, and that would make the game faster. Obviously, it wouldn't. In fact, mods could be the cause of your problems too, if you have been adding more and more of them. Also, there are some poorly written ones that are especially slow.
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
Re: Improved performance addon
One thing that I thought would be useful would be an add-on profiler, so that if you have a bunch of add-ons, and one of them is causing things to load slowly, you could find out which one precisely, and where the problematic code is in the add-on in question...
Wesnoth-related GitHub repos:
General mods collection, SotBEEE, AToTBWaTD, The Earth's Gut, A Little Adventure, FtF
Social media: Mastodon: @egallager@treehouse.systems, Steam: egallager
General mods collection, SotBEEE, AToTBWaTD, The Earth's Gut, A Little Adventure, FtF
Social media: Mastodon: @egallager@treehouse.systems, Steam: egallager
Re: Improved performance addon
The closest thing to that is to preprocess an add-on with Wesnoth's -p flag.
You can look at the "ticks" (whatever that is, I assume the value is not comparable across different computers).
You can also look at the size of the generated file (is the same as decompressed cache), but that's probably not important.
Example:
However, that's about the time it takes to enter the MP Lobby or such, nothing during the actual game.
You can look at the "ticks" (whatever that is, I assume the value is not comparable across different computers).
You can also look at the size of the generated file (is the same as decompressed cache), but that's probably not important.
Example:
./wesnoth --preprocess-defines MULTIPLAYER -p Conquest_Asterisk /tmp/
Placing common code into a [resource] does magic improvements.added 2 defines.
preprocessing common macros from 'data/core' ...
acquired 1822 'data/core' defines.
preprocessing specified resource: Conquest_Asterisk ...
acquired 1922 total defines.
preprocessing finished. Took 446 ticks.
However, that's about the time it takes to enter the MP Lobby or such, nothing during the actual game.
Try out the dark board theme.