Main > Software Forum

Johnny 5 beta 2.0 released!

<< < (5/10) > >>

papaschtroumpf:
haven't looked at it it great details but it sounds like the right idea.

I do have a mode important problem though: the "vanilla" AHK script from HC rarely unpauses MAME properly. It does dome of the time but not always. So then I have to press P again to get back in the viewer (which also unpauses MAME since it saw the P, so now the game playing in the background) and press P again to exit the viewer, and then most (some) of the time mame stays unpaused because it didn't see the P press from the script on exiting Johnny.


I played around with it and I'm stumped. I was trying it pacman because when the ROm firswt start up you see colored patterns going very fast on the screen. I added a 3 second delay after exiting johnny before sending the P key to MAME and I sometimes see the screen in MAME update for a fraction of a second. Just as if it had received the P key twice in a row really fast. Maybe that
s a hint as to what's wrong.

mccoy178:
Is there a way that once mame is paused, another key could be pressed to bring up johnny 5?  I wondered if mame could be paused, I could press P1B1 to bring up the viewer, then exit back out of it.  The timing is still off when unpausing mame, and I would like the option to view the controls when needed, as it takes some time to bring it up.

papaschtroumpf:
yes you can do something like that pretty easily.
I think that's what Tiger-Heli does, so he may have a script to share.

Tiger-Heli:

--- Quote from: papaschtroumpf on October 11, 2005, 05:14:12 pm ---haven't looked at it it great details but it sounds like the right idea.

I do have a mode important problem though: the "vanilla" AHK script from HC rarely unpauses MAME properly. It does dome of the time but not always. So then I have to press P again to get back in the viewer (which also unpauses MAME since it saw the P, so now the game playing in the background) and press P again to exit the viewer, and then most (some) of the time mame stays unpaused because it didn't see the P press from the script on exiting Johnny.


I played around with it and I'm stumped. I was trying it pacman because when the ROm firswt start up you see colored patterns going very fast on the screen. I added a 3 second delay after exiting johnny before sending the P key to MAME and I sometimes see the screen in MAME update for a fraction of a second. Just as if it had received the P key twice in a row really fast. Maybe that
s a hint as to what's wrong.

--- End quote ---
Yes that's been a big problem with the script all along.  (I think it's probably only a MAME problem, but that's 95% of what people are using it for). . .

See http://fe.donkeyfly.com/forum/index.php?topic=162.msg1015#msg1015 BTW, adjusting the "sleep" timings had little effect for me, I tried values from 250 to 25000 and still got the errors.  Worse - 1942 played fairly well, but 1943 never did, so I'm not sure you can use the same timings with all games.

BTW, that's exactly what the "sleep timers" and block input lines, and the whole ScreenState=-1 stuff is trying to overcome, but it doesn't look like it's there yet . . .

I did see something in the AHK help file on multithreading, and thought maybe disabling this would help, but haven't experimented with it, if you're feeling adventurous.

Tiger-Heli:

--- Quote from: mccoy178 on October 11, 2005, 06:28:22 pm ---Is there a way that once mame is paused, another key could be pressed to bring up johnny 5?
--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version