The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: makie on April 29, 2025, 06:06:51 PM

Title: Help text pak specific
Post by: makie on April 29, 2025, 06:06:51 PM
I am currently writing help texts like "setting tools.txt" specifically for our pak.
Matching to our menu configuration.

If there is a help text with the same name as in the program, the program one will be loaded preferentially bevor the paks helptext. Therefore, it is not possible to overload a program's help text.

if i change the name of the help-text in menuconf.tab to pak specific then link in the help-index disappears and the links between the help-text don´t work or link to the program one.

I would like that the pak helptext to be loaded first and overload the program one.

It would also be nice if the pak help texts appeared in the help index.

https://forum.simutrans.com/index.php/topic,23068.msg207608.html#msg207608
Title: Re: Help text pak specific
Post by: prissi on April 30, 2025, 02:49:36 AM
This is a good suggestion. The help text from the toolbars should automatically appear in the help index, same as for the tools. One workaround may be to assign F2-F12 to the toolbars, as tools with keyboard shortcuts should get a helptext, but I never tested this.
Title: Re: Help text pak specific
Post by: makie on April 30, 2025, 06:40:28 AM
I think, the help index just doesn´t test for help file in the pak folder.
Title: Re: Help text pak specific
Post by: prissi on May 04, 2025, 11:59:35 AM
The change was three lines. If everything were that simple. In in r11685.
Title: Re: Help text pak specific
Post by: makie on May 04, 2025, 08:16:12 PM
Thank you very much. :thumbsup:  :heart:
It works as I wish.