Skip to content

Bug - filenames get trimmed at periods #82

@Tapawingo

Description

@Tapawingo

What happened?

When installing pak files it seems to disregard everything after the first period. This sometimes causes a problem for files like Wolfgang's Vehicle Overhaul (v1.6) where there are two files named '02_Vehicle_Ward_LT_DevittMk.3_WG1.6.pak' and '02_Vehicle_Ward_LT_DevittMk.4_WG1.6.pak'. It will install the first one as '02_Vehicle_Ward_LT_DevittMk.pak' and then throw an error on the second file because it ends up being the same file name. (It also causes any files with version numbers like 1.6 or 2.4 to get cut off after the major version number in both the file and the TrenchKit UI's mod list)

Steps to reproduce

Unknown

Expected behavior

No response

Area

Mod install

TrenchKit version

unknown

Operating system

Windows

Logs or error output


Additional context

Reported by @frakspam on nexusmods

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: mod installAdd/install mods (local .pak/.zip, import flows).os: windowsWindows-specific issuetarget: next releaseCompletion target is by next releasetype: bugSomething is broken or behaving incorrectly.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions