Forum



Spike am 24.12.2019 10:05 #15361

Im Ruhestand
It's been a long while since we've updated, but there is still love being given to this project.

Perhaps let's put something first that usually comes last: Thanks to anyone who helped with this project in one way or another over the
past years. This includes (but is not limited to) the following github users: Flow86, Flamefire, MarcusSt, jhkl, Peuc, shadowvzs and
any other contributor. Also a big thanks to everyone who donated via PayPal, keeping this project running!

As of late, our team has been a bit smaller, and we would love some fresh minds and new people offering a helping hand to make "Return
to the Roots" grow at a faster pace again. If you have a passion for Settlers 2, and some experience with coding, or would like to
extend it, please get in touch with us via the Discord, Github or our webpage (see #1 below). We are hoping to hear from you.

The following will summarize the project's development ever since 21 Oct 2015:

1. Discord
As most people do not use IRC anymore (or never did) we are now also present on Discord.
You can join using this invite: https://discord.gg/kyTQsSx
It's a nice place to ask questions and meet people to play, or share maps.

2. Fixes, Changes, Additions
I first wanted to show a (nearly) full changelog here but that'd be more than 270 lines as there have been over 500 issues closed.
To have a look at any closed issue, simply use the following search term on github: 'is:issue closed:2015-10-21..2019-12-24'.
You can also access the full list here: https://pastebin.com/Nitc06Kk

In more brevity:
Fixes:
- Fixed several crashes
- Fixed most (all?) remaining asyncs
- Fixed issues regarding controls (e.g. scrollbars)
- Fixed issues of the ingame random map generator
- Fixed issues the AI had
- Fixed visual bugs for storehouses (management)
- Fixed visual bugs when starting the game
- Fixed trade bugs
- Fixed several bugs regarding LUA functions

Changes:
- Charburner has been reworked (graphics)
- Layouts and functionality of some menus have been improved
- Improved shading a bit
- Player colors are now the same as in settlers II
- Trade has been improved

Additions:
- Addon: Auto demolish building if empty
- Addon: Change metalworks behavior on 0% (or no orders)
- Addon: Military building indicators are affected by reachability
- Addon: Disable coins by default for conquered buildings
- Added some missing Characters
- Added several functions for LUA scripting
- Added 3 new maps

3. Map editor included
The map editor which was written by Xaser now is included when downloading RttR. This means you no longer have to figure out where to
put the files shipped by Xaser and can simply use the editor out of the box. Flamefire also fixed some bugs the editor had. One of the
best additions is a map selection when loading maps, no more writing the name!

4. Settlers II Tools v1.0.0
Just some days ago we released Tools for working with the Settlers II file formats.
You can find those here: https://github.com/Return-To-The-Roots/libsiedler2/releases/tag/v1.0.0
They include the latest version of the lstpacker for example, which allows you to unpack all original *.LST and *.IDX files. You can
also use this to help improving the font, see https://github.com/Return-To-The-Roots/s25client/wiki/How-to-edit-fonts for further
information.

Thanks for reading, and do leave your comments!

---



Thobov am 27.12.2019 12:01 #15362


Hey Spike,

I appreciate your work very much! It is a lot of work to make everything compatible on lots of different devices. The most nice feature
of the past years is I think 4k60Hz support on my big monitor along with cool additions. The 32 inch monitor is almost a mini-cinema.
;) It would be amazing if the campaign / story ever will be integrated in a stable or nightly build.

I like Settlers 2 since 2008 or so and now I play Return to the Roots every weekend with some friends via LAN. Right now, I am studying
software engineering at the university of applied sciences of Rotterdam and perhaps after that I may help you code on GitHub and with
the campaign. :)

I wish you an happy new year!

Regards,
Thomas


Berciq am 28.04.2020 14:07 #15445


Hello Spike,

If there will be released version allowing to play missions
will it be possible to use missions.RTX file or convert it to work in RttR?

I have created completely new 10 Campaign missions which are connected to the storyline and wish to work in RttR
rather than in my dosbox version of settlers


Spike am 28.04.2020 16:37 #15448

Im Ruhestand
Hey Berciq,

we wont load the original RTX Files. But you can convert any Script (and do even more) to LUA.
For reference see the wiki: https://github.com/Return-To-The-Roots/s25client/wiki/Lua-Scripting
And check the current original scripts: https://github.com/Return-To-The-Roots/s25client/issues/1177 (this issue explains missing
features and the first commend links the current scripts)

---



supernewbiepro am 06.05.2020 17:50 #15473


Thx you for your work. I made try your game to the two children of my partner, 9 and 11 years old, try your latest version of April 30,
we played 3 against 2 AI, the game lasted 8 hours, they were thrilled! In particular, your system of reinforcements that can be sent,
whether soldiers or convoys of goods in the form of mules, is absolutely brilliant! Too bad there isn't a team like you to do the same
on Settlers 4, because we miss the archers ^^ Total support from France where I regularly post the link to your site.

Now, they harass me every day to replay it, and thanks to you, I have now the capacity with your game to make them obey if they want
play with me !

What could be fun for the futur ? Maybe have the possibility to put an avatar that appears when we write in the chat during a game, and
possibility to choice this avatar in settings. And fix diplomacy ; when we change conditions, impossible to sign a new alliance if we
are in war for 2 or 3 times... bug ?

On military aspect, i dont know if its possible, but if we could send troops to protect an Allied castle, by clicking on it, have the
possibility to do as for trade, a button "send defenders" and the desired duration. They would go as a convoy to the Allied castle and
wait around, the time we chose, being attacked first before the soldiers inside.

Another idea as an option to active ; increase the soldiers in each building x10.

Ah and children criticized one point; for them it's drunk/boring to always hear the same cries of soldiers being killed ... it would be
great if you could add a dozen different sounds ... including some delirious like the cry "Wilhelm"

If you could develop more maps in maximum format with the possibility of having ships in a secondary role because the cards where they
have a main role are difficult for children, they do not succeed. For example the boats to get resources on small islands on the
outskirts of the huge main map where everyone is fighting ...

Good luck with the rest of the development, you have transformed an old game with outdated graphics into a very addictive game,
refreshed and update, that everyone loves ! And your new buildings like the one that makes coal, surprised me, I didn't think it was
possible to create new buildings with new functions, congratulations to you !

A siedler25 French fan.

---
French fan of TOTAL WAR serie / Knights of Honor / Settlers 2

Editiert von supernewbiepro am 08.05.2020 11:55

RM1985 am 09.05.2020 17:02 #15474


Hey Spike,

can you plz tell me HOW exactly can I convert RTX-files or others into LUA?? I checked the wiki, but couldn't find anything!

And for the map editor, great work with adding a file list, BUT could you pretty please add an option to scroll through the maps, since
it's pretty hard to click down for every single map, especially when you have almost 1000 of them!

---
S2-Freak auf dem Weg zum Titelträger


Spike am 10.05.2020 14:50 #15476

Im Ruhestand
Hi Supernewbiepro,

Zitat:
What could be fun for the futur ? Maybe have the possibility to put an avatar that appears when we write in the chat during a
game, and possibility to choice this avatar in settings.

Feel free to open a feature request for that, although we have one for a chatlog / better chat which might include that icon then.

Zitat:
And fix diplomacy ; when we change conditions, impossible to sign a new alliance if we are in war for 2 or 3 times... bug ?

Possibly a bug yes, please report that one on github, attach the replay of the game and tell us after which GF it was no longer
possible to team up.

Zitat:
On military aspect, i dont know if its possible, but if we could send troops to protect an Allied castle, by clicking on it,
have the possibility to do as for trade, a button "send defenders" and the desired duration. They would go as a convoy to the Allied
castle and wait around, the time we chose, being attacked first before the soldiers inside.

Doesn't sound very settlerish, currently soldiers will try to defend allied military buildings if they are close enough to each other
which is an indirect approach as most things in settlers 2.

Zitat:
Another idea as an option to active ; increase the soldiers in each building x10.

Feel free to open such addon request on github, but remember, that'd also increase the number of attackers.

Zitat:
Ah and children criticized one point; for them it's drunk/boring to always hear the same cries of soldiers being killed ... it
would be great if you could add a dozen different sounds ... including some delirious like the cry "Wilhelm"

If we had some sounds (with license) for that, that'd be an addon request as well.

Zitat:
If you could develop more maps in maximum format with the possibility of having ships in a secondary role because the cards
where they have a main role are difficult for children, they do not succeed. For example the boats to get resources on small islands on
the outskirts of the huge main map where everyone is fighting ...

The editor is open for everyone, feel free to create maps or animate other people to do so :) Although I agree that ships should have a
secondary role.

Hi RM1985,

there is no "how to exactly" convert RTX-files into LUA.
You first need to understand the original RTX format. There are several sources out there, for example:
https://settlers2.net/documentation/mission-resource-text/
I also had some polish webpage which had a RTX tool, but I can't find that one anymore. With that documentation, you have to understand
what the original script does. In most cases it's not very special at all, just simple events like reaching a specific point and such
things.

Then you have to understand how LUA (use any internet source), when you know LUA, you can use our Wiki for RttR specific functions:
https://github.com/Return-To-The-Roots/s25client/wiki/Lua-Scripting
You can also check out CrazyL's campaign scripts:
https://github.com/Spikeone/RttR_Campaigns/tree/master/Campaign_OriginalRoman


As for the editor, please open an issue for such feature request here:
https://github.com/Return-To-The-Roots/s25edit/issues
Anyway, having 1000+ maps in one folder isn't that much better when using the mousewheel. I'd suggest to simply only put the map(s) you
currently want to edit into the WORLDS folder, rather than keeping all maps in that folder. That way you can open and edit maps faster.

Hope that helps you both :)

---



RM1985 am 10.05.2020 16:38 #15479


Hey Spike,

ok I understand, to me it sounded just like it was easier to convert RTX-files into LUA, so I must have misunderstood!

But to post an issue on Gitup I have to register there, right??

---
S2-Freak auf dem Weg zum Titelträger


rayo am 13.10.2020 11:09 #15574


For years, we have an interest in contributing.
Are you considering to open source the project on Github?

---
Pimo Pimo Pimo



Marcus am 13.10.2020 15:10 #15575


Rayo, the project is already open source in Github:

See https://github.com/Return-To-The-Roots
with https://github.com/Return-To-The-Roots/s25client
being the main project (client).


FloSoft am 15.10.2020 19:20 #15576

Großmeister
or see on the left "Quicklinks": "Github"

---
mfg
Flo