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

fixdat does not respect --single #1347

Open
ozboss opened this issue Sep 19, 2024 · 4 comments
Open

fixdat does not respect --single #1347

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

Comments

@ozboss
Copy link

ozboss commented Sep 19, 2024

Paste the command

npx -y igir@latest fixdat
--input fixdat_input
--dat "No-Intro/Nintendo - Game Boy (20240914-013134).dat"
--filter-language DE,EN
--single
--prefer-language DE \

Describe the bug

Running the above command filters the languages correctly, but still has lots of clones in the created .dat file, i.e. entries with "cloneof=..." information.

Expected behavior

Creates a .dat file without any clones.

Debug logs

igir.log

DAT(s) used

No response

igir version

v3.0.0

Node.js version

v20.12.2

Operating system

Fedora 40

Additional context

No response

@ozboss ozboss added the potential-bug A potential issue that needs confirmation and/or triage label Sep 19, 2024
@IDmedia
Copy link

IDmedia commented Sep 19, 2024

"No-Intro/Nintendo - Game Boy (20240914-013134).dat"

Have you tried using the Parent-Clone dat files? They yield better results with --single.

@ozboss
Copy link
Author

ozboss commented Sep 19, 2024

Have you tried using the Parent-Clone dat files? They yield better results with --single.

Same behavior with P/C XMLs.

@emmercm
Copy link
Owner

emmercm commented Sep 19, 2024

@ozboss is right, I see why this would be unexpected, and it's the same root issue as #1341.

Igir is currently performing 1G1R on found input files, not on ROMs in DATs. Meaning if a game has these three clones:

Game (USA)
Game (Europe)
Game (JPN)

and you provide --prefer-region USA, but only have a copy of Game (Europe), it will consider that a match. The thinking is having any copy of the game is better than having no copy of the game.

But that thinking has other implications, such as this. Because Igir is willing to consider any of the clones as a match it will/must keep all of them in fixdats and reports.

@ozboss
Copy link
Author

ozboss commented Sep 20, 2024

I see now, --filter-language DE, EN correctly removed Game (JPN) and kept the other two valid options. I commented my opinion on this already in #1341 so this can be closed as duplicate.

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

3 participants