francisdb/vpxtool

Fix script loading casing issues

Opened this issue · 1 comments

New versions of standalone now print this:

2024-05-01 09:22:37.393 INFO [987608] [Player::Player@685] Starting script
2024-05-01 09:22:37.394 WARN [987608] [find_path_case_insensitive@461] exact path not found, but a case-insensitive match was found: path=/.../vpinball/build/scripts/WPC.VBS, match=/.../vpinball/build/scripts/WPC.vbs

We could add that to fix typical standalone issues. However I don't think we should upload those fixes as patch files to the script repository. It's just for the table creators to fix.

Yes, the warning was more for developers.

This was coded based on @Nicals comment on Discord:

Screenshot 2024-05-01 at 7 28 56 AM