Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

@CT - Are any of your impacted emulators setup with launch before or after settings?

@Adultery - will this have any impact on the plugin's behavior if so, or should the plugin override?

Posted

I had no lauch before or launch after settings when I was using the plugin. When the plugin is on, all emulators and games are affected. However, when I disable the plugin and use the launch before and after, it does not minimze.

Posted

Adultery: How are you launching XPAdder?

If you're using the Process class have you tried setting:

process.StartInfo.WindowStyle = ProcessWindowStyle.Minimized;

That way it should not steal focus or cause GameEx to minimize.

  • 3 months later...
Posted

Hi!

I've got the problem too

When i use Xpadder plugin and launch a game, then gameex is minimized and i can see the xpadder icon in the tray. The game is not launched at this time

If i click the Gameex tab in the taskbar,then gameex return fullscreen and launch the game

After 4 seconds, i can see a window (cmd.exe) in background and then gamex return to the game page

The games is still running in the background.........

I think it's the same problem as Chaos Tiki.

But this issue doesn't seemes to have a solution.

I've tried all advices in this thread without any result...

Anyone?? :)

Thanks

Posted

OK, I'm trying Ben's suggestion... But I think the issue is only applying to people who have multiple controller profiles in Xpadder (say you have an XBOX 360 controller profile and a PS3 controller profile, I think the file type is ControllerName.xpaddercontroller).

To rule this out I changed the ProcessWindowStyle.Hidden process window style to ProcessWindowStyle.Minimized

Please try the attached and let me know if it works for you or not. :)

Posted

Same thing for me with 1.06!

:(

I have only one controller profile, but i use a file : 360.xpadder controller

Should i have to put my settings to default to get rid of this??

Posted

I'm trying something out. Maybe I can get the GameEx window handle and restore it after it launches Xpadder. Try this one and let me know if it works. I may need to make it sleep for a minute though.

Posted

Same problems, doesn't seems to change anything for me, even with your last file.

What is the cmd.exe window opened in background??

I can't see any text in it.

Strange..

Posted

That's because of this:

To rule this out I changed the ProcessWindowStyle.Hidden process window style to ProcessWindowStyle.Minimized

I'll revert that after testing. I added a sleep to the window refocus, I'll upload it in a few.

Posted

OK, I added a 3 second pause. Try it now. :)

The main reason I can't fix this is because I can't reproduce it, so bear with me please! I'll get it there.

Posted

Same for me with the last file. Gameex take 3 seconds to minimize before i click on "play the game" but it's the same pb, gamexex minimize, the game is not launched.

But if i click on the gameex tab in the taskbar where gameex was minimized, then the game launch with a cmd.exe windows on background, then the game play about 20 second and then gameex return to fullscreen leaving the game and the cmd.exe window running in background

I can record a video of the problem if it can helps

Thanks

Posted

I think it might be prudent to take a few steps back and ask a few more questions. First, is this occurring with all emulators you are running or just one or more specific emulators? Second, if the later (one or more specific emulators), can you please provide a copy of your emulator config file(s)? You can obtain this by accessing Setup Wizard, highlighting the emulator in question (from the emulator enabled column), and clicking the Export Emulators button (last one in the center of the two columns). Also, a copy of your emulator ini file from \GameEx\CONFIG\EMULATORS\IMPORT-EXPORT may be of help.

Posted

F**k I really wish I knew how to fix this. :(

Maybe I can launch the window restore on a thread and sleep the thread instead (the problem may be occurring after the plugin launches the EXE, then it sleeps causing GameEx to wait, then the window minimizes). Let me try something.

Posted

Try this one:

Posted

Try going through each of the following settings and try setting them as 1/0 and seeing if it makes a difference.

[Options]
StartMinimized=0
MinimizeWhenClosingMainWindow=1
RememberWindowPositions=1
AllowMultiMonitorWindowPositions=1
AutoMinimizeOnOpenProfile=0
ReturnToSet1AfterMinimizeRestore=1
ShowTaskbarButtonWhenMinimized=0
ShowIconInNotificationArea=1

I had quite alot of issues dealing with MAME's windows in CPWizard. As you may have noticed the way windows appear to work also seems to be different based on the PC's configuration.

The MaLa guys had similar issues their FE losing focus and wrote a plugin called the MaLa Focus Logger.

Perhaps we need a little app that will log the top most window if it changes. I guess the article How to Find the Handle of the TopMost Window is a good start.

  • Like 1
Posted

I had quite alot of issues dealing with MAME's windows in CPWizard. As you may have noticed the way windows appear to work also seems to be different based on the PC's configuration.

The MaLa guys had similar issues their FE losing focus and wrote a plugin called the MaLa Focus Logger.

Perhaps we need a little app that will log the top most window if it changes. I guess the article How to Find the Handle of the TopMost Window is a good start.

Wow, a top most window logger would be awesome! I've had issues with SwitchDisc determining which window is (or should be) set as topmost and when.

Posted

With the last file, it's a little bit better, i explain :

i click on "play the game", then gameex minimize, but return to focus itself after about 3 seconds,then it launch the game (with the cmd.exe windows on background), so for now it's quite good

but after 20 second, gamexex return to focus, leaving the game launched in background.

It's a bit better because the game is launched now and gameex is not freezed in the taskbar

i'll try headkaze settings to see if it helps

Posted

I've found that gameex return to focus after game is launched only with pc games, it has to do with .lnk files i think,but i've tried with a SNES emulator and the game keeps focus after it is launched ( but gamex minimize always at start )

I've headkaze settings but no one give a better result.

The problem deals with the launch of xpadder.exe because i've put another .exe in the plugin configuration to see what it does and gameex doesn't minimize

Xpadder seems to be launched at start of gameex too, whenever i've not allowed it for Gameex interface, is it normal??

Perhaps if it's launched twice, the process xpadder.exe turns on focus and minimize gameex.

I don't know

Posted

So it's not working this way either... Or it works sometimes?

Please get me a copy of your xpadder.log from GameEx>Plugins>Xpadder after you try the attached.

Posted

Ok i've tested the last file and nothing better than the one before

Here is my log attached

As i've said, settings are applied and game is launched now and game keep the focus so this part is good and works.

But before it launch the game (when i click on "play the game"), gameex is minimized, there is about 3 seconds waiting, and then game is launched

Thanks for you support

xpadder.zip

Posted

That's due to the 3 second delay I added. I'll turn it down to 1 second and please try it again:

Is that better? I mean the way I'm handling this problem there's always gonna be that "flash" between games, it's more a matter of finding the right timing to get around something beyond my control. ;)

:EDIT: This one might be a workaround for sleeping, let me know if it works. :)

Guest
This topic is now closed to further replies.
×
×
  • Create New...