Skip to content

Fix: Ignore case of filename extension. - #12

Merged
PeterN merged 1 commit into
OpenTTD:masterfrom
PeterN:ignore-filename-extension-case
Oct 24, 2026
Merged

PeterN merged 1 commit into
OpenTTD:masterfrom
PeterN:ignore-filename-extension-case

Conversation

@PeterN

@PeterN PeterN commented Oct 24, 2026

Copy link
Copy Markdown
Member

catcodec refuses to do anything to a filename when it does not end in .cat, including .CAT or other case variations.

Ignore the case of the filename extension, to allow decoding e.g. SAMPLE.CAT as well as sample.cat.

@PeterN
PeterN force-pushed the ignore-filename-extension-case branch 2 times, most recently from 06b0047 to d7fccd0 Compare October 24, 2026 14:09
This allows decoding `SAMPLE.CAT` as well as `sample.cat`.
@PeterN
PeterN force-pushed the ignore-filename-extension-case branch from d7fccd0 to e7d3099 Compare October 24, 2026 14:23
@PeterN
PeterN merged commit 7efd63f into OpenTTD:master Oct 24, 2026
7 checks passed
@PeterN
PeterN deleted the ignore-filename-extension-case branch October 24, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants