ryzom / ryzomcore

Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
https://wiki.ryzom.dev
GNU Affero General Public License v3.0
337 stars 90 forks source link

Fix mixed-case sheet name detection in make_sheet_id #670

Closed nimetu closed 2 years ago

nimetu commented 2 years ago

There seems to be duplicate mixed-case sheets in sheet_id.bin

make_sheet_id has check to detect if lowercase file is renamed to mixed-case, but not when mixed-case is renamed to lowercase.

If --remove-duplicates option is used, then duplicate entries are removed from sheet_id.bin. If sheet or filename is mixed-case, then sheet will be renamed to match filename.

kaetemi commented 2 years ago

Makes sense.