The only change in the script was adding support for the MIF files that, indeed, have no filenames.
It's all correct.
Question regarding another script of yours "http://aluigi.org/papers/bms/rainbow_studios.bms":
Motocross Madness 2 [devd by Rainbow Studios and released in 2000] also uses .RES file containers.. but I couldn't unpack them using this script
Perhaps a script update could solve this issue?
Here's a test .RES file from the game: https:// d r i v e. g o o g l e. c o m /open?id=1zXJMKRxMdHk3JuL7h4YF0sLu9B2zO48C
Thx in advance