This commit is contained in:
laz 2024-07-20 16:44:11 +08:00
parent 3d7e23a379
commit cda0b32686

View file

@ -7,7 +7,7 @@ Games that you want to run with MAME should be put under the `retrodeck/roms/mam
## Enable cheats ## Enable cheats
RetroDECK already ships the cheat file from [Pugsy's Cheats]](https://www.mamecheat.co.uk/) as part of the cheat folder. RetroDECK already ships the cheat file from [Pugsy's Cheats](https://www.mamecheat.co.uk/) as part of the cheat folder.
To enable cheats open MAME via the Configurator (we plan to make this easier later). To enable cheats open MAME via the Configurator (we plan to make this easier later).
@ -16,6 +16,17 @@ In the MAME interface go to -> `General Settings` -> `Miscellaneous Options` ->
When you launch a game open the `Quick Menu` and go to the `Cheat` menu to toggle cheats for that game. When you launch a game open the `Quick Menu` and go to the `Cheat` menu to toggle cheats for that game.
## Applying effects such as Shaders and Scanlines
First read up on BGFX effects on [BGFX MAMEdev](https://docs.mamedev.org/advanced/bgfx.html)
We
1. Go to `~/.var/app/net.retrodeck.retrodeck/config/mame/ini`
2. Open the `mame.ini` with your text editor of choice.
3. Find `OSD VIDEO OPTIONS` and edit the value: `video` from `opengl` to `bgfx`.
4. Find `GFX POST-PROCESSING OPTIONS` and edit the value: `bgfx_screen_chains` fron `nothing` to `what ever value you want` from the BGFX link. Example value from MAME: `bgfx_screen_chains`: `crt-geom`,`pillarbox_left_horizontal`,`pillarbox_right_horizontal`.
## MAME Standalone Folders ## MAME Standalone Folders
MAME Standalone comes with several folders for various assets and files. MAME Standalone comes with several folders for various assets and files.