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

[Request] Add much needed functionality to the "Illegal BMS" dialogue #803

Open
produKtnz opened this issue May 19, 2024 · 3 comments
Open

Comments

@produKtnz
Copy link

Simple - send output of illegal song discovery to a txt file so we can actually do something about it. I added a new event i found and wanted to play and got an illegal BMS error message. Folder is HUGE, so unless ther's that one person on the planet who can identify an illegal BMS just by title, then the rest of us have NO CHANCE at fixing the issue.

@produKtnz produKtnz changed the title Add much needed functionality to the "Illegal BMS" dialogue [Request] Add much needed functionality to the "Illegal BMS" dialogue May 19, 2024
@produKtnz
Copy link
Author

Same as #487 FYI but no resolution provided there.
I poked around in sqlite and didn't see a schema for Illegal BMS, so i couldnt identify them that way either.

Stuck =|

@Catizard
Copy link

Illegal BMS hashes are hard-coded, you can write a script to find them

@jmctune
Copy link

jmctune commented Dec 5, 2024

Found this issue and was curious if I could help.

I don't know Java, but briefly poked around and see the illegal hashes listed here:

public static String[] illegalsongs = {

I am assuming these are just sha256 hashes with no extra funny business and that the "illegal" files are .bms files. I don't have access to any "illegal" files to test this.

I wrote up a quick Powershell script that should hopefully help out.

https://gist.github.com/jmctune/cbb402274dcdd5585a263ffa9f03aa02

Download the script and pass it the top level directory of your BMS directory and it'll scan all .bms files looking for hashes listed as "illegal" and output the path to them.

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

3 participants