Quiet startup option?

I’m messing around with RetroArch on a Raspberry Pi (RetroPi). Everytime a game is started up, it spews out stuff in the terminal that I’d rather not see. Stuff like:

performance Found ROM file header (and ignored it). “ActRaiser-2 USA” [checksum ok] HiROM, 16Mbits, Type: ROM only, Mode: 21, TV: NTSC, S-RAM: 0kb, ROMId: ??? Company: ?? RetroArch [WARN] :: [GL] Stock GLSL shaders will be used. ondemand

While I’m sure that this is useful information for some people to see, it would be really nice to at least make it optional. There is a --verbose flag for retroarch. Maybe a --quiet flag would be nice too so that nothing prints out to the console. Any chance at something like this for the Linux release?

In case anyone is wondering, the reason I’m asking for this is because I run multiple emulators that are launched from a frontend (Emulation Station). Right now when you launch a game from there, the frontend suspends itself, then you see RetroArch spit out stuff in the terminal, then it starts up. Would be excellent if there was a --quiet option so that the terminal screen stayed black/blank. It would be nice a seemless.

Any opinions on this? Does RetroArch have a github repo for contributing?

In Linux you can redirect the output, thus

retroarch ROM > /dev/null 2>&1

will redirect all output (including errors) from retroarch to “/dev/null”, you wont see anything.

If you’d like to submit a patch, you can go to https://github.com/libretro/RetroArch, but ufopaper’s solution should handle what you’re wanting.

Oh yeah I didn’t even think about that. Thanks, ufopaper!