2394425147 / astrodx

928 stars 39 forks source link

cache migration encounters issues with "maidata.txt" due to being case sensitive #144

Closed HDEnt327 closed 2 months ago

HDEnt327 commented 2 months ago

Describe the bug A clear and concise description of what the bug is. During cache migration phase, when the charts are being accessed, certain charts that do not exactly match "maidata.txt", e.g. "MaiData.txt", which (previously) does work when playing the chart, causes an error and the entire process is halted. The chart directory thus must be manually deleted, and the program needs to be reopened for the cache migration to continue. Although the file name convention is usually to name the chart file "maidata.txt" instead of "MaiData.txt", it previously does work and many charts do use the latter form of capitalization, this causes the migration process to be troublesome.

To Reproduce Steps to reproduce the behavior:

  1. Have a old version of AstroDX installed before updating to the latest version
  2. Have chart directories which contain "MaiData.txt" instead of "maidata.txt"
  3. Start the cache migration process in game

Expected behavior A clear and concise description of what you expected to happen. Charts should be successfully migrated regardless of the capitalization formatting, instead of the program halting when one is encountered.

Screenshots If applicable, add screenshots to help explain your problem. 微信图片_20240916171600 微信图片_20240916171637 These files previously DOES WORK IN GAME

Device specs

Additional context Add any other context about the problem here.

2394425147 commented 2 months ago

should be fixed by the next update! thanks for the issue