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: Coin Limiter - Limit the number of credits per PC boot! (Update 5/23/05!)  (Read 7135 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.
Ok, well, here it is. A program that allows you to limit the number of credits the players have per boot.

[Download here]

Included are 2 files:
coinlimit.exe - the main program which you will want to run at startup
coinlimit.ini - the ini file where you can specify how many credits are available per boot.

Update [5/23/05]:
You can now configure the keys used for the coins! Just open up coinlimit.ini and edit the "Keys" section (for each coin, just enter the letter/number of the coin -- not the ASCII code or anything like that!).
Note: that if you do not enter a key for one of the coin "slots", it will default to the default MAME key (5,6,7,8).

Please note: Only works on Windows NT/2000/XP. Does not work on Windows 95/98 (Sorry -- I wish it did too :(.)
« Last Edit: May 23, 2005, 03:19:50 pm by EndTwist »

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:June 24, 2025, 05:56:01 pm
  • Posts: 48,764
Very nice. I like it. Is it counting how many times the 5 key is pressed? Or 5,6,7,8 keys total?
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

EndTwist

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 480
  • Last login:May 26, 2022, 05:04:49 pm
  • Arg.
Very nice. I like it. Is it counting how many times the 5 key is pressed? Or 5,6,7,8 keys total?

5,6,7, and 8 keys total. (I can always change it)

Veinman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 537
  • Last login:June 11, 2014, 02:40:27 pm
  • "Done" with The Legend of Mame
    • The Gelatinous Cube
Cool, in that case I won't bother to add this to my counting app. I didn't want to do it anyway. ;)

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:June 24, 2025, 05:56:01 pm
  • Posts: 48,764
Ya. I can use both of these at the same time! Nice job both!
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
its neat, but why?

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:June 24, 2025, 05:56:01 pm
  • Posts: 48,764
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

wakerlet

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:September 25, 2007, 11:37:53 am
  • 1-2-3-4..thats the combination on my luggage
Nice job.  I like this feature.  What about something that can be configured for those who do not use the "default" settings for coin up?

chemame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:January 26, 2007, 01:54:05 pm
  • I want to build my own arcade controls!
Agreed. My cab uses 2 & 3 for p1coin and p2coin. If this could be configured in the INI file, that would be awesome.

The revolution will be emulated.

Chemame

M.A.M.E Power

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 135
  • Last login:February 06, 2007, 04:25:59 pm
  • There Are So Many Games!
Hopefully I am not being silly here I also believe that limiting the amount of credits adds to the whole gameplay experience and would love to incoperate this onto my computer!

I will get a coin box when I get my cab up and running but for now would like to limit my credits on my PC I am running mame 0.96 pentium pro optimitzed will this software work with that version if so where do I unzip the file?

I have got a gamepad set-up and am using the Q key to add credits

If it does not work can it be made to work any help is welcome!

EndTwist

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 480
  • Last login:May 26, 2022, 05:04:49 pm
  • Arg.
Hopefully I am not being silly here I also believe that limiting the amount of credits adds to the whole gameplay experience and would love to incoperate this onto my computer!

I will get a coin box when I get my cab up and running but for now would like to limit my credits on my PC I am running mame 0.96 pentium pro optimitzed will this software work with that version if so where do I unzip the file?

I have got a gamepad set-up and am using the Q key to add credits

If it does not work can it be made to work any help is welcome!

Try using some better punctuation :P

Anyway - yes it will work with your PC. This program is not dependant on the version of MAME you are using, only on the Windows version you are using (NT and above will work, but not 98 and below). Just unzip it anywhere you like and run it.

As for the problem of alternate keys -- you can now configure your coin key(s) in the INI file (see my first post).

M.A.M.E Power

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 135
  • Last login:February 06, 2007, 04:25:59 pm
  • There Are So Many Games!
Finished my degree so punctuation does not matter anymore :P

Anyway have looked in the ini file and this is all it contains -

[CoinLimit]
AvailableCredits=5

What exactly do I need to put in the ini file to specify the 'Q' key (as the credit button)? You mention at the start of the thread to edit the keys section however, I do not seem to have this section in the ini file. I am sorry if this is straight forward, but my programming knowledge is limited.

Thanks

EndTwist

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 480
  • Last login:May 26, 2022, 05:04:49 pm
  • Arg.
Finished my degree so punctuation does not matter anymore :P

Anyway have looked in the ini file and this is all it contains -

[CoinLimit]
AvailableCredits=5

What exactly do I need to put in the ini file to specify the 'Q' key (as the credit button)? You mention at the start of the thread to edit the keys section however, I do not seem to have this section in the ini file. I am sorry if this is straight forward, but my programming knowledge is limited.

Thanks

You need to go redownload it (see first post)

M.A.M.E Power

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 135
  • Last login:February 06, 2007, 04:25:59 pm
  • There Are So Many Games!
Hi

Have downloaded it again and it is still the same, any suggestions?

Thanks

Lea

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2042
  • Last login:June 24, 2025, 05:56:01 pm
  • Posts: 48,764
I just re-downloaded it and it's all there that I can see, although the default coin 2 was q? ???
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

EndTwist

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 480
  • Last login:May 26, 2022, 05:04:49 pm
  • Arg.
I just re-downloaded it and it's all there that I can see, although the default coin 2 was q? ???

Oh yeah, oops :P I was just testing to make sure it worked properly with other keys...

tore-

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 60
  • Last login:June 11, 2014, 06:18:33 am
  • I want to build my own arcade controls!
What do you mean by "per boot" ? Per boot of the machine? I'm little confused

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Coin Limiter - Limit the number of credits per PC boot! (Update 5/23/05!)
« Reply #17 on: October 14, 2016, 05:17:11 pm »
Is there a way to change the behaviour of this program.

I am fond of the way some Arcade PS2 ports handle credits, namely Konami games. Basically the first time you play the game you get just 1 credit, at the end of that game your awarded another credit  and so at the end of game 3 you have 3 credits unlocked to use and then have a max credit limit of say 5 credits.

Is it at all possible to make a program like this that can communicate with mame in this way?