larous25 / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Can't switch back from rumble to mempak in Beetle Adventure Racing after a race #392

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Operating System: Gentoo
 - Machine type: 32-bit
 - Mupen64Plus version: 1.99.3
- Plugins used:
'Mupen64Plus OpenGL Video Plugin by Rice' v1.99.3
'Mupen64Plus SDL Audio Plugin' v1.99.3
'Mupen64Plus SDL Input Plugin' v1.99.3
'Hacktarux/Azimer High-Level Emulation RSP Plugin' v1.99.3

Describe the problem:
When I start Beetle Adventure Racing it detects and loads my save file. I start 
a race and press the rumble pak switch button when asked to (by the game) and 
rumble events work during the race. After the race when the game is trying to 
save the data, I press the mempak switch button when prompted (again by the 
game), I feel the emulator respond with a light rumble, but the game keeps 
asking me to remove the rumble pak and insert the controller pak. 

Please provide any additional information below.
When the game starts and it checks for a mempak, I can switch to the rumble pak 
and attempt to load my save (which of course fails). If after doing this I 
switch back to the mempak, it loads the data with no issue.

Also, I don't press the rumble switch button when prompted and press it later 
during the race, rumble events in the game do not work, but saving does.

Original issue reported on code.google.com by pjga...@gmail.com on 5 Oct 2010 at 3:33

GoogleCodeExporter commented 8 years ago
I thought this issue was fixed in v1.99.3, about 10 days before the tag:

http://bitbucket.org/richard42/mupen64plus-input-sdl/changeset/8192c18ef0ca

Can you please test again with v1.99.4 and see if this issue is still present?

Original comment by richard...@gmail.com on 1 Dec 2010 at 1:56

GoogleCodeExporter commented 8 years ago
Problem still exists with v1.99.4, in the same way as previously described.

Original comment by pjga...@gmail.com on 31 Jan 2011 at 8:27

GoogleCodeExporter commented 8 years ago

Original comment by richard...@gmail.com on 22 May 2011 at 4:30

GoogleCodeExporter commented 8 years ago
I just pushed a fix for this in the input-sdl plugin.  It turns out that the 
game code didn't expect the controller plugin pak to switch instantaneously.  
For the game ROM code to work properly, it expects to see a pack removed (and 
no pack in the controller), and then a new pack in the controller.  Only then 
will it try to determine the pack type.  I have modified the input-sdl plugin 
to add a 1-second delay in which there is no pak in the controller when 
switching pak types.  Beetle Adventure racing works properly with this change.

Original comment by richard...@gmail.com on 4 Mar 2012 at 5:00