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. Thank you for your support. Tom Speirs

Patreon

[RESOLVED] Launch After issues [FIXED!]?


Krakerman

Recommended Posts

I think the Launch After may not be working correctly. Reason being is I am using Display Fusion command line to change the desktop wallpapers for each MAME game to display different images on each of my monitors by using the following command prompt:

Launch Before:

C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe -wallpaperloadprofile ""[ROM]""

Launch After:

C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe -wallpaperloadprofile ""Default Profile""

Well the launch before works just fine but when I exit the MAME game nothing happens on the desktop or any of the other monitors as it should display the wallpapers I set in the Default Profile. I tested both command lines outside GameEx and it works just fine. Any ideas? I like being able to use Display Fusion to change the wallpapers as essentially it works like GameExtender except I could display different images on every monitor per game.

Link to comment
Share on other sites

Has this ever worked? Can you provide a log file from immediately following? Per the DisplayFusionCommand Line Tool documentation the Launch After line should probably read C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe -wallpaperloadprofile "Default Profile" (single quotes).

Link to comment
Share on other sites

I tried single and double quotes and it doesn't work. Outside GameEx it works just fine. The Launch Before works perfect just need the after to work.

Looking at the log file shows no launch after happening???? So to me looks like it isn't working correctly in GameEx.

I have even tried the PlugIn Launch plugin and it doesn't work either. Yeah to be honest I do believe in the past the Launch After has never worked for me in GameEx thinking about it but it's been awile and figured if Tom has it in there then it should be working cuz what is the point then. If you or anyone else has Display Fusion try it for yourself and let me know.

Link to comment
Share on other sites

When using the plugin instead of Launch Before/After I get a black screen on Monitor 2 and 3 and when exiting everything looks fine as the wallpaper on all the monitors goes back to the default. Very strange.

Noticed the plugin says it's 2.2 but when you lauch the configure plugin is says it's 2.0 if that means anything at all. Just took notice of that.

Link to comment
Share on other sites

Why no quotes in the executable itself, as it has spaces?!?

C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe -wallpaperloadprofile ""Default Profile""

Should be:

"C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe" -wallpaperloadprofile ""Default Profile"" 
  • Like 1
Link to comment
Share on other sites

Thanks fReq! that fixed the issue.

Here is the correct commands for those wanting to do this with Display Fusion:

Launch Before:

"C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe" -wallpaperloadprofile ""[ROM]""

Launch After:

"C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe" -wallpaperloadprofile ""Default Profile""

Link to comment
Share on other sites

Your first post worked! Thanks again :D

Using Display Fusion you can now display images in png, jpg, bmp, gif on multiple monitors from within GameEx. So you can have a Marquee on one monitor and Instruction Card or another type of images on another one for example. Then when you exit it will switch back to your default profile restoring all the desktop wallpapers back to the default images. So to set it up you need to create profiles in Display Fusion for each of your games with the names to match the zip files (without the extension of course) example: if your game is named pacman.zip create a profile in Display Fusion called pacman. For each profile change the wallpaper for each monitor and then add the comand lines I mentioned previosly (With the help of fRequEnCy who got it working) in your emulator config Launch Before/After and now each time you run the game you will have those images displayed on those monitors.

Of course to use this you need to buy the full version for it to work.

Link to comment
Share on other sites

Not sure how many profiles can be created within Display Fusion but I sent them an e-mail tonight to answer that very question. I'll let you guys know what the say when I hear back from them. Unless there is a limit then this method will work pretty good.

Link to comment
Share on other sites

I am going to keep beating people over the head until they get this:

Troubleshooting using runitgame.bat would have shown the error. In fact, the exact same error that I used as an example in my 'How to ask for help' Topic.

If you get this error:
'Emulator name.exe' is not recognized as an internal or external command, operable program or batch file.
It means that either you have the incorrect name specified for your Emulator.exe, or your working path is incorrect.
Link to comment
Share on other sites

Definitely the most underused troubleshooting technique as well as debug mode (which isn't available in mame mode so this is an exception). What I can't figure out is how in the world it worked in the launch before if it would have given the same issue?!? :blink:

Link to comment
Share on other sites

I tried single and double quotes and it doesn't work. Outside GameEx it works just fine. The Launch Before works perfect just need the after to work.

Looking at the log file shows no launch after happening???? So to me looks like it isn't working correctly in GameEx.

I have even tried the PlugIn Launch plugin and it doesn't work either. Yeah to be honest I do believe in the past the Launch After has never worked for me in GameEx thinking about it but it's been awile and figured if Tom has it in there then it should be working cuz what is the point then. If you or anyone else has Display Fusion try it for yourself and let me know.

Above shows the OP states that the Launch Before works perfect. Yet to me it wouldn't since quotes were not used there as well.

I never know what I'm talking about and you are sure right about post being too long for my attention either. LOL. :P

Link to comment
Share on other sites

I assumed that it had something to do with the {space} in Default Profile.

Then you caught the space in the path, and solved the problem.

I wonder of the Romname in the before line had spaces in it.

Link to comment
Share on other sites

Ok he wrote me back today about the number of profiles you can create in Display Fusion and he says it's unlimited!

Edited by nullPointer
This topic has been marked as resolved and is now closed. Please begin a new thread if you are experiencing any similar issues.
Link to comment
Share on other sites

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