TcNo-osu-Cleaner
TcNo-osu-Cleaner copied to clipboard
replace missing images with black images not working for me when running it on a large number of beatmap folders
not sure if this is where im supposed to be posting this message so i appologize in advance if its in the wrong place but im having and issue when i try to run the "replace missing images with black images" on my entire songs folder wich has roughly 17000 beatmap folders in it. it will do step 1 successfully and say theres roughly 500 images to replace but once it finishes checking all the folders it just stops like if i clicked a cancel button and doesnt replace the bg. no matter how many times i try it it does the same thing the only time it has worked for me is when i renamed my original song folder to songs2 and make a new empty songs folder in the osu directory and copy/paste 1 beatmap folder into the new songs folder. it will complete step 1 and 2 just fine and display the infobox saying that 1 bg was succesfully replaced and manually checking the beatmap folder after i can see the new bg that was created but if i try to do the same thing with 1000 beatmap folders from the original songs folder it will do the same thing as before and just complete step 1 then revert to the previous state before the button was pressed
I will need to download a few thousand songs to test this out... I assume it's some kind of limitation? Will look into it :)
I'm not sure if this is still being actively developed but I have found through some experimentation that this seems to be an issue with very long image file names. I used a python script to search for image names over 100 characters, then I did some further manual testing and found that the following sets will cause the bg replacement to fail:
308912 supercell - The Bravery (TV Edit) 617809 ryo(supercell) feat Hatsune Miku - ODDS&ENDS (Speed Up Ver) 650027 nameless - All I Need are Things I Like 778319 Hatsune Miku feat Wyz - Yukkuri To 779909 Misato Aki - DESIRE 911255 Matsuda Arisa (CV- Murakawa Rie) - Chou Jou Genki Show-Idol ch@ng!
Removing these from my songs folder allowed the program to run correctly.