Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08670 Misc. Minor Always Jun 17, 2023, 22:29 Jun 25, 2023, 05:11
Tester Balthier View Status Public Platform MAME (Official Binary)
Assigned To hap Resolution Fixed OS Windows 10/11 (64-bit)
Status [?] Resolved Driver
Version 0.255 Fixed in Version 0.256 Build 64-bit
Fixed in Git Commit 2321f5c Github Pull Request #
Summary 08670: All sets on stv.cpp: Coin counters increase at each boot up though credits are not being added, coin inputs not working correctly
Description When running a game, the coin counters numbers in the machine's cfg file will increase by 1 on each start up even though credits are not being added by the user. The 6 key for Coin 2 only increases the first coin counter.
Steps To Reproduce 1. run any of the affected games ( https://github.com/mamedev/mame/blob/master/src/mame/sega/stv.cpp#L3842 ).
2. let the game run for a little bit, just don't add any credits.
3. exit the game, go to your cfg directory and examine the game's cfg file. The coin counter numbers should be at 1 now.
4. run the same game and repeat step 2.
5. repeat step 3, and the counters will now be at 2.

Now try pressing the 6 key in-game to add credits, only the first counter will increase.
Additional Information Example stvbios.cfg after one run, no credits added:
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="stvbios">
        <counters>
            <coins index="0" number="1" />
            <coins index="1" number="1" />
        </counters>
        <image_directories>
            <device instance="cartridge1" directory="" />
            <device instance="cartridge2" directory="" />
            <device instance="cartridge3" directory="" />
            <device instance="cartridge4" directory="" />
        </image_directories>
        <ui_warnings launched="1687026710" warned="1687026710">
            <feature device="scsp" type="sound" status="imperfect" />
        </ui_warnings>
    </system>
</mameconfig>

Tested all the way back to 0.120 and always does this, so maybe not a bug?
Watching the bookkeeping in the UI the counters go up as soon as something is rendered to the screen for the system. Loading just the stvbios with no game even adds to the counters.

Something odd to note with the game pclub2fc: with the 6 key I was able to credit feed the first coin counter after I had caused it to lockout by accidentally mashing the 5 key too quickly. Is this broken or normal? I know the game is marked MNW, but that's for the camera, printer, and sound. Wondering if I should make a separate report about it. I tried this on some other machines on the driver and the lockout never kicked in or those games don't have one. I attached an image of what I'm talking about.
Github Commit
Flags
Regression Version
Affected Sets / Systems All sets on stv.cpp
Attached Files
png file icon pclub2fc_lockout_creditfeed_6.png (166,908 bytes) Jun 17, 2023, 22:29 Uploaded by Balthier
Balthier
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.21568
hap
Developer
Jun 18, 2023, 09:03
Coincounters were inverted.
If you change coin settings in test mode, 6 will increment coincounter 2 (similar to other Sega games)

The (locked) message you saw is for the coin chute, not the coincounter. Why the game locked it? Maybe it thinks you tried to tamper with the coin slot, you mashed the 5 key quicky afterall. Some games also limit the amount of credits, and will lock it when the max has reached, maybe it was that.