Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'--prefer-revision newer' not working #1392

Open
ozboss opened this issue Nov 19, 2024 · 0 comments
Open

'--prefer-revision newer' not working #1392

ozboss opened this issue Nov 19, 2024 · 0 comments
Labels
potential-bug A potential issue that needs confirmation and/or triage

Comments

@ozboss
Copy link

ozboss commented Nov 19, 2024

Paste the command

npx -y igir@latest link
--input "roms_bugtest2"
--dat "No-Intro Love Pack (PC XML) (2024-09-22)/No-Intro/Nintendo - Game Boy Advance (Parent-Clone) (20240910-173950).dat"
--output roms_filtered_bugtest2/
--single
--filter-language DE,EN
--prefer-language DE
--prefer-region GER,EUR,USA,WORLD
--prefer-revision newer
--symlink
--symlink-relative
--no-bios
--no-unlicensed
--only-retail
-vvv > igir.log

Describe the bug

The command selects Dave Mirra Freestyle BMX 2 (Europe) (En,Fr,De,Es,It).zip and Garfield - The Search for Pooky (Europe) (En,Fr,De,It) (Rev 1).zip from the following available files:

'Dave Mirra Freestyle BMX 2 (Europe) (En,Fr,De,Es,It) (Rev 1).zip'
'Dave Mirra Freestyle BMX 2 (Europe) (En,Fr,De,Es,It).zip'
'Dave Mirra Freestyle BMX 2 (USA).zip'
'Garfield - The Search for Pooky (Europe) (En,Fr,De,Es,It) (Rev 2).zip'
'Garfield - The Search for Pooky (Europe) (En,Fr,De,It) (Rev 1).zip'
'Garfield - The Search for Pooky (Europe) (En,Fr,De,It).zip'
'Garfield - The Search for Pooky (USA) (En,Fr,De,Es,It).zip'

Running with --prefer-revision older instead behaves the same as without adding --prefer-revision at all and selects Dave Mirra Freestyle BMX 2 (Europe) (En,Fr,De,Es,It).zip and Garfield - The Search for Pooky (Europe) (En,Fr,De,It).zip.

Expected behavior

I would expect --prefer-revision newer to select Dave Mirra Freestyle BMX 2 (Europe) (En,Fr,De,Es,It) (Rev 1).zip and Garfield - The Search for Pooky (Europe) (En,Fr,De,Es,It) (Rev 2).zip

Debug logs

igir.log
Nintendo - Game Boy Advance (Parent-Clone) (20240910-173950).dat.txt

DAT(s) used

No response

igir version

v3.0.1

Node.js version

v22.4.1

Operating system

Fedora 41

Additional context

No response

@ozboss ozboss added the potential-bug A potential issue that needs confirmation and/or triage label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
potential-bug A potential issue that needs confirmation and/or triage
Projects
None yet
Development

No branches or pull requests

1 participant