Welcome to the Cryptomator Community
did you checked From 1.5.x to 1.6.x - Migrating filenameLengthLimit?
There you’ll find the formula to compute the decrypted filename length from the encrypted name. Just reverse the calculation and then set the value manually in the json. Of course, Cryptomator should not run during the modification (otherwise the settings will be overwritten).