Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03635 Gameplay Critical (emulation) Random Jan 3, 2010, 14:37 Sep 11, 2019, 04:22
Tester Agriffin View Status Public Platform MAME (Official Binary)
Assigned To Roberto Fresca Resolution Fixed OS
Status [?] Resolved Driver
Version 0.136 Fixed in Version 0.214 Build
Fixed in Git Commit Github Pull Request #
Summary 03635: cpoker, cpokert: Games freezing during play
Description Both games lockup randomly during gameplay.
Pressing F3 after it locks up brings it back but if you try to continue play it locks up again.
Steps To Reproduce Clock say 20 credits and just play betting in 1, you rarely get to play the 20 credits before lockup.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems cpoker, cpokert
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
14
User avatar
No.05374
Fujix
Administrator
Jan 3, 2010, 17:45
I confirmed the game freezes randomly.
In my case, the game stopped when I tried to draw cards, then I reset the game and tried to draw cards with the 1 key, it freezes again.
User avatar
No.15791
mdqgames
Tester
Nov 16, 2018, 19:38
(Haze) > if you look in WRITE8_MEMBER(igspoker_state::custom_io_w)
there is a basic protection simulation (which could really just be returning data from a fixed table, the first returns are the letters IGS, which is not uncommon) maybe some values are missing for those games.

Above Haze gave the hint of where the problem is and actually although they are similar the games in this series are not the same and do not use the same table, so the freezing occurs. You must map the correct values ​​and implement the tables correctly for these games. At the moment they should be labeled "No working".
User avatar
No.16513
mdqgames
Tester
Jun 6, 2019, 15:01
In some tests it is possible to note that the locking occurs only when the appearance of a pair of high cards of the same color (J-Q-K-A)
User avatar
No.16867
Roberto Fresca
Developer
Sep 8, 2019, 06:18
Ufff....
There are multiple instances with protection routines.
I'm working on them, but...
Were these games working properly before, or just locked since begining?

at least cpokerx and cpoker101 also locks (and have wrong lamps)...
Could anyone help checking which sets locks and which ones not, so I can focus just to unprotect them?
User avatar
No.16868
Roberto Fresca
Developer
Sep 8, 2019, 06:44
I know that cpoker101 is MNW, but also with cpoker300us could be treated since they have the same protection type, and I can work it.
So, I need testing these, and if also cpoker300us locks...
User avatar
No.16869
Osso
Moderator
Sep 8, 2019, 07:29
I played cpoker300us for 30 coins and couldn't lock it.
User avatar
No.16871
Roberto Fresca
Developer
Sep 8, 2019, 14:00
I also tried cpoker300us without locks, but this set also has all the protection code routines too, so I expected get stuck at some point...
Anyway... Will try to commit a workaround for at least the two first sets, since they are related to this report.
Once fully checked, will see for the remaining sets to append, or just will open a new report.
User avatar
No.16873
mdqgames
Tester
Sep 9, 2019, 00:27
They have always been freezing. Cpoker, cpokerx and cpokert freeze during the game.
User avatar
No.16880
Roberto Fresca
Developer
Sep 9, 2019, 23:48
Ok... Seems that all sets have these evil prots in different offsets doing basically the same. Will do the first two games and let you know...
User avatar
No.16882
Roberto Fresca
Developer
Sep 10, 2019, 03:23
Done...
Try these three sets with the new commit.
Please test them, and the other sets to see how behave...
User avatar
No.16885
mdqgames
Tester
Sep 10, 2019, 14:51
The whole set now seems to work well, with no freezes or visible issues that hinder gameplay.
(I also tested with standard nvram and there were no problems either)
User avatar
No.16892
Roberto Fresca
Developer
Sep 11, 2019, 02:00
There are other evil prot instances where the code doesn't seems to reach. This is why I asked to test them exhaustively.
And the remaining sets?... Could someone confirm?
User avatar
No.16893
Roberto Fresca
Developer
Sep 11, 2019, 02:47
> (I also tested with standard nvram and there were no problems either)

What NVRAM?... These games currently haven't NVRAM support.
I will investigate where is the problem adding it, since all thes protection scheme is pointing to some hardcoded registers in the original NVRAM.
User avatar
No.16894
mdqgames
Tester
Sep 11, 2019, 04:22
So far there has been no freezing. As for the cited nvram, I implemented support in my build to test how it behaved and also more easily manipulate higher values in counters to test for possible crashes. I couldn't hit more significant prizes like royal flush or five jokers to make sure they don't lead to freezing.