Search found 130 matches

by Nobun
February 18th, 2020, 6:40 pm
Forum: Translations & Internationalization
Topic: gettext and define
Replies: 12
Views: 8129

Re: gettext and define

Sorry, I am very late since I am not used to read a lot the wesnoth forum. I am the main developer and mantainer of the python wmlxgettex. Wmlxgettext cannot parse macros. Wmlxgettext reads WML and lua through regular expressions. This means that implementing a macro parser inside the code is very h...
by Nobun
March 26th, 2019, 6:54 pm
Forum: Multiplayer Development
Topic: Dunefolk Rework - Lore & Visual Problems & Sounds
Replies: 18
Views: 5604

Re: Dunefolk Rework - Lore & Visual Problems & Sounds

I historically criticized the Dunefolk faction and the main reason was the liminal alignment that never convinced me at all. I'm happy to read that you re-thinked and re-defined the liminal trait. You didn't remove liminal, but your change purposal for liminal alignment (that works like a 'special' ...
by Nobun
November 17th, 2018, 11:11 am
Forum: Multiplayer Development
Topic: Dunefolk balancing rework ideas - discussion.
Replies: 326
Views: 82623

Re: Default+Dunefolk era balance

I never liked dunefolks, and the liminal alignment is a very bad idea, imho. I mean... chaotic, neutral and lawful were the perfect combination of all possible (and balanced) bonus/malus system that works fine in a strategy game based on time of day. You have (except neutral vs neutral) two turns wi...
by Nobun
September 29th, 2017, 1:39 pm
Forum: Scenario & Campaign Development
Topic: Guide: Translating your UMC without WesCamp
Replies: 31
Views: 30303

Re: Guide: Translating your UMC without WesCamp

Not data/utils but simply utils Uh. right. Sorry for mistype. However it was not my decision to put wmlxgettext into "utils". As you can see, also the old perl wmlxgettext was located on utils (see, for example, wesnoth 1.12). But there is a reason of this choice. Wmlxgettext, infact, is ...
by Nobun
September 29th, 2017, 9:36 am
Forum: Scenario & Campaign Development
Topic: Guide: Translating your UMC without WesCamp
Replies: 31
Views: 30303

Re: Guide: Translating your UMC without WesCamp

I Absolutely agree with you. At this moment I still not added the lastest code fix (that is, instead, released on wesnoth source repository) in my own repository. Usually I do the pull request on wesnoth source at first and then I add the same fixes also in my own repository (wich is useful to take ...
by Nobun
September 28th, 2017, 10:20 pm
Forum: Scenario & Campaign Development
Topic: Guide: Translating your UMC without WesCamp
Replies: 31
Views: 30303

Re: Guide: Translating your UMC without WesCamp

There is a tool called WesPo by Nobun for this. Or if you have got Wesnoth 1.13, you can use Maintenance tools GUI distributed with game. Just go to data /tools, launch GUI.pyw and switch to wmlxgettext tab. Thank for mentioning my old tool "wespo". But I would highly discourage on using ...
by Nobun
October 14th, 2016, 4:11 am
Forum: Coder’s Corner
Topic: tool for re-encoding addon texts into utf-8
Replies: 5
Views: 3046

Re: tool for re-encoding addon texts into utf-8

@Tad_Carlucci, @iceiceice: first of all thank for your replies. There are two reason why I published this script I wrote for myself (in my personal case, it worked fine, so it did what I need): 1) The first reason is to receive feedback from more experienced programmers like you two, to understand i...
by Nobun
October 13th, 2016, 10:19 am
Forum: Coder’s Corner
Topic: tool for re-encoding addon texts into utf-8
Replies: 5
Views: 3046

tool for re-encoding addon texts into utf-8

Hi. I developed for myself a tiny python3 experimental utility wich should be able to create a clone of a wesnoth addon wich will have text files encoded in utf-8. This utility could be helpful if one or more files contained into an addon (for example .cfg files) are NOT encoded in 'utf-8' format as...
by Nobun
October 12th, 2016, 6:05 am
Forum: Ideas
Topic: Add [chapter] to [campaign]-tag
Replies: 36
Views: 9400

Re: Add [chapter] to [campaign]-tag

@Pentarctagon: Your idea is nice :D The reason why I suggested a 'dummy campaign system' is to allow more customization. The idea is to find a way to be sure that the chapters are surely shown in the right order. Adding a category parameter will not allow to specify what is part 1, what is part 2 an...
by Nobun
October 11th, 2016, 5:54 am
Forum: Ideas
Topic: Add [chapter] to [campaign]-tag
Replies: 36
Views: 9400

Re: Add [chapter] to [campaign]-tag

Coming back to the original idea, perhaps I have an idea about how to find a way to realize it without adding too many problems about memory consuming. I don't know if the hint make sense or not, but I will try to show my idea. Assume we have a campaign "Massive Campaign" composed by 5 par...
by Nobun
October 11th, 2016, 4:58 am
Forum: Translations & Internationalization
Topic: Plural forms for your language
Replies: 3
Views: 14300

Re: Plural forms for your language

The easier way to set up the right plural form for your language is to use the 'msginit' gettext tool Here is an example for the Italian language: msginit -i original.po -o italian.po -l it_IT The last value is the localization code you want to use (it_IT for Italian and so on). The new pot file not...
by Nobun
May 5th, 2016, 12:23 pm
Forum: Users’ Forum
Topic: Wesnoth 1.13.1 Remarks
Replies: 4
Views: 2380

Re: Wesnoth 1.13.1 Remarks

West was our last active LoM, but I fear we pretty much lost him over a discussion on GPL'd music: Some people nagged him about providing the 'modifiable source' files, but when he gave in and uploaded stem files (which was a lot of work because he uses a proprietary format himself), nobody cared. ...
by Nobun
April 26th, 2016, 7:59 am
Forum: Users’ Forum
Topic: Your team wins but "You are Defeated"
Replies: 3
Views: 1587

Re: Your team wins but "You are Defeated"

This is the default behaviour and I agree with this design... however you can always create a scenario without that rule if you have good reasons to do it. In multiplayer logic, the leader is more or less like the King piece on a chess game (if you checkmated you lost, no metter if have more piece t...
by Nobun
November 2nd, 2015, 2:44 pm
Forum: Coder’s Corner
Topic: [project] wmlxgettext - python3 version
Replies: 2
Views: 1739

Re: [project] wmlxgettext - python3 version

about _"" case: I think there is a reason why currently wmlxgettext returns an error... surely we could think about ignoring that string, generate a warning, and proceed with pot generation... but we should need to know (perhaps by a developer) why currently the scripts return a critical e...
by Nobun
November 2nd, 2015, 4:37 am
Forum: Coder’s Corner
Topic: [project] wmlxgettext - python3 version
Replies: 2
Views: 1739

[project] wmlxgettext - python3 version

Hi. I'm trying to develop from scratch a python3 version of wmlxgettext, based on line-by-line regexp parsing like the current wmlxgettext perl version. This new wmlxgettext should be 100% retro-compatible with the current wmlxgettext syntax and output: 1) it will support the current command line sy...