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: Changing coin Credit options  (Read 1698 times)

0 Members and 1 Guest are viewing this topic.

steveoz

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:December 11, 2016, 09:14:31 pm
  • I want to build my own arcade controls!
Changing coin Credit options
« on: December 10, 2016, 12:08:27 am »
how can I solve this problem?

When I insert a coin I get 1 credit.
I want mame to register 3 credits instead.
I know i can change dip switches but not all games have the option.
I just want a global solution
Is there another way I can do this?


Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Changing coin Credit options
« Reply #1 on: December 10, 2016, 04:58:48 am »
What type of coin mech is it?

thomas_surles

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2118
  • Last login:September 13, 2024, 06:34:49 pm
Re: Changing coin Credit options
« Reply #2 on: December 10, 2016, 07:59:56 am »
Does your coin register a key stroke? If so I'm sure that can be solved with a simple ahk.

steveoz

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:December 11, 2016, 09:14:31 pm
  • I want to build my own arcade controls!
Re: Changing coin Credit options
« Reply #3 on: December 10, 2016, 10:27:05 pm »
------Tichgamer - It's just a generic electronic coin selector bought from a online arcade shop for $20

------Thomas - Not sure. I assume that is the same as pressing 5 on keyboard gives me a credit? Isn't Inserting a coin connected to 5?

A guy selling hyperspin drives online sent me this script awhile back and he said he would get back to me but i think he's dead

loadMame:
KeyWait, 1 ; Wait for the 1 key to be pressed and released.
Sleep, 4000 ; Wait for 4 seconds for Mame to load
Send {5}{5}{5} ; Enter 3 credits
Sleep, 500 ; Wait ½ second for Mame to register credits
Send {1} ; Enter 3 credits
Goto loadMame  ; Loop

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:September 18, 2024, 01:16:22 pm
  • I dare anything! I am Skeletor!
Re: Changing coin Credit options
« Reply #4 on: December 11, 2016, 01:45:16 am »
I wonder if you could map 3 buttons in mame for the credits (like... set it up to look at 5 or 6 or 7 rather than just 5), then wire your coin input to those 3 different inputs. They'd all get hit at the same time when you dropped a coin in. Some games might not register that many simultaneous credits, but you'd get 3 instant inputs... my guess is it would be up to the game to handle the speed of the credit input (in my experience some just won't handle super fast credit input)
Raspberry Pi, AttractMode, and Skeletor enthusiast.

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Changing coin Credit options
« Reply #5 on: December 11, 2016, 01:53:27 am »
If its a programable coin selector like the ch926 you can program it for multiple output pulses (eg 3 for 1 coin)

If it is connected to a kb encoder You could also set up a script which gives it  multiple key presses in AHK or similar as Thomas suggested above.

steveoz

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:December 11, 2016, 09:14:31 pm
  • I want to build my own arcade controls!
Re: Changing coin Credit options
« Reply #6 on: December 11, 2016, 07:41:44 am »
Titch- my coin mech is just a basic 101 - same as this. I don't think it's programmable.
http://www.ebay.com.au/itm/ARCADE-MAME-PINBALL-MACHINE-ELECTRONIC-COIN-MECHANISM-/360342472332

And....Not sure what a kb encoder is either? (ok, no laughing) and What is AHK?

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Changing coin Credit options
« Reply #7 on: December 11, 2016, 07:57:40 am »
That is a compareable coin mech (ie compares coins to the one you install).

Reading the info it says "counter output" that may mean you can change the output pulses I dont know.
Check your instructions :)

As for the KB encoder and AHK.

KB = keyboard.
In other words the encoder you wire back to is detected as a keyboard by your PC and it replicates key presses.

AHK is Auto Hotkey.
Its basicly used to automate keyboard functions.
Its a simple script utility.

steveoz

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:December 11, 2016, 09:14:31 pm
  • I want to build my own arcade controls!
Re: Changing coin Credit options
« Reply #8 on: December 11, 2016, 09:14:31 pm »
i read the instructions and no info at all about counter output.
Only what the coloured wires mean, how to adjust coin speed and NO/NC mode

I am using a I-PAC - Ultimarc (Is this what you mean by KB encoder?)

I've never used AHK.  Would it be fairly simple to write a script for the credits?



Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Changing coin Credit options
« Reply #9 on: December 12, 2016, 01:57:15 am »
Yes the I-pac is a KB encoder.
AHK is fairly easy to learn, it has a very good forum full of people to help you :)