Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Always rotating any vertical game  (Read 1712 times)

0 Members and 1 Guest are viewing this topic.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Today at 05:49:26 pm
  • The Bears Still Suck!
Always rotating any vertical game
« on: August 29, 2002, 08:10:03 pm »
requires compiling mame

Add to \src\windows\config.c

   /* if this is a vertical game, parse vertical.ini else horizont.ini */   
   if (drivers[game_index]->flags & ORIENTATION_SWAP_XY) {      
      if (parse_config ("vertical.ini", NULL))         
         exit(1);   
   } else {      
      if (parse_config ("horizont.ini", NULL))
         exit(1);   
   }



Put that right after the section that does the vector.ini fil
so it looks like:

   /* if this is a vector game, parse vector.ini first */
   expand_machine_driver(drivers[game_index]->drv, &drv);
   if (drv.video_attributes & VIDEO_TYPE_VECTOR)
      if (parse_config ("vector.ini", NULL))
         exit(1);

   /* if this is a vertical game, parse vertical.ini else horizont.ini */   
   if (drivers[game_index]->flags & ORIENTATION_SWAP_XY) {      
      if (parse_config ("vertical.ini", NULL))         
         exit(1);   
   } else {      
      if (parse_config ("horizont.ini", NULL))
         exit(1);   
   }




Now you can make a horizont.ini and vertical.ini
If you want to rotate vertical game in the vertical.ini put ror 1 or rol 1 in it.