dscharrer / innoextract

A tool to unpack installers created by Inno Setup
https://constexpr.org/innoextract/
Other
1k stars 125 forks source link

overwritten - can't prevent innoextract from overwriting files #140

Closed ghostlyghastly closed 1 year ago

ghostlyghastly commented 1 year ago

Amazing tool, thank you but it looks like files have source and target paths but for example fallout nevada overwrites dialog files depending on the language you chose in the installer.

--dump still overwrites files

Installer used: (legal link, this is an independent mod and does not contain the original game) https://www.mediafire.com/file/nqfrkb5fllbpqx4/Fallout_Nevada_Mod_Us.exe/file Link from

Kazurin-775 commented 1 year ago

Maybe I've been a little late, but it turns out that you could pass --collisions rename-all to make the application keep all files with the same paths, as documented in the application's man page.

This option seems to have existed for quite long, but it just isn't well documented in the application's --help.

dscharrer commented 1 year ago

Right, --collisions rename or --collisions rename-all is what you want to use to keep all versions of the same file. The --help output is autogenerated and only provides a quick reference of the available options - the man page included with innoextract or the online version has more details.