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 becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

Script to Display Graphics on a Secondary Monitor


Recommended Posts

Posted

I haven't been able to connect to the internet for awhile... Anybody miss me? :(

I wrote a script to display graphics on a secondary monitor. You can use it to display graphics on your primary display as well. You can display as many items you want, in any configuration that you want. It is fully customizable, but even without a GUI, it is still pretty easy to make changes.

Before I get too long-winded, and people stop reading, I want to thank Skippybox at the Iview Forums for all of the guidance.

I'm not sure if it matters, but I have my monitors set up in "Dual View" mode.

Download this package, and unzip it to C:\

Marqueemaker.7z

Download IrfanView, and put a copy of i_view32.exe into each of these folders, in the C:\Marqueemaker directory:

Bottom

FullScreen

Top

TopMiddle

TopLeft

TopRight

Yes, I have 6 versions of Irfan view in 6 folders. The reason for this is that it makes it simple to adjust the windows to your screen, and to arrange them any way you wish. And it is simpler than managing all of the .ini files. I am running a resolution of 1680 x 1050 on my display, so you may be happy with the way everything is set up, if not, then you will want to set up each copy of i_view32.exe.

I have 4 windows at once on my setup, so run TopMiddle, Topleft, TopRight, and Bottom at the same time, and arrange the windows to suit your display. Shut down all instances of i_view32.exe.

Next, run i_view32.exe, in the Top, and Bottom folders, and adjust Top as necessary. (Bottom is set previously)

Finally run i_view32.exe in the Fullscreen folder, and maximize it.

You shouldn't have any problems, if you use the iview_32.ini file provided in each folder, but these are the important settings in Iview:

post-2333-1225278650_thumb.jpg

post-2333-1225278697_thumb.jpg

Use the Advanced Configuration, and make these changes:

post-2333-1225278783_thumb.jpg

post-2333-1225278948_thumb.jpg

That's it For GameEx, and Mame!

********************************************************************

I also have a setup for VPinMame, and Future Pinball, to display a screen while they load.

For Future, All you need to do is to change the commandline from:

"Future Pinball.exe" /open "[ROMPATH]\[ROMFILE]" /play /exit

to:

"C:\Marqueemaker\FuturePinballScript.exe" "[ROMPATH]\[ROMFILE]"

********************************************************************

For Vpinmame, Delete "[apppath]\vpauto.exe" from Also Launch, and change the commandline from:

..\VPinball.exe -play -"[ROMFILE]"

to:

"C:\Marqueemaker\VPinballScript.exe" "[ROMFILE]"

********************************************************************

I also include an example of how to setup a basic emulator, Saturn.

Change the commandline from:

SSF.exe

to:

"C:\Marqueemaker\SaturnScript.exe"

********************************************************************

You can substitute any image you want for the images that I have in the "My Images" folder. You can also change how many images to display in each situation by adding a ; in front of any line you don't want to use.

For Example, If you don't want to use Topright in the MameScript, then just add a semicolon in front of Gosub, TopRight, like this:

;Gosub, TopRight

See I told you it was easy! :P

I am having serious internet problems, so I have to go to my mom's to connect. I will answer questions when I can...

Posted

BUGGER! My mom reset the modem without telling me. :angry: I saved my post before I hit reply, and I can see all of the attachments in my control panel,but they are not linked... Can one of the mods fix this? Please? If not, I can re-upload them...

Posted
BUGGER! My mom reset the modem without telling me. :angry: I saved my post before I hit reply, and I can see all of the attachments in my control panel,but they are not linked... Can one of the mods fix this? Please? If not, I can re-upload them...

Sorry but I dont see any attachment to manage. Must be a cached session you see. You may need to re-upload.Once you do Id like permission to host your configs in the sticky topic.

One of these days soon I need to update the main page with all your guys good stuff.

Thanks Tempest this will make alot of people happy.

Posted

Thanks for looking into it Brian, I updated the attachments. I'm just glad I had the foresight to save the text...

You can do anything you want with my stuff, I won't delete it when you end up pissing me off! ;):lol:

I hope people do like it, when I first got everything to display correctly, I was pretty happy, even though it was crashing Mame, and I couldn't play the games! :P

It looks like they have my internet working at home, it only took a week!

Tempest has made it to the Stickies! :) (After only 1390 posts!) :lol:

Posted

I installed the monitor in my marquee today...

post-2333-1225411234_thumb.jpg

Top left: CPWizard showing controls for this game

Top middle: Cpanel image of this game (leaves no doubt as to the proper controls for the game)

Top right: CPWizard image of the Admin buttons to run the emulator

Bottom: Marquee for this Game

This is sweet! Anybody could walk up, and run the cabinet with the directions displayed on the monitor! B)

I probably should have shown Tempest in the Picture. ;)

Posted

I was tweaking this, and adding support for Daphne. I learned something new along the way. In the advanced configuration program it is impossible to set the option <Daphne.exe> to anything other than "daphne.exe". You can't browse for it, and can't change it by hand! It sorta makes me wonder why the option is there... Perhaps so I will know what to name my script? ;)

  • 2 weeks later...
Posted

Hey Tempest I set this up and it "kinda" works?

1) How do you control "how many" and "which particular" iview32 windows open? By default my top and bottom windows seem to the ones opening up. For me I would just want to use a single iview32 window for the game marquee on my second monitor.

2) Most importantly! How do you get a marquee to show for a particular game? When i launched a game, it just showed the GameEx logo(s)? I was hoping when I launched a mame game "like ms. pacman" the marquee for ms.pacman would automatically display in the ivew32 window. is that not how it works?

in the "bottom" config file is put it this way

[Open]

OpenDir=C:\Marqueemaker\My Images\

OpenIndex=1

[MRUD]

Dir1=

Dir2=K:\BACKUP\EMULOADER\marquees

Dir3=K:\BACKUP\EMULOADER\cpanel

Dir4=

Dir5=

Dir6=

Dir7=

Dir8=

Dir9=

Dir10=

[Viewing]

FitWindowOption=2

UseResample=1

ViewAll=1

ShowHiddenFiles=1

ContextMenu=0

FullScreen=0

FS_RMouse=0

[Resize]

ResampleFilter=5

ResizeAspectRatio=1

UseResample=1

Sharpen=0

PercUsed=0

But the marquee for the game doesn't show up. It just stays on the default GameEx logo.

3) When I launch GameEx now it does a couple of weird screen flickers and when GameEx actually executes it minimizes itself to the taskbar. And the iview32 windows show up. And I can see my desktop. I have to then manually click on GameEx in my taskbar to get it to go full screen.

thx!

Posted
Hey Tempest I set this up and it "kinda" works?

1) How do you control "how many" and "which particular" iview32 windows open? By default my top and bottom windows seem to the ones opening up. For me I would just want to use a single iview32 window for the game marquee on my second monitor.

2) Most importantly! How do you get a marquee to show for a particular game? When i launched a game, it just showed the GameEx logo(s)? I was hoping when I launched a mame game "like ms. pacman" the marquee for ms.pacman would automatically display in the ivew32 window. is that not how it works?

in the "bottom" config file is put it this way

thx!

You would have to edit the script to do that, but now that somebody else is actually going to try it, I will add a gui to help you set it up the way you want. I write stuff to suit me, and if nobody else want to use it, well, that suits me too! :P

But yes, it will display the proper marquee for the game when it is run.

Stick with me, I'm glad that someone else is interested.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...