New-ish test version (1 Viewer)

Squega

Portal Member
October 21, 2008
25
0
Southern California
Home Country
United States of America United States of America
A while ago I made some changes to this plugin and only now i've realized that I haven't made a separate thread for it and others are having the problems that I fixed because they don't know about the updates. :D

This test version with the fix can be acquired by going to the repository (the first post in the My Emulators sticky), downloading the RAR file there, and extracting it to MP.

This is the changelog for what I did:

Code:
-There is now an option within emulator
 configuration to toggle Mediaportal to
 automatically suspend itself and its 
 rendering while an executed ROM is running.
 This behavior now happens automatically 
 for PC games.
-The initial load of this plugin
 after opening Mediaportal or its
 configuration is no longer slow. 
  -A menu has been added to the 
   Game Database section named "Refresh Games 
   Database" menu in the configuration 
   that checks for any new roms within each 
   emulator's ROM directory. This functionality
   used to be called when the emulator
   initially loaded, causing the slowdown.
   [b]NOTE FOR THIS POST: This behavior was modified a bit after this item was written to where MP acts the same way before the change 
and the 'performance fix' can be toggled on/off from within the configuration in case you want the plugin to 
automatically update ROM listings without having to regenerate the listings in the configuration.[/b]
-A new menu has been added to the Configuration
 under the Game Database named "Backup/restore
 database" that will do a complete dump of all
 the information in the database of your 
 emulators and games (including PC games) to an
 XML file and allow you to restore it back to 
 the database.
-An option was added to the configuration 
 under the Options section that sets this 
 plugin to only display PC games.
-Pressing a number key to skip to a letter
 section in a list of games no longer runs
 the first game highlighted.
-Directories within ROM listings are now
 alphabetically sorted.

Please note that this test version doesn't include anything that TioSolid is working on right now.

Feedback on these changes would be appreciated. I'd like to attempt to fix any possible bugs that come up so when these changes go live there won't be any show-stopping problems. I run with this test version at home and I have hit a couple of bugs, but I need some help reproducing them.
 

Squega

Portal Member
October 21, 2008
25
0
Southern California
Home Country
United States of America United States of America
Is this version still executes a game on any Remote control / Keyboard press?

I don't know about any keyboard press, but I fixed that problem when a number key was pressed to skip to a section starting with a letter. It's the last item on the list in the post above.

As I mentioned I have been running with these changes for a while and I haven't had a single issue similar to this. I do however need more testing done.
 

vadimz

Portal Member
December 10, 2008
19
0
Home Country
Is this version still executes a game on any Remote control / Keyboard press?

I don't know about any keyboard press, but I fixed that problem when a number key was pressed to skip to a section starting with a letter

The problem is not just number keys, but also any other key that is used as a short cut key in MP. This is what happens in my setup...

* I start a game by selecting it with a remote control (Nintendo64 using Project64)
* I play the game (using my Gamepad)
* I close the game by pressing "Stop" button on my remote control which is Mapped to "alt + F4" using EventGhost (www.eventghost.org)

Now if I keep the stop button pressed for even a millisecond too long.... after Project64 closes and focus returns to MP it catches the stop button press (which back in MediaPortal is the "B" key) and starts the game under the cursor again and again and again ... you get the point.

So that is my problem, I cannot stop a game by using stop button on my remote control.... because MyEmulators executes a game on any key press...
:(:(:(:(
 

Squega

Portal Member
October 21, 2008
25
0
Southern California
Home Country
United States of America United States of America
I think see what's happening there.

Since in the version of the plugin you have MP is still running behind the emulator you are playing. When you press the 'B' button it causes the emulator to close, but since MP and the MyEmulators plugin are still running it intercepts the keypress of 'B'. There was a bug with this plugin where if you pressed a key to skip to a letter section of ROMs, such as 'B' in this case, the selected rom will skip to the first title beginning with 'B' and also execute that selected title at the same time. This test version has a fix for this bug.

I recommend you give the test version a shot. It might have fixed your problem. Please report your findings back to me when you can.
 

Users who are viewing this thread

Top Bottom