yes, you need the filename references in textures.dat to match what the actual filenames are
i wasnt suggesting you batch rename all the ones you have already imported, just fix any that have fucked up filenames.
in the future, using batch renamer before importing the textures makes it easier imo. since you already have textures imported for this project, i would just deconfuckulate it