Hello, I have been using Maximus Arcade for years, recently I upgraded my mame version to .160 and fixed all my broken roms to work with the new version.
All my roms were running fine in MAME, but when I tried to start in MA I got the index out of range error.
*SOLUTION*
I deleted the gamelist.xml file in the mame folder and went into MA prefs and under options click the mame tab then change the radio button "MAME rom description built using MAME generated XML gamelist"
to
"MAME rom description built using ClrMAME Pro database (mame.dat)"
after I did this I opened MA and got no index out of range error and all my roms worked great!
hope this helps someone, I googled the solution and found nothing, then tried every setting in MA to finally get it working