Wesnoth 1.15.13

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Locked
User avatar
Pentarctagon
Project Manager
Posts: 4777
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Wesnoth 1.15.13

Post by Pentarctagon »

Wesnoth 1.15.13 is out!

This new release in the 1.15.x development series sees various changes and improvements in various areas.

As this is a development version, we would like to remind everyone how the testing and feedback process works for these:
  • If you download Wesnoth stand-alone, make sure to keep the latest stable release around in case the game breaks and you find yourself unable to get your daily fix of Wesnoth.
  • Playtest the game, and make sure to report any bugs you find! Even obvious bugs can be left unfixed if everyone assumes someone else has already reported it.
  • For any bugs found, or to request new features to be added, check out bug tracker here. First though, please read our instructions for reporting bugs on the wiki, which will give your bug report or feature request the best chance of being addressed.
  • Near the end of the release notes below you will find a list of the most important bugs known at the time of the release. Some items are due to be fixed in future releases of the 1.15.x series, but for others we depend on contributed patches from volunteer coders like you!

Downloads
Source code (469.2 MB)
SHA256 sum: 75c89696a93249009587485db1b375a746f9068a18a71dcbc1fc5d59dd0111e9
Windows installer (64-bit) (438.0 MB)
SHA256 sum: 88ee76f34af32f6ce5511b0f2b324879f02b9fc55749fd2addaeda068c204fb6
macOS package (482.6 MB)
SHA256 sum: 9c7e3051942e3c623105c80ea415b3a311411d9c3f51275e157848e62f780ba7
Steam
Development versions of Wesnoth are available on Steam through our beta channel.
In your Steam library: right-click on Battle for Wesnoth, select Properties, go to the Betas tab, and select the 1.15.x option from the drop down.
Linux
All known Linux packagers have been contacted, and binaries for your distribution may have already been created. Information about where to get the respective binaries and how to install them, including via Flatpak, can be found on the Linux binaries page in the wiki.

Changes in this release

Read on for more details about the most notable fixes and additions since the previous development release. A full list of changes may be found in our changelog.
General
  • Unit graphics
    The Rock Scorpion and Scarab have new attack animations.
    The Piglet and Woodland Boar have new sprites.
    The Piglet has a portrait.
    The Horse and Sea Horse units have been added.
  • Add-on tags
    The details panel in the in-game add-ons manager now shows the list of tags in each add-on as well as allows filtering based on tags.
  • Multiplayer game notifications
    Notifications for new games created when on the multiplayer server will now only be shown for games visible in the current game list. This means you will no longer get notifications for games not shown due to being filtered.
  • Crash when showing the credits
    Wesnoth will no longer crash when showing the full game credits.
  • Dark Forecast enemy movement
    Enemy units in Dark Forecast are no longer able to move over impassable terrain.
Important changes since 1.14.x
This information applies to all 1.15.x development releases unless specified otherwise.

General
  • The minimum required version of GCC is now 7.
  • Wesnoth no longer depends on SDL_ttf 2.0 for building and the option to use FriBidi for right-to-left (RTL) text rendering has been removed in favor of using Pango. It is worth noting that RTL language support in general is currently broken (#5600), and there are no active RTL language translations either.
Windows:
  • Windows 7 is now the minimum supported version.
  • Wesnoth now supports only the 64-bit versions of Windows.
macOS:
  • Wesnoth now uses the app sandboxing feature, which means there is a new location for saves. All saves will be migrated during first launch automatically. For info about backwards compatibility see here.
  • Starting with 1.15.5, the minimum required version of macOS is 10.11, and the recommended version is 10.14.
Known Issues
General issues:
  • OneDrive can interfere with Wesnoth’s user config/data directory set-up, leading to all kinds of different manifestations of the issue. There’s no fix available yet. The recommendation for the time being is to avoid syncing the Wesnoth user directory with OneDrive.
  • Preprocessor errors corrupt cache (issue #1924). If this happens you have to wipe your cache. That can be done in Preferences → Cache.

New Contributors and Developers

Do you want to help shape the future of Wesnoth? You are always free to join us in the #development Discord channel or #wesnoth-dev IRC channel on irc.freenode.net to ask for help with getting started!

The multiplayer and add-ons servers for this development series are up and running. Because development versions are a moving target, the development multiplayer server only accepts the latest version in the series. Add-ons may break due to changes to the WML and Lua APIs throughout development series — any problems involving them should be reported to the respective add-on maintainers.

If you find any bugs, do not hesitate to report them, but please read the instructions on how to report bugs first! As bug reports in the forums tend to be forgotten, you will get better results using our bug tracker. We require your help for finding and fixing issues, no matter how obvious, trivial, or complicated they seem!

Have fun!
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Z4N7
Posts: 2
Joined: May 16th, 2021, 11:38 am

Re: Wesnoth 1.15.13

Post by Z4N7 »

Hi.
I just want to ask how long it usually takes for android version to get the update?
vghetto
Posts: 459
Joined: November 2nd, 2019, 5:12 pm

Re: Wesnoth 1.15.13

Post by vghetto »

hmm, this version causes lua errors in WF and Quickie fight.
User avatar
Pentarctagon
Project Manager
Posts: 4777
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Wesnoth 1.15.13

Post by Pentarctagon »

Z4N7 wrote: May 17th, 2021, 4:54 pm Hi.
I just want to ask how long it usually takes for android version to get the update?
You would need to ask the Android port maintainer about that, though I believe the Android versions sticks with stable releases instead of using the development releases.
vghetto wrote: May 17th, 2021, 5:26 pm hmm, this version causes lua errors in WF and Quickie fight.
If it's a lua error then it should be reported on github. If it's a deprecation warning, then the add-on would need to be updated.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
vghetto
Posts: 459
Joined: November 2nd, 2019, 5:12 pm

Re: Wesnoth 1.15.13

Post by vghetto »

Pentarctagon wrote: May 17th, 2021, 5:34 pm
vghetto wrote: May 17th, 2021, 5:26 pm hmm, this version causes lua errors in WF and Quickie fight.
If it's a lua error then it should be reported on github. If it's a deprecation warning, then the add-on would need to be updated.
Thanks Pentarctagon, it doesn't seem to be a deprecation warning.

Code: Select all

20210517 17:43:12 error scripting/lua: ~add-ons/Quickie_Fight/lua/utils.lua:79: attempt to call a nil value (field 'random')
stack traceback:
        ~add-ons/Quickie_Fight/lua/utils.lua:79: in function <~add-ons/Quickie_Fight/lua/utils.lua:75>
        [C]: in field 'find_path'
        ~add-ons/Quickie_Fight/lua/utils.lua:73: in local 'cmd'
        lua/wml-utils.lua:144: in field 'handle_event_commands'
        lua/wml-flow.lua:19: in local 'cmd'
        lua/wml-utils.lua:144: in field 'handle_event_commands'
        lua/wml-flow.lua:135: in local 'cmd'
        lua/wml-utils.lua:144: in field 'handle_event_commands'
        lua/wml-flow.lua:135: in local 'cmd'
        lua/wml-utils.lua:144: in field 'handle_event_commands'
        lua/wml-flow.lua:5: in function <lua/wml-flow.lua:4>
It seems to be complaining about the function wesnoth.random()
User avatar
Celtic_Minstrel
Developer
Posts: 1816
Joined: August 3rd, 2012, 11:26 pm
Location: Canada
Contact:

Re: Wesnoth 1.15.13

Post by Celtic_Minstrel »

Here's a quick fix for people experiencing this issue: edit the file data/lua/core/mathx.lua to add the following line at the end:

Code: Select all

wesnoth.random = mathx.random
Proper fix will follow in the next release.
Author of The Black Cross of Aleron campaign and Default++ era.
Maintainer of Steelhive.
vghetto
Posts: 459
Joined: November 2nd, 2019, 5:12 pm

Re: Wesnoth 1.15.13

Post by vghetto »

That fixes it.
Thank you.
User avatar
Pentarctagon
Project Manager
Posts: 4777
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Wesnoth 1.15.13

Post by Pentarctagon »

For completeness though, wesnoth.random has been deprecated in favor of mathx.random, so with the next release there will just be deprecation warnings instead of errors.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Z4N7
Posts: 2
Joined: May 16th, 2021, 11:38 am

Re: Wesnoth 1.15.13

Post by Z4N7 »

Pentarctagon wrote: May 17th, 2021, 5:34 pm
Z4N7 wrote: May 17th, 2021, 4:54 pm Hi.
I just want to ask how long it usually takes for android version to get the update?
You would need to ask the Android port maintainer about that, though I believe the Android versions sticks with stable releases instead of using the development releases.
Yes,my bad. I didn't notice that last stable version is 1.14.16 and android is on 1.14.14
vghetto
Posts: 459
Joined: November 2nd, 2019, 5:12 pm

Re: Wesnoth 1.15.13

Post by vghetto »

sigh. starting WF on 1.15.14 is giving the following errors. They are appearing in-game, not just the console.

Code: Select all

Battle for Wesnoth v1.15.14 x86_64

Invalid WML found: NOTE_BERSERK has been deprecated and removed.; This note is now added automatically.
Invalid WML found: NOTE_CHARGE has been deprecated and removed.; This note is now added automatically. (5)
Invalid WML found: NOTE_CURES has been deprecated and removed.; This note is now added automatically.
Invalid WML found: NOTE_DEFENSE_CAP has been deprecated and removed.; This note is now added automatically. (5)
Invalid WML found: NOTE_HEALS has been deprecated and removed.; This note is now added automatically. (3)
Invalid WML found: NOTE_ILLUMINATES has been deprecated and removed.; This note is now added automatically.
Invalid WML found: NOTE_LEADERSHIP has been deprecated and removed.; This note is now added automatically. (9)
Invalid WML found: NOTE_MAGICAL has been deprecated and removed.; This note is now added automatically. (3)
Invalid WML found: NOTE_SLOW has been deprecated and removed.; This note is now added automatically.
Invalid WML found: NOTE_SUBMERGE has been deprecated and removed.; This note is now added automatically. (2)
Invalid WML found: NOTE_SWARM has been deprecated and removed.; This note is now added automatically.
User avatar
Lord-Knightmare
Discord Moderator
Posts: 1549
Joined: May 24th, 2010, 5:26 pm
Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
Contact:

Re: Wesnoth 1.15.13

Post by Lord-Knightmare »

vghetto wrote: June 21st, 2021, 2:19 pm sigh. starting WF on 1.15.14 is giving the following errors. They are appearing in-game, not just the console.

Code: Select all

Battle for Wesnoth v1.15.14 x86_64

Invalid WML found: NOTE_BERSERK has been deprecated and removed.; This note is now added automatically.
Invalid WML found: NOTE_CHARGE has been deprecated and removed.; This note is now added automatically. (5)
Invalid WML found: NOTE_CURES has been deprecated and removed.; This note is now added automatically.
Invalid WML found: NOTE_DEFENSE_CAP has been deprecated and removed.; This note is now added automatically. (5)
Invalid WML found: NOTE_HEALS has been deprecated and removed.; This note is now added automatically. (3)
Invalid WML found: NOTE_ILLUMINATES has been deprecated and removed.; This note is now added automatically.
Invalid WML found: NOTE_LEADERSHIP has been deprecated and removed.; This note is now added automatically. (9)
Invalid WML found: NOTE_MAGICAL has been deprecated and removed.; This note is now added automatically. (3)
Invalid WML found: NOTE_SLOW has been deprecated and removed.; This note is now added automatically.
Invalid WML found: NOTE_SUBMERGE has been deprecated and removed.; This note is now added automatically. (2)
Invalid WML found: NOTE_SWARM has been deprecated and removed.; This note is now added automatically.
Well, yes. There is a new special notes system. All of these are now...deprecated. Just remove them like I did for my add-ons.
vghetto
Posts: 459
Joined: November 2nd, 2019, 5:12 pm

Re: Wesnoth 1.15.13

Post by vghetto »

Isn't {NOTE_*} the new system though?

Code: Select all

#deprecated 4 Use [special_note]note= tags instead to apply special notes, or use the {NOTE_*} macros (note the singular).

Code: Select all

# SPECIAL_NOTES_* are the deprecated versions that provide the strings.
# INTERNAL:SPECIAL_NOTES_* contain the strings shared by deprecated and non-deprecated macros. Do not use them directly.
# NOTE_* are the new versions that provide an entire tag.
# For now, the new are defined in terms of the old, but when adding new special notes,
# only a NOTE_* form should be added.
User avatar
Lord-Knightmare
Discord Moderator
Posts: 1549
Joined: May 24th, 2010, 5:26 pm
Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
Contact:

Re: Wesnoth 1.15.13

Post by Lord-Knightmare »

vghetto wrote: June 21st, 2021, 2:44 pm Isn't {NOTE_*} the new system though?

Code: Select all

#deprecated 4 Use [special_note]note= tags instead to apply special notes, or use the {NOTE_*} macros (note the singular).

Code: Select all

# SPECIAL_NOTES_* are the deprecated versions that provide the strings.
# INTERNAL:SPECIAL_NOTES_* contain the strings shared by deprecated and non-deprecated macros. Do not use them directly.
# NOTE_* are the new versions that provide an entire tag.
# For now, the new are defined in terms of the old, but when adding new special notes,
# only a NOTE_* form should be added.
Not anymore.
vghetto
Posts: 459
Joined: November 2nd, 2019, 5:12 pm

Re: Wesnoth 1.15.13

Post by vghetto »

The comment needs to be updated in that case.

Edit: Oops, I seem to have uploaded to 1.16 :/
What's the 1.15 port?
User avatar
Pentarctagon
Project Manager
Posts: 4777
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Wesnoth 1.15.13

Post by Pentarctagon »

15015
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Locked