There are some games in mame saving credits even after leaving the game and the emulator, for example tapper and timber. That's not a big problem at all, but maybe some of us (like me) prefer to start a game without credits. It seems there was some discussion about it (also in this forum and many years ago) but I did not find a solution to the problem except some clue that the information was stored in the NVRAM files in mame/nvram folder.
If anybody is interested in a workaround that works for me you may read further.
Step 1:
Get a hex editor with command line functionality, I use Hexciting.
Find out, where the credit information is stored. I did it for timber and tapper.
Step 2:
Create a batch-file. For use with Hexciting and the games timber and tapper it would look like this:
@ECHO OFF
IF %1==timber (
hexciting -a -r 0x11 0x12 C:\emu\mame\nvram\timber\nvram 00
)
IF %1==tapper (
hexciting -a -r 0x11 0x12 C:\emu\mame\nvram\tapper\nvram 00
)
mame64.exe %1
Explanation of the command line:
a: performs an AND-Operation
r: the range of bits where the credit information is stored (I found the information at 0x11 but still I had to write 0x11 0x12)
C:\...: path of the certain NVRAM-file
00: setting the credits to 0
Step 3:
Tell your frontend to start that batch-file instead of mame.
For me this works surprisingly good. Maybe it is of use for someone else.
And if someone knows of other games saving credits, I am interested to hear about.