Skip to content

v1.7.0

Compare
Choose a tag to compare
@emmercm emmercm released this 22 Jul 23:23
· 755 commits to main since this release
2cccd42

Release Highlights

Even though the minor version was bumped, this isn't obviously a feature release. It's more of an opinionated "bug" fix that should make igir's behavior with writing archives of multiple ROMs more intuitive.

Fix: when not extracting, prefer that a game's ROMs all come from the same input archive

When a game has multiple ROMs and igir isn't extracting them during output (e.g. igir [copy|move] zip or just igir [copy|move]), prefer that those ROMs all come from the same archive in the input directories, if possible.

There are two nuanced scenarios that can happen otherwise:

  1. When processing archived input files, and when not extracting or zipping (i.e. just igir [copy|move]), if igir sources ROMs from different input files, then you would have gotten a warning message about different files trying to write to the same output file, and nothing would have been written.

    This would have been most obvious with consoles with games that have duplicate ROMs, such as some disc-based systems having duplicate Track 01s. But there were likely other edge case scenarios when dealing with duplicate ROMs in archive inputs, in general.

    Thank you, @chainsawsalad, for reporting this scenario and working with me on testing the solution!

  2. When processing archived input files, and when moving & (re-)zipping (i.e. igir move zip), if igir sources ROMs from different input files, then the input archive files may not have been deleted (i.e. not successfully "moved").

    That's because when moving ROMs, igir will only delete input archives if every file in it was written to the output. Otherwise, there would be some file loss, and this might be unexpected to users.

There is no single "right way" to handle situations like these, and there may be other edge cases that haven't been found or reported yet, so please keep your feedback coming on GitHub!

All changes

22 July 2023 - 2cccd42 - v1.7.0 (#491)
22 July 2023 - 1e7841f - Fix: only prefer all ROMs from the same input archive if not extracting (#492)
22 July 2023 - 308c532 - Fix: prefer all ROMs for a game come from the same input archive (#467)
19 July 2023 - 7ae6cd0 - Chore: update dependency word-wrap to 1.2.4 [SECURITY] (#488)
19 July 2023 - aec12ec - Refactor: memoize some archive methods for performance (#487)
18 July 2023 - d18991f - Chore: update dependency node to v18.17.0 (#486)

igir, and other open-source projects like it, are a labor of love. They wouldn't be nearly as meaningful without the community supporting them. Constructive feedback and general positivity will always be welcome. Be kind to others, and be kind to yourselves.
❤️ Christian