Description
Paste the command
npx --yes igir@latest move zip test --dat "https://raw.githubusercontent.com/libretro/FBNeo/master/dats/FinalBurn%20Neo%20(ClrMame%20Pro%20XML%2C%20Arcade%20only).dat" --input . --output . --no-bios --no-device --cache-path . -vvv
Describe the bug
I could just be doing something wrong, but when I try to use the new --cache-path
option, the trace log says
TRACE: setting the file cache path to '.'
Or
TRACE: setting the file cache path to './cachetest.cache'
But then the cache file still ends up in my home directory instead of where I want it.
Expected behavior
For the cache file to be created where --cache-path
points to.
Debug logs
DAT(s) used
No response
igir version
2.7.0
Node.js version
v22.2.0
Operating system
Arch Linux
Additional context
The super weird part is that if I run the exact same command a second time, it puts the cache file in the working directory (--cache-path .
), as I would expect it to.
Also if I give it a name (--cache-path ./cachetest.cache
) it will always on first run put a igir.cache
file in my home directory, and then a second run it will put a igir.cache
in the working directory. Which is to say, it's ignoring the filename I am specifying. But maybe that's expected, not sure.
Actually, I just deleted both cache files (home directory and in my working directory of /home/pcx/Desktop/test
) and then ran this command:
npx --yes igir@latest move zip test --dat "https://raw.githubusercontent.com/libretro/FBNeo/master/dats/FinalBurn%20Neo%20(ClrMame%20Pro%20XML%2C%20Arcade%20only).dat" --input . --output . --no-bios --no-device --cache-path /home/pcx/Desktop/cachetest.cache -vvv
First time running it, it makes igir.cache
in my home directory, second time it's created in my working directory (???), third time and more it doesn't make any other files. The /home/pcx/Desktop/cachetest.cache
is never created. I am very confused on how it made one in my working directory when I never specified it in the command...
Any help would be appreciated!