Bug #7505

Script name changes with commits

Added by Alberth over 4 years ago. Updated over 4 years ago.

Status:ConfirmedStart date:2015-02-16
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

The name of the script in the info.nut file contains version information, and thus the name changes with each commit, making all previous versions incompatible, and thus defeating the compatibility number.
See http://www.tt-forums.net/viewtopic.php?p=1142830#p1142830 for the report

History

#1 Updated by Alberth over 4 years ago

  • Status changed from New to Confirmed

A first investigation revealed it's less simple than it looks.
The name has a repository tag, because otherwise all installed bees look the same for the user. The current solution is to fix the 4 character identification of the scripts, in the sense that OpenTTD uses those for comparison of script equality, thus dropping the need for using the displayed name for it.
This is how bananas works, and how newgrfs do it.

Also available in: Atom PDF