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

README doesn't match user_config.py #22

Open
robross0606 opened this issue Nov 4, 2021 · 4 comments
Open

README doesn't match user_config.py #22

robross0606 opened this issue Nov 4, 2021 · 4 comments

Comments

@robross0606
Copy link

robross0606 commented Nov 4, 2021

The README has the following lines:

If you have the game's ID in the filename you can enable match_by_id. Using only this option means that any file without ID falls back to exact match between filename and game name in GamesList.txt.

Enable best_match_game_detection to allow the best match algorithm. It can work as a fallback with match_by_id.

However, the user_config.py has no such option in it so it is a little vague how to "enable" these things. Do you add match_by_id with a value of "yes"? A value of True? Something else?

@robross0606
Copy link
Author

Also, I have enabled both of these but it completely mis-detects the ROM. The folder is named "R3ME01_Metroid Prime - Trilogy" and the wbf files inside are named "R3ME01". I have added both of the above settings to my user_config.py file but, for some reason, it detects the ROM as some Japanese game named "Rompers". "R3M" is the Metroid Prime Trilogy ID. "E01" is the European edition. https://www.gametdb.com/Wii/R3ME01

@driscoll42
Copy link

It looks like the user_config.py has the code :

#Enable to allow matching by ID, best_match_game_detection can be used as fallback match_by_id = True #Enable to allow the best match algorithm instead of exact game name best_match_game_detection = True

which looks like the option to me? Or am I missing something? I'm not the dev so I can't fix/change anything. Should be enabled by default. For the

For fun I tried the code out on "R3ME01_Metroid Prime - Trilogy" and even if match_by_id is False, it should still find it given that the fuzzy logic has it matching at the highest ratio.

@robross0606
Copy link
Author

robross0606 commented Nov 4, 2021

Odd, I just re-downloaded the latest release and now the user_config.py file has it in there and no longer has match_by_id . One thing is certain. The user_config.py in the release.zip is not the same as the same file in the source.zip or repo. The release package appears to have an old or at least somewhat incomplete version. I'll use the version from the repo which is much more complete and try again.

@driscoll42
Copy link

Hope it works, I still have some issues with this as in #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants