1. Battle for Wesnoth
  2. News

Battle for Wesnoth News

Wesnoth 1.17.7

Terrain
  • Generalized "lower terrain" similar to the mid-level in lava/chasm. Cosmetic and unwalkable versions. (PR #6927)
Translations
  • Updated translations: Arabic, British English, Bulgarian, Chinese (Traditional), Czech, Finnish, French, Italian, Portuguese (Brazil)
WML Engine
  • Add the pre_attack event.
Miscellaneous and Bug Fixes
  • Implemented logging to file for Linux and macOS, and enabled it be default for Steam Linux.
  • Fixed drake flare leadership animation over water (issue #3996)
  • Fixed animations not clearing properly when zoomed (issues #6589, #6891, #6892)
  • Fixed inconsistent cropping of unusually-sized item images (issue #6118)
  • Fixed the `{IS_HERO}` macro to avoid losing the hero ellipse when a unit levels up
  • Stored credentials are now encrypted with AES rather than RC4. This will result in credentials needing to be re-entered the first time when logging in with this version.

1.17.6

Campaigns
  • The South Guard
    • S4: Fixed replay OOS on victory event (issue #6832)
  • Under the Burning Suns
    • S8: Fixed replay OOS on victory event (issue #6267)
  • World Conquest
    • Fixed Bezoar artifact being bugged and broken.
Lua API
  • New `wesnoth.interface.screen_fade` function applies an overlay colour to the game display, fading over the given duration (PR #6864).
  • New functions have been added to register game events from Lua: `wesnoth.game_events.add`, `wesnoth.game_events.add_menu`, `wesnoth.game_events.add_repeating`, `wesnoth.game_events.add_wml`.
    • Both the action and the filter can now be a native Lua function, if needed.
    • All features of the `[event]` tag are available.
    • The primary API is `wesnoth.game_event.add` - the others are shortcuts for common use-cases.
  • `wesnoth.game_events.fire` (renamed from `wesnoth.fire_event`) now supports passing unusual event-specific data such as damage in an attack event or previous owner in a village capture event.
  • `wesnoth.fire_event_by_id` is renamed to `wesnoth.game_events.fire_by_id`.
  • `wesnoth.current.event_context` now has an additional `data` attribute that contains the full event data, including the former owner in a village capture event (which was previously never exposed anywhere).
  • `wesnoth.remove_event_handler` renamed to `wesnoth.game_events.remove` for consistency with other event functions.
Packaging
  • Increased minimum required version of SDL to 2.0.10 for non-macOS platforms.
  • Increased minimum required version of SDL to 2.0.22 and the minimum required OS version to 10.12 for macOS due to needing the fix https://github.com/libsdl-org/SDL/commit/3bebdaccb7bff8c40438856081d404a7ce3def30.
Rendering Engine
  • Large changes have been made to Wesnoth's rendering engine, enabling hardware acceleration for the majority of components and resolving many long-standing issues. Performance should be greatly increased, and CPU and GPU usage greatly decreased in almost all situations. Issues confirmed resolved: #1291, #1350, #1605, #1755, #2059, #2458, #2618, #2865, #3238, #3255, #3421, #3592, #3798, #3937, #4210, #4460, #4877, #5115, #5420, #5494.
Translations
  • Updated translations: Arabic, British English, Czech, Finnish, French, Italian, Japanese, Swedish
Units
  • Fixed Warden’s and Arbiter’s animations popping on water tiles (issue #6508)
  • Updated some Loyalist sprites: Sergeant, Lieutenant, Swordsman, Pikeman, Royal Guard, Halberdier
  • Animations for Nightgaunt
WML Engine
  • A new interface action `[screen_fade]` provides a smooth screen fade effect which also covers units (issue #6745).
  • Events now support filter conditions using the Wesnoth Formula Language with a new `filter_formula` key.
  • It is now possible for variable interpolation in an event name to expand to multiple event names - the name is split on commas both before and after variable interpolation.
  • The `[fire_event]` tag now supports a `[data]` subtag that can be used to pass any arbitrary information to the event. In particular, it supports passing damage to an attack event and former owner to a village capture event.
Miscellaneous and Bug Fixes
  • Fixed being unable to interact with units when Scroll Lock is active (issue #6759)
  • Fixed the addon manager UI blanking incorrectly (issue #6787)
  • Implemented a workaround for bad SDL rectangle drawing in some versions (issue #6799)

Patch 1.16.5

Campaigns
  • Eastern Invasion
    • S07a:
      • Better handling for side 2 (issue #4145)
      • Fixed Grug upkeep, added dialogue about ogres joining (issue #4145)
  • Northern Rebirth
    • S1: Fixed Al'Tar confusing an orc for a slave (issue #6735)
  • Under the Burning Suns
    • S5: Enforce encounter with the Cloaked Figure (issue #6364)
Translations
  • Updated translations: Arabic, British English, Chinese (Traditional), Czech, Polish, Finnish, French
Units
  • Fixed Warden’s and Arbiter’s animations popping on water tiles (issue #6508)
User interface
  • Resolved broken layout in some low-resolution configurations (issue #5620, #6544)
Miscellaneous and Bug Fixes
  • Fixed frequent crashes occurring in multiplayer matches (issue #6863).
  • Fixed path finding visibility bug that sometimes caused OOS errors on maps with tunnels and at least three sides that do not share vision (PR #6744)
  • Fixed being unable to interact with units when Scroll Lock is active (issue #6759)
  • Removing the Protect Unit Micro AI no longer causes a Lua error
  • Fixed chance of being unscathed in damage calculation for some fights in which both units can die (issue #6590)
  • Fixed visibility bug in ai_helper.get_attackable_enemies() for some complex filters
  • Fixed bug in Bottleneck Micro AI involving units without moves on terrain with multiple open passages (issue #6599)
  • Fixed error in Castle Switch CA of the Experimental AI after a leader was killed (issue #6440)
  • Fixed error in retreat-injured CA when regenerate ability code does not include a value= key
  • Retreat-injured CA no longer takes villages from allies
  • Experimental AI no longer uses generic_recruit_engine: fixes a data leakage bug between Experimental AIs of different sides
  • Experimental AI recruit rushers: include unit types from extra_recruit (issue #4924)
  • Fix segfault when weapon is removed during attack (issues #4927 and #5914)
  • Add no-unit error message for unit debug command (issue #6116)
  • Significantly improve efficiency of move-to-any-enemy CA

Development Patch 1.17.5

Campaigns
  • Eastern Invasion
    • S1: Fixed campfire not having a sound (issue #5766)
    • S07a:
      • Better handling for side 2 (issue #4145)
      • Fixed Grug upkeep, added dialogue about ogres joining (issue #4145)
  • Northern Rebirth
    • S1: Fixed Al'Tar confusing an orc for a slave (issue #6735)
Translations
  • Updated translations: Arabic, Chinese (Traditional), Czech, Finnish, French, Japanese, Polish
User interface
  • High-DPI font and image rendering is now enabled across the entire UI.
Miscellaneous and Bug Fixes
  • wmllint automatically removes the obsolete lines `{SOUND:SLOW}` and `{SOUND:POISON}`
  • Fixed path finding visibility bug that sometimes caused OOS errors on maps with tunnels and at least three sides that do not share vision (PR #6744)
  • Fixed transparency of submerged units when zoomed (issue #3746)
  • Fixed mouse input mapping problems on MacOS (issue #6715)
  • Removing the Protect Unit Micro AI no longer causes a Lua error
  • Fixed chance of being unscathed in damage calculation for some fights in which both units can die (issue #6590)
  • Fixed visibility bug in ai_helper.get_attackable_enemies() for some complex filters
  • Fixed bug in Bottleneck Micro AI involving units without moves on terrain with multiple open passages (issue #6599)
  • Fixed error in Castle Switch CA of the Experimental AI after a leader was killed (issue #6440)

Patch 1.16.3

Add-ons client
  • Fixed: using the up or down arrow keys in small-screen mode returned to the title screen (issue #6485).
  • Add-on passwords that are not stored in the `_server.pbl` can now be stored in the same credentials file as multiplayer passwords (PR #6543).
Campaigns
  • Delfador’s Memoirs
    • S11: Finding Chantal will now share her side’s vision with the player, as originally intended.
    • S14: Smoother appearance of enemies and added dialogue (#6176).
  • Descent into Darkness
    • S08: Prevent Spectral Servant from picking up the book (issue #6576).
  • Northern Rebirth
    • S05a_01: Solve units getting stuck in the wall before the spider chamber (issue #6607).
  • Sceptre of Fire
    • Fixed Thursagan's Arcanister advancement being "lost" after dismounting a minecart.
    • Improvements and spelling corrections to the English prose text (PR #6177).
    • S9: Allow Grypon Riders to complete the scenario (issue #6332)
  • Son of the Black Eye
    • Improvements and spelling corrections to the English prose text (PR #6166).
  • The Rise of Wesnoth
    • S22: Fixed the possibility of a misplaced dialogue when a bridge was broken (issue #6376).
  • Under the Burning Suns
    • S08: Kromph and the Dust devil now trigger a critical event (issue #6211).
  • World Conquest
    • Updated the modding instructions, helping add-on authors add extra factions etc.
Editor
  • Add documentation for the magenta D and special terrain overlays (PR #6460).
  • Added some missing terrain groupings (issue #6643)
Multiplayer
  • Fixed updating add-ons when joining a game that requires a new version (issue #6383).
  • Add a `/clear` command for the lobby-chat window.
Packaging
  • flatpak: update freedesktop runtime version to 21.08 (issue #6497).
Terrain
  • Better transition for Swamp to Icy Cobbles (PR #6491).
  • New graphics variations for icy and rocky terrains.
  • The help browser adds special notes for castles and healing terrains (PR #6461).
Translations
  • Updated translations: British English, Bulgarian, Chinese (Simplified), Czech, French, Italian, Japanese, Portuguese (Brazil), Russian
  • Fixed the stats for Spanish being overwritten by the stats for Spanish (Latin American).
Units
  • Saurian sprites cleanup (PR #6450).
  • Various small sprite updates for sea serpents and swamp lizards (PR #6452).
User interface
  • Mark the Plan Unit Advance mod as MP-only so it doesn't show up as available for campaigns.
Miscellaneous and Bug Fixes
  • wmlscope can now report about calls to deprecated macros when using the `--unresolved` switch.
  • wmlxgettext’s old behavior of processing files in the order they’re given on the command line can be selected with the `--no-sort-by-file` option (PR #6586).
  • Fixed a crash with "laststrike" (firststrike given to the opponent) weapon specials (issue #6575).
  • Fixed a crash with locally-edited add-ons that had neither `_server.pbl` nor `_info.cfg` (issue #6389).
  • Added more unit tests for weapon specials.
  • Resolve crash on systems using musl implementation of libc (issue #6603)
  • The `--stringfreeze` (`-Z`) command line flag has been removed from wmllint.
  • The checks for the old special notes system have been removed from wmllint; the `notecheck off`, `notecheck on` and `match with ` magic comments no longer have any effect.
  • Resolved title screen flashing during the loading screen (issue #2395)
  • Fixed erratic keyboard and mouse scroll speed (issue #3607)
  • wmllint automatically removes the obsolete lines `{SOUND:SLOW}` and `{SOUND:POISON}`