I have honestly never gotten Mamescan to work correctly for me...but you don't really need it. There is a way to get both the mame.map and mame.rom manually....
1. Open a dos window
2. Goto your mame directory
3. type in this command:
mame -listfull > mame.map
(this makes a file called mame.map in your mame folder)
There you go...copy that mame.map file to your glaunch/config folder...
Now for the mame.rom...
1. Goto your mame roms folder (in Dos again)
2. type in this:
dir *.zip /b /on > mame.rom
(this makes a file called mame.rom in your roms folder)
3. Open this new mame.rom in Wordpad
4. EDIT > Replace
5. In the replace window replace:
.zip with <nothing> (just leave the second box blank)
This will get rid of all the .zip extensions in the file.
Copy this mame.rom to your glaunch/config folder
You are done. No need for Mamescan...
Jakobud