LogoLogo
Retrobat WebsiteForumGithub
English
English
  • Welcome!
  • Get Started
    • Prerequisites
    • Installation & First Startup
    • RetroBat Folder Structure
    • Adding a game
    • Running a game
    • Adding BIOS files
  • NAVIGATION
    • Navigation Keys
    • Hotkeys
    • System View and Game View
    • Main Menu
    • View Options
    • Game Options
    • Configuration of systems and games
    • Scraping & Metadata
    • Game Collections
  • Systems & Emulators
    • Arcade Guide
    • Supported Game Systems
      • Game Consoles
        • 3DO
        • Actionmax
        • Adventure Vision
        • Amstrad GX4000
        • APF MP-1000
        • Arcadia 2001
        • Atari (consoles)
          • Atari 2600
          • Atari 5200
          • Atari 7800
          • Atari XEGS
          • Jaguar
          • Jaguar CD
        • Bally Astrocade
        • Casio Loopy
        • Channel F
        • ColecoVision
        • Commodore (game consoles)
          • Amiga CDTV
          • Amiga CD32
        • Intellivision
        • Lowres NX
        • Microsoft (consoles)
          • Xbox
          • Xbox 360
        • NEC (consoles)
          • PC Engine/TurboGrafx-16
          • PC Engine CD-ROM/TurboGrafx-CD
          • SuperGrafx
          • PC-FX
        • Nintendo (game consoles)
          • Nintendo Entertainment System - Family Computer
          • Family Computer Disk System
          • NES 3D
          • Super Nintendo Entertainment System - Super Famicom
          • Satellaview
          • SuFami Turbo
          • Super NES MSU-1
          • Super Game Boy
          • Nintendo 64
          • Nintendo 64 Disk Drive
          • GameCube
          • Wii
          • WiiU
          • Switch
        • Philips CD-i
        • Odyssey²
        • Othello Multivision
        • PV-1000
        • Sega (game consoles)
          • SG-1000
          • Master System - Mark III
          • Megadrive - Genesis
          • Megadrive - Genesis (MSU)
          • Mega-CD - Sega-CD
          • Sega 32X
          • Saturn
          • Dreamcast
        • SNK (game consoles)
          • Neo Geo
          • Neo Geo CD
        • Sony (game consoles)
          • PlayStation
          • PlayStation 2
          • Playstation 3
          • Playstation 4
        • Super Cassette Vision
        • Super A'Can
        • Uzebox
        • VC4000
        • Vectrex
        • Vircon32
        • VTech
          • CreatiVision
          • V.Smile
      • Portable Game Consoles
        • Arduboy
        • Atari (portable game consoles)
          • Lynx
        • Gamate
        • Game.com
        • Game Pocket Computer
        • Game Master
        • Game & Watch
        • GP 32
        • LCD Games
        • Mega Duck
        • Nintendo (portable game consoles)
          • Game Boy
          • Game Boy MSU
          • Game Boy 2 players
          • Virtual Boy
          • Game Boy Color
          • Game Boy Color 2 players
          • Game Boy Advance
          • Game Boy Advance 2 players
          • Nintendo DS
          • Pokémon Mini
          • Nintendo 3DS
        • Nokia
          • N-Gage & Symbian
        • Sega (portable game consoles)
          • Game Gear
        • SNK (portable game consoles)
          • Neo Geo Pocket
          • Neo Geo Pocket Color
        • Sony (portable game consoles)
          • PlayStation Portable
          • PlayStation Vita
        • Supervision
        • Wonderswan
          • WonderSwan
          • WonderSwan Color
      • Home Computer
        • Acorn Computers
          • Archimedes
          • ATOM
          • BBC Micro
          • Electron
        • Amstrad CPC
        • Apple
          • Apple II
          • Apple IIGS
        • Atari (computers)
          • Atari 800
          • Atari ST
        • Camputers Lynx
        • Coleco Adam
        • Pegasus
        • Commodore (computers)
          • Commodore PET
          • Commodore VIC-20
          • Commodore 64
          • Commodore Plus/4
          • Commodore 128
          • Amiga 500
          • Amiga 1200
          • Amiga 4000
        • Dragon 32/64
        • Fujitsu
          • FM-7
          • FM-TOWNS
        • Mattel
          • Aquarius
        • Microsoft (computers)
          • MSX
          • MSX2
          • MSX2+
          • MSX turbo R
        • NEC (computers)
          • NEC PC-8800
          • NEC PC-9800
        • Oric Atmos
        • Philips
          • P2000t
          • VG5000µ
        • Sam Coupé
        • Sharp
          • Sharp X1
          • Sharp X68000
        • Sinclair Research
          • ZX 81
          • ZX Spectrum
        • SpectraVideo (SV-318)
        • Thomson - MO/TO
        • TI-99/4A
        • Tomy Tutor
        • TRS-80 Color Computer
      • Arcade
        • Atomiswave
        • Capcom Play Systems
          • CPS I
          • CPS II
          • CPS III
        • Cave CV1000
        • Final Burn Neo
        • Gaelco
        • HomeBrew MAME
        • Hyper Neo Geo 64
        • LaserDisc
        • MAME
        • Namco 246/256
        • SEGA
          • Sega Model 2
          • Sega Titan-Video
          • Sega Model 3
          • Sega NAOMI
          • Sega NAOMI 2
          • Sega Hikaru
          • Triforce
          • Sega Chihiro
        • TeknoParrot
        • Zinc
      • Game Engines
        • EasyRPG
        • GemRB
        • IKEMEN
        • Löve
        • Lutro
        • MUGEN
        • Open Beats Of Rage
        • Singe
        • Solarus
      • Pinball
        • Future Pinball
        • Pinball FX
        • Pinball FX2
        • Pinball FX3
        • Pinball M
        • Visual Pinball
        • Zaccaria Pinball
      • Others
        • Cannonball
        • Cave Story
        • CDogs
        • Commander Genius
        • DevilutionX
        • Dinothawr
        • Doom III
        • DOS
        • Duke Nukem 3D
        • Flash
        • GzDoom
        • Java ME
        • Karaoke
        • OpenGOAL
        • OpenJazz
        • Perfect Dark
        • Pico-8
        • Ports
        • PrBoom
        • Quake
        • Quake 2
        • Raze
        • REminiscence
        • Ship Of Harkinian
        • Starship
        • Sonic 3 AIR
        • Sonic Mania
        • Sonic Retro
        • Super Mario War
        • ScummVM
        • The Force Engine
        • Theme Hospital
        • TIC-80
        • Tomb Raider
        • TV Games
        • WASM-4
        • Windows
        • Wolfenstein 3D
  • Controllers
    • Supported Controllers
      • 🎮Gamepads
        • Special controllers
      • 🕹️Arcade Sticks
      • 🔫Lightguns
        • WiimoteGun
      • 🛞Wheels
      • ⌨️Keyboard
    • Controllers Configuration
    • Gun controls
    • Emulator specific controls mapping
      • Dolphin controller mapping
      • MAME64 controller mapping
      • Model2 controller mapping
      • RetroArch controller mapping
    • Pad2Key
  • Advanced Features
    • Decorations (bezels)
    • Updates & Content Download
    • Kiosk and Kid mode
    • Save States
    • Retroachievements
    • Netplay
    • AI Translation Service
    • Batgui
    • retrobat.ini
    • Latency and blur reduction
    • Softpatching
  • TUTORIALS
    • Know issues & fixes
    • Symbolic links
    • Adding RetroArch Shader Sets to Retrobat
    • Customize Mega-Bezels
Powered by GitBook

Copyright The RetroBat Team 2019-2024

On this page
  • Location of Shaders
  • Retrobat
  • RetroArch
  • Adding a new Shader in the Retrobat menu

Was this helpful?

Export as PDF
  1. TUTORIALS

Adding RetroArch Shader Sets to Retrobat

PreviousSymbolic linksNextCustomize Mega-Bezels

Last updated 11 months ago

Was this helpful?

Retrobat comes bundled with a set of shaders, however it does not include all shaders available in Retroarch.

You can manually add new Shader Sets to the Retrobat menu for libretro cores, here is the procedure.

Location of Shaders

Retrobat

Shaders available in Retrobat are located in the \system\shaders\configs folder of your Retrobat installation.

RetroArch

Shaders available in Retroarch are located in the \retroarch\shaders\ folder of your Retrobat installation.

They are sorted first by type of shader (glsl or slang):

  • GLSL: Shader format available to OpenGL.

  • Slang: New and recommended shader format, when available. Compatible with Vulkan, Direct3D 10/11/12, OpenGL Core.

Retrobat will automatically search in the right folder based on the video driver defined for the system.

Example of shader folders for GLSL:

Adding a new Shader in the Retrobat menu

Let's say you want to add the Shader "advcartoon" to Retrobat, the shader is available both for GLSL and SLANG:

The shader is located in the \retroarch\shaders\shaders_xxxx\cel folder and is named "advcartoon.glslp".

To add it to Retrobat, go to the \system\shaders\configs folder and create a new folder, name it for example "advcartoon":

Inside this folder, create a file called "rendering-defaults.yml":

Open the file with your notepad and add the following text:

default:
  shader: <retroarch shader folder>/<shader filename without extension>

In our example it will be:

default:
  shader: cel/advcartoon

The shader set will now appear in Retrobat:

Some shaders can be adapted for specific systems, trying to reproduce in a more precise way their effects. It's possible to use different shaders per-systems on the same rendering-defaults.yml file. For this, adding the name of the system for which the shader should be different from the default one.

Finally, some standalone emulators can also use the retroarch shaders. In this case, the name of the emulator should be add as an additionnal line.

To avoid risk of loosing his homemade presets within RetroBat update, consider saving your new configs folders aside, to replace them easily if needed.