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 --- Bug Reports --- Site News

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

  

Author Topic: how do i clear the "number of times played" field in mala layout?  (Read 3021 times)

0 Members and 1 Guest are viewing this topic.

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2963
  • Last login:Yesterday at 01:48:54 pm
  • RIP Dinosaur Hippo
how do i clear the "number of times played" field in mala layout?
« on: September 15, 2009, 04:09:12 pm »
hey guys...on our cab at work we have MALA running and working great.  we just recently discovered that you can set it up to show the number of times a game has been played.  i got that working just fine, but we would like to reset the counters back to 0 to start counting from this point.  I couldn't find how to do this?  is there a file that i need to wipe out somewhere?
Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

Dizzle

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 355
  • Last login:August 09, 2014, 05:28:04 pm
Re: how do i clear the "number of times played" field in mala layout?
« Reply #1 on: September 16, 2009, 12:17:09 pm »
I know there's a reset game count option in MAMEUI, but I don't know about the command line version.

NelsonPJ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 54
  • Last login:August 15, 2014, 01:34:25 pm
Re: how do i clear the "number of times played" field in mala layout?
« Reply #2 on: September 16, 2009, 12:35:53 pm »
I'm away from my cab, but I believe there are files in the Mala directory named something like "MostPlayed".  I remember them being created when I enabled that listing.

I suppose to be safe you could (1) uncheck the box for the most played lists in Mala, (2) quit Mala, (3) delete the files from the Mala directory, (4) restart Mala, and (5) re-check the "most played" list box to create "fresh" lists.

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2963
  • Last login:Yesterday at 01:48:54 pm
  • RIP Dinosaur Hippo
Re: how do i clear the "number of times played" field in mala layout?
« Reply #3 on: September 16, 2009, 04:38:01 pm »
we are not using the most played list.  and i do not have a file called mostplayed, or anything resembling that.

i just figured this had to be saved in a file somewhere that i could delete or something

Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

maddags

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 75
  • Last login:March 02, 2011, 03:29:06 pm
Re: how do i clear the "number of times played" field in mala layout?
« Reply #4 on: September 16, 2009, 06:38:48 pm »
I am at work now. but I am just finishing my buddies cab for him.  I had transfered all the files from one hd to the other, and i am using the games played feature in my layout.  I can't remember what I did (I deleted something) and all his games played are back to zero.  Let me check into this tonight and will get back to you tommarow.

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2963
  • Last login:Yesterday at 01:48:54 pm
  • RIP Dinosaur Hippo
Re: how do i clear the "number of times played" field in mala layout?
« Reply #5 on: September 16, 2009, 09:41:53 pm »
awesome, thanks
Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2963
  • Last login:Yesterday at 01:48:54 pm
  • RIP Dinosaur Hippo
Re: how do i clear the "number of times played" field in mala layout?
« Reply #6 on: September 18, 2009, 02:02:37 pm »
well, i made a little progress...but not enough.  i started randomely removing files from my mala directory hoping to figure out which one saved this counter info, no luck.

however i did discover that it is part of the actual gamelist.  if i am on the all games list and launch a game, it adds to the counter, but only in that game list. if i switch to my test gamelist, the counter did not change.  so the play count is per game list.  also, if i refresh the main game list, it resets the counter for the main list. 

i tried opening my test list in the gamelist editor, and then saving it under a new name, this carried the counters over with it.  the problem here is that i cannot find a way to clear the counter on any game list other than the all games list. 

any ideas?

i dont really want to have to manually recreate my custom gamelist.
Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

maddags

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 75
  • Last login:March 02, 2011, 03:29:06 pm
Re: how do i clear the "number of times played" field in mala layout?
« Reply #7 on: September 18, 2009, 03:05:02 pm »
I remember now what happened, i had to recreate new gamelists using romlister for the second cab.  This reset the counters.
But there must be another way to reset them without recreating the gamelists?

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1133
  • Last login:April 23, 2017, 06:38:48 pm
Re: how do i clear the "number of times played" field in mala layout?
« Reply #8 on: September 21, 2009, 08:29:17 pm »
**oops - let me check on that first ***
« Last Edit: September 21, 2009, 08:34:41 pm by SGT »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1133
  • Last login:April 23, 2017, 06:38:48 pm
Re: how do i clear the "number of times played" field in mala layout?
« Reply #9 on: September 21, 2009, 09:21:37 pm »
Ok, here's a down and dirty way to zero out the number of times a game has been played.  I can not stress the following enough:

BACKUP YOUR MALA FOLDER BEFORE CONTINUING.

I would feel very badly if you corrupted your gamelist(s) by following my method.   I HAVE TRIED THIS ON Mala 162g ONLY!  Also,  I have only tried this with custom game lists for MAME.  I have not tried the Mame Main Game List The procedure will be slightly different for other emulator lists.  Especially those with roms that do not have a ZIP extension.  Do not try this on non-Mame gamelists!

Step 1.  Download the hex editor XVI32, here:
http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm

Step 2.  CLOSE OUT OF MALA.

Step 3.  Using the hex editor, open the game list that you want to zero the number of times played.

Step 4.  Click Search at the top, then click replace.

Step 5.  Change all options and settings to exactly what I have in the screenshot below.  If it is not exact, you will corrupt your gamelist.

Step 6.  Click Replace All

Step 7.  Save it.  That's it.  Good Luck!


If it doesn't work for you,  zip up your (original- not a corrupted) game list and email it to me.  PM me for my email address.
« Last Edit: September 21, 2009, 09:26:40 pm by SGT »

maddags

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 75
  • Last login:March 02, 2011, 03:29:06 pm
Re: how do i clear the "number of times played" field in mala layout?
« Reply #10 on: September 21, 2009, 10:34:29 pm »
Thanks SGT,

Will try this as soon as i get a day off!!!

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2963
  • Last login:Yesterday at 01:48:54 pm
  • RIP Dinosaur Hippo
Re: how do i clear the "number of times played" field in mala layout?
« Reply #11 on: September 22, 2009, 01:31:22 pm »
ok, i tried this, and had mixed success.  i can make a new game list and add games from the main game list, and successfully use this method to clear number of plays.   however the game list that i actually care about will not clear.  i tried it on two different computers...i go through, it says it replaced 49 entries and then i save it, but the number of plays are still there.  i tried opening that game list in the editor and saving it as a different name, still nothing. this game list was created on an older version of mala, then brought over into the 1.0.4.5 version that we have now...i am assuming that is part of the problem.

i guess we will just have to make a new list...i just wish there was an easy way to do this.

Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2036
  • Last login:May 21, 2019, 03:35:59 pm
  • Posts: 48,764
Re: how do i clear the "number of times played" field in mala layout?
« Reply #12 on: July 22, 2013, 05:08:09 pm »
Sorry to drag up such an old thread but has anyone ever figured this out?
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

Wade007

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 309
  • Last login:April 06, 2017, 01:33:35 pm
  • A MAME cabinet at home is heaven
    • bit.ly/1cWnoIC
    • Cheapskategamer.com
Re: how do i clear the "number of times played" field in mala layout?
« Reply #13 on: July 23, 2013, 10:44:32 am »
Maybe I'm looking at this question in an overly simplistic way, but can't you just right click on the Mala menu you want to clear the count on and select "Refresh game list".

Whenever I do that on my Mala set up (IE: when I add new games) it zeros out the playcount for all the games in that menu.
My Super Arcade cabinet project:
Software blog article: http://bit.ly/1cWnoIC

Hardware blog article: http://bit.ly/1dWxjvP

YouTube video: http://bit.ly/1N818Xm

Super Arcade Cabinet Progress thread (Now Complete):
http://forum.arcadecontrols.com/index.php/topic,123292.0.html

Frontend Video Intro: http://bit.ly/1P9HPDN

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8529
  • Last login:Today at 09:40:35 pm
  • ...
Re: how do i clear the "number of times played" field in mala layout?
« Reply #14 on: July 23, 2013, 02:48:53 pm »
Maybe I'm looking at this question in an overly simplistic way, but can't you just right click on the Mala menu you want to clear the count on and select "Refresh game list".

Whenever I do that on my Mala set up (IE: when I add new games) it zeros out the playcount for all the games in that menu.

That and SGT's method above would lead me to believe that the play count is stored in the gamelist (as are a lot of things in MALA).....

You can convert the gamelist to a simple text file using mlgconverter.exe from this thread:
http://forum.arcadecontrols.com/index.php/topic,101104.0.html
Make the changes to the games you want, then convert it back.
That would allow you to do it on a per-game basis.

I'm not saying this works and don't have time to mess with it myself, but it's something to try.
Please report back if it works.  (I think it should!  ;D )
« Last Edit: July 23, 2013, 02:51:49 pm by BadMouth »

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2036
  • Last login:May 21, 2019, 03:35:59 pm
  • Posts: 48,764
Re: how do i clear the "number of times played" field in mala layout?
« Reply #15 on: July 23, 2013, 04:02:42 pm »
Maybe I'm looking at this question in an overly simplistic way, but can't you just right click on the Mala menu you want to clear the count on and select "Refresh game list".

Whenever I do that on my Mala set up (IE: when I add new games) it zeros out the playcount for all the games in that menu.

Ya, I could go that route. Tho it means I would have to go thru and remove some of the games I don't want on the list, again. Was hoping for an easier fix. I guess maybe I should just delete them out of the rom file all together. Lazy  ;D
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2963
  • Last login:Yesterday at 01:48:54 pm
  • RIP Dinosaur Hippo
Re: how do i clear the "number of times played" field in mala layout?
« Reply #16 on: May 30, 2019, 05:20:51 pm »
I know this is a very old thread, but i'm setting up a cab for a friend and i copied the mame and mala directories over from my cabinet.  I'd really like to clear the number of times played for these games so he can start from scratch on his system. 

Mala seems to have fallen by the wayside now, but it works well and I know how to use it.  Do any of you know how to clear this out?

Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade