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

filter_file_names throws error when used #274

Open
dyceron opened this issue Feb 1, 2025 · 0 comments
Open

filter_file_names throws error when used #274

dyceron opened this issue Feb 1, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@dyceron
Copy link
Contributor

dyceron commented Feb 1, 2025

C:\GitHub\mercury-engine-data-structures> python tools/filter_file_names.py --game SAMUS_RETURNS --possible-new-paths "D:\Gaming\Modding\Games\Metroid Samus Returns\manual.txt" "D:\Gaming\Modding\Games\Metroid Samus Returns\Game Files\content0.game\romfs"
"Traceback (most recent call last):
  File "C:\GitHub\mercury-engine-data-structures\tools\filter_file_names.py", line 136, in <module>
    main()
  File "C:\GitHub\mercury-engine-data-structures\tools\filter_file_names.py", line 99, in main
    filtered_names = {name: value for name, value in known_names.items() if value in all_asset_id}
                                                                            ^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'dict'
@dyceron dyceron added the bug Something isn't working label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant