News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

Recent posts

#21
I will look at that next week. I travel currently with a reliable internet but on my phone (and that is almost at its monthly limit ...)
The font warning came with an intermediate version indeed and should be fixed.
On the offset, I think simutrans needs to obey some font hints. Unfortunately, I do not know which one.
#22
Bug Reports / Re: road under halt (r11091)
Last post by Andarix - March 23, 2024, 08:17:36 AM
I would generally be in favor of all streets in cities becoming public streets. The reason is trams. The rails cannot be built on foreign roads, which makes them difficult or even impossible to use.

Another reason is stops. Foreign player streets prevent city areas from being covered.
#23
Bug Reports / Re: road under halt (r11091)
Last post by Roboron - March 22, 2024, 07:54:17 PM
Looking at the code, there's no check for halts when building a road (there's a check for buildings, but apparently doesn't apply to halts).

I see many possible ways to solve this:

1) If a player build a halt over a public road, then the road will change its ownership to the player.
2) Player A can't build roads under Player B halts.
3) Player A can build roads under Player B halts, but the road will keep its current ownership.
4) Player A can build roads under Player B halts, but player B can still improve its existing halts on Player A road.

I applied solution #2 on r11099, but you may discuss if you prefer another one.

I also added a warning when you are trying to build a way over an invalid building.

Captura de pantalla_20240322_205350.png
#24
Bug Reports / Re: Github Actions - Automated...
Last post by ceeac - March 22, 2024, 06:40:20 PM
Should be fixed in r11097.
#25
Patches & Projects / Use Fontconfig for font autode...
Last post by Roboron - March 22, 2024, 03:47:43 PM
Support for TrueType fonts was improved recently, and with such an improvement it now makes sense to set a TrueType font as default. But Simutrans does not ship a default .ttf font and font autodetection is currently only supported on Windows and Android!

For linux and other unix-like systems we can rely on Fontconfig for such a task. Fontconfig can find an appropriate font to use for Simutrans, taking into account user language and other parameters.

In this patch I told Fontconfig to find a "Sans" type of font on the user system - but even if no "Sans" font is available, Fontconfig will always return a font!

Captura de pantalla_20240322_163434.png

In this example, I opened Simutrans first with my locale set to Japanese. Fontconfig then decided that "Noto Sans CJK" was the most appropriate font in my system. Then I opened it again with my locale set to English, and this time it returned "Noto Sans" (no CJK). There are other Sans fonts and my system, but Fontconfig choose this as the best.

Note: This may also work on macos, I can't test as I don't have a mac VM anymore, but it probably would require to include the configuration file from homebrew.
#26
Quote from: Ranran(retired) on March 22, 2024, 10:48:31 AMI think r11092 is in an incomplete state. r11095 works fine.

That makes sense. It seems that the bridge SNV->GitHub is broken :-(
#27
Bug Reports / road under halt (r11091)
Last post by Andarix - March 22, 2024, 10:57:14 AM
It is possible that public roads under player halt can be built over by other players.

This means that the player can no longer build over his own halt.

road _under_station.png

There is currently a contradiction that streets can be built under other players' halts, but not halts on other player streets.
#28
I think r11092 is in an incomplete state. r11095 works fine.
Thank you for your work on font reform so far.


However, the display of Japanese fonts is slightly abnormal.
Japanese fonts are somehow all biased towards the top.

But this has been the case since fonts were changeable. (few years ago)
In particular, the font selected by default is noticeably closer to the top.

I guess this reflects the characteristics of the alphabet.
In the alphabet, many letters are near the top. (Only some characters, such as pgy, are closer to the bottom.) But that's normal.

EDIT:
Among the Japanese fonts that can be selected, I think that the only font that I thought was displayed in the correct display position is "MS Gothic".
#29
Bug Reports / Github Actions - Automated Tes...
Last post by Andarix - March 22, 2024, 08:24:35 AM
Quoterun-tests-linux
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
#30
Pak128 / Re: Pak128 cost balance, speed...
Last post by Andarix - March 22, 2024, 07:42:40 AM
Quote from: obluda on March 21, 2024, 02:38:49 PMI play on stable, true. And I suspect lots of perspective players would play on stable since logic suggest, nightly builds are for devs, stable is for fun.
This is news for me and I fail to grasp what motivation might be to not fix old and known bugs, since keeping them in-game kinda chase new or casual players off. :-|

Bah, nevermind. Since my post generally address problems and mechanics of stable branch, I hope it will help someone to not write game off.



I can understand your disappointment. A new release with all bug fixes is in preparation.

Simutrans is not developed commercially but for leisure purposes. And free time is scarce for many people. Unfortunately, Simutrans has very few active people at any time. People come and go when their private and professional lives no longer leave enough time for Simutrans.

And that's where we come to the pak128. There hasn't been anyone who cares about it for years. Because Simutrans as a program is one thing and the pak128 as a package is another.

And what was said for pak128 also applies to many of the other packages for Simutrans.

Wiki - List of Pakset