That's way cool, torino. I'll have to check it out.
Edit: In Windows 7 I get this error when running sync.bat:
"net.ext - Entry Point Not Found
The procedure entry point I_NetPathType could not be located in the dynamic link library NETAPI32.dll."
I think it's cool too, and the more people jump in the cooler it gets, or so it would seem. I never tried it before with anyone else, I only tested it by myself so far. Anyway, I don't know about Windows 7 but I'm pretty sure we can overcome the problem of 'network drive' mapping, one way or another.
a.) Try deleting "net.exe" in "web-sync" folder, it's WinXP version. That should make the script use system's own "net.exe", if your system has it. My WinXP did not have that command, for some reason, and that's why I placed it in the .zip, but if your Win7 does not have "net.exe" and the script still does not work, you can always map network drive manually:
b.) [Top menu of any folder]: Tools->Map Network Drive... (Z:)
"
http://www.drivehq.com/webdav/OnlineMAME"
Username:
OnlineMAME / Password:
letmeplayOnce Z: drive is mapped .BAT file will start reporting error how "device is already in use", but that's fine. We could un-map the drive at the end of .BAT file after each web-syncing, but it takes several minutes until the drive can be mapped again, so I just leave it mapped all the time to make testing faster. If more than few people happen to be interested I will make the script a little better and maybe implement some additional features.
Edit 2: I just realized that I didn't have a "hi" folder, the "highscore.dat" or an actual score recorded yet. I'll try to play later when the kids aren't screaming (that's apparently how kids talk) at each other.
Yeah, you need to have MAME enabled for hi-score support, which includes having a "hiscore.dat" and "hi" folder.
So, everyone has their local "skyshark.hi" copy as usual in their "MAME/hi" folder, and then there is one 'master' copy of "skyshark.hi" in shared web-folder. The script downloads this master file to temporary local folder, locks server file access and uses HiToText utility to merge scoreboards, then it overwrites both local and server "skyshark.hi" with this new one and unlocks back master copy file access.