I'm trying to find out if a game uses a 4-way or 8-way joystick from command line. The front end I'm using (Attract Mode) has lines in its romlist files, so if all else fails I can get it from that. The lines look like this:
mrtnt;Mr. TNT;mame;;1983;Techstar (Telko license);;2;90;joystick (4-way),joystick (4-way);good;1;raster;;;;
mspacmat;Ms. Pac Attack;mame;mspacman;1981;hack;;2;90;joystick (4-way),joystick (4-way);good;1;raster;mspacman;;;
mspacman;Ms. Pac-Man;mame;;1981;Midway / General Computer Corporation;;2;90;joystick (4-way),joystick (4-way);good;1;raster;;;;
mspacmab;Ms. Pac-Man (bootleg);mame;mspacman;1981;bootleg;;2;90;joystick (4-way),joystick (4-way);good;1;raster;mspacman;;;
mspacmbe;Ms. Pac-Man (bootleg, encrypted);mame;mspacman;1981;bootleg;;2;90;joystick (4-way),joystick (4-way);good;1;raster;mspacman;;;
mspacmnf;Ms. Pac-Man (fast!);mame;mspacman;1981;hack;;2;90;joystick (4-way),joystick (4-way);good;1;raster;mspacman;;;
But I'm wondering if there's some way to query the ROM from commandline to get this info? I've been looking through the manual and google for awhile now and don't see it. Apologies if it's obvious and I missed something.