Jump to content
LaunchBox Community Forums

Troubleshooting MAME High Scores


Jason Carr

Recommended Posts

Quick question for everyone here, does anyone use the MAME game .cfg files for anything important or legitimate, other than changing jumper settings? Or does anyone use those files for important things like setting up controls? That's my biggest concern with deleting them in order to prevent cheating.

Link to comment
Share on other sites

12 minutes ago, Jason Carr said:

That's not a bad idea. I wasn't aware of that being a possibility. I'll do some research on it and add that to my list. :)

The dipswitch thing is definitely something that would be good to see if you can detect a change. You can easily change the difficulty mode, increase lives, decrease score amounts to earn extra lives.

Link to comment
Share on other sites

10 minutes ago, Jason Carr said:

Quick question for everyone here, does anyone use the MAME game .cfg files for anything important or legitimate, other than changing jumper settings? Or does anyone use those files for important things like setting up controls? That's my biggest concern with deleting them in order to prevent cheating.

Even if people do you use game cfg's for controls, they could keep different versions of default.cfg's and store them in their own folders, effectively acting as the game cfg's but just for control mappings. Then they could use a batch file to load them before a game with the additional apps function. And I imagine only a small handful of people's high score compatible games would need that treatment in the first place. And perhaps there's a more elegant solution that uses that basic idea.

Link to comment
Share on other sites

This is for Ms. Pac-man. The dip switches in Ms. Pac-Man only allow the advantage of 2 additional lives compared to default, and this same guy hasn't destroyed my score as with Dig Dug, which allows massive potential to cheat. Again, if this guy isn't actually cheating then no hard feelings, it just appears suspicious. 

mspacman leaderboard.PNG

Link to comment
Share on other sites

47 minutes ago, Jason Carr said:

Quick question for everyone here, does anyone use the MAME game .cfg files for anything important or legitimate, other than changing jumper settings? Or does anyone use those files for important things like setting up controls? That's my biggest concern with deleting them in order to prevent cheating.

Since I'm using a 8 button arcade control panel, ever game I play with MAME I've created a custom cfg layout to best match the layout of each game. 

33 minutes ago, Underoath13 said:

Even if people do you use game cfg's for controls, they could keep different versions of default.cfg's and store them in their own folders, effectively acting as the game cfg's but just for control mappings. Then they could use a batch file to load them before a game with the additional apps function. And I imagine only a small handful of people's high score compatible games would need that treatment in the first place. And perhaps there's a more elegant solution that uses that basic idea.

I'd rather just not worry about the high scores rather than messing around with something like that, but that's just my opinion.

Link to comment
Share on other sites

1 minute ago, Headrush69 said:

Since I'm using a 8 button arcade control panel, ever game I play with MAME I've created a custom cfg layout to best match the layout of each game. 

I'd rather just not worry about the high scores rather than messing around with something like that, but that's just my opinion.

I see, that's what I was worried about. Does it really require separate configurations for each and every game?

Link to comment
Share on other sites

6 minutes ago, Headrush69 said:

Since I'm using a 8 button arcade control panel, ever game I play with MAME I've created a custom cfg layout to best match the layout of each game. 

I'd also like to hear some more detail about this to better understand your situation.

 

8 minutes ago, Headrush69 said:

I'd rather just not worry about the high scores rather than messing around with something like that, but that's just my opinion.

Now that I think about it, instead of the whole batch file route, one could simply have a separate installation of MAME that they use for high scores. So two MAME emulators in launchbox, the one you've been using with all your custom cfg's, and another only mapped to global for arcade high scores. Just change the emulator on a per game basis when competing for high scores. A lot less steps than for batch files, and virtually no more work once its set up.

Link to comment
Share on other sites

1 minute ago, Jason Carr said:

I see, that's what I was worried about. Does it really require separate configurations for each and every game?

Pretty much yes. 

I have a 2 rows of 3 buttons, and a 3rd row offset of 2 buttons. In MAME general control, they are assigned buttons 1 - 8 in logical order, top to bottom, left to right. A fighting game might use the first six buttons, but a game like 1942 uses only 2. So if you stick to the general MAME control layout, in 1942 the user would have to use the first two buttons holding their hands over the other buttons. With a custom cfg, the bottom row of 2 buttons is used and much better ergonomically.

Jason, for me, if cfg scanning  is what is needed it wouldn't bother me.

 

Link to comment
Share on other sites

8 minutes ago, neil9000 said:

People play for the fun of playing, if you are only playing for the hi scores i'd look into another hobby as games arent for you.

Agreed.

6 minutes ago, Underoath13 said:

Now that I think about it, instead of the whole batch file route, one could simply have a separate installation of MAME that they use for high scores. So two MAME emulators in launchbox, the one you've been using with all your custom cfg's, and another only mapped to global for arcade high scores. Just change the emulator on a per game basis when competing for high scores. A lot less steps than for batch files, and virtually no more work once its set up.

That just seems like a lot of work for minimal return. As neil9000 said, it's more a fun thing than a competition. I wouldn't want to have to choose which version to use thinking "OK, i'm playing for scores now"

Just imagine the sleepless nights I would have if I broke a high score and I was using the "fun" MAME and not the the high score version. Too much anxiety for this old heart. ?

Edited by Headrush69
Link to comment
Share on other sites

5 minutes ago, Headrush69 said:

Pretty much yes. 

I have a 2 rows of 3 buttons, and a 3rd row offset of 2 buttons. In MAME general control, they are assigned buttons 1 - 8 in logical order, top to bottom, left to right. A fighting game might use the first six buttons, but a game like 1942 uses only 2. So if you stick to the general MAME control layout, in 1942 the user would have to use the first two buttons holding their hands over the other buttons. With a custom cfg, the bottom row of 2 buttons is used and much better ergonomically.

Jason, for me, if cfg scanning  is what is needed it wouldn't bother me.

Thanks, I appreciate that, but not everyone in your situation would be as gracious. Are you sure there's no way to set up default buttons globally, so that it behaves better without configuring every game?

Link to comment
Share on other sites

12 minutes ago, Jason Carr said:

Thanks, I appreciate that, but not everyone in your situation would be as gracious. Are you sure there's no way to set up default buttons globally, so that it behaves better without configuring every game?

Could be but it would really take looking at all the games that support high scores and seeing how many are customized and could be changed to a less optimal more general layout.

You  would also see issues with people  that use multi-mouse support in a game like Marble madness. If you assume a default mouse1 devices, and someone with a cabinet has a spinner or trackball, it's very likely that device is mouse2 and they have a changed cfg. Lots of scenarios like that is well.

Only method I could see would be building a database of specific settings that could affect games. Usually that just lives, and bonuses. The problem with that is someone would have to curate that and that's a lot of work. 

IMHO, it's a cool community thing and if someone is going to cheat for some type of gratification, so be it. You have also implemented weekly hi scores, so you can always look to that more for fun. Highly unlikely "cheaters" are going to keep playing every week to maintain their "status"

Edited by Headrush69
Link to comment
Share on other sites

29 minutes ago, Headrush69 said:

IMHO, it's a cool community thing and if someone is going to cheat for some type of gratification, so be it. You have also have weekly hi scores, so you can always look to that more for fun. Highly unlikely "cheaters" are going to keep playing every week to maintain their "status"

My concern with that is if one person cheats, many more may follow to keep up with the originally inflated score. Then next thing you know all the scores are inflated. THAT would be no fun at all.

In order to keep the community somewhat competitive, even if not super serious, I think it'd be pretty important to stop dipswitch cheating. I think people who really want to compete won' have a problem at all with following a few extra steps and rules. Generally, people who care about high scores wont mind the extra steps, and people who don't really care about high scores won't be that upset about it.

Of course, if cfg scanning could work that would be optimal, I just don't know enough about it to know if its possible or practical.

Edit: And perhaps there's a possible way to delete dip switch specific code from the cfg, if that in any way would be easier than scanning the cfg and preventing a high score upload.

Edited by Underoath13
Link to comment
Share on other sites

52 minutes ago, Jason Carr said:

I'm sure that we're going anger people no matter what we do at this point (just look at the whole Retroarch thing), but hopefully the cfg thing won't be a major issue for people.

I second this. The very nature of high scores is competition, and allowing incredibly easy ways to cheat does kind of defeat the purpose. There will always be something someone doesn't like, but again, competition is the very nature of high scores, in which without it it wouldn't exist. Even when you try to beat your own high score, you are still effectively competing against yourself.

 

Edited by Underoath13
Link to comment
Share on other sites

@Jason Carr

I set up individual CFG's for each MAME game that I play... about 200. You really have to for games like Defender, Stargate, and games that have weird controller layouts or games that just have a poor default button layout ... and some fighting games that were were not set up correctly by the original devs. I also have a default.cfg that I have set up for when I play games that I have never set up. I think that default.cfg may also be used for other controls, like coins, start, etc.

FYI - It looks like the spinner/dial settings are also stored in CFG files. I have a bunch of those set up per game too.

And also, the bezel horizontal/vertical stretch is stored in the CFG's. So anyone that has adjusted their X/Y stretching to get bezels looking good would have these set up.

 

Why is this even being asked? Is it some how tied to anti-cheating?
Never mind, I see in a post above, you saying that dip switches are stored in CFGs.

Edited by ItchyRobot
Link to comment
Share on other sites

6 minutes ago, ItchyRobot said:

Why is this even being asked? Is it some how tied to anti-cheating?

It was a proposed idea for preventing cheating. If a game doesn't have a changed cfg, the user hasn't changed dip switches in game that could give them an advantage. 

Edit: MAME auto generates a cfg on game run even if you DON'T change any settings. So to implement checking you either would have to checksum the file against a default "clean" version, or have to parse the specific items in the cfg. 

Edited by Headrush69
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...