I found this solution that it takes text from romlist voices (Players, Emulator, etc...)
this is close to what I want, but is not available for systems or displays.
What's the way to show a string matched to display or emulator in use?
local emu_text = fe.add_text ( "", flx*0.01, fly*0.01, flw*0.30, flh*0.03 );
emu_text.set_rgb( 255, 255, 255 );
emu_text.font="RobotoMono-Medium";
emu_text.align = Align.Left;
fe.add_transition_callback("selection_transition");
function selection_transition( ttype, var, ttime ) {
if ( ttype == Transition.ToNewSelection) {
local emu_name = fe.game_info(Info.Emulator);
emu_text.msg = emu_name;
}
return false;
}
Thanks!