News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

help files from pakset

Started by Andarix, May 31, 2024, 01:29:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

It is possible to define help files in the menuconf.tab of the Pakset.

If files are defined there that are not available in the program help texts, none can be displayed.

The patch extends the search for help files to the folder [pakset]/text/[language]. If no file is found in the basic texts, the Pakset is looked for.

Nightly_r11255_pak-helptext

prissi

A very good idea. Needed some more fine-tuning, but incorporated in r11265

makie

good idea, my be overload standard help.text with pak specific help text?

prissi

At the moment, the standard is preferred.

makie

OK, the translator should support this.

Question? In the translator should we move the help-text from Set:Help-files to Set:Base-texts? 
This would make it clearer where the help files belong to and make the coding in the translator clearer.

prissi

Most dialogues are the same across all paks. These help files should be in the base. Only the *tool.txt are somewhat pak dependent.

I think, if the pak specific help files override the base help files, I would leave the files now as they are and just add an option to have help files for paks.

makie

#6
Quote from: prissi on June 02, 2024, 12:42:49 PMMost dialogues are the same across all paks. These help files should be in the base. Only the *tool.txt are somewhat pak dependent.

I think, if the pak specific help files override the base help files, I would leave the files now as they are and just add an option to have help files for paks.
I agree

The question above was:
You known, the help-files are separated from the Base-texts in separate sets in the translator (Set 0 and 10).
I prefer move help-files in the set (translator) of the program.

prissi

I think it would help if the help files are with the base set as a special category.

Similarily, it would be nice, if there is an automatic obj_xxx_details link on every eligible obj text.

makie

Quote from: makie on June 02, 2024, 12:54:23 PMYou known, the help-files are separated from the Base-texts in separate sets in the translator (Set 0 and 10).
I prefer move help-files in the set (translator) of the program.
Done!

The Help Files can be found now here:
For the Simutrans Programm:
https://makie.de/translator/script/directions.php?vers=0&obj=help_file
For the Pak64
https://makie.de/translator/script/directions.php?vers=1&obj=help_file

and for Extended !!!
https://makie.de/translator/script/directions.php?vers=101&obj=help_file

The keyword for the special handling:
Quote-
obj=help_file
name=settingtools.txt    (for example)
note=
-
Handling is similar to scenario_textfile in the scenarios.
This works for all Paks.