RetroPie cocktail shader

If your monitor and menu are both in the normal, landscape orientation, don’t use the portrait version, use the normal version. Here are my settings to get a doubled NES image on a 4:3 aspect ratio:

If you’re going to be using the monitor and the menu in portrait mode (e.g., if you use your operating system to rotate the image completely), use the portrait version of the shader. Here are my settings to get a doubled NES image on a 3:4 (i.e., portrait) aspect ratio:

1 Like

Hello again! I want to say THANKS to hunterk and goldfinger007 for you help and support! Looks like I have finally figured out with NES, SNES and SEGA systems! Unfortunately, look’s like there is no retroach options for MAME, so I don’t know how to make mirrored split screen there. May be you will give me one more advice, but I am already happy!!!:blush: THANK YOU!

Hey, looks great! I’m glad you got it worked out.

For MAME, you should be able to handle it just like the others, but I think the latest MAME (the one without any year after the name) might have a cocktail mode built-in through the MAME OSD menu. I don’t know much about that, though.

1 Like

Can you tell me which systems also use Retroach menu so I can make games mirroring on it?

you should be able to use the shader on any libretro core, even MAME. I only mentioned the MAME OSD one because it might be more consistent with different games’ resolutions, etc.

I was trying to make screen mirroring one MAME but still haven’t found any games for it :frowning: Some of them have “cocktail mode” but it’s only rotate screen 180 degrees when there is Players 2 turn.

Anyone have an idea why when I apply the cocktail-shader-portrait.glsl nothing happens?

The most likely reason is that it’s failing to compile for some reason. Try opening from a command line with --menu --verbose and it should print any compiler errors to the console window.

Thank you for the quick reply. I’m running this on a Raspberry Pi 2b. Not sure I know how to complete the task you mentioned.

That depends on how you’ve installed RetroArch. Are you using Lakka? Retropie? something else?

Sorry I should have mentioned that at the beginning. I’m using retropie on a raspberry pi 2b.

Ok, Retropie puts stuff in weird places, so it may be easier to modify the launch lines from EmulationStation to create a log. Just throw this at the end of one of the launch lines:

–verbose --log-file ~/log.txt

and it will drop a verbose log into your home directory. Paste the log’s contents somewhere like pastebin.com and then post a link to it here and I’ll take a look.

I’m sorry. I’ve tried figuring this out. But can you direct me what time to edit to add the line of code. I can use the time manager to navigate and edit.

I’m afraid I don’t know anything about Retropie/EmulationStation and can’t really provide any more info than I already have.

I just wanted to say thanks for the help. I figured it out. When trying to save the shaders to put onto my Raspberry Pi, it was saving all the header and html information. I switched it to raw view and copied that data and saved it with a text editor program. Boom, now it’s working. Now my next step is figuring out how to create configurations that automatically load when starting a rom or emulator. Thought I’d upload a picture of the arcade I built for my wife. Thanks again.

1 Like

Ah, yeah, that happens often.

That table looks beautiful, by the way!

You should be able to use the ‘save core/game preset’ options from the shader menu to do it.

Hello, To start sorry to dig up this topic and sorry for my english (google translation). Already, thank you for the work done on this beautiful cocktail shader that works perfectly well with my config already quite a lot of systems (see photo).

New photo by Jerome Boulinguez

That being said, I have a little problem with this one on some systems and some arcade games. I can not call the 2 zones correctly: I have a zone in the center that is superimposed, when I modify the parameter “image separation”, it still remains a white zone and moreover, it removes pixels in low image (see photos). When I reduce the zoom, it fixes the problem of missing pixels but suddenly, I can not display the area across the width of the screen.

New photo by Jerome Boulinguez New photo by Jerome Boulinguez

I tried to understand the programming of the shader but I did not understand anything and I can not find the changes to make to avoid these 2 problems. If you can give me a hand, it’ll be really good of you Thanks again, MarbleMad

VOFR : Bonjour, Pour commencer désolé de déterrer ce sujet et désolé pour mon anglais (google traduction). Déjà, merci pour le travail effectué sur ce superbe shader cocktail qui fonctionne parfaitement bien avec ma config déjà pas mal de systèmes (voir photo). Ceci étant dit, j’ai un petit problème avec celui-ci sur certains systèmes et certains jeux arcade. Je n’arrive pas à caller correctement les 2 zones : J’ai une zone au centre qui se superpose, quand je modifie le paramètre « image séparation », il reste tout de même une zone blanche et de plus, cela enlève des pixels en bas d’image (voir photos). Quand je réduis le zoom, cela régle le problème des pixels manquant mais du coup, je n’arrive pas à afficher la zone sur toute la largeur de l’écran. J’ai essayé de comprendre la programmation du shader mais je n’ai rien compris et je n’arrive pas à trouver les modifications à effectuer pour éviter ces 2 problèmes. Si vous pouvez me filer un coup de main, ça serai vraiment super de votre part Merci encore, MarbleMad

If you’re using the ‘image separation’ parameter, I think you’re using a very old version of the shader. Try updating and see if it treats you any better.

I’m using this one : https://github.com/bengalaviz/RetroPie

Is it the latest version?

I have also just figured out how to increase the minimum and maximum image height in the script. I was able to exceed the image height has more than 2 which allows me to zoom out and still have the area in any width. I almost reached my goal alone

No, the latest version is here: