Vectrex Overlay idea not working plz help

I have been messing with Vectrex overlays & borders off and on for months.

Thought I had a good idea of using a full screen overlay as a border and adding a button image that fills the game viewport.

The button image would be the coloured game overlays the Vectrex uses.

Anyway can’t get it to work. Please have a look at my files if you are any good with overlays

https://drive.google.com/file/d/0B1v5ou8ATmXwU0p4SWJBVjNpdG8/view?usp=drivesdk&resourcekey=0-MTcP23YO-IhdDim2glo4gg

Your .cfg is wrong. Since you are using two overlays you have to define both of them in the .cfg

overlays = 2 overlay0_overlay = X.png overlay1_overlay =Y.png

See details here: https://github.com/libretro/RetroArch/wiki/Overlay-image-configuration

Thanks for the reply @GeoMan

I am trying to use the “per-button” overlay option so think the button image is defined as a “desc”. I read it that you can only have one overlay onscreen at a time with the overlays defined like you said.

I really hope I can get 2 images onscreen at the same time.

The way you’ll want to do it is have both overlays act like buttons with normalized coordinates and make them both take up the entire screen, with the images wherever you would want them to be in the final product:

[code]overlays = 1 overlay0_full_screen = true overlay0_normalized = true overlay0_name = “berserk”

overlay0_descs = 2 overlay0_desc0 = “nul,0.5,0.5,rect,1.0,1.0” overlay0_desc0_overlay = berzerk.png overlay0_desc1 = “nul,0.5,0.5,rect,1.0,1.0” overlay0_desc1_overlay = bezel.png[/code] This album has the images all set up how you would need them: http://imgur.com/a/v40nC

You’ll also need to use a custom aspect ratio in settings > video, with X Pos of 703, Y Pos of 111, Width of 497 and Height of 617.

You can pack in more overlays into this one cfg by duplicating this setup for overlay1, overlay2, etc. Just remember that you’ll need to load all of the images into memory when it’s loaded, so that can take a long time with a lot of images in there. You’ll probably also want to go ahead and make the game overlay semi-transparent in your image editor while the bezel stays at 100%.

If you want to make the buttons active (i.e., they do stuff when you click on them with your mouse or touchscreen or whatever), you’ll want to add those as overlay0_desc2, -desc3, etc. with no image attached and just give them the normalized coordinates of the buttons in the bezel image.

Thanks or putting up with my Vectrex BS :slight_smile: @hunterk

I’m slowly understanding how this works now. I loaded up your cfg and done some other messing about. Things are clearer now.

I made a start on just combining the images as it’s clear I can’t do what I wanted directly with overlays easily.

I guess if I could find an easy way to figure out the normalised button coordinates for the Vectrex overlay to fit in the bezel image windowthat would achieve my preferred outcome.

If you know a way to do that you would be a star

I was really trying to avoid editing the images.

Sure, you can do that, it’s just going to be super-fiddly. It’s much, much easier, I think, to just position it in the right spot on the full 1920x1080 canvas. Blank space doesn’t really take up a lot of bits, either, so it’s not like it’s a space problem.

1 Like

Well I made a start combining the images

It’s going to take a while!! But easier than trying to find the coordinates and simplier than doing them as buttons.

Thanks for the help Hunterk

Nice, you finally figured out how to get the Vectrex system overlay along with the game overlay going. I’m trying to do something similar but not having much success, may just have to combine images and call it a day. Hey hunterk, when you get a chance do you think you can help me in my thread here?

https://forums.libretro.com/t/adding-overlays-within-overlays/9448