Files
sow-tools/internal/project
archvillainetteandClaude Opus 5 e86e839ed2
ci / ci (pull_request) Successful in 3m50s
fix(project): a module resref names a file, not a resource
module.resref is the name of the built .mod on disk, so the 16-byte resref
limit never applied to it — NWN:EE module file names are routinely longer.
The blanket check rejected ShadowsOverWestgate (19 characters) and blocked
sow-module#60.

It is now validated as a file name instead, which still rejects a resref
that is a path or an empty string.

The limit is kept where the value really does become a resref: a project
with paths.assets and no haks[] names its single generated HAK after the
module resref, and a HAK name is a resref the engine loads. That case now
says what to do about it rather than refusing every long module name.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-01 09:56:26 +02:00
..
2026-06-25 09:29:39 +00:00