Wesnoth 1.0.3 ?

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

Moderator: Forum Moderators

gnombat
Posts: 707
Joined: June 10th, 2010, 8:49 pm

Re: Wesnoth 1.0.3 ?

Post by gnombat »

alberic89 wrote: October 31st, 2022, 4:38 pm One last quick question. I didn't find any instructions to compile from the gitub repository other than with cmake, which is only usable from 1.6.
I tried these commands found on the internet :

Code: Select all

autoheader && aclocal && libtoolize --ltdl --copy --force && automake --add-missing --copy && autoconf
Instead of that, you should be able to just run

Code: Select all

./autogen.sh
User avatar
alberic89
Translator
Posts: 23
Joined: October 12th, 2021, 2:08 pm

Re: Wesnoth 1.0.3 ?

Post by alberic89 »

Thank you.
I have tried to compile the 1.2.8 with your patch, and I have no major error (just warnings).
But, when I have executed the wesnoth executable, I have the error :

Code: Select all

Battle for Wesnoth v1.2.8
Started on Mon Oct 31 18:48:14 2022

started game: 791183469
Checking video mode: 1600x900x16...
16
setting mode to 1600x900x16
locale could not be determined; defaulting to system locale
set locale to 
set locale to 
No [language] block found in english.cfg
could not initialize the language
exiting with code 0
And after accidentally extracting the archive again on the existing files, the game started.
A quick comparison with the game provided by the windows exe tells me that my build is extremely buggy.
I will test with the version of the branch and I tell you again
« Hacker vaillant, rien d’impossible ! »
gnombat
Posts: 707
Joined: June 10th, 2010, 8:49 pm

Re: Wesnoth 1.0.3 ?

Post by gnombat »

Here is a better patch for Wesnoth 1.2. This was not written by me, it comes from a poster at the linuxfr.org. Note that the linuxfr.org forum seems to mangle the white space a bit (converting tabs to spaces) - these are fixed in the attachment. It says it is for 1.2.8 but it also applies cleanly to the latest commit on the 1.2 branch.
wesnoth-1.2-better.patch
(4.62 KiB) Downloaded 94 times
User avatar
alberic89
Translator
Posts: 23
Joined: October 12th, 2021, 2:08 pm

Re: Wesnoth 1.0.3 ?

Post by alberic89 »

The patch is corrupted, but if you cut and paste directly into the file the section that doesn't pass correctly, it's fine.
Once the patch is applied and compiled, you get the error at compile time:
Spoiler:
or in asciinema for colors : https://asciinema.org/a/534202
« Hacker vaillant, rien d’impossible ! »
gnombat
Posts: 707
Joined: June 10th, 2010, 8:49 pm

Re: Wesnoth 1.0.3 ?

Post by gnombat »

Did you run ./configure --enable-server? It looks like it's trying to compile the server.
User avatar
alberic89
Translator
Posts: 23
Joined: October 12th, 2021, 2:08 pm

Re: Wesnoth 1.0.3 ?

Post by alberic89 »

yes, I have enabled a lot of options. With no option, the game compile and run, but it is very bugged. Resolve all warning can maybe resolve the bugs.
« Hacker vaillant, rien d’impossible ! »
User avatar
alberic89
Translator
Posts: 23
Joined: October 12th, 2021, 2:08 pm

Re: Wesnoth 1.0.3 ?

Post by alberic89 »

I finally succeeded in compiling thanks to the patch below, the game runs on arm32 with graphical interface. The only major problem I found is the lack of translation, see the compilation log: https://asciinema.org/a/537084?t=23&autoplay=0
I put the patch here and add it to the source code with a PR.
If someone has an idea to solve the problem of translations, don't hesitate.
Attachments
wesnoth-1.2-final.patch
(4.33 KiB) Downloaded 74 times
« Hacker vaillant, rien d’impossible ! »
gnombat
Posts: 707
Joined: June 10th, 2010, 8:49 pm

Re: Wesnoth 1.0.3 ?

Post by gnombat »

If you are running the program from the installation directory, it looks like you have to specify the path on the command line in order to get the translations. For example, instead of this ...

Code: Select all

./src/wesnoth
... run this:

Code: Select all

./src/wesnoth .
Presumably, installing the program with make install would work too, but I did not try that.
User avatar
alberic89
Translator
Posts: 23
Joined: October 12th, 2021, 2:08 pm

Re: Wesnoth 1.0.3 ?

Post by alberic89 »

Yes, use make install work, I have tried.
The patch was merged, you can download and compile now from the 1.2 branch.
« Hacker vaillant, rien d’impossible ! »
lea
Posts: 301
Joined: October 1st, 2016, 7:25 pm

Re: Wesnoth 1.0.3 ?

Post by lea »

gnombat wrote: October 29th, 2022, 3:27 pm
Pentarctagon wrote: October 29th, 2022, 2:44 pm Given that's now 16 years ago, I doubt anyone remembers the answer to that. The full history with tags is available via the public git repo however.
There isn't actually a tag for version 1.0.3, though.

... ... ...
AFAIK there is no changelog for version 1.0.3 either, at least could not find it in changelog.md file on wesnoth's github (https://github.com/wesnoth/wesnoth/blob ... angelog.md)

same for version 1.0.3a which also contains two extra campaigns that seem to be unique to this version
EDIT: these two campaigns apparently were available on add-ons server for wesnoth 1.x

here's my attempt to ask about it: changelogs for Wesnoth 1.0.3 and 1.0.3a?
author of: Altered Era/Ruleset (AKA "Altera"), latest version is on add-ons servers for BfW 1.16 and 1.14, latest version also still supports BfW 1.12 and 1.10, 1.10 server is stuck with older buggy version)
Post Reply