Menu

Option to turn off file name encoding changes

tbc++
2022-01-16
2022-02-10
  • tbc++

    tbc++ - 2022-01-16

    There's a Skyrim mod that has been encoding file names in a incorrect, yet working method for several years: https://www.nexusmods.com/skyrim/mods/19281?tab=files

    As you can see from the attachments on this file (and all files going back 2-3 years), the user is encoding the \ directly in the filenames. Up until sometime around the 7Zip 21 release this worked just fine, file filters on extraction, extracting files, it all worked as expected. 7zip would interpret these names as nested folders and it would all "just work". However sometime after the release of 21 code changes were made so that this archive now extracts into the formats shown in the other screenshots, with the \ being replaced by a dot or a _. Due to this change, file filters no longer work, as the names are no longer foo\bar.esp but foo_bar.esp.

    Is there a commandline switch to remove this behavior so that I can use 7zip 21 with these older files? I've contacted the author of these archives to see if they can fix their encoding routines, but that won't fix how 7Zip 21 is extracting these older files.

    Thanks for any help

     
  • Igor Pavlov

    Igor Pavlov - 2022-02-10

    Please ask them what code they used to create these archives.

     

Log in to post a comment.