You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
igir link test --symlink --overwrite --dat=$DAT_PATH/ --input=$BACKUPS/OSCR/ --output=$HOME/ROMs/{es}/
Describe the bug
I had a few bad dumps that were symlinked into my ROMs folder without DAT verification. I deleted the source file, placing the symlinks in a broken state. I redumped the games, placing the new dumps in a different location than the originals. I ran the above command and received errors. The broken symlinks were left behind.
Expected behavior
I expected the broken symlinks to be removed and replaced with ones pointing to the files matched by igir.
Debug logs
[14:41:28.587] INFO: CandidateWriter: Nintendo - Nintendo Entertainment System (Headered): Ninja Gaiden (USA): creating symlink '/Users/dirn/Backups/OSCR/nes/Ninja Gaiden (USA).nes' →
'/Users/dirn/ROMs/nes/Ninja Gaiden (USA).nes'
[14:41:28.588] ERROR: CandidateWriter: Nintendo - Nintendo Entertainment System (Headered): Ninja Gaiden (USA): /Users/dirn/ROMs/nes/Ninja Gaiden (USA).nes: failed to link from
/Users/dirn/Backups/OSCR/nes/Ninja Gaiden (USA).nes: EEXIST: file already exists, symlink '/Users/dirn/Backups/OSCR/nes/Ninja Gaiden (USA).nes' ->
'/Users/dirn/ROMs/nes/Ninja Gaiden (USA).nes'
DAT(s) used
No response
igir version
3.0.1
Node.js version
N/A
Operating system
macOS 15.2
Additional context
I only receive the errors for games that have broken symlinks. If I manually remove those, new ones are created. And subsequent runs don't error.
The text was updated successfully, but these errors were encountered:
Paste the command
Describe the bug
I had a few bad dumps that were symlinked into my
ROMs
folder without DAT verification. I deleted the source file, placing the symlinks in a broken state. I redumped the games, placing the new dumps in a different location than the originals. I ran the above command and received errors. The broken symlinks were left behind.Expected behavior
I expected the broken symlinks to be removed and replaced with ones pointing to the files matched by
igir
.Debug logs
DAT(s) used
No response
igir version
3.0.1
Node.js version
N/A
Operating system
macOS 15.2
Additional context
I only receive the errors for games that have broken symlinks. If I manually remove those, new ones are created. And subsequent runs don't error.
The text was updated successfully, but these errors were encountered: