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: CONTROLS.DAT LOADING EXAMPLE!  (Read 1525 times)

0 Members and 1 Guest are viewing this topic.

EndTwist

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 480
  • Last login:May 26, 2022, 05:04:49 pm
  • Arg.
CONTROLS.DAT LOADING EXAMPLE!
« on: August 20, 2003, 12:03:25 pm »
Hello everyone. I had some spare time, so I decided to make an example of how to load the controls.dat file that will be out soon. For the controls.dat, I'm just using 3 examples that SirPoonga posted here: http://www.fe.donkeyfly.com/yabbse/index.php?board=10;action=display;threadid=45

If anyone wants my code (its Visual Basic), just ask and i'll post it too.

Please note that to use this, change the .txt extension to .zip and extract all the files. I know its ugly, but its just a quickie example.  ;D
« Last Edit: August 20, 2003, 12:03:46 pm by EndTwist »

EndTwist

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 480
  • Last login:May 26, 2022, 05:04:49 pm
  • Arg.
Re:CONTROLS.DAT LOADING EXAMPLE!
« Reply #1 on: August 20, 2003, 12:05:12 pm »
Here is a screenshot:

Frostillicus

  • Arcade Artist
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1291
  • Last login:April 18, 2023, 07:36:29 am
    • My MAME cabinet site
Re:CONTROLS.DAT LOADING EXAMPLE!
« Reply #2 on: August 20, 2003, 02:02:51 pm »
I thought the whole idea of the controls.dat file was to put labels with the buttons...like P1Button1: FIRE and P1Button2: JUMP, and to correct the general terms used by MAME(dial, paddle, no 2way, etc..)


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 12:27:54 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:CONTROLS.DAT LOADING EXAMPLE!
« Reply #3 on: August 20, 2003, 02:19:31 pm »
It is.  With all due respect, that viewer defeats the whole purpose of the dat. Your showing the opposite of what you should show I.E you show the labels, not the "button" constants.  ;)


However the dat's format is slowly changing over the course of the news few days, so that viewer will be deemed completely useless.  

I'm working on one in which you create your own layout and the labels are put on the correct controls. Assuming you use ctrlr files, it even adjusts for games that you changed the inputs to.

I'm very glad to see that other people intend to use it though.  :D

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:CONTROLS.DAT LOADING EXAMPLE!
« Reply #4 on: August 20, 2003, 03:06:05 pm »
Yes, as HC said the dat file has gone through a few changes in the last two days.  A dev kit with the info to develop for it once these changes have been settled on will be available.

Those examples are old, but I am leaving them up because they give an idea of what's to come.

For one, the dat wizards now support 6 players, incase xmen6 comes back working sometime.

rampy

  • *shrug*
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2910
  • Last login:March 02, 2007, 11:32:16 am
  • ...as useless as a JPG is to Helen Keller
    • Build Your Own PVR
Re:CONTROLS.DAT LOADING EXAMPLE!
« Reply #5 on: August 20, 2003, 03:14:02 pm »
Well, I'm glad he attempted it. A for effort

there's a lot of interest in the concept behind the controls.dat project.  Can't wait to see some automagic FE's make use of the finished format/data

Rampy

PS yeah, I know it's a pretty "rah rah" post for me... I must had good coffee this morning.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:CONTROLS.DAT LOADING EXAMPLE!
« Reply #6 on: August 20, 2003, 03:24:07 pm »
Yeah, it's a good effort.  Next week will probably show another beta of the more robust submissions system.