<?xml version="1.0" encoding="UTF-8"?>
<!-- es_features.cfg edited for RetroBat. -->
<features>
  <!-- SHARED FEATURES -->
  <sharedFeatures>
    <feature name="SHOW TATTOO OVER BEZEL" value="global.tattoo" description="Show a control image overlaid on top of the bezel." preset="switch"/>
    <feature name="SHOW TATTOO OVER BEZEL" value="tattoo" description="Show a control image overlaid on top of the bezel." preset="switchauto"/>
    <feature name="RESIZE TATTOO" value="global.resize_tattoo" description="Shrink/expand tattoo to fit within the bezel's border." preset="switch"/>
    <feature name="RESIZE TATTOO" value="resize_tattoo" description="Shrink/expand tattoo to fit within the bezel's border." preset="switchauto"/>
    <feature name="TATTOO CORNER" value="global.tattoo_corner" description="Select corner of the screen where the tattoo will appear.">
      <choice name="TOP LEFT" value="NW"/>
      <choice name="TOP RIGHT" value="NE"/>
      <choice name="BOTTOM RIGHT" value="SE"/>
      <choice name="BOTTOM LEFT" value="SW"/>
    </feature>
    <feature name="TATTOO CORNER" value="tattoo_corner" description="Select corner of the screen where the tattoo will appear.">
      <choice name="TOP LEFT" value="NW"/>
      <choice name="TOP RIGHT" value="NE"/>
      <choice name="BOTTOM RIGHT" value="SE"/>
      <choice name="BOTTOM LEFT" value="SW"/>
    </feature>
    <feature name="INTEGER SCALING (PIXEL PERFECT)" value="global.integerscale" preset="switch"/>
    <feature name="INTEGER SCALING (PIXEL PERFECT)" value="integerscale" preset="switchauto"/>
    <feature name="FORCE FULLSCREEN" value="global.forcefullscreen" preset="switch" description="Force emulator in fullscreen even if RetroBat is windowed"/>
    <feature name="FORCE FULLSCREEN" value="forcefullscreen" description="Force emulator in fullscreen even if RetroBat is windowed" preset="switchauto"/>
    <feature name="PREFER EXCLUSIVE FULLSCREEN" value="global.exclusivefs" description="When available, prefer exclusive fullscreen for emulators." preset="switch"/>
    <feature name="PREFER EXCLUSIVE FULLSCREEN" value="exclusivefs" description="When available, prefer exclusive fullscreen for emulators." preset="switchauto"/>
    <feature name="VIDEO MODE" value="global.videomode" preset="videomodes"/>
    <feature name="VIDEO MODE" value="videomode" preset="videomodes"/>
    <feature name="GAME ASPECT RATIO" value="ratio">
      <choice name="4/3" value="4/3"/>
      <choice name="16/9" value="16/9"/>
      <choice name="16/10" value="16/10"/>
      <choice name="16/15" value="16/15"/>
      <choice name="21/9" value="21/9"/>
      <choice name="1/1" value="1/1"/>
      <choice name="2/1" value="2/1"/>
      <choice name="3/2" value="3/2"/>
      <choice name="3/4" value="3/4"/>
      <choice name="4/1" value="4/1"/>
      <choice name="9/16" value="9/16"/>
      <choice name="5/4" value="5/4"/>
      <choice name="6/5" value="6/5"/>
      <choice name="7/9" value="7/9"/>
      <choice name="8/3" value="8/3"/>
      <choice name="8/7" value="8/7"/>
      <choice name="19/12" value="19/12"/>
      <choice name="19/14" value="19/14"/>
      <choice name="30/17" value="30/17"/>
      <choice name="32/9" value="32/9"/>
      <choice name="Config" value="config"/>
      <choice name="Square pixel" value="squarepixel"/>
      <choice name="Core provided" value="core"/>
      <choice name="Custom" value="custom"/>
      <choice name="Full" value="full"/>
    </feature>
    <feature name="SCREEN ORIENTATION" value="RotateScreen" description="This setting will rotate your windows desktop, it will not be set back when exiting game.">
      <choice name="Normal" value="0"/>
      <choice name="90°" value="1"/>
      <choice name="180°" value="2"/>
      <choice name="270°" value="3"/>
    </feature>
    <feature name="VIDEO ROTATION" value="RotateVideo">
      <choice name="Normal" value="0"/>
      <choice name="90°" value="1"/>
      <choice name="180°" value="2"/>
      <choice name="270°" value="3"/>
    </feature>
    <feature name="MONITOR INDEX" value="MonitorIndex" description="Games will be displayed on the monitor corresponding to the selected index.">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
      <choice name="9" value="9"/>
      <choice name="10" value="10"/>
    </feature>
    <feature name="ENABLE HDR" value="enable_hdr" description="Enable HDR for HDR-compatible displays." preset="switchauto"/>
    <feature name="CRT SCREEN OUTPUT" value="CRTSwitch">
      <choice name="OFF" value="0"/>
      <choice name="15KHz" value="1"/>
      <choice name="31KHz (Standard)" value="2"/>
      <choice name="31KHz (120Hz)" value="3"/>
      <choice name="FROM INI FILE" value="4"/>
    </feature>
    <feature name="CRT SCREEN RESOLUTION" value="CRTSuperRes">
      <choice name="Native" value="0"/>
      <choice name="Dynamic" value="1"/>
      <choice name="1920" value="1920"/>
      <choice name="2560" value="2560"/>
      <choice name="3840" value="3840"/>
    </feature>
    <feature name="GRAPHIC CARD INDEX" value="GPUIndex" description="Change this only if multiple GPU are used by your system.">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
    </feature>
    <feature name="VERTICAL SYNC" value="video_vsync">
      <choice name="no" value="false"/>
      <choice name="yes" value="true"/>
      <choice name="adaptative" value="adaptative"/>
    </feature>
    <feature name="HARD SYNC" value="video_hard_sync" description="Only compatible with OpenGL, hard-sync GPU and CPU. Reduce latency at the cost of inscreased performance requirements.">
      <choice name="no" value="false"/>
      <choice name="0 frame" value="0"/>
      <choice name="1 frame" value="1"/>
      <choice name="2 frames" value="2"/>
      <choice name="3 frames" value="3"/>
    </feature>
    <feature name="SWAP INTERVAL" value="video_swap_interval" description="Set this to effectively halve monitor refresh rate." preset="sliderauto" preset-parameters="1 4 1"/>
    <feature name="BLACK FRAMES INSERTION" value="video_black_frame_insertion" description="Usefull on some high refresh rate screen to eliminate ghosting." preset="sliderauto" preset-parameters="1 4 1"/>
    <feature name="INPUT POLLING BEHAVIOUR" value="input_poll_type_behavior" description="Depending on the configuration, can increase or decrease latency.">
      <choice name="EARLY" value="0"/>
      <choice name="NORMAL" value="1"/>
      <choice name="LATE" value="2"/>
    </feature>
    <feature name="G-SYNC/FREESYNC COMPATIBILITY" value="vrr_runloop_enable" description="Sync to exact content framerate. Only for G-Sync/FreeSync/HDMI-2.1-VRR compatible monitors." preset="switchauto"/>
    <feature name="SMOOTH GAMES (BILINEAR FILTERING)" value="global.smooth" preset="switch"/>
    <feature name="SMOOTH GAMES (BILINEAR FILTERING)" value="smooth" preset="switchauto"/>
    <feature name="SHADER SET" value="global.shaderset" preset="shaders"/>
    <feature name="SHADER SET" value="shaderset" preset="shaders"/>
    <feature name="VIDEO FILTERS" value="global.videofilters" preset="videofilters"/>
    <feature name="VIDEO FILTERS" value="videofilters" preset="videofilters"/>
    <feature name="DECORATIONS" value="global.bezel" preset="decorations"/>
    <feature name="DECORATIONS" value="bezel" preset="decorations"/>
    <feature name="REWIND" value="global.rewind" preset="switchon"/>
    <feature name="FAST FORWARD RATIO" value="global.fastforward_ratio" preset="sliderauto" preset-parameters="0 50 1 x"/>
    <feature name="FAST FORWARD RATIO" value="fastforward_ratio" preset="sliderauto" preset-parameters="0 50 1 x"/>
    <feature name="FAST FORWARD BEHAVIOR" value="fastforward_toggle" description="Define whether the 'fast-forward' shortcuts acts as a toggle or needs to be held.">
      <choice name="HOLD" value="0"/>
      <choice name="TOGGLE" value="1"/>
    </feature>
    <feature name="RESAMPLER" value="audio_resampler">
      <choice name="sinc" value="sinc"/>
      <choice name="CC" value="CC"/>
      <choice name="nearest" value="nearest"/>
      <choice name="none" value="null"/>
    </feature>
    <feature name="QUALITY" value="audio_resampler_quality">
      <choice name="Lowest" value="1"/>
      <choice name="Lower" value="2"/>
      <choice name="Normal (default)" value="3"/>
      <choice name="Higher" value="4"/>
      <choice name="Highest" value="5"/>
    </feature>
    <feature name="VOLUME GAIN" value="audio_volume" preset="sliderauto" preset-parameters="-80 12 2"/>
    <feature name="MIXER VOLUME GAIN" value="audio_mixer_volume" preset="sliderauto" preset-parameters="-80 12 2"/>
    <feature name="DSP PLUGIN" value="audio_dsp_plugin">
      <choice name="NONE" value="none"/>
      <choice name="BASS BOOST" value=":\filters\audio\BassBoost.dsp"/>
      <choice name="CHIPTUNE ENHANCE" value=":\filters\audio\ChipTuneEnhance.dsp"/>
      <choice name="CHORUS" value=":\filters\audio\Chorus.dsp"/>
      <choice name="CRYSTALIZER" value=":\filters\audio\Crystalizer.dsp"/>
      <choice name="ECHO" value=":\filters\audio\Echo.dsp"/>
      <choice name="ECHO REVERB" value=":\filters\audio\EchoReverb.dsp"/>
      <choice name="EQ" value=":\filters\audio\EQ.dsp"/>
      <choice name="HIGH SHELF DAMPEN" value=":\filters\audio\HighShelfDampen.dsp"/>
      <choice name="IIR" value=":\filters\audio\IIR.dsp"/>
      <choice name="LOW PASS CPS" value=":\filters\audio\LowPassCPS.dsp"/>
      <choice name="MONO" value=":\filters\audio\Mono.dsp"/>
      <choice name="PANNING" value=":\filters\audio\Panning.dsp"/>
      <choice name="PHASER" value=":\filters\audio\Phaser.dsp"/>
      <choice name="REVERB" value=":\filters\audio\Reverb.dsp"/>
      <choice name="TREMOLO" value=":\filters\audio\Tremolo.dsp"/>
      <choice name="VIBRATO" value=":\filters\audio\Vibrato.dsp"/>
      <choice name="WAHWAH" value=":\filters\audio\WahWah.dsp"/>
    </feature>
    <feature name="AUDIO SYNC" value="audio_sync" preset="switchauto"/>
    <feature name="REWIND" value="rewind" preset="switchauto"/>
    <feature name="AUTO SAVE/LOAD" value="autosave" preset="switchauto"/>
    <feature name="SOFTPATCHING" value="global.applyPatch" description="Define if patch should be applied and where patch files are located, 'AUTO' will apply patches if they are located near rom with same name as rom file.">
      <choice name="DISABLED" value="none"/>
      <choice name="PATCH IN PATCH SUBFOLDER" value="patchFolder"/>
      <choice name="PATCH IN ROM SUBFOLDER" value="subFolder"/>
    </feature>
    <feature name="SOFTPATCHING" value="applyPatch" description="Define if patch should be applied and where patch files are located, 'AUTO' will apply patches if they are located near rom with same name as rom file.">
      <choice name="DISABLED" value="none"/>
      <choice name="PATCH IN PATCH SUBFOLDER" value="patchFolder"/>
      <choice name="PATCH IN ROM SUBFOLDER" value="subFolder"/>
    </feature>
    <feature name="SHOW MENU ELEMENTS" value="OptionsMenu" description="Show or hide RetroArch settings. 'Auto' is the recommended setting.">
      <choice name="minimal" value="minimal"/>
      <choice name="full" value="full"/>
    </feature>
    <feature name="NOTIFICATIONS" value="OnScreenMsg" description="Display or not on-screen notifications." preset="switchauto"/>
    <feature name="DRAW STATISTICS" value="DrawStats" description="Display different level of information about performance statistics.">
      <choice name="FPS ONLY" value="fps_only"/>
      <choice name="MEMORY USAGE ONLY" value="mem_only"/>
      <choice name="FPS + MEMORY USAGE" value="fps_mem"/>
      <choice name="TECHNICAL STATS" value="tech_stats"/>
    </feature>
    <feature name="PRESS HOTKEYS TWICE TO EXIT" value="PressTwice" preset="switchauto"/>
    <feature name="GAMEPAD MENU COMBO" value="input_menu_toggle_gamepad_combo">
      <choice name="NONE" value="0"/>
      <choice name="DOWN+Y+R1+L1" value="1"/>
      <choice name="L3+R3" value="2"/>
      <choice name="L3+R1" value="5"/>
      <choice name="L1+R1" value="6"/>
      <choice name="HOLD START" value="7"/>
      <choice name="HOLD SELECT" value="8"/>
      <choice name="L2+R2" value="10"/>
    </feature>
    <feature name="RUN-AHEAD FRAMES" value="runahead" description="Use this setting to reduce input lag." preset="sliderauto" preset-parameters="0 12 1"/>
    <feature submenu="LATENCY REDUCTION" name="USE PREEMPTIVE FRAMES" value="preemptive_frames" description="Use preemptive frames instead of run-ahead, the run-ahead frame number applies." preset="switchauto"/>
    <feature submenu="LATENCY REDUCTION" name="RUN-AHEAD USE SECOND INSTANCE" value="secondinstance" preset="switchauto"/>
    <feature submenu="LATENCY REDUCTION" name="AUTOMATIC FRAME DELAY" value="video_frame_delay_auto" description="Automatically decrease frame delay temporarily to prevent frame drops. Turn off if this worsens audio/video stuttering." preset="switchauto"/>
    <feature name="ENABLE AI TRANSLATION SERVICE" value="ai_service_enabled" preset="switch"/>
    <feature name="TARGET LANGUAGE" value="ai_target_lang">
      <choice name="Dansk" value="Da"/>
      <choice name="Deutsch" value="De"/>
      <choice name="English" value="En"/>
      <choice name="Español" value="Es"/>
      <choice name="Français" value="Fr"/>
      <choice name="Hrvatski" value="Hr"/>
      <choice name="Italiano" value="It"/>
      <choice name="Magyar" value="Hu"/>
      <choice name="Nederlands" value="Nl"/>
      <choice name="Norsk" value="Nn"/>
      <choice name="Polski" value="Po"/>
      <choice name="Português" value="Pt"/>
      <choice name="Română" value="Ro"/>
      <choice name="Svenska" value="Sv"/>
      <choice name="Türkçe" value="Tr"/>
      <choice name="Čeština" value="Cs"/>
      <choice name="Ελληνικά (Greek)" value="El"/>
      <choice name="Русский (Russian)" value="Ru"/>
      <choice name="日本語 (Japanese)" value="Ja"/>
      <choice name="简体中文 (Chinese)" value="Zh"/>
      <choice name="한국어 (Korean)" value="Ko"/>
    </feature>
    <feature name="AI TRANSLATION SERVICE URL" value="ai_service_url" preset="input"/>
    <feature name="PAUSE ON TRANSLATED SCREEN" value="ai_service_pause" preset="switch"/>
    <feature name="ENABLE GUN" value="use_guns" preset="switchauto"/>
    <feature name="ENABLE WHEEL" value="use_wheel" preset="switchauto"/>
    <feature name="DISABLE GEAR STICK" value="wheel_nogearstick" description="Use this option when using a wheel without manual gear stick." preset="switchauto"/>
    <feature name="FORCE GEARSTICK DEVICE ID" value="gearstick_deviceid" description="Some gear stick are connected to computer with a different device id than the wheel, for example Thrustmaster sticks.">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
      <choice name="9" value="9"/>
    </feature>
    <feature name="DISCORD RICH PRESENCE" value="global.discord" description="Enable Discord Rich Presence service, this will update Discord status to show the games being played." preset="switch"/>
    <feature name="DISCORD RICH PRESENCE" value="discord" description="Enable Discord Rich Presence service, this will update Discord status to show the games being played." preset="switchauto"/>
    <feature name="TURBO MODE" value="enable_turbo">
      <choice name="CLASSIC (HOLD)" value="0"/>
      <choice name="CLASSIC (TOGGLE)" value="1"/>
      <choice name="SINGLE BUTTON (TOGGLE)" value="2"/>
      <choice name="SINGLE BUTTON (HOLD)" value="3"/>
    </feature>
    <feature name="TURBO ACTIVATION BUTTON" value="turbo_button" description="Define which button activates the turbo mode, this is not the button that is made turbo.">
      <choice name="LEFT TRIGGER (L2)" value="12"/>
      <choice name="RIGHT TRIGGER (R2)" value="13"/>
      <choice name="LEFT SHOULDER (L1)" value="10"/>
      <choice name="RIGHT SHOULDER (R1)" value="11"/>
    </feature>
    <feature name="TURBO BUTTON" value="turbo_default_button" description="Use this setting to define a default target turbo button.">
      <choice name="SOUTH (B)" value="0"/>
      <choice name="WEST (Y)" value="1"/>
      <choice name="EAST (A)" value="8"/>
      <choice name="NORTH (X)" value="9"/>
      <choice name="LEFT SHOULDER (L1)" value="10"/>
      <choice name="RIGHT SHOULDER (R1)" value="11"/>
      <choice name="LEFT TRIGGER (L2)" value="12"/>
      <choice name="RIGHT TRIGGER (R2)" value="13"/>
    </feature>
    <feature name="AUTOCONFIGURE CONTROLLERS" value="global.disableautocontrollers" preset="switchoff"/>
    <feature name="AUTOCONFIGURE CONTROLLERS" value="disableautocontrollers">
      <choice name="ON" value="0"/>
      <choice name="OFF" value="1"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT" group="ADVANCED SETTINGS" value="controller_layout" description="When using mapping from file for arcade systems, define the layout to use.">
      <choice name="CONTROLLER(SNES)" value="default"/>
      <choice name="MODERN 8 BUTTONS" value="modern8"/>
      <choice name="CLASSIC 8 BUTTONS" value="classic8"/>
      <choice name="8 BUTTONS ALTERNATIVE" value="8alternative"/>
      <choice name="6 BUTTONS" value="6alternative"/>
    </feature>
    <feature name="FORCE 1 PLAYER ONLY" value="force1pOnly" preset="switchauto" description="RetroBat will configure only the controller for player 1."/>
    <feature name="PAUSE ON DISCONNECT" value="pause_on_disconnect" preset="switchauto"/>
    <feature name="AUTOCONFIGURE EMULATOR" value="disableautoconfig">
      <choice name="ON" value="0"/>
      <choice name="OFF" value="1"/>
    </feature>
    <feature name="XBOX LAYOUT" value="xbox_layout" preset="switchauto" description="For Nintendo systems, invert A and B to match Xbox button names."/>
    <feature name="RETROACHIEVEMENTS HARDCORE MODE" value="retroachievements.hardcore" preset="switchauto"/>
    <feature name="KEYBOARD FOCUS" value="GameFocus" description="Disable keyboard shortcuts and give full access of Keyboard to the core. Toggle with 'Scroll Lock' key." preset="switchauto"/>
    <feature name="VIDEO" value="video_driver" description="The driver 'vulkan' will generally offer better performance if hardware compatible. Some libretro cores will force the choosen driver.">
      <choice name="opengl" value="gl"/>
      <choice name="opengl core" value="glcore"/>
      <choice name="directx 12" value="d3d12"/>
      <choice name="directx 11" value="d3d11"/>
      <choice name="directx 10" value="d3d10"/>
      <choice name="directx 9" value="d3d9"/>
      <choice name="vulkan" value="vulkan"/>
    </feature>
    <feature name="AUDIO" value="audio_driver" description="Choose the audio driver compatible with the hardware.">
      <choice name="xaudio" value="xaudio"/>
      <choice name="directsound" value="dsound"/>
      <choice name="SDL" value="sdl2"/>
      <choice name="wasapi" value="wasapi"/>
    </feature>
    <feature name="DECOMPRESSION" value="decompressedfolders" description="Keep or delete games files once extracted (squashfs, 7z)">
      <choice name="ALWAYS ASK" value="ask"/>
      <choice name="KEEP" value="keep"/>
      <choice name="DELETE" value="delete"/>
    </feature>
    <feature name="DECOMPRESSION PATH" value="decompressedpath" description="Change path for decompressed games (default is '\roms\.uncompressed')." preset="folder"/>
    <feature name="CONTROLLERS" value="input_driver" description="The driver 'xinput' will enable features like rumble effects. Choose 'sdl' for compatibility with a wide range of controllers.">
      <choice name="SDL" value="sdl2"/>
      <choice name="XINPUT" value="xinput"/>
      <choice name="DINPUT" value="dinput"/>
    </feature>
    <feature name="CONFIGURE SPECIAL KEYBOARD STICK" value="keyboard_arcade" description="use this option when using a pad recognized as keyboard (ipac, etc.)">
      <choice name="IPAC2" value="ipac2"/>
      <choice name="X-ARCADE TANKSTICK" value="tankstick"/>
    </feature>
    <feature name="SWITCH XINPUT INDEX" value="revertXIndex" description="Enable this if XInput controllers index are switched." preset="switchauto"/>
    <feature name="INVERT FACE BUTTONS" value="buttonsInvert" description="Invert A/B and X/Y buttons." preset="switchauto"/>
    <feature name="ANALOG DEADZONE" value="analog_deadzone" description="Ignore analog stick movement below this threshold." preset="sliderauto" preset-parameters="0 1 0.1"/>
    <feature name="ANALOG SENSITIVITY" value="analog_sensitivity" description="Sets the sensitivity of the analog sticks." preset="sliderauto" preset-parameters="-5 5 0.2"/>
    <feature name="INVERT TRIGGER/RELOAD" value="gun_invert" description="Activate this when using WiiZapper to invert trigger and reload buttons." preset="switchauto"/>
    <feature name="USE ONE GUN ONLY" value="one_gun" description="If multiple gun devices are connected, set this option to setup only one gun." preset="switchauto"/>
    <feature name="RELOAD WITH BUTTON" value="gun_reload_button" description="Use button to reload instead of offscreen-shot for guns that do not support offscreen shot." preset="switchauto"/>
    <feature name="SINDEN BUTTONS CONFIGURATION" value="global.sindenJoyMode" description="Define how to configure Sinden Gun.">
      <choice name="STANDARD" value="standard"/>
      <choice name="GAMEPAD MODE" value="joypad"/>
      <choice name="NO CONFIGURATION" value="none"/>
    </feature>
    <feature name="SINDEN BUTTONS CONFIGURATION" value="sindenJoyMode" description="Define how to configure Sinden Gun.">
      <choice name="STANDARD" value="standard"/>
      <choice name="GAMEPAD MODE" value="joypad"/>
      <choice name="NO CONFIGURATION" value="none"/>
    </feature>
    <feature name="WIIMOTE CONNECTION MODE" value="WiimoteMode" description="Define how you wiimote is connected to the DolphinBar.">
      <choice name="MODE 2 (NORMAL)" value="normal"/>
      <choice name="MODE 2 (GAME)" value="game"/>
      <choice name="MODE 4 (WIIMOTEGUN)" value="wiimotegun"/>
    </feature>
    <feature name="WIIMOTE FIX ASSOCIATION" value="WiimoteKbOrder" description="For some emulators, can be used to fix wiimote keyboard and mouse association when using 2 wiimotes." preset="switchauto"/>
    <feature name="KILL SINDEN SOFTWARE" value="sindenKill" description="When using a Sinden gun, kill the Lightgun software when game ends." preset="switchauto"/>
    <feature name="P1 MOUSE/GUN INDEX" group="ADVANCED SETTINGS" value="p1_gunIndex" description="Define mouse index to use for player 1.">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature name="P2 MOUSE/GUN INDEX" group="ADVANCED SETTINGS" value="p2_gunIndex" description="Define mouse index to use for player 2.">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature name="P3 MOUSE/GUN INDEX" group="ADVANCED SETTINGS" value="p3_gunIndex" description="Define mouse index to use for player 3.">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature name="P4 MOUSE/GUN INDEX" group="ADVANCED SETTINGS" value="p4_gunIndex" description="Define mouse index to use for player 4.">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature name="USE CUSTOM ARCADE STICK MAPPING" value="arcade_stick" description="Allows you to perform a dedicated mapping for your arcade stick based in 'arcade_sticks.json' file." preset="switchauto"/>
    <feature name="FORCE ARCADE STICK INDEX P1" group="ADVANCED SETTINGS" value="p1_stick_index">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
    </feature>
    <feature name="FORCE ARCADE STICK INDEX P2" group="ADVANCED SETTINGS" value="p2_stick_index">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
    </feature>
    <feature name="ANALOG TO DPAD MODE" group="ADVANCED SETTINGS" value="analogToDpad" description="Use Analog stick as D-PAD.">
      <choice name="NONE" value="0"/>
      <choice name="LEFT ANALOG" value="1"/>
      <choice name="RIGHT ANALOG" value="2"/>
      <choice name="LEFT ANALOG (FORCED)" value="3"/>
      <choice name="RIGHT ANALOG (FORCED)" value="4"/>
    </feature>
    <feature name="KILL LAUNCHER WHEN EXIT" value="global.killsteam" description="Set this to 'ON' to quit steam or Epic Game Launcher when quitting game." preset="switchauto"/>
    <feature name="KILL LAUNCHER WHEN EXIT" value="killsteam" description="Set this to 'ON' to quit steam or Epic Game Launcher when quitting game." preset="switchauto"/>
    <feature name="TRY TO READ EXECUTABLE IN BAT FILES" value="global.batexesearch" description="Disable this option to run directly a .bat or .cmd file without RetroBat trying to find the executable inside." preset="switchauto"/>
    <feature name="KEEP GAMES ADDED MANUALLY" value="global.storekeep" description="By default, RetroBat keeps sync between installed games and roms folder." preset="switchauto"/>
    <feature name="KEEP GAMES ADDED MANUALLY" value="storekeep" description="By default, RetroBat keeps sync between installed games and roms folder." preset="switchauto"/>
    <feature name="SCAN INSTALLED STORE GAMES (STEAM, EPIC...)" value="global.scanStore" preset="switch"/>
    <feature name="SCAN INSTALLED STORE GAMES (STEAM, EPIC...)" value="scanStore" preset="switchauto"/>
    <feature name="INCLUDE UNINSTALLED GAMES" value="global.scanStoreUninstalled" preset="switch"/>
    <feature name="INCLUDE UNINSTALLED GAMES" value="scanStoreUninstalled" preset="switchauto"/>
    <feature name="ALLOW GAME/CORE OPTIONS OVERRIDE" value="game_specific_options" description="By default, RetroBat discards core specific option files." preset="switch"/>
    <feature name="ALLOW GAME/CORE SHADERS OVERRIDE" value="use_shader_override" description="Enable this to enable shaders even when RetroBat has no shader set." preset="switch"/>
    <feature name="OVERRIDE BIOS PATH" value="bios_overrides" description="Point RetroArch 'system' directory to a different folder." preset="folder"/>
    <feature name="USE BUTTON FOR TRIGGER" value="buttonTrigger" description="Force button instead of axis for triggers, can help with Sony controllers." preset="switch"/>
  </sharedFeatures>
  <!-- GLOBAL FEATURES -->
  <globalFeatures>
    <sharedFeature group="GLOBAL OPTIONS" submenu="" value="global.shaderset"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="" value="global.bezel"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="TATTOO" value="global.tattoo"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="TATTOO" value="global.tattoo_corner"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="TATTOO" value="global.resize_tattoo"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="" value="global.videomode"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="" value="ratio"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="" value="global.forcefullscreen"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="" value="global.exclusivefs"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="" value="global.integerscale"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="" value="global.smooth"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="" value="global.discord"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="" value="global.disableautocontrollers"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="WINDOWS GAMES" value="global.scanStore"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="WINDOWS GAMES" value="global.scanStoreUninstalled"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="WINDOWS GAMES" value="global.storekeep"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="WINDOWS GAMES" value="global.killsteam"/>
    <sharedFeature group="GLOBAL OPTIONS" submenu="WINDOWS GAMES" value="global.batexesearch"/>
    <feature group="GLOBAL OPTIONS" name="SAVES IN RETROBAT SAVES FOLDER" submenu="SWITCH" value="yuzu_mutualize" description="Switch on to use RetroBat 'saves\switch' folder for Citron and Eden saves (instead of emulator folder)." preset="switch"/>
    <sharedFeature group="COMPRESSION" value="decompressedfolders"/>
    <sharedFeature group="COMPRESSION" value="decompressedpath"/>
    <feature group="CONTROLS" name="DPAD AS ANALOG" submenu="SPECIAL CONTROLLERS" value="analogDpad" preset="switch"/>
    <feature group="CONTROLS" name="N64 TRIGGER INVERT" submenu="SPECIAL CONTROLLERS" value="n64_special_trigger" description="For n64 controllers with 2 triggers, use R2 instead of L2 as Z button." preset="switch"/>
    <feature group="CONTROLS" name="PS4/PS5 ENHANCED" submenu="SPECIAL CONTROLLERS" value="ps_controller_enhanced" description="Enable enhanced features for DS4 and DualSense, this will break compatibility with emulators using dinput until switch off." preset="switch"/>
    <feature group="GUNS" name="SINDEN SOFTWARE PATH" submenu="SINDEN" value="sindensoftwarepath" preset="files"/>
    <sharedFeature group="GUNS" submenu="SINDEN" value="global.sindenJoyMode"/>
    <sharedFeature group="GUNS" submenu="SINDEN" value="sindenKill"/>
    <sharedFeature group="GUNS" submenu="WIIMOTE" value="WiimoteMode"/>
    <sharedFeature group="GUNS" submenu="WIIMOTE" value="WiimoteKbOrder"/>
    <!-- RETROARCH -->
    <!-- VIDEO -->
    <!--<sharedFeature submenu="VIDEO" group="RETROARCH OPTIONS" value="ratio"/>-->
    <sharedFeature submenu="VIDEO" group="RETROARCH OPTIONS" value="RotateScreen"/>
    <sharedFeature submenu="VIDEO" group="RETROARCH OPTIONS" value="MonitorIndex"/>
    <sharedFeature submenu="VIDEO" group="RETROARCH OPTIONS" value="GPUIndex"/>
    <sharedFeature submenu="VIDEO" group="RETROARCH OPTIONS" value="CRTSwitch"/>
    <sharedFeature submenu="VIDEO" group="RETROARCH OPTIONS" value="CRTSuperRes"/>
    <sharedFeature submenu="VIDEO" group="RETROARCH OPTIONS" value="enable_hdr"/>
    <sharedFeature submenu="VIDEO" group="RETROARCH OPTIONS" value="forcefullscreen"/>
    <sharedFeature submenu="VISUAL RENDERING" group="RETROARCH OPTIONS" value="use_shader_override"/>
    <!-- SCREEN -->
    <sharedFeature submenu="SCREEN SYNC" group="RETROARCH OPTIONS" value="video_vsync"/>
    <sharedFeature submenu="SCREEN SYNC" group="RETROARCH OPTIONS" value="video_hard_sync"/>
    <sharedFeature submenu="SCREEN SYNC" group="RETROARCH OPTIONS" value="video_swap_interval"/>
    <sharedFeature submenu="SCREEN SYNC" group="RETROARCH OPTIONS" value="video_black_frame_insertion"/>
    <sharedFeature submenu="SCREEN SYNC" group="RETROARCH OPTIONS" value="vrr_runloop_enable"/>
    <!-- VISUAL RENDERING -->
    <!-- AUDIO -->
    <sharedFeature submenu="AUDIO" group="RETROARCH OPTIONS" value="audio_resampler"/>
    <sharedFeature submenu="AUDIO" group="RETROARCH OPTIONS" value="audio_resampler_quality"/>
    <sharedFeature submenu="AUDIO" group="RETROARCH OPTIONS" value="audio_volume"/>
    <sharedFeature submenu="AUDIO" group="RETROARCH OPTIONS" value="audio_mixer_volume"/>
    <sharedFeature submenu="AUDIO" group="RETROARCH OPTIONS" value="audio_dsp_plugin"/>
    <sharedFeature submenu="AUDIO" group="RETROARCH OPTIONS" value="audio_sync"/>
    <!-- EMULATION SETTINGS -->
    <sharedFeature submenu="EMULATION" group="RETROARCH OPTIONS" value="rewind"/>
    <sharedFeature submenu="EMULATION" group="RETROARCH OPTIONS" value="global.fastforward_ratio"/>
    <sharedFeature submenu="EMULATION" group="RETROARCH OPTIONS" value="fastforward_toggle"/>
    <sharedFeature submenu="EMULATION" group="RETROARCH OPTIONS" value="global.applyPatch"/>
    <sharedFeature submenu="EMULATION" group="RETROARCH OPTIONS" value="game_specific_options"/>
    <!-- LATENCY REDUCTION -->
    <sharedFeature submenu="LATENCY REDUCTION" group="RETROARCH OPTIONS" value="runahead"/>
    <sharedFeature submenu="LATENCY REDUCTION" group="RETROARCH OPTIONS" value="secondinstance"/>
    <sharedFeature submenu="LATENCY REDUCTION" group="RETROARCH OPTIONS" value="preemptive_frames"/>
    <sharedFeature submenu="LATENCY REDUCTION" group="RETROARCH OPTIONS" value="video_frame_delay_auto"/>
    <sharedFeature submenu="LATENCY REDUCTION" group="RETROARCH OPTIONS" value="input_poll_type_behavior"/>
    <!-- AI GAME TRANSLATION -->
    <sharedFeature submenu="AI GAME TRANSLATION" group="RETROARCH OPTIONS" value="ai_service_enabled"/>
    <sharedFeature submenu="AI GAME TRANSLATION" group="RETROARCH OPTIONS" value="ai_target_lang"/>
    <sharedFeature submenu="AI GAME TRANSLATION" group="RETROARCH OPTIONS" value="ai_service_url"/>
    <sharedFeature submenu="AI GAME TRANSLATION" group="RETROARCH OPTIONS" value="ai_service_pause"/>
    <!-- USER INTERFACE -->
    <sharedFeature submenu="USER INTERFACE" group="RETROARCH OPTIONS" value="OnScreenMsg"/>
    <sharedFeature submenu="USER INTERFACE" group="RETROARCH OPTIONS" value="DrawStats"/>
    <sharedFeature submenu="USER INTERFACE" group="RETROARCH OPTIONS" value="OptionsMenu"/>
    <sharedFeature submenu="USER INTERFACE" group="RETROARCH OPTIONS" value="PressTwice"/>
    <sharedFeature submenu="USER INTERFACE" group="RETROARCH OPTIONS" value="input_menu_toggle_gamepad_combo"/>
    <sharedFeature submenu="USER INTERFACE" group="RETROARCH OPTIONS" value="discord"/>
    <!-- RUNNING DRIVERS -->
    <sharedFeature submenu="DRIVERS" group="RETROARCH OPTIONS" value="video_driver"/>
    <sharedFeature submenu="DRIVERS" group="RETROARCH OPTIONS" value="audio_driver"/>
    <sharedFeature submenu="DRIVERS" group="RETROARCH OPTIONS" value="input_driver"/>
    <!-- CONTROLS OPTIONS -->
    <sharedFeature submenu="CONTROLS" group="RETROARCH OPTIONS" value="pause_on_disconnect"/>
    <sharedFeature submenu="CONTROLS" group="RETROARCH OPTIONS" value="analog_deadzone"/>
    <sharedFeature submenu="CONTROLS" group="RETROARCH OPTIONS" value="analog_sensitivity"/>
    <sharedFeature submenu="CONTROLS" group="RETROARCH OPTIONS" value="keyboard_arcade"/>
    <sharedFeature submenu="CONTROLS" group="RETROARCH OPTIONS" value="arcade_stick"/>
    <sharedFeature submenu="CONTROLS" group="RETROARCH OPTIONS" value="revertXIndex"/>
    <sharedFeature submenu="CONTROLS" group="RETROARCH OPTIONS" value="p1_stick_index"/>
    <sharedFeature submenu="CONTROLS" group="RETROARCH OPTIONS" value="p2_stick_index"/>
    <sharedFeature submenu="CONTROLS" group="RETROARCH OPTIONS" value="buttonTrigger"/>
    <sharedFeature submenu="GUNS" group="RETROARCH OPTIONS" value="p1_gunIndex"/>
    <sharedFeature submenu="GUNS" group="RETROARCH OPTIONS" value="p2_gunIndex"/>
    <sharedFeature submenu="GUNS" group="RETROARCH OPTIONS" value="p3_gunIndex"/>
    <sharedFeature submenu="GUNS" group="RETROARCH OPTIONS" value="p4_gunIndex"/>
  </globalFeatures>
  <!-- SHARED FEATURES -->
  <!-- RETROARCH -->
  <emulator name="libretro, angle" features="game_translation, netplay">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="ratio" order="25"/>
    <sharedFeature group="GENERAL SETTINGS" value="video_vsync" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <!-- VIDEO OPTIONS -->
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="RotateScreen" order="152"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="153"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="GPUIndex" order="154"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="CRTSwitch" order="155"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="CRTSuperRes" order="156"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="enable_hdr" order="157"/>
    <!-- VISUAL RENDERING OPTIONS -->
    <sharedFeature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" value="videofilters" order="200"/>
    <!-- SCREEN OPTIONS -->
    <sharedFeature submenu="SCREEN SYNC" group="ADVANCED SETTINGS" value="video_hard_sync" order="200"/>
    <sharedFeature submenu="SCREEN SYNC" group="ADVANCED SETTINGS" value="video_swap_interval" order="201"/>
    <sharedFeature submenu="SCREEN SYNC" group="ADVANCED SETTINGS" value="video_black_frame_insertion" order="202"/>
    <sharedFeature submenu="SCREEN SYNC" group="ADVANCED SETTINGS" value="vrr_runloop_enable" order="203"/>
    <!-- VISUAL RENDERING -->
    <sharedFeature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" value="smooth" order="250"/>
    <!-- AUDIO OPTIONS -->
    <sharedFeature submenu="AUDIO" group="ADVANCED SETTINGS" value="audio_resampler" order="300"/>
    <sharedFeature submenu="AUDIO" group="ADVANCED SETTINGS" value="audio_resampler_quality" order="301"/>
    <sharedFeature submenu="AUDIO" group="ADVANCED SETTINGS" value="audio_volume" order="302"/>
    <sharedFeature submenu="AUDIO" group="ADVANCED SETTINGS" value="audio_mixer_volume" order="303"/>
    <sharedFeature submenu="AUDIO" group="ADVANCED SETTINGS" value="audio_dsp_plugin" order="304"/>
    <sharedFeature submenu="AUDIO" group="ADVANCED SETTINGS" value="audio_sync" order="305"/>
    <!-- EMULATION SETTINGS -->
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="fastforward_ratio" order="102"/>
    <!-- USER INTERFACE -->
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="OnScreenMsg" order="450"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="451"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="DrawStats" order="452"/>
    <!-- LATENCY REDUCTION -->
    <sharedFeature submenu="LATENCY REDUCTION" group="ADVANCED SETTINGS" value="video_frame_delay_auto" order="350"/>
    <sharedFeature submenu="LATENCY REDUCTION" group="ADVANCED SETTINGS" value="secondinstance" order="351"/>
    <sharedFeature submenu="LATENCY REDUCTION" group="ADVANCED SETTINGS" value="preemptive_frames" order="352"/>
    <sharedFeature submenu="LATENCY REDUCTION" group="ADVANCED SETTINGS" value="runahead" order="353"/>
    <sharedFeature submenu="LATENCY REDUCTION" group="ADVANCED SETTINGS" value="input_poll_type_behavior" order="354"/>
    <!-- RUNNING DRIVERS -->
    <sharedFeature submenu="DRIVERS" group="ADVANCED SETTINGS" value="video_driver" order="400"/>
    <sharedFeature submenu="DRIVERS" group="ADVANCED SETTINGS" value="audio_driver" order="401"/>
    <sharedFeature submenu="DRIVERS" group="ADVANCED SETTINGS" value="input_driver" order="402"/>
    <feature submenu="DRIVERS" name="FORCE RAW INPUT" group="ADVANCED SETTINGS" value="libretro_rawinput" description="Forces raw input driver when using devices such as trackball and spinners." preset="switchauto" order="403"/>
    <!-- CONTROLS OPTIONS -->
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="pause_on_disconnect" order="500"/>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="analogToDpad" order="501"/>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="analog_deadzone" order="502"/>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="analog_sensitivity" order="503"/>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="force1pOnly" order="504"/>
    <!-- LIBRETRO CORES FEATURES -->
    <core name="a5200">
      <feature submenu="VIDEO" name="LCD GHOSTING FILTER" group="ADVANCED SETTINGS" value="a5200_mix_frames" description="Simulate CRT phosphor ghosting effects. 'Simple' performs a 50:50 mix of the current and previous frames." order="158">
        <choice name="NONE" value="disabled"/>
        <choice name="SIMPLE" value="mix"/>
        <choice name="GHOSTING (65%)" value="ghost_65"/>
        <choice name="GHOSTING (75%)" value="ghost_75"/>
        <choice name="GHOSTING (85%)" value="ghost_85"/>
        <choice name="GHOSTING (95%)" value="ghost_95"/>
      </feature>
      <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="a5200_low_pass_filter" description="Soften the hash sound effect from some games." preset="sliderauto" preset-parameters="0 95 5 %" order="306"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="CONTROLS" name="INPUT HACK" group="ADVANCED SETTINGS" value="a5200_input_hack" description="'Dual Stick' maps Player 2 joystick to the right analog stick of Player 1, 'Swap Ports' fixes port inversion for 'Wizard of Wor'." order="505">
        <choice name="NONE" value="disabled"/>
        <choice name="DUAL STICK" value="dual_stick"/>
        <choice name="SWAP PORTS" value="swap_ports"/>
      </feature>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="a5200_controller1" order="506">
        <choice name="JOYSTICK (OSD KEYPAD)" value="1"/>
        <choice name="JOYSTICK (DIRECT KEYPAD BUTTONS)" value="257"/>
      </feature>
    </core>
    <core name="arduous" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
    </core>
    <core name="atari800" features="padtokeyboard">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="atari800_resolution" description="Improve the resolution at the cost of increased performance requirements." order="20">
        <choice name="NATIVE (336x240)" value="336x240"/>
        <choice name="320x240" value="320x240"/>
        <choice name="384x240" value="384x240"/>
        <choice name="384x272" value="384x272"/>
        <choice name="384x288" value="384x288"/>
        <choice name="400x300" value="400x300"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="VIDEO" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="atari800_ntscpal" description="Select a video format for output." order="158">
        <choice name="NTSC" value="NTSC"/>
        <choice name="PAL" value="PAL"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <system name="atari800">
        <feature submenu="VIDEO" name="ARTIFACTING MODE" group="ADVANCED SETTINGS" value="atari800_artifacting" description="Remove odd composite green/blue artifacting that appears on real hardware." order="159">
          <choice name="NO" value="none"/>
          <choice name="BLUE BROWN 1" value="blue/brown 1"/>
          <choice name="BLUE BROWN 2" value="blue/brown 2"/>
          <choice name="GTIA" value="GTIA"/>
          <choice name="CTIA" value="CTIA"/>
        </feature>
        <feature submenu="EMULATION" name="EMULATED SYSTEM" group="ADVANCED SETTINGS" value="atari800_system" description="Choose which Atari system to emulate." order="103">
          <choice name="400/800 (48K) (OS B)" value="400/800 (OS B)"/>
          <choice name="800XL (64K)" value="800XL (64K)"/>
          <choice name="130XE (128K)" value="130XE (128K)"/>
          <choice name="Modern XL/XE(320K CS)" value="Modern XL/XE(320K CS)"/>
          <choice name="Modern XL/XE(576K)" value="Modern XL/XE(576K)"/>
          <choice name="Modern XL/XE(1088K)" value="Modern XL/XE(1088K)"/>
          <choice name="XEGS" value="XEGS"/>
          <choice name="5200" value="5200"/>
        </feature>
        <feature submenu="EMULATION" name="DISABLE SIO ACCELERATION" group="ADVANCED SETTINGS" value="atari800_sioaccel" description="Enabled by default, improve data transfer of emulated SIO port." preset="switchauto" order="104"/>
      </system>
      <system name="atari5200">
        <feature submenu="CONTROLS" name="ROBOTRON JOYSTICK HACK" group="ADVANCED SETTINGS" value="atari800_opt2" description="Enable joystick hack for Robotron game." preset="switchauto" order="510"/>
      </system>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="a800_controller1" order="506">
        <choice name="ATARI JOYSTICK" value="513"/>
        <choice name="ATARI5200 JOYSTICK" value="769"/>
        <choice name="ATARI KEYBOARD" value="259"/>
        <choice name="RETROPAD" value="1"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="a800_controller2" order="507">
        <choice name="ATARI JOYSTICK" value="513"/>
        <choice name="ATARI5200 JOYSTICK" value="769"/>
        <choice name="ATARI KEYBOARD" value="259"/>
        <choice name="RETROPAD" value="1"/>
      </feature>
      <feature submenu="CONTROLS" name="CONTROLLER HACKS" group="ADVANCED SETTINGS" value="a800_control_hacks" order="508">
        <choice name="NONE" value="none"/>
        <choice name="DUAL STICK" value="enabled"/>
        <choice name="SWAP PORTS" value="Swap Ports"/>
        <choice name="JOY 2B+" value="Joy 2B+"/>
      </feature>
      <feature submenu="CONTROLS" name="ENABLE PADDLE MODE" group="ADVANCED SETTINGS" value="a800_paddle" preset="switchauto" order="509"/>
    </core>
    <core name="azahar" features="padtokeyboard">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="azaharlr_resolution_factor" description="Improve the resolution at the cost of increased performance requirements." order="20">
        <choice name="1X NATIVE" value="1"/>
        <choice name="2X" value="2"/>
        <choice name="3X" value="3"/>
        <choice name="4X" value="4"/>
        <choice name="5X" value="5"/>
        <choice name="6X" value="6"/>
        <choice name="7X" value="7"/>
        <choice name="8X" value="8"/>
        <choice name="9X" value="9"/>
        <choice name="10X" value="10"/>
      </feature>
      <feature submenu="VIDEO" name="SCREEN LAYOUT POSITIONING" group="ADVANCED SETTINGS" value="azaharlr_layout_option" description="Choose the disposition of the emulated screens." order="158">
        <choice name="TOP-BOTTOM SCREEN" value="default"/>
        <choice name="SINGLE SCREEN ONLY" value="single_screen"/>
        <choice name="LARGE SCREEN / SMALL SCREEN" value="large_screen"/>
        <choice name="SIDE BY SIDE" value="side_by_side"/>
      </feature>
      <feature submenu="VIDEO" name="SWAP SCREEN" group="ADVANCED SETTINGS" value="azaharls_swap_screen" description="Set the bottom screen as prominent." preset="switchauto" order="159"/>
      <feature submenu="VIDEO" name="DISABLE HARDWARE SHADERS" group="ADVANCED SETTINGS" value="azaharlr_use_hw_shaders" description="Disable hardware renderer, can increase compatibility." preset="switchauto" order="160"/>
      <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="azaharlr_texture_filter" description="Force the region of the system." order="251">
        <choice name="NONE" value="none"/>
        <choice name="ANIME 4K ULTRAFAST" value="Anime4K Ultrafast"/>
        <choice name="BICUBIC" value="Bicubic"/>
        <choice name="SCALEFORCE" value="ScaleForce"/>
        <choice name="XBRZ" value="xBRZ"/>
        <choice name="MMPX" value="MMPX"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="azaharlr_custom_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="252"/>
      <feature submenu="AUDIO" name="AUDIO EMULATION" group="ADVANCED SETTINGS" value="azaharlr_audio_emulation" order="300">
        <choice name="HLE FAST" value="hle"/>
        <choice name="LLE PRECISE" value="lle"/>
        <choice name="LLE MULTICORE" value="lle_multithread"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="azaharlr_region_value" description="Force the region of the system." order="103">
        <choice name="AUSTRALIA" value="Australia"/>
        <choice name="CHINA" value="China"/>
        <choice name="EUROPE" value="Europe"/>
        <choice name="JAPAN" value="Japan"/>
        <choice name="KOREA" value="Korea"/>
        <choice name="TAIWAN" value="Taiwan"/>
        <choice name="USA" value="USA"/>
      </feature>
      <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="azaharlr_language" order="104">
        <choice name="Japanese" value="Japanese"/>
        <choice name="English" value="English"/>
        <choice name="Français" value="French"/>
        <choice name="Deutsch" value="German"/>
        <choice name="Italiano" value="Italian"/>
        <choice name="Español" value="Spanish"/>
        <choice name="简化字 (Chinese - simplified)" value="Simplified Chinese"/>
        <choice name="한국어 (Korean)" value="Korean"/>
        <choice name="Nederlands" value="Dutch"/>
        <choice name="Português" value="Portuguese"/>
        <choice name="Русский (Russian)" value="Russian"/>
        <choice name="簡化字 (Chinese - traditional)" value="Traditional Chinese"/>
      </feature>
      <feature submenu="EMULATION" name="3DS MODEL" group="ADVANCED SETTINGS" value="azaharlr_is_new_3ds" description="Force the region of the system." order="105">
        <choice name="NEW 3DS" value="New 3DS"/>
        <choice name="3DS" value="Old 3DS"/>
      </feature>
      <feature submenu="EMULATION" name="DISABLE VIRTUAL SD CARD" group="ADVANCED SETTINGS" value="azaharlr_use_virtual_sd" preset="switchauto" order="106"/>
      <feature submenu="DRIVERS" name="VIDEO CORE RENDERER" group="ADVANCED SETTINGS" value="azaharlr_graphics_api" description="Change the renderer used by the core." order="404">
        <choice name="OPENGL" value="OpenGL"/>
        <choice name="VULKAN" value="Vulkan"/>
        <choice name="SOFTWARE" value="Software"/>
      </feature>
      <feature submenu="CONTROLS" name="DISABLE MOUSE" group="ADVANCED SETTINGS" value="azaharlr_mouse_touchscreen" description="Choose if the mouse input is active or not." preset="switchauto" order="550"/>
      <feature submenu="CONTROLS" name="RIGHT STICK FUNCTION" group="ADVANCED SETTINGS" value="azaharlr_analog_function" description="Define the function of the right joystick." order="551">
        <choice name="C-STICK AND TOUCHSCREEN POINTER" value="c_stick_and_touchscreen"/>
        <choice name="TOUCHSCREEN POINTER" value="touchscreen_pointer"/>
        <choice name="C-STICK" value="c_stick"/>
      </feature>
      <feature submenu="CONTROLS" name="SHOW TOUCHSCREEN POINTER" group="ADVANCED SETTINGS" value="azaharlr_render_touchscreen" description="Display a small pointer on touchscreen." preset="switchauto" order="552"/>
      <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="553"/>
      <feature submenu="CONTROLS" name="ENABLE MOTION" group="ADVANCED SETTINGS" value="azaharlr_enable_motion" description="Can only be used if the controller is compatible with motion control." preset="switchauto" order="554"/>
      <feature submenu="CONTROLS" name="ANALOG DEADZONE(CORE)" group="ADVANCED SETTINGS" value="azaharlr_analog_deadzone" description="Sets the deadzone of the Gamepad analog sticks." preset="sliderauto" preset-parameters="0 30 5 %" order="556"/>
    </core>
    <core name="b2" features="padtokeyboard">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="EMULATION" name="MODEL TO EMULATE" value="b2_model" group="ADVANCED SETTINGS" description="Select the machine to emulate." order="100">
        <choice name="ACORN 1770" value="B/Acorn 1770"/>
        <choice name="WATFORD 1770 (DDB2)" value="B/Watford 1770 (DDB2)"/>
        <choice name="WATFORD 1770 (DDB3)" value="B/Watford 1770 (DDB3)"/>
        <choice name="OPUS 1770" value="B/Opus 1770"/>
        <choice name="OPUS CHALLENGER 256K" value="B/Opus CHALLENGER 256K"/>
        <choice name="OPUS CHALLENGER 512K" value="B/Opus CHALLENGER 512"/>
        <choice name="B+" value="B+"/>
        <choice name="B+128" value="B+128"/>
        <choice name="MASTER 128" value="Master 128 (MOS 3.20)"/>
      </feature>
    </core>
    <core name="bennugd">
      <feature submenu="EMULATION" name="FRAME LIMIT" value="bennugd_force_frame_limiter" group="ADVANCED SETTINGS" description="Force frame limiter." preset="switchauto" order="110"/>
      <feature submenu="VISUAL RENDERING" name="SCALING FILTER" value="bennugd_override_scaling" group="ADVANCED SETTINGS" order="251">
        <choice name="OFF" value="off"/>
        <choice name="1X" value="1x"/>
        <choice name="2X" value="2x"/>
        <choice name="2X HQ" value="2xhq"/>
        <choice name="2X SCANLINES" value="2xscanlines"/>
        <choice name="2X UNFILTERED" value="2xunfiltered"/>
      </feature>
    </core>
    <core name="blastem" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
    </core>
    <core name="bluemsx" features="cheevos, padtokeyboard">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="bluemsx_vdp_synctype" description="Force the game region frequency to avoid emulated speed issues, leave 'Auto' unless you notice speed issues." order="103">
        <choice name="50HZ" value="50Hz"/>
        <choice name="60HZ" value="60Hz"/>
      </feature>
      <feature submenu="EMULATION" name="FORCE MSX TYPE" group="ADVANCED SETTINGS" value="bluemsx_msxtype" order="104">
        <choice name="MSX" value="MSX"/>
        <choice name="MSX2" value="MSX2"/>
        <choice name="MSX2+" value="MSX2+"/>
        <choice name="MSX TURBO R" value="MSXturboR"/>
        <choice name="COLECOVISION" value="ColecoVision"/>
        <choice name="SPECTRAVIDEO" value="SVI - Spectravideo SVI-328 MK2"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="bluemsx_nospritelimits" description="Remove the 4 sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="251"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="bluemsx_controller1" order="506">
        <choice name="RETROPAD" value="1"/>
        <choice name="RETRO KEYBOARD" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="bluemsx_controller2" order="507">
        <choice name="RETROPAD" value="1"/>
        <choice name="RETRO KEYBOARD" value="3"/>
      </feature>
    </core>
    <core name="boom3, boom3_xp">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="boom3_resolution" order="20">
        <choice name="960x544 (DEFAULT)" value="960x544"/>
        <choice name="480x272" value="480x272"/>
        <choice name="640x368" value="640x368"/>
        <choice name="720x408" value="720x408"/>
        <choice name="1280x720" value="1280x720"/>
        <choice name="1920x1080" value="1920x1080"/>
        <choice name="2560x1440" value="2560x1440"/>
        <choice name="3840x2160" value="3840x2160"/>
      </feature>
      <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="boom3_fps" preset="switchauto" order="453"/>
      <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="CONTROLLER TYPE" value="Doom3ControllerP1" order="505">
        <choice name="GAMEPAD CLASSIC" value="1"/>
        <choice name="GAMEPAD CLASSIC ALT" value="513"/>
        <choice name="GAMEPAD MODERN" value="773"/>
      </feature>
      <feature submenu="CONTROLS" name="INVERT Y AXIS" group="ADVANCED SETTINGS" value="boom3_invert_axis" preset="switchauto" order="506"/>
    </core>
    <core name="bsnes" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="EMULATION" name="ENABLE HOTFIXES" group="ADVANCED SETTINGS" value="bsnes_hotfixes" description="Can fix some bugs that happened even on original hardware." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="ENABLE FAST CPU CALCULATION" group="ADVANCED SETTINGS" value="bsnes_cpu_fastmath" description="Required to run some old rom hacks, leave off for commercial games." preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="OVERCLOCKING" group="ADVANCED SETTINGS" value="bsnes_overclock" description="Overclock CPU, SA-1 chip and Super-FX chip, can reduce slowdowns but might generate issues with some games." preset="sliderauto" preset-parameters="10 400 10 %" order="106"/>
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (CORE)" group="ADVANCED SETTINGS" value="bsnes_aspect_ratio" order="158">
        <choice name="PIXEL PERFECT 8/7" value="8:7"/>
        <choice name="4:3" value="4:3"/>
        <choice name="NTSC" value="NTSC"/>
        <choice name="PAL" value="PAL"/>
      </feature>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="bsnes_ppu_no_sprite_limit" description="Remove the original sprites-per-scanline hardware limit." preset="switchauto" order="159"/>
      <feature submenu="VISUAL RENDERING" name="BLUR EMULATION" group="ADVANCED SETTINGS" value="bsnes_blur_emulation" description="Blurs adjacent pixels to simulate SDTV resolution, can be required by some games to emulate transparency." preset="switchauto" order="251"/>
      <feature submenu="VISUAL RENDERING" name="VIDEO FILTER (CORE)" group="ADVANCED SETTINGS" value="bsnes_video_filter" order="252">
        <choice name="NONE" value="None"/>
        <choice name="NTSC (RF)" value="NTSC (RF)"/>
        <choice name="NTSC (Composite)" value="NTSC (Composite)"/>
        <choice name="NTSC (S-Video)" value="NTSC (S-Video)"/>
        <choice name="NTSC (RGB)" value="NTSC (RGB)"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="MODE 7 SCALE" group="ADVANCED SETTINGS" value="bsnes_mode7_scale" preset="sliderauto" preset-parameters="1 8 1 x" order="253"/>
      <feature submenu="VISUAL RENDERING" name="DISABLE MODE 7 PERSPECTIVE CORRECTION" group="ADVANCED SETTINGS" value="bsnes_mode7_perspective" description="Enabled by default." preset="switchauto" order="254"/>
      <feature submenu="VISUAL RENDERING" name="MODE 7 SUPERSAMPLING" group="ADVANCED SETTINGS" value="bsnes_mode7_supersample" preset="switchauto" order="255"/>
      <feature submenu="LATENCY REDUCTION" name="RUN-AHEAD FRAMES (CORE)" group="ADVANCED SETTINGS" value="bsnes_run_ahead_frames" description="Use this setting to reduce input lag." preset="sliderauto" preset-parameters="0 4 1" order="355"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="SnesControllerP1" order="505">
        <choice name="gamepad" value="1"/>
        <choice name="mouse" value="2"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="SnesControllerP2" order="506">
        <choice name="gamepad" value="1"/>
        <choice name="mouse" value="2"/>
        <choice name="multitap" value="257"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="507"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="GUN TYPE" group="ADVANCED SETTINGS" value="gun_type" order="551">
        <choice name="Superscope" value="260"/>
        <choice name="Justifier" value="516"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="552"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="553">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="556"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="bsnes2014_accuracy" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="bsnes2014_balanced" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="bsnes2014_cplusplus98" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="bsnes2014_performance" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="bsnes_hd_beta" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="EMULATION" name="ENABLE HOTFIXES" group="ADVANCED SETTINGS" value="bsnes_hotfixes" description="Can fix some bugs that happened even on original hardware." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="ENABLE FAST CPU CALCULATION" group="ADVANCED SETTINGS" value="bsnes_cpu_fastmath" description="Required to run some old rom hacks, leave off for commercial games." preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="OVERCLOCKING" group="ADVANCED SETTINGS" value="bsnes_overclock" description="Overclock CPU, SA-1 chip and Super-FX chip, can reduce slowdowns but might generate issues with some games." preset="sliderauto" preset-parameters="10 400 10 %" order="106"/>
      <feature submenu="VIDEO" name="CROP OVERSCAN" group="ADVANCED SETTINGS" value="bsnes_ppu_show_overscan" description="Crop out the potentially random glitchy video output that would have been hidden by the bezel around the edge of a standard-definition television screen." preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="bsnes_ppu_no_sprite_limit" description="Remove the original sprites-per-scanline hardware limit." preset="switchauto" order="159"/>
      <feature submenu="VISUAL RENDERING" name="MODE 7 SCALE" group="ADVANCED SETTINGS" value="bsnes_mode7_scale" preset="sliderauto" preset-parameters="0 10 1 x" order="251"/>
      <feature submenu="VISUAL RENDERING" name="BLUR EMULATION" group="ADVANCED SETTINGS" value="bsnes_blur_emulation" description="Blurs adjacent pixels to simulate SDTV resolution, can be required by some games to emulate transparency." preset="switchauto" order="252"/>
      <feature submenu="VISUAL RENDERING" name="MODE 7 PERSPECTIVE CORRECTION" group="ADVANCED SETTINGS" value="bsnes_mode7_perspective" order="253">
        <choice name="AUTO (wide)" value="auto (wide)"/>
        <choice name="AUTO (medium)" value="auto (medium)"/>
        <choice name="AUTO (narrow)" value="auto (narrow)"/>
        <choice name="ON (wide)" value="on (wide)"/>
        <choice name="ON (medium)" value="on (medium)"/>
        <choice name="ON (narrow)" value="on (narrow)"/>
        <choice name="OFF" value="off"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="MODE 7 SUPERSAMPLING" group="ADVANCED SETTINGS" value="bsnes_mode7_supersample" preset="sliderauto" preset-parameters="0 10 1 x" order="254"/>
      <feature submenu="LATENCY REDUCTION" name="RUN-AHEAD FRAMES (CORE)" group="ADVANCED SETTINGS" value="bsnes_run_ahead_frames" description="Use this setting to reduce input lag." preset="sliderauto" preset-parameters="0 4 1" order="355"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="SnesControllerP1" order="505">
        <choice name="gamepad" value="1"/>
        <choice name="mouse" value="2"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="SnesControllerP2" order="506">
        <choice name="gamepad" value="1"/>
        <choice name="mouse" value="2"/>
        <choice name="multitap" value="257"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="507"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="GUN TYPE" group="ADVANCED SETTINGS" value="gun_type" order="551">
        <choice name="Superscope" value="260"/>
        <choice name="Justifier" value="516"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="552"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="553">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="556"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="bsnes-jg" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (CORE)" group="ADVANCED SETTINGS" value="bsnes_jg_aspect" order="158">
        <choice name="REGION-BASED PIXEL" value="Auto"/>
        <choice name="1:1 PAR" value="1:1"/>
        <choice name="OSTENSIBLY ACCURATE NTSC" value="8:7"/>
        <choice name="OSTENSIBLY ACCURATE PAL" value="11:8"/>
        <choice name="VERY TRADITIONAL NTSC" value="4:3"/>
      </feature>
      <feature submenu="AUDIO" name="RESAMPLER QUALITY" group="ADVANCED SETTINGS" value="bsnes_jg_rsqual" order="306">
        <choice name="FAST" value="fast"/>
        <choice name="MEDIUM" value="medium"/>
        <choice name="BEST" value="best"/>
      </feature>
      <feature submenu="LATENCY REDUCTION" name="RUN-AHEAD FRAMES (CORE)" group="ADVANCED SETTINGS" value="bsnes_jg_runahead" description="Use this setting to reduce input lag." preset="sliderauto" preset-parameters="0 4 1" order="355"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="EMULATION" name="ENABLE HOTFIXES" group="ADVANCED SETTINGS" value="bsnes_jg_hotfixes" description="Can fix some bugs that happened even on original hardware." preset="switchauto" order="104"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="SnesControllerP1" order="505">
        <choice name="gamepad" value="1"/>
        <choice name="mouse" value="2"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="SnesControllerP2" order="506">
        <choice name="gamepad" value="1"/>
        <choice name="mouse" value="2"/>
        <choice name="multitap" value="257"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="507"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="GUN TYPE" group="ADVANCED SETTINGS" value="gun_type" order="551">
        <choice name="Superscope" value="260"/>
        <choice name="Justifier" value="516"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="552"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="553">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="556"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="bsnes_mercury_accuracy" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
    </core>
    <core name="bsnes_mercury_balanced" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
    </core>
    <core name="cannonball">
      <feature submenu="VIDEO" name="HIGH RESOLUTION" group="ADVANCED SETTINGS" value="cannonball_video_hires" preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="cannonball_video_widescreen" preset="switchauto" order="159"/>
      <feature submenu="CONTROLS" name="ANALOG CONTROLS" group="ADVANCED SETTINGS" value="cannonball_analog" preset="switchauto" order="505"/>
      <feature submenu="CONTROLS" name="GEARS MODE" group="ADVANCED SETTINGS" value="cannonball_gear" order="506">
        <choice name="AUTOMATIC" value="Automatic"/>
        <choice name="MANUAL" value="Manual"/>
        <choice name="MANUAL CABINET" value="Manual Cabinet"/>
        <choice name="MANUAL 2 BUTTONS" value="Manual 2 Buttons"/>
      </feature>
    </core>
    <core name="cap32" features="netplay, padtokeyboard, cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="cap32_gfx_colors" order="158">
        <choice name="16 BIT" value="16bit"/>
        <choice name="24 BIT" value="24bit"/>
        <choice name="8 BIT" value="8bit"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="MONITOR TYPE" group="ADVANCED SETTINGS" value="cap32_scr_tube" description="Define the type of monitor, will change colors." order="251">
        <choice name="COLOR" value="color"/>
        <choice name="GREEN" value="green"/>
        <choice name="WHITE" value="white"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="MONITOR INTENSITY" group="ADVANCED SETTINGS" value="cap32_scr_intensity" preset="sliderauto" preset-parameters="5 15 1" order="252"/>
      <feature submenu="AUDIO" name="DISABLE FLOPPY SOUND" group="ADVANCED SETTINGS" value="cap32_floppy_sound" preset="switchauto" order="306"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="MODEL TYPE" group="ADVANCED SETTINGS" value="cap32_model" description="Define model, default to Spectrum 6128+ for GX4000." order="103">
          <choice name="6128" value="6128"/>
          <choice name="664" value="664"/>
          <choice name="464" value="464"/>
          <choice name="6128+" value="6128+ (experimental)"/>
      </feature>
      <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="cap32_ram" description="CPC physical RAM size in kB." order="104">
          <choice name="128" value="128"/>
          <choice name="64" value="64"/>
          <choice name="192" value="192"/>
          <choice name="576" value="576"/>
      </feature>
      <feature submenu="EMULATION" name="KEYBOARD LAYOUT" group="ADVANCED SETTINGS" value="cap32_lang_layout" description="Choose between english, french or spanish keyboard layout." order="105">
          <choice name="ENGLISH" value="english"/>
          <choice name="FRENCH" value="french"/>
          <choice name="SPANISH" value="spanish"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="cap32_controller1" order="506">
        <choice name="Retropad" value="1"/>
        <choice name="Amstrad Joystick" value="513"/>
        <choice name="Amstrad Keyboard" value="259"/>
        <choice name="Amstrad Lightgun" value="260"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="cap32_controller2" order="507">
        <choice name="Retropad" value="1"/>
        <choice name="Amstrad Joystick" value="513"/>
        <choice name="Amstrad Keyboard" value="259"/>
        <choice name="Amstrad Lightgun" value="260"/>
      </feature>
      <feature submenu="CONTROLS" name="COMBO KEY" group="ADVANCED SETTINGS" value="cap32_combokey" order="508">
        <choice name="Y" value="y"/>
        <choice name="B" value="b"/>
        <choice name="SELECT" value="select"/>
        <choice name="OFF" value="disabled"/>
      </feature>
      <feature submenu="USER INTERFACE" name="KEYBOARD TRANSPARENCY" group="ADVANCED SETTINGS" value="cap32_keyboard_transparency" preset="switchauto" order="453"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="LIGHTGUN MODE" group="ADVANCED SETTINGS" value="cap32_lightgun_input" order="551">
        <choice name="NO" value="disabled"/>
        <choice name="PHASER" value="phaser"/>
        <choice name="GUNSTICK" value="gunstick"/>
      </feature>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="cap32_lightgun_show" preset="switchauto" order="552"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="553">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="555"/>
    </core>
    <core name="citra" features="padtokeyboard">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="citralr_resolution_factor" description="Improve the resolution at the cost of increased performance requirements." order="20">
        <choice name="1X NATIVE" value="1x (Native)"/>
        <choice name="2X" value="2x"/>
        <choice name="3X" value="3x"/>
        <choice name="4X" value="4x"/>
        <choice name="5X" value="5x"/>
        <choice name="6X" value="6x"/>
        <choice name="7X" value="7x"/>
        <choice name="8X" value="8x"/>
        <choice name="9X" value="9x"/>
        <choice name="10X" value="10x"/>
      </feature>
      <feature submenu="VIDEO" name="SCREEN LAYOUT POSITIONING" group="ADVANCED SETTINGS" value="citralr_layout_option" description="Choose the disposition of the emulated screens." order="158">
        <choice name="TOP-BOTTOM SCREEN" value="Default Top-Bottom Screen"/>
        <choice name="SINGLE SCREEN ONLY" value="Single Screen Only"/>
        <choice name="LARGE SCREEN / SMALL SCREEN" value="Large Screen, Small Screen"/>
        <choice name="SIDE BY SIDE" value="Side by Side"/>
      </feature>
      <feature submenu="VIDEO" name="SWAP SCREEN" group="ADVANCED SETTINGS" value="citra_swap_screen" description="Set the bottom screen as prominent." preset="switchauto" order="159"/>
      <feature submenu="VIDEO" name="DISABLE HARDWARE SHADERS" group="ADVANCED SETTINGS" value="citra_use_hw_shaders" description="Disable hardware renderer, can increase compatibility." preset="switchauto" order="160"/>
      <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="citralr_texture_filter" description="Force the region of the system." order="251">
        <choice name="NONE" value="none"/>
        <choice name="ANIME 4K ULTRAFAST" value="Anime4K Ultrafast"/>
        <choice name="BICUBIC" value="Bicubic"/>
        <choice name="NEAREST NEIGHBOR" value="NearestNeighbor"/>
        <choice name="SCALEFORCE" value="ScaleForce"/>
        <choice name="XBRZ FREESCALE" value="xBRZ freescale"/>
        <choice name="MMPX" value="MMPX"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="citra_custom_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="252"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="citra_region_value" description="Force the region of the system." order="103">
        <choice name="AUSTRALIA" value="Australia"/>
        <choice name="CHINA" value="China"/>
        <choice name="EUROPE" value="Europe"/>
        <choice name="JAPAN" value="Japan"/>
        <choice name="KOREA" value="Korea"/>
        <choice name="TAIWAN" value="Taiwan"/>
        <choice name="USA" value="USA"/>
      </feature>
      <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="n3ds_language" order="104">
        <choice name="Japanese" value="0"/>
        <choice name="English" value="1"/>
        <choice name="Français" value="2"/>
        <choice name="Deutsch" value="3"/>
        <choice name="Italiano" value="4"/>
        <choice name="Español" value="5"/>
        <choice name="简化字 (Chinese - simplified)" value="6"/>
        <choice name="한국어 (Korean)" value="7"/>
        <choice name="Nederlands" value="8"/>
        <choice name="Português" value="9"/>
        <choice name="Русский (Russian)" value="10"/>
        <choice name="簡化字 (Chinese - traditional)" value="11"/>
      </feature>
      <feature submenu="EMULATION" name="DISABLE VIRTUAL SD CARD" group="ADVANCED SETTINGS" value="citra_use_virtual_sd" preset="switchauto" order="105"/>
      <feature submenu="CONTROLS" name="DISABLE MOUSE" group="ADVANCED SETTINGS" value="citra_mouse_touchscreen" description="Choose if the mouse input is active or not." preset="switchauto" order="550"/>
      <feature submenu="CONTROLS" name="RIGHT STICK FUNCTION" group="ADVANCED SETTINGS" value="citra_analog_function" description="Define the function of the right joystick." order="551">
        <choice name="C-STICK AND TOUCHSCREEN POINTER" value="C-Stick and Touchscreen Pointer"/>
        <choice name="TOUCHSCREEN POINTER" value="Touchscreen Pointer"/>
        <choice name="C-STICK" value="C-Stick"/>
      </feature>
      <feature submenu="CONTROLS" name="SHOW TOUCHSCREEN POINTER" group="ADVANCED SETTINGS" value="citra_render_touchscreen" description="Display a small pointer on touchscreen." preset="switchauto" order="552"/>
      <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="553"/>
    </core>
    <core name="crocods" features="netplay, padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="crocods_controller1" order="506">
        <choice name="Retropad" value="1"/>
        <choice name="Retro Keyboard" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="crocods_controller2" order="507">
        <choice name="Retropad" value="1"/>
        <choice name="Retro Keyboard" value="3"/>
      </feature>
    </core>
    <core name="daphne" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="desmume" features="cheevos, netplay">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="desmume_internal_resolution" order="20">
        <choice name="x1 (256x192)" value="256x192"/>
        <choice name="x2 (512x384)" value="512x384"/>
        <choice name="x3 (768x576)" value="768x576"/>
        <choice name="x4 (1024x768)" value="1024x768"/>
        <choice name="x5 (1280x960)" value="1280x960"/>
        <choice name="x6 (1536x1152)" value="1536x1152"/>
        <choice name="x7 (1792x1344)" value="1792x1344"/>
        <choice name="x8 (2048x1536)" value="2048x1536"/>
        <choice name="x9 (2304x1728)" value="2304x1728"/>
        <choice name="x10 (2560x1920)" value="2560x1920"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="desmume_screens_layout" description="Choose the disposition of the emulated screens." order="158">
        <choice name="TOP/BOTTOM" value="top/bottom"/>
        <choice name="BOTTOM/TOP" value="bottom/top"/>
        <choice name="LEFT/RIGHT" value="left/right"/>
        <choice name="RIGHT/LEFT" value="right/left"/>
        <choice name="TOP ONLY" value="top only"/>
        <choice name="BOTTOM ONLY" value="bottom only"/>
        <choice name="HYBRID TOP" value="hybrid/top"/>
        <choice name="HYBRID BOTTOM" value="hybrid/bottom"/>
      </feature>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="HYBRID RATIO" value="desmume_hybrid_layout_ratio" description="Size of the largest screen when using a hybrid screen layout." order="159">
        <choice name="3:1" value="3:1"/>
        <choice name="2:1" value="2:1"/>
      </feature>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="HYBRID SMALL SCREEN MODE" value="desmume_hybrid_showboth_screens" description="Select which screen will be shown when using hybrid layout." order="160">
        <choice name="SHOW BOTH" value="enabled"/>
        <choice name="SHOW OPPOSITE" value="disabled"/>
      </feature>
      <feature submenu="VIDEO" name="SCREEN GAP" group="ADVANCED SETTINGS" value="desmume_screens_gap" description="Configure gap between both screens in pixels." preset="sliderauto" preset-parameters="0 100 2 px" order="161"/>
      <feature submenu="VISUAL RENDERING" name="TEXTURE UPSCALING" group="ADVANCED SETTINGS" value="desmume_gfx_texture_scaling" description="Choose xBRZ texture enhancement level." order="251">
          <choice name="NO" value="1"/>
          <choice name="2xBRZ" value="2"/>
          <choice name="4xBRZ" value="4"/>
        </feature>
      <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="ANTI-ALIASING" value="desmume_gfx_multisampling" description="OpenGL only." order="252">
        <choice name="DISABLED" value="disabled"/>
        <choice name="2X" value="2"/>
        <choice name="4X" value="4"/>
        <choice name="8X" value="8"/>
        <choice name="16X" value="16"/>
        <choice name="32X" value="32"/>
      </feature>
      <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="COLOR DEPTH" value="desmume_color_depth" description="OpenGL only." order="253">
        <choice name="16 BITS" value="16-bit"/>
        <choice name="32 BITS" value="32-bit"/>
      </feature>
      <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="SMOOTH TEXTURES" value="desmume_gfx_texture_smoothing" description="OpenGL only." preset="switchauto" order="254"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="CONSOLE LANGUAGE" group="ADVANCED SETTINGS" value="desmume_firmware_language" order="103">
        <choice name="English" value="English"/>
        <choice name="日本語 (Japanese)" value="Japanese"/>
        <choice name="Français" value="French"/>
        <choice name="Español" value="Spanish"/>
        <choice name="Deutsch" value="German"/>
        <choice name="Italiano" value="Italian"/>
      </feature>
      <feature submenu="EMULATION" name="USE EXTERNAL BIOS" group="ADVANCED SETTINGS" value="desmume_use_external_bios" description="DesMumME has an internal BIOS, select this option to use the firmware from the RetroBat folder." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="BOOT TO BIOS" group="ADVANCED SETTINGS" value="desmume_boot_into_bios" description="Boot directly into the DS BIOS menu, needs external bios to be activated." preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="CPU MODE" group="ADVANCED SETTINGS" value="desmume_cpu_mode" description="Interpreter has better compatibility than JIT Dynamic Recompiler, JIT is faster." order="106">
        <choice name="INTERPRETER" value="interpreter"/>
        <choice name="JIT" value="jit"/>
      </feature>
      <feature submenu="DRIVERS" name="USE OPENGL (CORE)" group="ADVANCED SETTINGS" value="desmume_opengl_mode" description="Enable OpenGL renderer, RetroArch driver must be set to OpenGL." preset="switchauto" order="404"/>
      <feature submenu="CONTROLS" name="EMULATE STYLUS WITH RIGHT STICK" group="ADVANCED SETTINGS" value="desmume_rightanalog" preset="switchauto" order="505"/>
    </core>
    <core name="desmume2015" features="cheevos, netplay">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="desmume_internal_resolution" order="20">
        <choice name="x1 (256x192)" value="256x192"/>
        <choice name="x2 (512x384)" value="512x384"/>
        <choice name="x3 (768x576)" value="768x576"/>
        <choice name="x4 (1024x768)" value="1024x768"/>
        <choice name="x5 (1280x960)" value="1280x960"/>
        <choice name="x6 (1536x1152)" value="1536x1152"/>
        <choice name="x7 (1792x1344)" value="1792x1344"/>
        <choice name="x8 (2048x1536)" value="2048x1536"/>
        <choice name="x9 (2304x1728)" value="2304x1728"/>
        <choice name="x10 (2560x1920)" value="2560x1920"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="desmume_screens_layout" description="Choose the disposition of the emulated screens." order="158">
        <choice name="TOP/BOTTOM" value="top/bottom"/>
        <choice name="BOTTOM/TOP" value="bottom/top"/>
        <choice name="LEFT/RIGHT" value="left/right"/>
        <choice name="RIGHT/LEFT" value="right/left"/>
        <choice name="TOP ONLY" value="top only"/>
        <choice name="BOTTOM ONLY" value="bottom only"/>
        <choice name="HYBRID TOP" value="hybrid/top"/>
        <choice name="HYBRID BOTTOM" value="hybrid/bottom"/>
      </feature>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="HYBRID SMALL SCREEN MODE" value="desmume_hybrid_showboth_screens" description="Select which screen will be shown when using hybrid layout." order="159">
        <choice name="SHOW BOTH" value="enabled"/>
        <choice name="SHOW OPPOSITE" value="disabled"/>
      </feature>
      <feature submenu="VIDEO" name="SCREEN GAP" group="ADVANCED SETTINGS" value="desmume_screens_gap" description="Configure gap between both screens in pixels." preset="sliderauto" preset-parameters="0 100 2 px" order="160"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="CONSOLE LANGUAGE" group="ADVANCED SETTINGS" value="desmume_firmware_language" order="103">
        <choice name="English" value="English"/>
        <choice name="日本語 (Japanese)" value="Japanese"/>
        <choice name="Français" value="French"/>
        <choice name="Español" value="Spanish"/>
        <choice name="Deutsch" value="German"/>
        <choice name="Italiano" value="Italian"/>
      </feature>
      <feature submenu="EMULATION" name="CPU MODE" group="ADVANCED SETTINGS" value="desmume_cpu_mode" description="Interpreter has better compatibility than JIT Dynamic Recompiler, JIT is faster." order="104">
        <choice name="INTERPRETER" value="interpreter"/>
        <choice name="JIT" value="jit"/>
      </feature>
      <feature submenu="CONTROLS" name="EMULATE STYLUS WITH RIGHT STICK" group="ADVANCED SETTINGS" value="desmume_rightanalog" preset="switchauto" order="505"/>
    </core>
    <core name="dolphin" features="cheevos">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="dolphin_efb_scale" order="20">
        <choice name="x1" value="1"/>
        <choice name="x2" value="2"/>
        <choice name="x3" value="3"/>
        <choice name="x4" value="4"/>
        <choice name="x5" value="5"/>
        <choice name="x6" value="6"/>
      </feature>
      <feature submenu="VIDEO" name="COMPILE SHADERS BEFORE STARTING" group="ADVANCED SETTINGS" value="dolphin_wait_for_shaders" description="May reduce stuttering a the cost of longer delay to start a game." preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="SHADERS COMPILATION METHOD" group="ADVANCED SETTINGS" value="dolphin_shader_compilation_mode" description="Reduce stuttering a the cost of much longer delay to start a game and high GPU usage." order="159">
        <choice name="SYNC" value="0"/>
        <choice name="ASYNC UBERSHADERS" value="2"/>
        <choice name="SYNC UBERSHADERS" value="1"/>
        <choice name="ASYNC SKIP RENDERING" value="3"/>
      </feature>
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="enable_hdr" order="160"/>
      <feature submenu="VIDEO" name="ENABLE GPU-TEXTURE-DECODING" group="ADVANCED SETTINGS" value="dolphin_gpu_texture_decoding" description="Can increase performance when using powerful GPU." preset="switchauto" order="161"/>
      <feature submenu="VIDEO" name="VERTEX ROUNDING" group="ADVANCED SETTINGS" value="VertexRounding" description="Can fix some games when using a non-native resolution by rounding 2D edges." preset="switchauto" order="162"/>
      <feature submenu="VIDEO" name="IGNORE VBI" group="ADVANCED SETTINGS" value="VISkip" description="Skip VBI when lag is detected, helps with audio stuttering when emulation speed decreases." preset="switchauto" order="163"/>
      <feature submenu="VIDEO" name="STORE XFB COPIES TO TEXTURE ONLY(HACK)" group="ADVANCED SETTINGS" value="dolphin_xfbtotexture" description="Default enabled, can be problematic for few games." preset="switchauto" order="164"/>
      <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="dolphin_anti_aliasing" description="Set Anti Aliasing level for rendered content." order="250">
        <choice name="NONE" value="0"/>
        <choice name="2x MSAA" value="1"/>
        <choice name="4x MSAA" value="2"/>
        <choice name="8x MSAA" value="3"/>
        <choice name="2x SSAA" value="4"/>
        <choice name="4x SSAA" value="5"/>
        <choice name="8x SSAA" value="6"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="dolphin_max_anisotropy" description="Enhance the quality of textures on surface." order="251">
        <choice name="1x" value="0"/>
        <choice name="2x" value="1"/>
        <choice name="4x" value="2"/>
        <choice name="8x" value="3"/>
        <choice name="16x" value="4"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="FORCE TEXTURES FILTERING" group="ADVANCED SETTINGS" value="dolphin_force_texture_filtering_mode" description="Filter all textures. Including any that the game explicitly sets as unfiltered. Disabled by default." order="252">
        <choice name="DEFAULT" value="0"/>
        <choice name="NEAREST" value="1"/>
        <choice name="LINEAR" value="2"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="MANUAL TEXTURE SAMPLING" group="ADVANCED SETTINGS" value="manual_texture_sampling" description="Allow for correct emulation of texture wrapping, but comes at a cost of performance." preset="switchauto" order="253"/>
      <feature submenu="VISUAL RENDERING" name="WIDESCREEN HACK" group="ADVANCED SETTINGS" value="dolphin_widescreen_hack" description="Display the emulated framebuffer at a widescreen aspect ratio. Get best results with full 3D games." preset="switchauto" order="254"/>
      <feature submenu="VISUAL RENDERING" name="CROP OVERSCAN" group="ADVANCED SETTINGS" value="dolphin_crop_overscan" description="Crop the picture from its native aspect ratio to 4:3 or 16:9" preset="switchauto" order="255"/>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="dolphin_load_custom_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="257"/>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES CACHING" group="ADVANCED SETTINGS" value="dolphin_cache_custom_textures" preset="switchauto" order="258"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="dolphin_language" order="103">
        <choice name="English" value="1"/>
        <choice name="Français" value="3"/>
        <choice name="Deutsch" value="2"/>
        <choice name="Español" value="4"/>
        <choice name="Italiano" value="5"/>
        <choice name="Nederlands" value="6"/>
        <choice name="日本語 (Japanese)" value="0"/>
        <choice name="简化字 (Chinese - simplified)" value="7"/>
        <choice name="簡化字 (Chinese - traditional)" value="8"/>
        <choice name="한국어 (Korean)" value="9"/>
      </feature>
      <feature submenu="EMULATION" name="FORCE PAL 60HZ" group="ADVANCED SETTINGS" value="dolphin_pal60" preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="ENABLE CHEATS" group="ADVANCED SETTINGS" value="dolphin_cheats_enabled" description="Enable the effects of the chosen Action Replay and Gecko codes for a game." preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="DUAL CORE CPU THREAD" group="ADVANCED SETTINGS" value="dolphin_cputhread" description="Run games faster. A powerful option for gaining performance that has no downsides some of the time. May cause various random issues caused by splitting the CPU and GPU threads onto different cores." preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="CPU CORE" group="ADVANCED SETTINGS" value="dolphin_cpu_core" description="JIT is fastest, Interpreter is more accurate." order="107">
        <choice name="JIT64 (recommended)" value="1"/>
        <choice name="Cached Interpreter (slow)" value="5"/>
        <choice name="Interpreter (slowest)" value="0"/>
      </feature>
      <feature submenu="EMULATION" name="MEMORY MANAGEMENT UNIT" group="ADVANCED SETTINGS" value="enable_mmu" description="Enable the Memory Management Unit. Required for some games." preset="switchauto" order="108"/>
      <feature submenu="USER INTERFACE" name="CORE NOTIFICATIONS" group="ADVANCED SETTINGS" value="dolphin_osd_enabled" description="Show core specific notifications." preset="switchauto" order="453"/>
      <system name="gamecube">
        <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="skip_bios" description="Skips the BIOS boot animation displayed when loading content." preset="switchauto" order="109"/>
        <feature submenu="EMULATION" name="SYNC SAVES BETWEEN CORE AND STANDALONE" group="ADVANCED SETTINGS" value="dolphin_sync_saves" description="RetroBat will sync dolphin and libretro-dolphin saves folders." preset="switchauto" order="110"/>
        <feature submenu="CONTROLS" name="FACE BUTTONS LAYOUT" group="ADVANCED SETTINGS" value="gamecube_buttons" order="505">
          <choice name="NINTENDO LAYOUT" value="standard"/>
          <choice name="POSITIONAL" value="position"/>
          <choice name="XBOX LAYOUT" value="xbox"/>
          <choice name="MIX (A/B NINTENDO)" value="reverse_ab"/>
        </feature>
        <feature submenu="CONTROLS" name="RUMBLE" group="ADVANCED SETTINGS" value="dolphin_enable_rumble" description="Enable controller's rumble effects." preset="switchauto" order="506"/>
        <feature submenu="CONTROLS" name="USE ANALOG TRIGGERS" group="ADVANCED SETTINGS" value="gamepaddigitaltriggers" description="Disable this to map R2 and L2 with L and R buttons (non-digital)." preset="switchauto" order="507"/>
      </system>
      <system name="wii">
        <feature submenu="VIDEO" name="WIDESCREEN (WII)" group="ADVANCED SETTINGS" value="dolphin_widescreen" preset="switchauto" order="165"/>
        <feature submenu="VIDEO" name="PROGRESSIVE SCAN" group="ADVANCED SETTINGS" value="dolphin_progressive_scan" preset="switchauto" order="166"/>
        <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="dolphin_p1_controller" order="505">
          <choice name="WIIMOTE" value="1"/>
          <choice name="WIIMOTE SIDEWAYS" value="513"/>
          <choice name="WIIMOTE + NUNCHUK" value="769"/>
          <choice name="CLASSIC CONTROLLER" value="1025"/>
          <choice name="CLASSIC CONTROLLER PRO" value="1281"/>
          <choice name="REAL WIIMOTE" value="1536"/>
          <choice name="GAMECUBE CONTROLLER" value="1537"/>
        </feature>
        <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="dolphin_p2_controller" order="506">
          <choice name="WIIMOTE" value="1"/>
          <choice name="WIIMOTE SIDEWAYS" value="513"/>
          <choice name="WIIMOTE + NUNCHUK" value="769"/>
          <choice name="CLASSIC CONTROLLER" value="1025"/>
          <choice name="CLASSIC CONTROLLER PRO" value="1281"/>
          <choice name="REAL WIIMOTE" value="1536"/>
          <choice name="GAMECUBE CONTROLLER" value="1537"/>
        </feature>
        <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="dolphin_p3_controller" order="507">
          <choice name="WIIMOTE" value="1"/>
          <choice name="WIIMOTE SIDEWAYS" value="513"/>
          <choice name="WIIMOTE + NUNCHUK" value="769"/>
          <choice name="CLASSIC CONTROLLER" value="1025"/>
          <choice name="CLASSIC CONTROLLER PRO" value="1281"/>
          <choice name="REAL WIIMOTE" value="1536"/>
          <choice name="GAMECUBE CONTROLLER" value="1537"/>
        </feature>
        <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="dolphin_p4_controller" order="508">
          <choice name="WIIMOTE" value="1"/>
          <choice name="WIIMOTE SIDEWAYS" value="513"/>
          <choice name="WIIMOTE + NUNCHUK" value="769"/>
          <choice name="CLASSIC CONTROLLER" value="1025"/>
          <choice name="CLASSIC CONTROLLER PRO" value="1281"/>
          <choice name="REAL WIIMOTE" value="1536"/>
          <choice name="GAMECUBE CONTROLLER" value="1537"/>
        </feature>
        <feature submenu="CONTROLS" name="SENSOR BAR POSITION" group="ADVANCED SETTINGS" value="dolphin_sensor_bar_position" order="509">
          <choice name="BOTTOM" value="0"/>
          <choice name="TOP" value="1"/>
        </feature>
        <feature submenu="CONTROLS" name="IR MODE" group="ADVANCED SETTINGS" value="dolphin_ir_mode" order="510">
          <choice name="RIGHT STICK (ABSOLUTE)" value="1"/>
          <choice name="RIGHT STICK (RELATIVE)" value="0"/>
          <choice name="MOUSE" value="2"/>
        </feature>
        <feature submenu="CONTROLS" name="IR MODIFIER BUTTON" group="ADVANCED SETTINGS" value="dolphin_ir_modifier" description="Choose button to enable IR on rightstick." order="511">
          <choice name="ALWAYS ON" value="None"/>
          <choice name="L3" value="L3"/>
          <choice name="R3" value="R3"/>
          <choice name="L1" value="L1"/>
          <choice name="R1" value="R1"/>
          <choice name="L2" value="L2"/>
          <choice name="R2" value="R2"/>
        </feature>
        <feature submenu="CONTROLS" name="SWING MODIFIER BUTTON" group="ADVANCED SETTINGS" value="dolphin_swing_modifier" description="Choose button to simulate rightstick swing action." order="512">
          <choice name="DISABLED" value="Disabled"/>
          <choice name="ALWAYS SWING" value="None"/>
          <choice name="L3" value="L3"/>
          <choice name="R3" value="R3"/>
          <choice name="L1" value="L1"/>
          <choice name="R1" value="R1"/>
          <choice name="L2" value="L2"/>
          <choice name="R2" value="R2"/>
        </feature>
        <feature submenu="CONTROLS" name="DISABLE WIIMOTE CONTINUOUS SCANNING" group="ADVANCED SETTINGS" value="dolphin_nowiimotescan" preset="switchauto" order="514"/>
        <feature submenu="CONTROLS" name="BLUETOOTH PASSTHROUGH" group="ADVANCED SETTINGS" value="dolphin_bt_pass" preset="switchauto" order="515"/>
      </system>
    </core>
    <core name="dosbox" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="dosbox_core" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="dosbox_svn" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="dosbox_svn_ce" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="dosbox_pure" features="padtokeyboard">
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (CORE)" group="ADVANCED SETTINGS" value="dosbox_pure_aspect_correction" order="158">
        <choice name="ORIGINAL" value="false"/>
        <choice name="SINGLE-SCAN" value="true"/>
        <choice name="DOUBLE-SCAN" value="doublescan"/>
        <choice name="SINGLE-SCAN(PADDED)" value="padded"/>
        <choice name="DOUBLE-SCAN(PADDED)" value="padded-doublescan"/>
      </feature>
      <feature submenu="VIDEO" name="TARGET FPS" group="ADVANCED SETTINGS" value="dosbox_pure_force60fps" order="159">
        <choice name="OFF" value="false"/>
        <choice name="30" value="30"/>
        <choice name="60" value="60"/>
        <choice name="120" value="120"/>
        <choice name="144" value="144"/>
        <choice name="240" value="240"/>
        <choice name="360" value="360"/>
        <choice name="10" value="10"/>
        <choice name="15" value="15"/>
        <choice name="20" value="20"/>
        <choice name="35" value="35"/>
        <choice name="50" value="50"/>
        <choice name="70" value="70"/>
        <choice name="90" value="90"/>
      </feature>
      <feature submenu="VIDEO" name="EMULATED GRAPHIC CHIP" group="ADVANCED SETTINGS" value="dosbox_pure_machine" description="The type of emulated graphic chip." order="160">
        <choice name="SVGA" value="svga"/>
        <choice name="VGA" value="vga"/>
        <choice name="EGA" value="ega"/>
        <choice name="CGA" value="cga"/>
        <choice name="TANDY" value="tandy"/>
        <choice name="HERCULES" value="hercules"/>
        <choice name="PCJR" value="pcjr"/>
      </feature>
      <feature submenu="VIDEO" name="SVGA MODE" group="ADVANCED SETTINGS" value="dosbox_pure_svga" description="The SVGA variation that is being emulated." order="161">
        <choice name="S3 TRIO64" value="svga_s3"/>
        <choice name="S3 TRIO64 NO LINES BUFFER HACK" value="vesa_nolfb"/>
        <choice name="S3 TRIO64 VESA 1.3" value="vesa_oldvbe"/>
        <choice name="TSENG LABS ET3000" value="svga_et3000"/>
        <choice name="TSENG LABS ET4000" value="svga_et4000"/>
        <choice name="PARADISE PVGA1A" value="svga_paradise"/>
      </feature>
      <feature submenu="VIDEO" name="SVGA MEMORY" group="ADVANCED SETTINGS" value="dosbox_pure_svgamem" order="162">
        <choice name="512k" value="0"/>
        <choice name="1MB" value="1"/>
        <choice name="2MB (DEFAULT)" value="2"/>
        <choice name="3MB" value="3"/>
        <choice name="4MB" value="4"/>
        <choice name="8MB (UNSAFE)" value="8"/>
      </feature>
      <feature submenu="VIDEO" name="CGA MODE" group="ADVANCED SETTINGS" value="cga" description="The CGA variation that is being emulated." order="163">
        <choice name="EARLY MODEL - COMPOSITE MODE AUTO" value="early_auto"/>
        <choice name="EARLY MODEL - COMPOSITE MODE ON" value="early_on"/>
        <choice name="EARLY MODEL - COMPOSITE MODE OFF" value="early_off"/>
        <choice name="LATE MODEL - COMPOSITE MODE AUTO" value="late_auto"/>
        <choice name="LATE MODEL - COMPOSITE MODE ON" value="late_on"/>
        <choice name="LATE MODEL - COMPOSITE MODE OFF" value="late_off"/>
      </feature>
      <feature submenu="VIDEO" name="HERCULES COLOR MODE" group="ADVANCED SETTINGS" value="hercules" description="The color scheme for Hercules emulation." order="164">
        <choice name="BLACK AND WHITE" value="white"/>
        <choice name="BLACK AND AMBER" value="amber"/>
        <choice name="BLACK AND GREEN" value="green"/>
      </feature>
      <feature submenu="VIDEO" name="3DFX VOODOO ACCELERATOR" group="ADVANCED SETTINGS" value="dosbox_pure_voodoo" description="Enable certain games with support for the 3Dfx Voodoo accelerator." order="165">
        <choice name="8MB Memory" value="8mb"/>
        <choice name="OFF" value="off"/>
        <choice name="4MB Memory" value="4mb"/>
        <choice name="12MB Memory" value="12mb"/>
      </feature>
      <feature submenu="VIDEO" name="3DFX VOODOO PERFORMANCE" group="ADVANCED SETTINGS" value="dosbox_pure_voodoo_perf" description="Tweak the behavior of the 3Dfx Voodoo emulation." order="166">
        <choice name="HARDWARE OPENGL" value="4"/>
        <choice name="Multi-threaded" value="1"/>
        <choice name="Single-threaded" value="0"/>
        <choice name="Multi-threaded (Low Quality)" value="3"/>
        <choice name="Single-threaded (Low Quality)" value="2"/>
      </feature>
      <feature submenu="VIDEO" name="3DFX VOODOO SCALING" group="ADVANCED SETTINGS" value="dosbox_pure_voodoo_scale" description="Increase the 3DFx Voodoo OpenGL resolution." order="167">
        <choice name="1X" value="1"/>
        <choice name="2X" value="2"/>
        <choice name="3X" value="3"/>
        <choice name="4X" value="4"/>
        <choice name="5X" value="5"/>
        <choice name="6X" value="6"/>
        <choice name="7X" value="7"/>
        <choice name="8X" value="8"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="OVERSCAN" group="ADVANCED SETTINGS" value="dosbox_pure_overscan" order="251">
        <choice name="OFF" value="0"/>
        <choice name="SMALL" value="1"/>
        <choice name="MEDIUM" value="2"/>
        <choice name="LARGE" value="3"/>
      </feature>
      <feature submenu="AUDIO" name="SOUNDBLASTER TYPE" group="ADVANCED SETTINGS" value="dosbox_pure_sblaster_type" description="Type of emulated SoundBlaster card." order="306">
        <choice name="SOUNDBLASTER 16" value="sb16"/>
        <choice name="SOUNDBLASTER PRO 2" value="sbpro2"/>
        <choice name="SOUNDBLASTER PRO" value="sbpro"/>
        <choice name="SOUNDBLASTER 2.0" value="sb2"/>
        <choice name="SOUNDBLASTER 1.0" value="sb1"/>
        <choice name="GAMEBLASTER" value="gb"/>
        <choice name="NO" value="none"/>
      </feature>
      <feature submenu="AUDIO" name="SOUNDBLASTER SETTINGS" group="ADVANCED SETTINGS" value="dosbox_sblaster_conf" description="Set the adress, interrupt, low 8 bit and high 16 bit DMA." order="307">
        <choice name="Port 220 IRQ 7 DMA 1/5" value="A220 I7 D1 H5"/>
        <choice name="Port 220 IRQ 5 DMA 1/5" value="A220 I5 D1 H5"/>
        <choice name="Port 240 IRQ 7 DMA 1/5" value="A240 I7 D1 H5"/>
        <choice name="Port 240 IRQ 7 DMA 3/7" value="A240 I7 D3 H7"/>
        <choice name="Port 240 IRQ 2 DMA 3/7" value="A240 I2 D3 H7"/>
        <choice name="Port 240 IRQ 5 DMA 3/5" value="A240 I5 D3 H5"/>
        <choice name="Port 240 IRQ 5 DMA 1/5" value="A240 I5 D1 H5"/>
        <choice name="Port 240 IRQ 10 DMA 3/7" value="A240 I10 D3 H7"/>
        <choice name="Port 280 IRQ 10 DMA 0/6" value="A280 I10 D0 H6"/>
        <choice name="Port 280 IRQ 5 DMA 1/5" value="A280 I5 D1 H5"/>
      </feature>
      <feature submenu="AUDIO" name="SOUNDBLASTER ADLIB PROVIDER" group="ADVANCED SETTINGS" value="dosbox_pure_sblaster_adlib_emu" description="Provider for the Adlib emulation. DEFAULT has good quality and low perf requirements." order="308">
        <choice name="DEFAULT" value="default"/>
        <choice name="HIGH QUALITY NUKED OPL3" value="nuked"/>
      </feature>
      <feature submenu="AUDIO" name="SOUNDBLASTER FM MODE" group="ADVANCED SETTINGS" value="dosbox_pure_sblaster_adlib_mode" description="The SoundBlaster emulated FM synth mode." order="309">
        <choice name="CMS" value="cms"/>
        <choice name="OPL-2" value="opl2"/>
        <choice name="DUAL OPL-2" value="dualopl2"/>
        <choice name="OPL-3" value="opl3"/>
        <choice name="OPL-3 GOLD" value="opl3gold"/>
        <choice name="NO" value="none"/>
      </feature>
      <feature submenu="AUDIO" name="MIDI OUTPUT" group="ADVANCED SETTINGS" value="midi" description="Select the soundfont file or interface used for MIDI output." order="310">
        <choice name="NO" value="disabled"/>
        <choice name="ROLAND SC-55" value="scummvm/extra/Roland_SC-55.sf2"/>
        <choice name="ROLAND SC-88" value="scummvm/extra/Roland_SC-88.sf2"/>
        <choice name="ROLAND MT-32" value="scummvm/extra/MT32_CONTROL.ROM"/>
      </feature>
      <feature submenu="AUDIO" name="GRAVIS ULTRASOUND" group="ADVANCED SETTINGS" value="dosbox_pure_gus" description="Enable Gravis Ultrasound emulation." preset="switchauto" order="311"/>
      <feature submenu="AUDIO" name="TANDY SOUND" group="ADVANCED SETTINGS" value="dosbox_pure_tandysound" description="Enable Tandy Sound emulation." preset="switchauto" order="312"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="LOAD DOSBOX.CONF" group="ADVANCED SETTINGS" value="dosbox_pure_conf" description="Try to use legacy dosbox.conf config file instead of core options." order="103">
        <choice name="OFF" value="false"/>
        <choice name="dosbox.conf (in zip or folder)" value="inside"/>
        <choice name="*game_name*.conf (next to zip or folder)" value="outside"/>
      </feature>
      <feature submenu="EMULATION" name="CPU TYPE" group="ADVANCED SETTINGS" value="dosbox_pure_cpu_type" description="Emulation method used. AUTO for mixed features with max performance and compatibility." order="104">
        <choice name="386" value="386"/>
        <choice name="386 (SLOW)" value="386_slow"/>
        <choice name="386 (PREFETCH)" value="386_prefetch"/>
        <choice name="486 (SLOW)" value="486_slow"/>
        <choice name="PENTIUM (SLOW)" value="pentium_slow"/>
      </feature>
      <feature submenu="EMULATION" name="CPU CYCLES" group="ADVANCED SETTINGS" value="dosbox_pure_cycles" description="The raw performance to emulate." order="105">
        <choice name="MAX" value="max"/>
        <choice name="8086/8088 - 4.77MHZ (315 CPS)" value="315"/>
        <choice name="286 - 6MHZ (1320 CPS)" value="1320"/>
        <choice name="286 - 12.5MHZ (2750 CPS)" value="2750"/>
        <choice name="386 - 20MHZ (4720 CPS)" value="4720"/>
        <choice name="386DX - 33MHZ (7800 CPS)" value="7800"/>
        <choice name="486DX - 33MHZ (13400 CPS)" value="13400"/>
        <choice name="486DX2 - 66MHZ (26800 CPS)" value="26800"/>
        <choice name="PENTIUM - 100MHZ (77000 CPS)" value="77000"/>
        <choice name="PENTIUM II - 300MHZ (200000 CPS)" value="200000"/>
        <choice name="PENTIUM III - 600MHZ (500000 CPS)" value="500000"/>
        <choice name="ATHLON - 1.2GHZ (1000000 CPS)" value="1000000"/>
      </feature>
      <feature submenu="EMULATION" name="CPU CORE" group="ADVANCED SETTINGS" value="dosbox_pure_cpu_core" description="Use interpreter for best compatibility, dynarec for performance." order="106">
        <choice name="DYNAMIC RECOMPILATION" value="dynamic"/>
        <choice name="NORMAL (INTERPRETER)" value="normal"/>
        <choice name="SIMPLE (INTERPRETER)" value="simple"/>
      </feature>
      <feature submenu="EMULATION" name="HIGH MEMORY" group="ADVANCED SETTINGS" value="dosbox_pure_memory_size" description="The amount of high memory size the emulated machine has." order="107">
        <choice name="NO" value="none"/>
        <choice name="4MB" value="4"/>
        <choice name="8MB" value="8"/>
        <choice name="16MB(DEFAULT)" value="16"/>
        <choice name="24MB" value="24"/>
        <choice name="32MB" value="32"/>
        <choice name="64MB" value="64"/>
        <choice name="96MB" value="96"/>
        <choice name="128MB" value="128"/>
        <choice name="224MB" value="224"/>
        <choice name="256MB" value="256"/>
        <choice name="512MB" value="512"/>
        <choice name="1024MB" value="1024"/>
      </feature>
      <feature submenu="EMULATION" name="OS DISK MODIFICATION" group="ADVANCED SETTINGS" value="dosbox_pure_bootos_ramdisk" description="By default, modifications will be saved to disk drive, 'discard' will not save any modification." order="108">
        <choice name="KEEP" value="false"/>
        <choice name="DISCARD" value="true"/>
        <choice name="SAVE DIFFERENCE PER CONTENT" value="diff"/>
      </feature>
      <feature submenu="EMULATION" name="FORCE NORMAL CORE IN OS" group="ADVANCED SETTINGS" value="dosbox_pure_bootos_forcenormal" description="The normal core can be more stable when running installed OS." preset="switchauto" order="109"/>
      <feature submenu="USER INTERFACE" name="CORE PERFORMANCE STATISTICS" value="dosbox_pure_perfstats" group="ADVANCED SETTINGS" description="Display different levels of informations about statistics of performance." order="453">
        <choice name="OFF" value="none"/>
        <choice name="SIMPLE" value="simple"/>
        <choice name="DETAILED" value="detailed"/>
      </feature>
      <feature submenu="USER INTERFACE" name="ON-SCREEN KEYBOARD" value="dosbox_pure_on_screen_keyboard" group="ADVANCED SETTINGS" description="Enable the On Screen Keyboard feature which can be activated with the L3 button." preset="switchauto" order="454"/>
      <feature submenu="USER INTERFACE" name="DOSBOX START MENU" group="ADVANCED SETTINGS" value="menu_time" description="Set the behavior of the start menu when autostarted game exit." order="455">
        <choice name="SHUTDOWN CORE IMMEDIATELY" value="none"/>
        <choice name="SHUTDOWN CORE AFTER 3 SECS" value="3"/>
        <choice name="SHUTDOWN CORE AFTER 5 SECS" value="5"/>
        <choice name="IGNORE AUTOSTART" value="-1"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="dos_controller1" order="506">
        <choice name="PAD MAPPER Generic Keyboard" value="1"/>
        <choice name="Generic Keyboard Binds" value="257"/>
        <choice name="Keyboard + Mouse (Left An.)" value="513"/>
        <choice name="Keyboard + Mouse (Right An.)" value="769"/>
        <choice name="GRAVIS Gammepad (1 DPAD, 4 Buttons)" value="1025"/>
        <choice name="1st Joystick (2 Axes, 2 Btns)" value="1281"/>
        <choice name="2nd Joystick (2 Axes, 2 Btns)" value="1537"/>
        <choice name="Flight Stick (3 Axes, 4 Btns, 1 Hat)" value="1793"/>
        <choice name="Both Joysticks (4 Axes, 4 Btns)" value="2049"/>
        <choice name="CUSTOM KB MAPPING" value="3"/>
        <choice name="CUSTOM KB MAPPING + MOUSE LEFTSTICK + BAX" value="515"/>
        <choice name="CUSTOM KB MAPPING + MOUSE RIGHTSTICK + LRX" value="771"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="dos_controller2" order="507">
        <choice name="PAD MAPPER Generic Keyboard" value="1"/>
        <choice name="Generic Keyboard Binds" value="257"/>
        <choice name="Keyboard + Mouse (Left An.)" value="513"/>
        <choice name="Keyboard + Mouse (Right An.)" value="769"/>
        <choice name="GRAVIS Gammepad (1 DPAD, 4 Buttons)" value="1025"/>
        <choice name="1st Joystick (2 Axes, 2 Btns)" value="1281"/>
        <choice name="2nd Joystick (2 Axes, 2 Btns)" value="1537"/>
        <choice name="Flight Stick (3 Axes, 4 Btns, 1 Hat)" value="1793"/>
        <choice name="Both Joysticks (4 Axes, 4 Btns)" value="2049"/>
        <choice name="CUSTOM KB MAPPING" value="3"/>
        <choice name="CUSTOM KB MAPPING + MOUSE LEFTSTICK + BAX" value="515"/>
        <choice name="CUSTOM KB MAPPING + MOUSE RIGHTSTICK + LRX" value="771"/>
      </feature>
      <feature submenu="CONTROLS" name="KEYBOARD LAYOUT" group="ADVANCED SETTINGS" value="keyboard_layout" description="Select the keyboard layout." order="508">
        <choice name="BRAZIL" value="br"/>
        <choice name="CROATIA" value="hr"/>
        <choice name="CZECH REPUBLIC" value="cz243"/>
        <choice name="DENMARK" value="dk"/>
        <choice name="FINLAND" value="fi"/>
        <choice name="FRANCE" value="fr"/>
        <choice name="GERMANY" value="gr"/>
        <choice name="GREECE" value="gk"/>
        <choice name="HUNGARY" value="hu"/>
        <choice name="ICELAND" value="is161"/>
        <choice name="ITALY" value="it"/>
        <choice name="NETHERLAND" value="nl"/>
        <choice name="NORWAY" value="no"/>
        <choice name="POLAND" value="pl"/>
        <choice name="PORTUGAL" value="pt"/>
        <choice name="RUSSIA" value="ru"/>
        <choice name="SLOVAKIA" value="sk"/>
        <choice name="SLOVENIA" value="si"/>
        <choice name="SPAIN" value="sp"/>
        <choice name="SWEDEN" value="sv"/>
        <choice name="SWITZELAND (DE)" value="sg"/>
        <choice name="SWITZELAND (FR)" value="sf"/>
        <choice name="TURKEY" value="tr"/>
        <choice name="UK" value="uk"/>
        <choice name="USA" value="us"/>
      </feature>
      <feature submenu="CONTROLS" name="GAMEPAD AUTO MAPPING" value="dosbox_pure_auto_mapping" group="ADVANCED SETTINGS" description="Try to detect the game and apply a controller mapping." order="509">
        <choice name="ON" value="true"/>
        <choice name="ON WITH NOTIFICATIONS" value="notify"/>
        <choice name="OFF" value="false"/>
      </feature>
    </core>
    <core name="DoubleCherryGB">
      <feature submenu="EMULATION" name="NUMBER OF PLAYERS" value="dcgb_emulated_gameboys" group="ADVANCED SETTINGS" order="103">
        <choice name="1" value="1"/>
        <choice name="2" value="2"/>
        <choice name="3" value="3"/>
        <choice name="4" value="4"/>
      </feature>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="dcgb_screen_placement" description="Choose the disposition of the emulated screens for multiplayer games." order="158">
        <choice name="SPLIT SCREEN" value="splitscreen"/>
        <choice name="TOP TO BOTTOM" value="top-down"/>
        <choice name="LEFT TO RIGHT" value="left-right"/>
      </feature>
      <feature submenu="AUDIO" group="ADVANCED SETTINGS" name="AUDIO OUTPUT" value="dcgb_audio_output" description="Define which Gameboy sound is output from the system." order="306">
          <choice name="GAMEBOY 1" value="Game Boy #1"/>
          <choice name="GAMEBOY 2" value="Game Boy #2"/>
          <choice name="GAMEBOY 3" value="Game Boy #2"/>
          <choice name="GAMEBOY 4" value="Game Boy #2"/>
        </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="LINK CABLE DEVICE" group="ADVANCED SETTINGS" value="dcgb_multiplayer_linked_devive" order="103">
        <choice name="4 PLAYER ADAPTER" value="Gameboy 4 Player Adapter"/>
        <choice name="2 PLAYER LINK CABLE" value="2-Player Linkcable"/>
        <choice name="FACEBALL 2000 RING CABLE" value="Faceball 2000 Ring-Linkcable"/>
        <choice name="TETRIS HACK ADAPTER" value="Tetris Multiplayer Hack Adapter"/>
        <choice name="KWIRK HACK ADAPTER" value="Kwirk Multiplayer Hack Adapter"/>
        <choice name="OFF" value="Off"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="507"/>
    </core>
    <core name="doukutsu_rs">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="drs_internal_upscale_factor" order="20">
        <choice name="x2" value="2x (CS+, default)"/>
        <choice name="x1" value="1x (freeware, fastest)"/>
        <choice name="x3" value="3x (smoother motion)"/>
        <choice name="x4" value="4x (smoothest motion)"/>
      </feature>
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (CORE)" group="ADVANCED SETTINGS" value="drs_screen_ratio" description="Choose the core-provided aspect ratio. RetroArch's aspect ratio must be set to Core provided in the Video settings." order="158">
        <choice name="4:3" value="4:3 (original)"/>
        <choice name="16:9" value="16:9 (switch)"/>
        <choice name="16:10" value="16:10"/>
        <choice name="21:9" value="21:9"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="USER INTERFACE" name="DISPLAY FPS" value="drs_show_fps" group="ADVANCED SETTINGS" description="Show FPS overlay in-game." preset="switchauto" order="453"/>
    </core>
    <core name="duckstation" features="netplay, cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="psxcontroller1" order="505">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller (DualShock)" value="517"/>
        <choice name="Namco GunCon" value="260"/>
        <choice name="NeGcon" value="1029"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="psxcontroller2" order="506">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller (DualShock)" value="517"/>
        <choice name="Namco GunCon" value="260"/>
        <choice name="NeGcon" value="1029"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
    </core>
    <core name="ecwolf">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="ecwolf_resolution" order="20">
        <choice name="NATIVE (320x200)" value="320x200"/>
        <choice name="2X (640x400)" value="640x400"/>
        <choice name="3X (960x600)" value="960x600"/>
        <choice name="4X (1280x800)" value="1280x800"/>
        <choice name="5X (1600x1000)" value="1600x1000"/>
        <choice name="6X (1920x1200)" value="1920x1200"/>
        <choice name="7X (2240x1400)" value="2240x1400"/>
        <choice name="8X (2560x1600)" value="2560x1600"/>
      </feature>
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (CORE)" group="ADVANCED SETTINGS" value="ecwolf_ratio" description="Choose the core-provided aspect ratio. RetroArch's aspect ratio must be set to Core provided in the Video settings." order="158">
        <choice name="16:9" value="16:9"/>
        <choice name="4:3" value="4:3"/>
        <choice name="16:10" value="16:10"/>
        <choice name="17:10" value="17:10"/>
        <choice name="5:4" value="5:4"/>
        <choice name="21:9" value="21:9"/>
      </feature>
      <feature submenu="VIDEO" name="REFRESH RATE (FPS)" group="ADVANCED SETTINGS" value="ecwolf_fps" description="Configure the fps." order="159">
        <choice name="35" value="35"/>
        <choice name="30" value="30"/>
        <choice name="50" value="50"/>
        <choice name="60" value="60"/>
        <choice name="70" value="70"/>
        <choice name="90" value="90"/>
        <choice name="100" value="100"/>
        <choice name="120" value="120"/>
        <choice name="144" value="144"/>
        <choice name="240" value="240"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="PALETTE" group="ADVANCED SETTINGS" value="ecwolf_palette" description="Choose the color palette." order="251">
        <choice name="RGB565 (16-bit)" value="rgb565"/>
        <choice name="XRGB8888 (24-bit)" value="xrgb8888"/>
      </feature>
      <feature submenu="CONTROLS" name="ALWAYS RUN" group="ADVANCED SETTINGS" value="ecwolf_run" description="RUN by default, use run button to walk." preset="switchauto" order="505"/>
      <feature submenu="CONTROLS" name="ANALOG DEADZONE(CORE)" group="ADVANCED SETTINGS" value="ecwolf_analog_deadzone" description="Sets the deadzone of the Gamepad analog sticks." preset="sliderauto" preset-parameters="0 30 5 %" order="506"/>
      <feature submenu="CONTROLS" name="ANALOG SENSITIVITY(CORE)" group="ADVANCED SETTINGS" value="ecwolf_analog_sensitivity" description="Sets the sensitivity of the analog sticks." preset="sliderauto" preset-parameters="0 20 1 %" order="507"/>
    </core>
    <core name="emuscv">
      <feature submenu="EMULATION" name="CONSOLE TYPE" group="ADVANCED SETTINGS" value="emuscv_console" description="Select the type of console." order="103">
        <choice name="EPOCH" value="EPOCH"/>
        <choice name="YENO" value="YENO"/>
        <choice name="EPOCHLADY" value="EPOCHLADY"/>
      </feature>
      <feature submenu="EMULATION" name="DISABLE BIOS CHECK" group="ADVANCED SETTINGS" value="emuscv_checkbios" description="Can be used to disable BIOS md5 check in case a custom bios is used." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="CONSOLE LANGUAGE" group="ADVANCED SETTINGS" value="emuscv_langage" order="105">
        <choice name="ENGLISH" value="EN"/>
        <choice name="FRANCAIS" value="FR"/>
        <choice name="JAPANESE" value="JP"/>
      </feature>
      <feature submenu="VIDEO" name="INTERNAL RESOLUTION" group="ADVANCED SETTINGS" value="emuscv_resolution" order="158">
        <choice name="LOW" value="LOW"/>
        <choice name="MEDIUM" value="MEDIUM"/>
        <choice name="HIGH" value="HIGH"/>
      </feature>
      <feature submenu="VIDEO" name="FPS" group="ADVANCED SETTINGS" value="emuscv_fps" description="Use 50 for European console and 60 for japanese console." order="159">
        <choice name="50" value="YENO50"/>
        <choice name="60" value="EPOCH60"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="DISPLAY TYPE" group="ADVANCED SETTINGS" value="emuscv_display" description="Select the type of display framing. Use EMUSCV value to correct original console display bugs." order="251">
        <choice name="EMUSCV" value="EMUSCV"/>
        <choice name="EPOCH" value="EPOCH"/>
        <choice name="YENO" value="YENO"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="PIXEL RATIO" group="ADVANCED SETTINGS" value="emuscv_pixelaspect" description="Define whether to use rectangular or square pixel ratio." order="252">
        <choice name="RECTANGULAR" value="RECTANGULAR"/>
        <choice name="SQUARE" value="SQUARE"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="PALETTE" group="ADVANCED SETTINGS" value="emuscv_palette" description="Define the color palette, Old NTSC reproduces the old ugly japanese TV colors." order="253">
        <choice name="STANDARD" value="STANDARD"/>
        <choice name="OLD NTSC" value="OLDNTSC"/>
      </feature>
    </core>
    <core name="emux_gb" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="emux_nes" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="emux_sms" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="ep128emu_core" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="VIDEO" name="ENABLE RESOLUTION CHANGE" group="ADVANCED SETTINGS" value="ep128emu_useh" description="Enable intelligent zoom function." preset="switchauto" order="158"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="ep128_controller1" order="506">
        <choice name="CORE DEFAULT" value="513"/>
        <choice name="RETROPAD" value="1"/>
        <choice name="INTERNAL JOYSTICK" value="769"/>
        <choice name="EXTERNAL/KEMPSTON" value="1025"/>
        <choice name="EXTERNAL 2" value="1281"/>
        <choice name="SINCLAIR 1" value="1537"/>
        <choice name="SINCLAIR 2" value="1793"/>
        <choice name="PROTEK" value="2049"/>
      </feature>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="ep128_controller2" order="506">
        <choice name="CORE DEFAULT" value="513"/>
        <choice name="RETROPAD" value="1"/>
        <choice name="INTERNAL JOYSTICK" value="769"/>
        <choice name="EXTERNAL/KEMPSTON" value="1025"/>
        <choice name="EXTERNAL 2" value="1281"/>
        <choice name="SINCLAIR 1" value="1537"/>
        <choice name="SINCLAIR 2" value="1793"/>
        <choice name="PROTEK" value="2049"/>
      </feature>
    </core>
    <core name="fbalpha" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="TATE MODE" group="ADVANCED SETTINGS" value="fba_vertical_mode" description="Rotate display for vertical games, to enable for use with mega-bezels." preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="fba_frame_skipping" description="Skip frames to improve performance (smoothless)." preset="sliderauto" preset-parameters="0 5 1" order="159"/>
      <feature submenu="AUDIO" name="SAMPLE RATE" group="ADVANCED SETTINGS" value="fba_samplerate" order="306">
        <choice name="44100" value="44100"/>
        <choice name="48000" value="48000"/>
        <choice name="22050" value="22050"/>
        <choice name="11025" value="11025"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="DIAGNOSTIC MENU INPUT" group="ADVANCED SETTINGS" value="fba_diagkey" description="Define the key combination to enter the diagnostic menu." order="103">
        <choice name="START + L + R" value="Start + L + R"/>
        <choice name="HOLD START + L + R" value="Hold Start + L + R"/>
        <choice name="HOLD START" value="Hold Start"/>
        <choice name="START + A + B" value="Start + A + B"/>
        <choice name="HOLD SELECT" value="Hold Select"/>
      </feature>
      <feature submenu="EMULATION" name="NEOGEO MODE" group="ADVANCED SETTINGS" value="fba_neogeo_mode" description="The Neo Geo mode. UNIVERSE BIOS generally offer the best compatibility." order="104">
        <choice name="UNIVERSE BIOS" value="UNIBIOS"/>
        <choice name="MVS" value="MVS"/>
        <choice name="AES" value="AES"/>
        <choice name="DIPSWITCH" value="DIPSWITCH"/>
      </feature>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="fba_cpu_overclock" preset="sliderauto" preset-parameters="100 200 10 %" order="105"/>
      <feature submenu="EMULATION" name="ENABLE FREE PLAY" group="ADVANCED SETTINGS" value="fbalpha_freeplay" preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="ENABLE HISCORES" group="ADVANCED SETTINGS" value="fba_highscore" preset="switchauto" order="107"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="fba_controller" description="Classic uses right and left shoulder for strong kick and punch, modern uses right shoulder and right trigger." order="505">
        <choice name="CLASSIC" value="5"/>
        <choice name="MODERN" value="517"/>
        <choice name="MOUSE (BALL ONLY)" value="2"/>
        <choice name="MOUSE (FULL)" value="514"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="fbneo-lightgun-hide-crosshair" description="Display crosshair if a lightgun is used." preset="switchauto" order="551"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="552"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="553">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="556"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="fbalpha2012" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="TATE MODE" group="ADVANCED SETTINGS" value="fba2012_vertical_mode" description="Rotate display for vertical games, to enable for use with mega-bezels." preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="fba2012_frame_skipping" description="Skip frames to improve performance (smoothless)." preset="sliderauto" preset-parameters="0 5 1" order="159"/>
      <feature submenu="AUDIO" name="SAMPLE RATE" group="ADVANCED SETTINGS" value="fba2012_samplerate" order="306">
        <choice name="44100" value="44100"/>
        <choice name="48000" value="48000"/>
        <choice name="22050" value="22050"/>
        <choice name="11025" value="11025"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="DIAGNOSTIC MENU INPUT" group="ADVANCED SETTINGS" value="fba2012_diagkey" description="Define the key combination to enter the diagnostic menu." order="103">
        <choice name="START + L + R" value="Start + L + R"/>
        <choice name="HOLD START + L + R" value="Hold Start + L + R"/>
        <choice name="HOLD START" value="Hold Start"/>
        <choice name="START + A + B" value="Start + A + B"/>
        <choice name="HOLD SELECT" value="Hold Select"/>
      </feature>
      <feature submenu="EMULATION" name="NEOGEO MODE" group="ADVANCED SETTINGS" value="fba2012_neogeo_mode" description="The Neo Geo mode. UNIVERSE BIOS generally offer the best compatibility." order="104">
        <choice name="UNIVERSE BIOS" value="UNIBIOS"/>
        <choice name="MVS" value="MVS"/>
        <choice name="AES" value="AES"/>
        <choice name="DIPSWITCH" value="DIPSWITCH"/>
      </feature>
      <feature submenu="EMULATION" name="ENABLE FREE PLAY" group="ADVANCED SETTINGS" value="fbalpha2012_freeplay" preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="ENABLE HISCORES" group="ADVANCED SETTINGS" value="fba2012_hiscore" preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="fba2012_cpu_overclock" preset="sliderauto" preset-parameters="100 200 10 %" order="107"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="fba2012_controller" description="Classic uses right and left shoulder for strong kick and punch, modern uses right shoulder and right trigger." order="505">
        <choice name="MODERN" value="517"/>
        <choice name="CLASSIC" value="5"/>
        <choice name="MOUSE (BALL ONLY)" value="2"/>
        <choice name="MOUSE (FULL)" value="514"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="fbneo-lightgun-hide-crosshair" description="Display crosshair if a lightgun is used." preset="switchauto" order="551"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="552"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="553">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="556"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="fbalpha2012_neogeo" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="fbalpha2012_neogeo_frameskip" description="Skip frames to improve performance (smoothless)." preset="switchauto" order="158"/>
      <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="fbalpha2012_neogeo_lowpass_filter" description="Enables a low pass audio filter to soften the harsh sound of some games." preset="sliderauto" preset-parameters="0 95 5 %" order="306"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="DIAGNOSTIC MENU INPUT" group="ADVANCED SETTINGS" value="fba2012ng_diagkey" description="Define the key combination to enter the diagnostic menu." order="103">
        <choice name="NONE" value="None"/>
        <choice name="START + L + R" value="Start + L + R"/>
        <choice name="HOLD START + L + R" value="Hold Start + L + R"/>
        <choice name="HOLD START" value="Hold Start"/>
        <choice name="START + A + B" value="Start + A + B"/>
        <choice name="HOLD SELECT" value="Hold Select"/>
      </feature>
      <feature submenu="EMULATION" name="NEOGEO MODE" group="ADVANCED SETTINGS" value="fba2012ng_neogeo_mode" description="The Neo Geo mode. UNIVERSE BIOS generally offer the best compatibility." order="104">
        <choice name="UNIVERSE BIOS" value="UNIBIOS"/>
        <choice name="MVS" value="MVS"/>
        <choice name="AES" value="AES"/>
        <choice name="DIPSWITCH" value="DIPSWITCH"/>
      </feature>
      <feature submenu="EMULATION" name="ENABLE FREE PLAY" group="ADVANCED SETTINGS" value="fbalpha2012ng_freeplay" preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="fbalpha2012_neogeo_cpu_speed_adjust" preset="sliderauto" preset-parameters="100 200 10 %" order="106"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="fba2012_neogeo_control" description="Classic uses right and left shoulder for strong kick and punch, modern uses right shoulder and right trigger." order="505">
        <choice name="CLASSIC" value="1"/>
        <choice name="MODERN" value="513"/>
      </feature>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="fbalpha2012_cps1" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="AUTO ROTATE" group="ADVANCED SETTINGS" value="fba2012cps1_auto_rotate" description="Automaticaly rotate display for vertical games." preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="fba2012cps1_frameskip" description="Skip frames to improve performance (smoothless)." preset="switchauto" order="159"/>
      <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="fba2012cps1_lowpass_range" description="Enables a low pass audio filter to soften the harsh sound of some games." preset="sliderauto" preset-parameters="0 95 5 %" order="306"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="fba2012cps1_cpu_speed_adjust" description="Force the frequency of the emulated CPU. Can reduce slowdown, but may cause glitches." preset="sliderauto" preset-parameters="100 200 10 %" order="103"/>
      <feature submenu="EMULATION" name="ENABLE HISCORES" group="ADVANCED SETTINGS" value="fba2012cps1_hiscores" description="Saves the hiscores in supported games." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="ENABLE DIAGNOSTIC" group="ADVANCED SETTINGS" value="fba2012cps1_diagnostics" description="Enable this option to access diagnostic menu with specific button combo." preset="switchauto" order="105"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="fbalpha2012_cps2" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="AUTO ROTATE" group="ADVANCED SETTINGS" value="fba2012cps2_auto_rotate" description="Automaticaly rotate display for vertical games." preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="fba2012cps2_frameskip" description="Skip frames to improve performance (smoothless)." preset="switchauto" order="159"/>
      <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="fba2012cps2_lowpass_range" description="Enables a low pass audio filter to soften the harsh sound of some games." preset="sliderauto" preset-parameters="0 95 5 %" order="306"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="fba2012cps2_cpu_speed_adjust" description="Force the frequency of the emulated CPU. Can reduce slowdown, but may cause glitches." preset="sliderauto" preset-parameters="100 200 10 %" order="103"/>
      <feature submenu="EMULATION" name="ENABLE HISCORES" group="ADVANCED SETTINGS" value="fba2012cps2_hiscores" description="Saves the hiscores in supported games." preset="switchauto" order="104"/>
      <feature submenu="CONTROLS" name="CONTROL TYPE" group="ADVANCED SETTINGS" value="fba2012cps2_controls" description="Set default controler mapping." order="505">
        <choice name="gamepad" value="gamepad"/>
        <choice name="arcade" value="arcade"/>
      </feature>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="fbalpha2012_cps3" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="fbalpha2012_cps3_frameskip" description="Skip frames to improve performance (smoothless)." preset="sliderauto" preset-parameters="0 5 1" order="158"/>
      <feature submenu="AUDIO" name="SAMPLE RATE" group="ADVANCED SETTINGS" value="fbalpha2012_cps3_samplerate" order="306">
        <choice name="44100" value="44100"/>
        <choice name="48000" value="48000"/>
        <choice name="32000" value="32000"/>
        <choice name="22050" value="22050"/>
        <choice name="11025" value="11025"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="fbalpha2012_cps3_cpu_speed_adjust" description="Force the frequency of the emulated CPU. Can reduce slowdown, but may cause glitches." preset="sliderauto" preset-parameters="100 200 10 %" order="103"/>
      <feature submenu="EMULATION" name="ENABLE HISCORES" group="ADVANCED SETTINGS" value="fbalpha2012_cps3_hiscores" description="Saves the hiscores in supported games." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="DIAGNOSTIC MENU INPUT" group="ADVANCED SETTINGS" value="fbalpha2012_cps3_diagnostic_input" description="Define the key combination to enter the diagnostic menu." order="105">
        <choice name="START + L + R" value="Start + L + R"/>
        <choice name="HOLD START + L + R" value="Hold Start + L + R"/>
        <choice name="HOLD START" value="Hold Start"/>
        <choice name="START + A + B" value="Start + A + B"/>
        <choice name="HOLD SELECT" value="Hold Select"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLS" group="ADVANCED SETTINGS" value="fbalpha2012_cps3_controls_p1" description="Set default controler mapping for player 1." order="505">
        <choice name="gamepad" value="gamepad"/>
        <choice name="arcade" value="arcade"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 LATERAL BUTTONS" group="ADVANCED SETTINGS" value="fbalpha2012_cps3_lr_controls_p1" description="Remap the lateral buttons scheme for player 1." order="506">
        <choice name="L1/R1" value="normal"/>
        <choice name="L2/R2" value="remap to R1/R2"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLS" group="ADVANCED SETTINGS" value="fbalpha2012_cps3_controls_p2" description="Set default controler mapping for player 2." order="507">
        <choice name="gamepad" value="gamepad"/>
        <choice name="arcade" value="arcade"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 LATERAL BUTTONS" group="ADVANCED SETTINGS" value="fbalpha2012_cps3_lr_controls_p2" description="Remap the lateral buttons scheme for player 2." order="508">
        <choice name="L1/R1" value="normal"/>
        <choice name="L2/R2" value="remap to R1/R2"/>
      </feature>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="fbneo" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="TATE MODE" group="ADVANCED SETTINGS" value="fbneo-vertical-mode" description="Rotate display for vertical games, to enable for use with mega-bezels." order="158">
        <choice name="NO" value="disabled"/>
        <choice name="YES" value="enabled"/>
        <choice name="ALTERNATE" value="alternate"/>
        <choice name="TATE" value="TATE"/>
        <choice name="TATE ALTERNATE" value="TATE alternate"/>
      </feature>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="fbneo_frameskip" description="Skip frames to improve performance (smoothless)." order="159">
        <choice name="OFF" value="disabled"/>
        <choice name="AUTOMATIC" value="auto"/>
        <choice name="SKIP 1 FRAME OUT OF 2" value="1"/>
        <choice name="SKIP 2 FRAMES OUT OF 3" value="2"/>
        <choice name="SKIP 3 FRAMES OUT OF 4" value="3"/>
        <choice name="SKIP 4 FRAMES OUT OF 5" value="4"/>
        <choice name="SKIP 5 FRAMES OUT OF 6" value="5"/>
      </feature>
      <feature submenu="AUDIO" name="SAMPLE RATE" group="ADVANCED SETTINGS" value="fbneo_samplerate" order="306">
        <choice name="44100" value="44100"/>
        <choice name="48000" value="48000"/>
      </feature>
      <feature submenu="AUDIO" name="LOWPASS FILTER" group="ADVANCED SETTINGS" value="fbneo_lowpass_filter" preset="switchauto" order="307"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="DIAGNOSTIC MENU INPUT" group="ADVANCED SETTINGS" value="fbneo_diagkey" description="Define the key combination to enter the diagnostic menu." order="103">
        <choice name="START + L + R" value="Start + L + R"/>
        <choice name="HOLD START" value="Hold Start"/>
        <choice name="START + A + B" value="Start + A + B"/>
        <choice name="HOLD SELECT" value="Hold Select"/>
      </feature>
      <feature submenu="EMULATION" name="ENABLE FREE PLAY" group="ADVANCED SETTINGS" value="fbneo_freeplay" preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="ENABLE HISCORES" group="ADVANCED SETTINGS" value="fbneo_hiscore" preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="fbneo_cpu_overclock" description="Force the frequency of the emulated CPU. Can reduce slowdown, but may cause glitches." preset="sliderauto" preset-parameters="30 400 10 %" order="106"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="fbneo_controller" description="Classic uses right and left shoulder for strong kick and punch, modern uses right shoulder and right trigger." order="505">
        <choice name="CLASSIC" value="5"/>
        <choice name="MODERN" value="517"/>
        <choice name="6-BUTTON PANEL" value="261"/>
        <choice name="MOUSE(ball only)" value="773"/>
        <choice name="MOUSE(full)" value="514"/>
        <choice name="POINTER" value="6"/>
        <choice name="TOUCHSCREEN" value="262"/>
        <choice name="LIGHTGUN" value="4"/>
        <choice name="ANALOG ARCADE GUN" value="1029"/>
        <choice name="4 BUTTONS - NEOGEO MINI" value="custom_4bmini"/>
        <choice name="6 BUTTONS - NEOGEO VARIATION" value="custom_6b"/>
        <choice name="8 BUTTONS - MVS TYPE 1" value="custom_8b_top"/>
        <choice name="8 BUTTONS - MVS TYPE 1 BOTTOM" value="custom_8b_bottom"/>
        <choice name="8 BUTTONS - MVS TYPE 2" value="custom_8b_mvs2"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="506"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="fbneo-lightgun-hide-crosshair" description="Display crosshair if a lightgun is used." preset="switchauto" order="551"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="552"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="553">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="556"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
      <system name="mastersystem">
        <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" preset="switchauto" order="507"/>
      </system>
      <system name="megadrive,genesis">
        <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="megadrive_control_layout" order="507">
          <choice name="L/R as X/Z" value="lr_xz"/>
          <choice name="L/R as Z/C" value="lr_zc"/>
          <choice name="L/R as Y/Z" value="lr_yz"/>
          <choice name="L/R as Y/B" value="lr_yb"/>
          <choice name="L/R as B/Y" value="lr_by"/>
        </feature>
      </system>
      <system name="neogeo">
        <feature submenu="EMULATION" name="BIOS" group="ADVANCED SETTINGS" value="fbneo_neogeo_mode" description="The Neo Geo bios used by the emulator. UNIVERSE BIOS generally offer the best compatibility." order="106">
          <choice name="DIPSWITCH" value="DIPSWITCH"/>
          <choice name="AES JAPAN" value="AES_JAP"/>
          <choice name="AES EUROPE" value="AES_EUR"/>
          <choice name="MVS JAPAN" value="MVS_JAP"/>
          <choice name="MVS USA" value="MVS_USA"/>
          <choice name="MVS EUROPE" value="MVS_EUR"/>
          <choice name="UNIVERSE BIOS" value="UNIBIOS"/>
        </feature>
      </system>
      <system name="neogeomvs">
        <feature submenu="EMULATION" name="BIOS" group="ADVANCED SETTINGS" value="fbneo_neogeo_mode" description="The Neo Geo bios used by the emulator. UNIVERSE BIOS generally offer the best compatibility." order="106">
          <choice name="DIPSWITCH" value="DIPSWITCH"/>
          <choice name="MVS JAPAN" value="MVS_JAP"/>
          <choice name="MVS USA" value="MVS_USA"/>
          <choice name="MVS EUROPE" value="MVS_EUR"/>
          <choice name="UNIVERSE BIOS" value="UNIBIOS"/>
        </feature>
      </system>
    </core>
    <core name="ffmpeg">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="flycast" features="cheevos">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internal_resolution" order="20">
        <choice name="320x240" value="320x240"/>
        <choice name="640x480" value="640x480"/>
        <choice name="800x600" value="800x600"/>
        <choice name="960x720" value="960x720"/>
        <choice name="1024x768" value="1024x768"/>
        <choice name="1280x960" value="1280x960"/>
        <choice name="1440x1080" value="1440x1080"/>
        <choice name="1600x1200" value="1600x1200"/>
        <choice name="1920x1440" value="1920x1440"/>
        <choice name="2560x1920" value="2560x1920"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="EMULATED CABLE TYPE" group="ADVANCED SETTINGS" value="cable_type" description="Apply a video filter to mimic various signals." order="158">
        <choice name="TV (RGB)" value="TV (RGB)"/>
        <choice name="COMPOSITE" value="TV (Composite)"/>
        <choice name="VGA" value="VGA"/>
      </feature>
      <feature submenu="VIDEO" name="POWERVR2 POST-PROCESSING FILTER" group="ADVANCED SETTINGS" value="reicast_pvr2_filtering" description="Simulate effects specific to the PowerVR2 GPU and analog video signals." preset="switchauto" order="159"/>
      <feature submenu="VIDEO" name="TATE MODE" value="reicast_screen_rotation" group="ADVANCED SETTINGS" description="Rotate display for vertical games, to enable for use with mega-bezels." preset="switchauto" order="160"/>
      <feature submenu="VIDEO" name="RENDER TO MULTIPLE THREADS" group="ADVANCED SETTINGS" value="reicast_threaded_rendering" description="Leave this on by default, will use multiple threads for rendering." preset="switchauto" order="161"/>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="reicast_frame_skipping" description="Skip frames to improve performance (smoothless)." preset="sliderauto" preset-parameters="0 6 1" order="162"/>
      <feature submenu="VISUAL RENDERING" name="WIDESCREEN CHEATS" group="ADVANCED SETTINGS" value="widescreen_cheats" description="Activate cheats that allow certin games to display in widescreen format." preset="switchauto" order="251"/>
      <feature submenu="VISUAL RENDERING" name="WIDESCREEN HACKS" group="ADVANCED SETTINGS" value="widescreen_hack" description="Display the emulated framebuffer at a widescreen aspect ratio. Get best results with full 3D games." preset="switchauto" order="252"/>
      <feature submenu="VISUAL RENDERING" name="TEXTURE UPSCALING" group="ADVANCED SETTINGS" value="texture_upscaling" description="Enhance hand drawn 2D pixel art graphics." preset="sliderauto" preset-parameters="2 6 2 x" order="253"/>
      <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="anisotropic_filtering" description="Enhance the quality of textures on surface." order="254">
        <choice name="NO" value="off"/>
        <choice name="2x" value="2"/>
        <choice name="4x" value="4"/>
        <choice name="8x" value="8"/>
        <choice name="16x" value="16"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="reicast_texture_filtering" description="Control the texture filtering of the emulation." order="255">
        <choice name="NEAREST NEIGHBOR" value="1"/>
        <choice name="LINEAR" value="2"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="MIP MAPPING" group="ADVANCED SETTINGS" value="reicast_mipmapping" description="Uses the proper mipmap levels. Enhance graphics accuracy." preset="switchauto" order="256"/>
      <feature submenu="VISUAL RENDERING" name="RENDER-TO-TEXTURE BUFFER" group="ADVANCED SETTINGS" value="reicast_enable_rttb" description="Enhance graphics accuracy at the cost of inscreased performance requirements." preset="switchauto" order="257"/>
      <feature submenu="VISUAL RENDERING" name="DISABLE FOG" group="ADVANCED SETTINGS" value="reicast_fog" description="Disable fog effects." preset="switchauto" order="258"/>
      <feature submenu="VISUAL RENDERING" name="ALPHA SORTING" group="ADVANCED SETTINGS" value="reicast_alpha_sorting" description="Enhance graphics accuracy at the cost of inscreased performance requirements." order="259">
        <choice name="per-strip (fast, least accurate)" value="per-strip (fast, least accurate)"/>
        <choice name="per-triangle (normal)" value="per-triangle (normal)"/>
        <choice name="per-pixel (accurate)" value="per-pixel (accurate)"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="reicast_custom_textures" description="Replace original textures with custom textures pack in 'bios\dc\textures'." preset="switchauto" order="260"/>
      <feature submenu="AUDIO" name="DSP EMULATION" group="ADVANCED SETTINGS" value="reicast_enable_dsp" description="Enable Digital Sound Processor. Enhance sound accuracy at the cost of inscreased performance requirements." preset="switchauto" order="306"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <system name="dreamcast">
        <feature submenu="VIDEO" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="reicast_broadcast" description="Select a video format for output." order="163">
          <choice name="NTSC" value="NTSC"/>
          <choice name="PAL (WORLD)" value="PAL"/>
          <choice name="PAL-N (ARGENTINA, URUGUAY, PARAGUAY)" value="PAL_N"/>
          <choice name="PAL-M (BRAZIL)" value="PAL_M"/>
        </feature>
        <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="reicast_region" order="103">
          <choice name="Japan" value="Japan"/>
          <choice name="USA" value="USA"/>
          <choice name="Europe" value="Europe"/>
        </feature>
        <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="reicast_language" order="104">
          <choice name="Deutsch" value="German"/>
          <choice name="English" value="English"/>
          <choice name="Español" value="Spanish"/>
          <choice name="Français" value="French"/>
          <choice name="Italiano" value="Italian"/>
          <choice name="日本語 (Japanese)" value="Japanese"/>
        </feature>
        <feature submenu="EMULATION" name="SAVE FILES" group="ADVANCED SETTINGS" value="reicast_per_content_vmus" order="105">
          <choice name="4 VMUs (ALL)" value="disabled"/>
          <choice name="1 VMU (SINGLE)" value="VMU A1"/>
          <choice name="4 VMUs (SINGLE)" value="All VMUs"/>
        </feature>
        <feature submenu="EMULATION" name="HLE BIOS" group="ADVANCED SETTINGS" value="reicast_hle_bios" description="Force use of high-level BIOS emulation." preset="switchauto" order="106"/>
        <feature submenu="CONTROLS" name="USE R1 AND L1" group="ADVANCED SETTINGS" value="dreamcast_use_shoulders" description="Use shoulder buttons instead of triggers." preset="switchauto" order="507"/>
      </system>
      <system name="naomi,naomi2">
        <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="reicast_region" order="103">
          <choice name="Japan" value="Japan"/>
          <choice name="USA" value="USA"/>
          <choice name="Europe" value="Europe"/>
        </feature>
        <feature submenu="EMULATION" name="SERVICE MODE" group="ADVANCED SETTINGS" value="reicast_allow_service_buttons" description="Enable Service button to enter settings." preset="switchauto" order="104"/>
        <feature submenu="EMULATION" name="FREE PLAY" group="ADVANCED SETTINGS" value="reicast_force_freeplay" description="Modify the coin setting to Free Play." preset="switchauto" order="105"/>
        <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="controller_layout" order="505"/>
      </system>
      <system name="atomiswave">
        <feature submenu="EMULATION" name="SERVICE MODE" group="ADVANCED SETTINGS" value="reicast_allow_service_buttons" description="Enable Service button to enter settings." preset="switchauto" order="103"/>
        <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="controller_layout" order="505"/>
      </system>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="flycast_controller" order="506">
          <choice name="DREAMCAST CONTROLLER" value="1"/>
          <choice name="ARCADE STICK" value="1025"/>
          <choice name="KEYBOARD" value="3"/>
          <choice name="MOUSE" value="2"/>
          <choice name="LIGHTGUN" value="4"/>
          <choice name="TWIN STICK" value="513"/>
          <choice name="SATURN TWIN-STICK" value="769"/>
          <choice name="POINTER" value="6"/>
          <choice name="MARACAS" value="1281"/>
          <choice name="FISHING CONTROLLER" value="1537"/>
          <choice name="POP N MUSIC" value="1793"/>
          <choice name="RACE CONTROLLER" value="2049"/>
          <choice name="DENSHA DE GO" value="2305"/>
          <choice name="FULL CONTROLLER" value="2561"/>
      </feature>
      <feature submenu="CONTROLS" name="USE DIGITAL TRIGGERS" group="ADVANCED SETTINGS" value="reicast_digital_triggers" description="Enable this if the controller does not have analog triggers." preset="switchauto" order="509"/>
      <feature submenu="CONTROLS" name="ANALOG DEADZONE(CORE)" group="ADVANCED SETTINGS" value="reicast_analog_stick_deadzone" description="Sets the deadzone of the Gamepad analog sticks." preset="sliderauto" preset-parameters="0 30 5 %" order="510"/>
      <feature submenu="CONTROLS" name="ANALOG TRIGGER DEADZONE(CORE)" group="ADVANCED SETTINGS" value="reicast_trigger_deadzone" description="Sets the deadzone of the Gamepad analog triggers." preset="sliderauto" preset-parameters="0 30 5 %" order="511"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="551"/>
      <feature submenu="GUNS" name="PLAYER 1 CROSSHAIR" group="ADVANCED SETTINGS" value="reicast_lightgun1_crosshair" order="552">
          <choice name="NONE" value="disabled"/>
          <choice name="WHITE" value="White"/>
          <choice name="RED" value="Red"/>
          <choice name="GREEN" value="Green"/>
          <choice name="BLUE" value="Blue"/>
      </feature>
      <feature submenu="GUNS" name="PLAYER 2 CROSSHAIR" group="ADVANCED SETTINGS" value="reicast_lightgun2_crosshair" order="553">
          <choice name="NONE" value="disabled"/>
          <choice name="WHITE" value="White"/>
          <choice name="RED" value="Red"/>
          <choice name="GREEN" value="Green"/>
          <choice name="BLUE" value="Blue"/>
      </feature>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="554">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="556"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="557"/>
      <sharedFeature submenu="WHEELS" group="ADVANCED SETTINGS" value="use_wheel" order="600"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="fmsx">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="gearcoleco" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="gearcoleco_controller" order="505">
        <choice name="RETROPAD" value="1"/>
        <choice name="COLECOVISION" value="257"/>
      </feature>
    </core>
    <core name="geargrafx" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (CORE)" group="ADVANCED SETTINGS" value="geargrafx_aspect_ratio" description="Choose the core-provided aspect ratio. RetroArch's aspect ratio must be set to Core provided in the Video settings." order="158">
        <choice name="1:1 PAR" value="1:1 PAR"/>
        <choice name="4:3 DAR" value="4:3 DAR"/>
        <choice name="6:5 DAR" value="6:5 DAR"/>
        <choice name="16:9 DAR" value="16:9 DAR"/>
        <choice name="16:10 DAR" value="16:10 DAR"/>
      </feature>
      <feature submenu="EMULATION" name="CONSOLE TYPE" group="ADVANCED SETTINGS" value="geargrafx_console_type" order="103">
        <choice name="PC ENGINE (JP)" value="PC Engine (JAP)"/>
        <choice name="SUPERGRAFX (JP)" value="SuperGrafx (JAP)"/>
        <choice name="TURBOGRAFX-16 (US)" value="TurboGrafx-16 (USA)"/>
      </feature>
      <feature submenu="EMULATION" name="CDROM TYPE" group="ADVANCED SETTINGS" value="geargrafx_cdrom_type" order="104">
        <choice name="STANDARD" value="Standard"/>
        <choice name="SUPER CDROM" value="Super CD-ROM"/>
        <choice name="ARCADE CDROM" value="Arcade CD-ROM"/>
      </feature>
      <feature submenu="EMULATION" name="CDROM BIOS" group="ADVANCED SETTINGS" value="geargrafx_cdrom_bios" order="105">
        <choice name="SYSTEM CARD 3" value="System Card 3"/>
        <choice name="SYSTEM CARD 1" value="System Card 1"/>
        <choice name="SYSTEM CARD 2" value="System Card 2"/>
        <choice name="GAME EXPRESS" value="Game Express"/>
      </feature>
      <feature submenu="EMULATION" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="geargrafx_no_sprite_limit" description="Remove the original sprites-per-scanline hardware limit." preset="switchauto" order="106"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="CONTROLS" name="USE TURBO-TAP" group="ADVANCED SETTINGS" value="geargrafx_turbotap" preset="switchauto" order="505"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="geargrafx_controller" order="506">
        <choice name="PC ENGINE PAD" value="257"/>
        <choice name="AVENUE PAD 3" value="513"/>
        <choice name="AVENUE PAD 6" value="769"/>
      </feature>
    </core>
    <core name="gearsystem" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="gearsystem_controller" order="505">
        <choice name="RETROPAD" value="1"/>
        <choice name="SEGA MS/GG" value="257"/>
        <choice name="SEGA LIGHT PHASER" value="260"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="gearsystem_lightgun_crosshair" description="Display crosshair if a lightgun is used." preset="switchauto" order="553"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="554">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="556"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="557"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="558"/>
    </core>
    <core name="genesis_plus_gx, genesis_plus_gx_wide, genesis_plus_gx_expanded" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="OVERSCAN" group="ADVANCED SETTINGS" value="genesis_plus_gx_overscan" description="Display the overscan regions of the screen." order="158">
        <choice name="NO" value="disabled"/>
        <choice name="TOP/BOTTOM" value="top/bottom"/>
        <choice name="LEFT/RIGHT" value="left/right"/>
        <choice name="FULL" value="full"/>
      </feature>
      <feature submenu="VIDEO" name="INTERLACED OUTPUT MODE" group="ADVANCED SETTINGS" value="render" description="Single Field applies a de-interlacing filter, Double Field mimics the original hardware." order="159">
        <choice name="SINGLE FIELD" value="single field"/>
        <choice name="DOUBLE FIELD" value="double field"/>
      </feature>
      <feature submenu="VIDEO" name="EMULATED VIDEO SIGNAL" group="ADVANCED SETTINGS" value="ntsc_filter" description="Apply a video filter to mimic various signals." order="160">
        <choice name="NO" value="disabled"/>
        <choice name="MONOCHROME" value="monochrome"/>
        <choice name="COMPOSITE" value="composite"/>
        <choice name="S-VIDEO" value="s-video"/>
        <choice name="RGB" value="rgb"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="genesis_plus_gx_region" order="104">
        <choice name="PAL" value="pal"/>
        <choice name="NTSC JAPAN" value="ntsc-j"/>
        <choice name="NTSC US" value="ntsc-u"/>
      </feature>
      <feature submenu="EMULATION" name="FORCE VDP MODE" group="ADVANCED SETTINGS" value="genesis_plus_gx_vdp_mode" order="105">
        <choice name="NTSC 60HZ" value="60hz"/>
        <choice name="PAL 50HZ" value="50hz"/>
      </feature>
      <feature submenu="EMULATION" name="68K ADRESS ERROR" group="ADVANCED SETTINGS" value="gen_addr_error" description="This should only be disabled when playing ROM hacks." preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="LOCK UPS" group="ADVANCED SETTINGS" value="genesis_plus_gx_force_dtack" description="This should only be disabled when playing certain demos and homebrews for correct operation." preset="switchauto" order="107"/>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="genesis_plus_gx_overclock" description="Force the frequency of the emulated CPU. Can reduce slowdown, but may cause glitches." preset="sliderauto" preset-parameters="100 500 25 %" order="108"/>
      <feature submenu="EMULATION" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="genesis_plus_gx_no_sprite_limit" description="Remove the original sprites-per-scanline hardware limit." preset="switchauto" order="109"/>
      <feature submenu="EMULATION" name="START ORIGINAL BIOS" group="ADVANCED SETTINGS" value="genesis_plus_gx_bios" description="Use official BIOS and bootloader for emulated hardware." preset="switchauto" order="110"/>
      <system name="gamegear">
        <feature submenu="VIDEO" name="LCD GHOSTING FILTER" group="ADVANCED SETTINGS" value="gen_lcd_filter" description="Mimics the display characteristics of the Game Gear and Nomad LCD panels." preset="switchauto" order="161"/>
      </system>
      <system name="mastersystem">
        <feature submenu="VIDEO" name="HIDE MASTER SYSTEM BORDERS" group="ADVANCED SETTINGS" value="genesis_plus_gx_left_border" description="Cuts off 8 pixels on borders to remove Master System borders." order="161">
          <choice name="NO" value="disabled"/>
          <choice name="LEFT ONLY" value="left border"/>
          <choice name="LEFT AND RIGHT" value="left &amp; right borders"/>
        </feature>
        <feature submenu="AUDIO" name="ENABLE FM CHIP" group="ADVANCED SETTINGS" value="gen_ym2413" description="Enable the Master System FM chip." preset="switchauto" order="306"/>
        <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="genesis_plus_gx_controller" order="505">
          <choice name="JOYPAD 2 BUTTONS" value="769"/>
          <choice name="JOYPAD 2 BUTTONS + MASTER-TAP" value="2049"/>
          <choice name="LIGHT PHASER" value="260"/>
          <choice name="PADDLE CONTROL" value="261"/>
          <choice name="SPORTS PAD" value="517"/>
          <choice name="GRAPHIC BOARD" value="262"/>
        </feature>
        <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" preset="switchauto" order="506"/>
      </system>
      <system name="megadrive,genesis,megadrive-msu,megacd,segacd">
        <feature submenu="VIDEO" name="LCD GHOSTING FILTER" group="ADVANCED SETTINGS" value="gen_lcd_filter" description="Mimics the display characteristics of the Game Gear and Nomad LCD panels." preset="switchauto" order="161"/>
        <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="gen_audio_filter" description="Enables a low pass audio filter to soften the harsh sound of some games." preset="sliderauto" preset-parameters="0 95 5 %" order="306"/>
        <feature submenu="AUDIO" name="MEGADRIVE/GENESIS FM" group="ADVANCED SETTINGS" value="ym2612" description="Select method used to emulate the FM synthetiser." order="307">
          <choice name="MAME (YM2612)" value="mame (ym2612)"/>
          <choice name="MAME (ASIC YM3438)" value="mame (asic ym3438)"/>
          <choice name="MAME (ENHANCED YM3438)" value="mame (enhanced ym3438)"/>
          <choice name="NUKED (YM2612)" value="nuked (ym2612)"/>
          <choice name="NUKED (YM3438)" value="nuked (ym3438)"/>
        </feature>
        <feature submenu="AUDIO" name="CD ADD-ON" group="ADVANCED SETTINGS" value="genesis_plus_gx_add_on" description="Specifies wich add-on to use for audio CD playback with patched MD games." order="308">
          <choice name="Mega CD" value="megacd"/>
          <choice name="Mega SD" value="megasd"/>
        </feature>
        <feature submenu="EMULATION" name="CARTRIDGE LOCK-ON" group="ADVANCED SETTINGS" value="lock_on" description="This option specifies which lock-on cartridge to emulate." order="115">
          <choice name="NO" value="disabled"/>
          <choice name="GAME GENIE" value="game genie"/>
          <choice name="ACTION REPLAY" value="action replay (pro)"/>
          <choice name="SONIC AND KNUCKLES" value="sonic &amp; knuckles"/>
        </feature>
        <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="genesis_plus_gx_controller" order="505">
          <choice name="JOYPAD 3 BUTTONS" value="257"/>
          <choice name="JOYPAD 6 BUTTONS" value="513"/>
          <choice name="JOYPAD 3 BUTTONS + 4-WAY PLAY" value="1025"/>
          <choice name="JOYPAD 6 BUTTONS + 4-WAY PLAY" value="1281"/>
          <choice name="JOYPAD 3 BUTTONS + TEAMPLAYER" value="1537"/>
          <choice name="JOYPAD 6 BUTTONS + TEAMPLAYER" value="1793"/>
          <choice name="XE-1AP" value="773"/>
          <choice name="MOUSE" value="2"/>
        </feature>
        <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="megadrive_control_layout" order="506">
          <choice name="L/R as X/Z" value="lr_xz"/>
          <choice name="L/R as Z/C" value="lr_zc"/>
          <choice name="L/R as Y/Z" value="lr_yz"/>
          <choice name="L/R as Y/B" value="lr_yb"/>
          <choice name="L/R as B/Y" value="lr_by"/>
        </feature>
        <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad" preset="switchauto" order="507"/>
        <feature submenu="GUNS" name="GUN TYPE" group="ADVANCED SETTINGS" value="gun_type" description="Select the type of gun depending on the game." order="551">
          <choice name="MENACER" value="516"/>
          <choice name="JUSTIFIER" value="772"/>
        </feature>
      </system>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="LIGHTGUN MODE" group="ADVANCED SETTINGS" value="gun_input" description="Use a mouse-controlled Lightgun or Touchscreen input." order="552">
        <choice name="LIGHTGUN" value="lightgun"/>
        <choice name="TOUCHSCREEN" value="touchscreen"/>
      </feature>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="gen_gun_cursor" description="Display crosshair if a lightgun is used." preset="switchauto" order="553"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="554">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="556"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="557"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="558"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="genesis_plus_gx_wide" features="cheevos, netplay, softpatch">
      <feature submenu="VIDEO" name="WIDESCREEN - EXTRA COLUMNS TO DRAW" group="ADVANCED SETTINGS" value="gen_h40_extra_columns" description="Set the amount of extra columns to draw for widescreen." preset="sliderauto" preset-parameters="0 24 2" order="170"/>
    </core>
    <core name="holani" features="cheevos, netplay">
    </core>
    <core name="picodrive" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (CORE)" group="ADVANCED SETTINGS" value="core_aspect" description="Choose the core-provided aspect ratio. RetroArch's aspect ratio must be set to Core provided in the Video settings." order="158">
        <choice name="PAR" value="PAR"/>
        <choice name="4/3" value="4/3"/>
        <choice name="CRT" value="CRT"/>
      </feature>
      <feature submenu="VIDEO" name="RENDERER" group="ADVANCED SETTINGS" value="renderer" description="Specify the video rendering method. Accurate is the more precise but is slower, good and fast are faster but can fail for some games." order="159">
        <choice name="ACCURATE" value="accurate"/>
        <choice name="GOOD" value="good"/>
        <choice name="FAST" value="fast"/>
      </feature>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="picodrive_nospritelimit" description="Remove the original sprites-per-scanline hardware limit." preset="switchauto" order="160"/>
      <feature submenu="VIDEO" name="DYNAMIC RECOMPILERS" group="ADVANCED SETTINGS" value="dynamic_recompiler" description="Enable dynamic recompilers which help to improve performance." preset="switchauto" order="161"/>
      <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="gen_audio_filter" description="Enables a low pass audio filter to soften the harsh sound of some games." preset="sliderauto" preset-parameters="0 95 5 %" order="306"/>
      <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="region" description="Leave AUTO for Automatic detection." order="103">
        <choice name="JAPAN NTSC" value="Japan NTSC"/>
        <choice name="JAPAN PAL" value="Japan PAL"/>
        <choice name="US" value="US"/>
        <choice name="EUROPE" value="Europe"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="EMULATION" name="68K CHIP OVERCLOCK" group="ADVANCED SETTINGS" value="overclk68k" description="Overclock the emulated 68k chip for better framerate." order="104">
        <choice name="NO" value="disabled"/>
        <choice name="+25%" value="+25%"/>
        <choice name="+50%" value="+50%"/>
        <choice name="+75%" value="+75%"/>
        <choice name="+100%" value="+100%"/>
        <choice name="+200%" value="+200%"/>
        <choice name="+400%" value="+400%"/>
      </feature>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
      <system name="mastersystem">
        <feature submenu="AUDIO" name="FM CHIP" group="ADVANCED SETTINGS" value="picodrive_smsfm" description="Enable the Master System FM chip." preset="switchauto" order="307"/>
        <feature submenu="EMULATION" name="MASTER SYSTEM ROM MAPPING" group="ADVANCED SETTINGS" value="picodrive_smsmapper" description="Leave 'Auto' unless the detection fails." order="105">
          <choice name="Sega" value="Sega"/>
          <choice name="Codemasters" value="Codemasters"/>
          <choice name="Korea" value="Korea"/>
          <choice name="Korea MSX" value="Korea MSX"/>
          <choice name="Korea X-in-1" value="Korea X-in-1"/>
          <choice name="Korea 4-Pak" value="Korea 4-Pak"/>
          <choice name="Korea Janggun" value="Korea Janggun"/>
          <choice name="Korea Nemesis" value="Korea Nemesis"/>
        </feature>
        <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" preset="switchauto" order="505"/>
      </system>
      <system name="megadrive,genesis,sega32x,megacd,segacd">
        <feature submenu="CONTROLS" name="USE 3 BUTTON CONTROLLER" value="md_3buttons" group="ADVANCED SETTINGS" description="Default emulated pad is a 6-button pad." preset="switchauto" order="505"/>
        <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="megadrive_control_layout" order="506">
          <choice name="L/R as X/Z" value="lr_xz"/>
          <choice name="L/R as Z/C" value="lr_zc"/>
          <choice name="L/R as Y/Z" value="lr_yz"/>
          <choice name="L/R as Y/B" value="lr_yb"/>
          <choice name="L/R as B/Y" value="lr_by"/>
        </feature>
        <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad" preset="switchauto" order="507"/>
      </system>
    </core>
    <core name="imageviewer">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="m2000" features="padtokeyboard">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="KEYBOARD LAYOUT" group="ADVANCED SETTINGS" value="m2000_keyboard_mapping" order="506">
        <choice name="SYMBOLIC" value="symbolic"/>
        <choice name="POSITIONAL" value="positional"/>
      </feature>
    </core>
    <core name="mame" features="netplay, padtokeyboard">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internal_resolution" order="20">
        <choice name="640x480" value="640x480"/>
        <choice name="640x360" value="640x360"/>
        <choice name="960x720" value="960x720"/>
        <choice name="960x540" value="960x540"/>
        <choice name="1280x960" value="1280x960"/>
        <choice name="1280x720" value="1280x720"/>
        <choice name="1440x1080" value="1440x1080"/>
        <choice name="1920x1080" value="1920x1080"/>
        <choice name="1920x1440" value="1920x1440"/>
        <choice name="2560x1440" value="2560x1440"/>
        <choice name="2880x2160" value="2880x2160"/>
        <choice name="3840x2160" value="3840x2160"/>
      </feature>
      <feature submenu="VIDEO" name="ALTERNATE RENDERER" group="ADVANCED SETTINGS" value="alternate_renderer" preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="mame_rotation_mode" order="159">
        <choice name="INTERNAL" value="internal"/>
        <choice name="LIBRETRO" value="libretro"/>
        <choice name="FORCE ROTATE LEFT" value="tate-rol"/>
        <choice name="FORCE ROTATE RIGHT" value="tate-ror"/>
        <choice name="NONE" value="none"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="DISABLE ARTWORK" group="ADVANCED SETTINGS" value="disable_artwork" description="Disable the check of artworks in 'saves\mame\artwork' folder." preset="switchauto" order="251"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <feature submenu="EMULATION" name="THREAD MODE" group="ADVANCED SETTINGS" value="mame_thread_mode" preset="switchauto" order="103"/>
      <feature submenu="EMULATION" name="THROTTLE" group="ADVANCED SETTINGS" value="mame_throttle" preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="BOOT TO BIOS" group="ADVANCED SETTINGS" value="boot_to_bios" preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="BOOT TO OSD" group="ADVANCED SETTINGS" value="boot_to_osd" preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="READ INI FILE" group="ADVANCED SETTINGS" value="mame_read_config" description="Read the ini file in 'bios\mame\ini' folder." order="107">
        <choice name="YES" value="1"/>
        <choice name="NO" value="0"/>
        <choice name="NO AND DELETE EXISTING INI" value="delete"/>
      </feature>
      <feature submenu="EMULATION" name="OUTPUT GAME DATA" group="ADVANCED SETTINGS" value="mame_output" description="Enable this option when using mamehooker with LEDs, solenoids, rumble..." order="108">
        <choice name="TO WINDOW" value="windows"/>
        <choice name="TO NETWORK" value="network"/>
      </feature>
      <feature submenu="PLUGINS" name="HISCORES" group="ADVANCED SETTINGS" value="mame_hiscore" description="Saves the hiscores in supported games." preset="switchauto" order="110"/>
      <feature submenu="PLUGINS" name="CHEATS" group="ADVANCED SETTINGS" value="cheats_enable" preset="switchauto" order="111"/>
      <feature submenu="PLUGINS" name="LAYOUT" group="ADVANCED SETTINGS" value="layout_enable" preset="switchauto" order="112"/>
      <feature submenu="PLUGINS" name="AUTOFIRE" group="ADVANCED SETTINGS" value="mame_autofire" preset="switchauto" order="113"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="4-WAYS JOYSTICK MODE" group="ADVANCED SETTINGS" value="mame_mame_4way_enable" preset="switchauto" order="507"/>
      <feature submenu="CONTROLS" name="ENABLE PER GAME AUTO MAPPING" group="ADVANCED SETTINGS" value="mame_buttons_profiles" description="Enable MAME option to automatically configure button layout per-game based on its internal database." preset="switchauto" order="508"/>
      <feature submenu="CONTROLS" name="DISABLE MOUSE" group="ADVANCED SETTINGS" value="mame_mouse_enable" preset="switchauto" order="509"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="LIGHTGUN MODE" group="ADVANCED SETTINGS" value="lightgun_mode" order="551">
        <choice name="NO" value="none"/>
        <choice name="TOUCHSCREEN" value="touchscreen"/>
        <choice name="LIGHTGUN" value="lightgun"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="553"/>
      <system name="mame">
        <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="controller_layout" order="506"/>
        <feature submenu="GUNS" name="DISABLE CROSSHAIR" group="ADVANCED SETTINGS" value="mame_remove_crosshair" preset="switchauto" order="552"/>
      </system>
      <system name="adam" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Adam cartridges" value="adam_cart"/>
          <choice name="Adam Cassettes" value="adam_cass"/>
          <choice name="ADAM diskettes" value="adam_flop"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cassette 1" value="cass1"/>
          <choice name="Cassette 2" value="cass2"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
          <choice name="Cartridge (Slot 3)" value="cart3"/>
          <choice name="Cartridge (Slot 4)" value="cart4"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="adam_joy" description="Type of joystick connected to the game port." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Colecovision Hand controller" value="hand"/>
          <choice name="Colecovision Super Action controller" value="sac"/>
        </feature>
      </system>
      <system name="advision">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="AdventureVision cartridges" value="advision"/>
        </feature>
      </system>
      <system name="apfm1000">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="APF M-1000 cartridges" value="apfm1000"/>
        </feature>
      </system>
      <system name="apple2" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Apple II cassettes" value="apple2_cass"/>
          <choice name="Apple II cleanly cracked disks" value="apple2_flop_clcracked"/>
          <choice name="Apple II miscellaneous disks" value="apple2_flop_misc"/>
          <choice name="Apple II original disks" value="apple2_flop_orig"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of APPLE II to emulate." order="121">
          <choice name="Apple IIe ENHANCED (default)" value="apple2ee"/>
          <choice name="Apple IIe" value="apple2e"/>
          <choice name="Apple II PLUS" value="apple2p"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Hard Drive Image" value="hard1"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Type of ROM file" order="125">
          <choice name="48k" value="48K"/>
          <choice name="16K" value="16K"/>
          <choice name="32K" value="32K"/>
          <choice name="64K (IIe ONLY)" value="64K"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="gameio" description="Type of joystick connected to the game port." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Apple (2x 2-button Analog)" value="joy"/>
          <choice name="Sirius/Atari (2x 1-button Digital, II+ Only)" value="joyport"/>
          <choice name="Gizmo (1-Button Digital)" value="gizmo"/>
        </feature>
        <feature submenu="EXPANSION SLOTS" name="4play Joystick Card" group="ADVANCED SETTINGS" value="4play" preset="switchauto" order="130"/>
        <feature submenu="EXPANSION SLOTS" name="6850 MIDI card" group="ADVANCED SETTINGS" value="midi" preset="switchauto" order="131"/>
        <feature submenu="EXPANSION SLOTS" name="CFFA 2.0 Compact Flash (65C02)" group="ADVANCED SETTINGS" value="cffa2" preset="switchauto" order="133"/>
      </system>
      <system name="apple2gs" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Apple IIgs cleanly cracked disks" value="apple2gs_flop_clcracked"/>
          <choice name="Apple IIgs miscellaneous disks" value="apple2gs_flop_misc"/>
          <choice name="Apple IIgs Original disks" value="apple2gs_flop_orig"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="5 1/4 Disk (Drive 1)" value="flop1"/>
          <choice name="5 1/4 Disk (Drive 2)" value="flop2"/>
          <choice name="3 1/2 Disk (Drive 3)" value="flop3"/>
          <choice name="3 1/2 Disk (Drive 4)" value="flop4"/>
          <choice name="Hard Drive Image" value="hard1"/>
        </feature>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Type of ROM file" order="125">
          <choice name="1M" value="1M"/>
          <choice name="2M" value="2M"/>
          <choice name="4M" value="4M"/>
          <choice name="8M" value="8M"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="gameio" description="Type of joystick connected to the game port." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Apple (2x 2-button Analog)" value="joy"/>
          <choice name="Gizmo (1-Button Digital)" value="gizmo"/>
        </feature>
        <feature submenu="EXPANSION SLOTS" name="4play Joystick Card" group="ADVANCED SETTINGS" value="4play" preset="switchauto" order="130"/>
        <feature submenu="EXPANSION SLOTS" name="6850 MIDI card" group="ADVANCED SETTINGS" value="midi" preset="switchauto" order="131"/>
        <feature submenu="EXPANSION SLOTS" name="Sweet Micro Systems Mockingboard Sound/Speech I" group="ADVANCED SETTINGS" value="mockingboard" preset="switchauto" order="132"/>
        <feature submenu="EXPANSION SLOTS" name="CFFA 2.0 Compact Flash (65C02)" group="ADVANCED SETTINGS" value="cffa2" preset="switchauto" order="133"/>
      </system>
      <system name="aquarius" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Mattel Aquarius cartridges" value="aquarius_cart"/>
          <choice name="Mattel Aquarius cassettes" value="aquarius_cass"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" value="altmodel" group="ADVANCED SETTINGS" description="Select the machine to emulate." order="121">
          <choice name="Aquarius (NTSC)" value="aquarius"/>
          <choice name="Aquarius (PAL)" value="aquariusp"/>
          <choice name="Aquarius 2" value="aquarius2"/>
          <choice name="Aquarius (arabic)" value="aquarius_ar"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Cartridge" value="cart1"/>
          <choice name="Cartridge slot 2" value="cart2"/>
          <choice name="Cartridge slot 3" value="cart3"/>
        </feature>
      </system>
      <system name="arcadia">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Arcadia 2001 cartridges" value="arcadia"/>
        </feature>
      </system>
      <system name="archimedes" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Archimedes floppy disks" value="archimedes"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of Archimedes computer to emulate." order="121">
          <choice name="ARCHIMEDES 440/1 (Default)" value="aa4401"/>
          <choice name="ARCHIMEDES 305" value="aa305"/>
          <choice name="ARCHIMEDES 310" value="aa310"/>
          <choice name="ARCHIMEDES 440" value="aa440"/>
          <choice name="ARCHIMEDES 410/1" value="aa4101"/>
          <choice name="ARCHIMEDES 420/1" value="aa4201"/>
          <choice name="ARCHIMEDES A3000" value="aa3000"/>
          <choice name="ARCHIMEDES 540" value="aa540"/>
          <choice name="ARCHIMEDES 5000" value="aa5000"/>
          <choice name="ARCHIMEDES 3010" value="aa3010"/>
          <choice name="ARCHIMEDES 3020" value="aa3020"/>
          <choice name="ARCHIMEDES 4000" value="aa4000"/>
        </feature>
      </system>
      <system name="astrocade">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Astrocade cartridges" value="astrocde"/>
        </feature>
        <feature submenu="CONTROLS" name="PLUG ADDITIONAL CONTROLLERS" group="ADVANCED SETTINGS" value="astrocde_addjoy" description="Plug additional joysticks in ports 2, 3 and 4." preset="switchauto" order="520"/>
      </system>
      <system name="atom" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Atom cassettes" value="atom_cass"/>
          <choice name="Atom floppy disk" value="atom_flop"/>
          <choice name="Atom Utility ROMs" value="atom_rom"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Quickload" value="quik"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="122"/>
      </system>
      <system name="bbcmicro" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="BBC Micro cassettes" value="bbc_cass"/>
          <choice name="BBC Micro rom" value="bbc_rom"/>
          <choice name="BBC Micro Model B floppy disks" value="bbcb_flop"/>
          <choice name="BBC Micro Model B Original floppy disks" value="bbcb_flop_orig"/>
          <choice name="BBC Micro Model B US floppy disks" value="bbcb_flop_us"/>
          <choice name="BBC Micro Master 128 cartridge" value="bbcm_cart"/>
          <choice name="BBC Micro Master 128 floppy disks" value="bbcm_flop"/>
          <choice name="BBC Micro Master Compact floppy disks" value="bbcmc_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of BBC micro to emulate, default to MODEL B." order="121">
          <choice name="MODEL B (default)" value="bbcb"/>
          <choice name="MASTER 128" value="bbcm"/>
          <choice name="MASTER 512" value="bbcm512"/>
          <choice name="MASTER COMPACT" value="bbcmc"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="ROM (Slot 1)" value="rom1"/>
          <choice name="ROM (Slot 2)" value="rom2"/>
          <choice name="ROM (Slot 3)" value="rom3"/>
          <choice name="ROM (Slot 4)" value="rom4"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file or filename (brackets)." preset="switchauto" order="123"/>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="bbc_sticktype" description="Select which joystick to emulate." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Acorn Analogue Joysticks" value="acornjoy"/>
          <choice name="Acorn Bitstik" value="bitstik1"/>
          <choice name="Robo Bitstik 2" value="bitstik2"/>
          <choice name="Voltmace Delta 3b Twin Joysticks" value="voltmace3b"/>
        </feature>
      </system>
      <system name="camplynx" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Camputers Lynx cassettes" value="camplynx_cass"/>
          <choice name="Camputers Lynx floppy disk" value="camplynx_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of LYNX to emulate, default to 48k." order="121">
          <choice name="LYNX 48K (default)" value="lynx48k"/>
          <choice name="LYNX 128K" value="lynx128k"/>
          <choice name="LYNX 96K" value="lynx96k"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
      </system>
      <system name="loopy">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Casio Loopy cartridges" value="casloopy"/>
        </feature>
      </system>
      <system name="coco" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Color Computer cartridges" value="coco_cart"/>
          <choice name="Color Computer floppy disk" value="coco_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of Color Computer to emulate, default to coco3." order="121">
          <choice name="Color Computer 3 NTSC (default)" value="coco3"/>
          <choice name="Color Computer 3 PAL" value="coco3p"/>
          <choice name="Color Computer" value="coco"/>
          <choice name="Color Computer 2B" value="coco2b"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Cartridge" value="cart"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="HARD DRIVE" value="hard1"/>
          <choice name="HARD DRIVE 2" value="hard2"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
      </system>
      <system name="crvision">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="V-Tech Creativision cartridges" value="crvision"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
          <choice name="Cassette" value="cass"/>
        </feature>
      </system>
      <system name="electron" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Electron Tapes" value="electron_cass"/>
          <choice name="Electron ROM Cartridges" value="electron_cart"/>
          <choice name="Electron floppy disks" value="electron_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of BBC micro to emulate, default to MODEL B." order="121">
          <choice name="ELECTRON 64" value="electron64"/>
          <choice name="ELECTRON" value="electron"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk" value="flop"/>
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
      </system>
      <system name="fm7" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Fujitsu FM-77AV disk images" value="fm77av"/>
          <choice name="Fujitsu FM-7 cassettes" value="fm7_cass"/>
          <choice name="Fujitsu FM-7 disk images" value="fm7_disk"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of FM-7 to emulate, default to FM-7." order="121">
          <choice name="FM-7" value="fm7"/>
          <choice name="FM-77AV" value="fm77av"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
        </feature>
      </system>
      <system name="fmtowns" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="FM Towns CD-ROMs" value="fmtowns_cd"/>
          <choice name="FM Towns cracked floppy disk images" value="fmtowns_flop_cracked"/>
          <choice name="FM Towns miscellaneous floppy disk images" value="fmtowns_flop_misc"/>
          <choice name="FM Towns original floppy disk images" value="fmtowns_flop_orig"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" value="altmodel" group="ADVANCED SETTINGS" description="Type of FM Towns to emulate, default to FM TOWMS (MODEL 1/2)." order="121">
          <choice name="FM TOWNS (MODEL 1/2) (Default)" value="fmtowns"/>
          <choice name="FM TOWNS II UX" value="fmtownsux"/>
          <choice name="FM TOWNS MARTY" value="fmtmarty"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Disk Drive (FM TOWNS MARTY)" value="flop"/>
          <choice name="CD-ROM" value="cdrm"/>
          <choice name="HARD DRIVE (II UX)" value="hard1"/>
          <choice name="MEMCARD" value="memc"/>
        </feature>
        <feature submenu="EMULATION" name="ADD USER DISK" group="ADVANCED SETTINGS" value="addblankdisk" description="Insert a disk in floppy drive, is often used for CDROM games." order="123">
          <choice name="NO" value="none"/>
          <choice name="BLANK DISK" value="blank"/>
          <choice name="SYSTEM DISK" value="system"/>
        </feature>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Define how much RAM the emulated will have." order="124">
          <choice name="2MB" value="2M"/>
          <choice name="4MB" value="4M"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="fmtowns_joytype" description="Select which joystick to emulate." order="520">
          <choice name="NONE" value="none"/>
          <choice name="MSX digital joystick" value="joystick"/>
          <choice name="FM Towns Marty Pad" value="martypad"/>
          <choice name="X68000 Sega Controller Adapter" value="sega"/>
          <choice name="FM Towns 6-button Pad" value="towns6b"/>
          <choice name="FM Towns 2-button Pad" value="townspad"/>
        </feature>
      </system>
      <system name="gamate">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Gamate cartridges" value="gamate"/>
        </feature>
      </system>
      <system name="gamecom">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Tiger Game.com cartridges" value="gamecom"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
      </system>
      <system name="gamepock">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Game Pocket cartridges" value="gamepock"/>
        </feature>
      </system>
      <system name="gmaster">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Game Master cartridges" value="gmaster"/>
        </feature>
      </system>
      <system name="gp32">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="GP32 memcards" value="gp32"/>
        </feature>
      </system>
      <system name="megaduck">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Mega Duck cartridges" value="megaduck"/>
        </feature>
      </system>
      <system name="neogeo64">
        <feature submenu="EMULATION" name="SELECT BIOS" group="ADVANCED SETTINGS" value="mame_bios" order="120">
          <choice name="JAPAN" value="japan"/>
          <choice name="USA" value="us"/>
          <choice name="EXPORT" value="export"/>
          <choice name="KOREA" value="korea"/>
        </feature>
      </system>
      <system name="odyssey2" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Videopac - odyssey 2" value="videopac"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" value="altmodel" group="ADVANCED SETTINGS" description="Select the machine to emulate." order="121">
          <choice name="Videopac G7000 (Europe)" value="videopac"/>
          <choice name="Videopac+ G7400 (Europe)" value="videopacp"/>
          <choice name="Videopac C52 (France)" value="videopacf"/>
          <choice name="Odyssey 2 (US)" value="odyssey2"/>
          <choice name="Odyssey 3 Command Center (US-Prototype)" value="odyssey3"/>
          <choice name="Jopac JO7400 (France)" value="jopac"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
        <feature submenu="EMULATION" name="USE VOICE CARTRIDGE" group="ADVANCED SETTINGS" value="o2em_voice" description="Force voice cart in slot 1, needs 'voice.zip' bios file." preset="switchauto" order="123"/>
      </system>
      <system name="pegasus" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Pegasus cartridges" value="pegasus_cart"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of Computer to emulate." order="121">
          <choice name="Pegasus" value="pegasus"/>
          <choice name="Pegasus with RAM expansion" value="pegasusm"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="ROM 1" value="rom1"/>
          <choice name="ROM 2" value="rom2"/>
          <choice name="ROM 3" value="rom3"/>
          <choice name="ROM 4" value="rom4"/>
          <choice name="ROM 5" value="rom5"/>
        </feature>
      </system>
      <system name="pv1000">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Casio PV-1000 cartridges" value="pv1000"/>
        </feature>
      </system>
      <system name="scv">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Super Cassette Vision cartridges" value="scv"/>
        </feature>
      </system>
      <system name="segastv">
        <feature submenu="EMULATION" name="ST-V BIOS" group="ADVANCED SETTINGS" value="mame_bios" order="120">
          <choice name="JAPAN EPR-23603" value="jp"/>
          <choice name="JAPAN EPR-20091" value="jp1"/>
          <choice name="JAPAN EPR-19730" value="jp2"/>
          <choice name="JAPAN EPR-17951A" value="jp3"/>
          <choice name="JAPAN EPR-17740A" value="jp4"/>
          <choice name="JAPAN EPR-17740" value="jp5"/>
          <choice name="EUROPE EPR-17954A" value="euro"/>
          <choice name="USA EPR-17952A" value="us"/>
          <choice name="USA EPR-17741a" value="us1"/>
          <choice name="TAIWAN EPR-19854" value="tw"/>
          <choice name="TAIWAN EPR-17953A" value="tw1"/>
          <choice name="TAIWAN EPR-17742A" value="tw2"/>
          <choice name="Development 1.10" value="debug"/>
          <choice name="Development 1.061" value="dev"/>
        </feature>
      </system>
      <system name="supracan">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Super A'Can cartridges" value="supracan"/>
        </feature>
      </system>
      <system name="ti99" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="TI-99/4A Cartridges" value="ti99_cart"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cassette 1" value="cass1"/>
          <choice name="Cassette 2" value="cass2"/>
          <choice name="Cartridge" value="cart"/>
        </feature>
        <feature submenu="EXPANSION SLOTS" name="32K RAM EXPANSION" group="ADVANCED SETTINGS" value="ti99_32kram" description="32k RAM expansion card installed." preset="switchauto" order="130"/>
        <feature submenu="EXPANSION SLOTS" name="SPEECH SYNTHETIZER" group="ADVANCED SETTINGS" value="ti99_speech" description="Speech module installed." preset="switchauto" order="131"/>
        <feature submenu="EXPANSION SLOTS" name="4M SAMS MEMORY EXPANSION" group="ADVANCED SETTINGS" value="ti99_samsmem" description="Expand SAMS memory card to 4M." preset="switchauto" order="132"/>
        <feature submenu="EXPANSION SLOTS" name="SPEECH ADAPTER" group="ADVANCED SETTINGS" value="ti99_speechadapter" description="TI-99 Speech Synthesizer connector adapter." preset="switchauto" order="133"/>
        <feature submenu="EXPANSION SLOTS" name="FLOPPY DISK CONTROLLER CARD" group="ADVANCED SETTINGS" value="ti99_tifdc" description="Standard Floppy Disk Controller Card." preset="switchauto" order="134"/>
      </system>
      <system name="tutor" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Tomy Tutor / Pyuuta cartridge" value="tutor"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cassette" value="cass"/>
          <choice name="Cartridge" value="cart"/>
        </feature>
      </system>
      <system name="vc4000" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Interton VC 4000 cartridges" value="vc4000"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
        </feature>
      </system>
      <system name="vg5k">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Philips VG-5000 cassette" value="vg5k"/>
        </feature>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Define how much RAM the emulated will have." order="121">
          <choice name="16K" value="16k"/>
          <choice name="32K" value="32k"/>
          <choice name="48K" value="48k"/>
        </feature>
      </system>
      <system name="vsmile">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="V.Smile cartridges" value="vsmile_cart"/>
          <choice name="V.Smile Motion cartridges" value="vsmilem_cart"/>
          <choice name="V.Smile Pro CD-ROM" value="vsmile_cd"/>
          <choice name="V.Smile Baby cartridges" value="vsmileb_cart"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of V.Smile to emulate." order="121">
          <choice name="V.SMILE (Default)" value="vsmile"/>
          <choice name="V.SMILE MOTION" value="vsmilem"/>
          <choice name="V.SMILE PRO" value="vsmilpro"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cartridge" value="cart"/>
          <choice name="CD-ROM" value="cdrm"/>
        </feature>
      </system>
      <system name="xegs">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Atari XE Game System cartridges" value="xegs"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Disk (Drive 3)" value="flop3"/>
          <choice name="Disk (Drive 4)" value="flop4"/>
        </feature>
      </system>
    </core>
    <core name="mame2000" features="netplay">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="mame2003" features="netplay">
      <feature submenu="VIDEO" name="TATE MODE" group="ADVANCED SETTINGS" value="mame2003_tate_mode" description="Rotate display for vertical screen." preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="mame2003_frameskip" description="Skip frames to improve performance (smoothless)." order="159">
        <choice name="NO" value="disabled"/>
        <choice name="AUTOMATIC" value="auto"/>
        <choice name="AUTO AGGRESSIVE" value="auto_aggressive"/>
        <choice name="AUTO MAX" value="auto_max"/>
        <choice name="1" value="1"/>
        <choice name="2" value="2"/>
        <choice name="3" value="3"/>
        <choice name="4" value="4"/>
        <choice name="5" value="5"/>
        <choice name="6" value="6"/>
        <choice name="7" value="7"/>
        <choice name="8" value="8"/>
        <choice name="9" value="9"/>
        <choice name="10" value="10"/>
      </feature>
      <feature submenu="AUDIO" name="SAMPLE RATE" group="ADVANCED SETTINGS" value="mame2003_sample_rate" order="306">
        <choice name="44100" value="44100"/>
        <choice name="48000" value="48000"/>
        <choice name="22050" value="22050"/>
        <choice name="11025" value="11025"/>
      </feature>
      <feature submenu="USER INTERFACE" name="DISPLAY MAME MENU" group="ADVANCED SETTINGS" value="mame2003_display_setup" description="Display MAME menu interface when loading a game." preset="switchauto" order="453"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="CONTROLS" name="SOURCE" group="ADVANCED SETTINGS" value="mame2003_input_interface" description="Use input directly sends by keyboard to the core." order="505">
        <choice name="retropad" value="retropad"/>
        <choice name="keyboard" value="keyboard"/>
        <choice name="simultaneous" value="simultaneous"/>
      </feature>
      <feature submenu="CONTROLS" name="ENABLE MAME REMAPPING" group="ADVANCED SETTINGS" value="mame2003_mame_remapping" description="Enable MAME internal remapping of controls." preset="switchauto" order="506"/>
    </core>
    <core name="mame2003_plus" features="netplay">
      <feature submenu="VIDEO" name="TATE MODE" group="ADVANCED SETTINGS" value="mame2003-plus_tate_mode" description="Rotate display for vertical screen." preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="mame2003-plus_frameskip" description="Skip frames to improve performance (smoothless)." order="159">
        <choice name="NO" value="disabled"/>
        <choice name="AUTOMATIC" value="auto"/>
        <choice name="AUTO AGGRESSIVE" value="auto_aggressive"/>
        <choice name="AUTO MAX" value="auto_max"/>
        <choice name="1" value="1"/>
        <choice name="2" value="2"/>
        <choice name="3" value="3"/>
        <choice name="4" value="4"/>
        <choice name="5" value="5"/>
        <choice name="6" value="6"/>
        <choice name="7" value="7"/>
        <choice name="8" value="8"/>
        <choice name="9" value="9"/>
        <choice name="10" value="10"/>
      </feature>
      <feature submenu="AUDIO" name="SAMPLE RATE" group="ADVANCED SETTINGS" value="mame2003-plus_sample_rate" order="306">
        <choice name="44100" value="44100"/>
        <choice name="48000" value="48000"/>
        <choice name="22050" value="22050"/>
        <choice name="11025" value="11025"/>
      </feature>
      <feature submenu="USER INTERFACE" name="DISPLAY MAME MENU" group="ADVANCED SETTINGS" value="mame2003-plus_display_setup" description="Display MAME menu interface when loading a game." preset="switchauto" order="453"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="NEOGEO BIOS" group="ADVANCED SETTINGS" value="mame2003-plus_neogeo_bios" description="Manually specify your choice of Neo Geo BIOS." order="103">
        <choice name="Console AES World" value="asia-aes"/>
        <choice name="Arcade MVS Europe" value="euro"/>
      </feature>
      <feature submenu="EMULATION" name="NEOGEO BIOS" group="ADVANCED SETTINGS" value="mame2003-plus_neogeo_bios" description="Manually specify your choice of Neo Geo BIOS." order="104">
        <choice name="Console AES World" value="asia-aes"/>
        <choice name="Arcade MVS Europe" value="euro"/>
        <choice name="Arcade MVS USA" value="us"/>
        <choice name="Arcade MVS Japan" value="japan"/>
        <choice name="Arcade Universe BIOS 4.0" value="unibios40"/>
        <choice name="Arcade Universe BIOS 3.3" value="unibios33"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mame_controller1" order="505">
        <choice name="RETROPAD" value="1"/>
        <choice name="FIGHTSTICK" value="257"/>
        <choice name="8-BUTTON" value="513"/>
        <choice name="6-BUTTON" value="769"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mame_controller2" order="506">
        <choice name="RETROPAD" value="1"/>
        <choice name="FIGHTSTICK" value="257"/>
        <choice name="8-BUTTON" value="513"/>
        <choice name="6-BUTTON" value="769"/>
      </feature>
      <feature submenu="CONTROLS" name="SOURCE" group="ADVANCED SETTINGS" value="mame2003-plus_input_interface" description="Use input directly sends by keyboard to the core." order="507">
        <choice name="retropad" value="retropad"/>
        <choice name="keyboard" value="keyboard"/>
        <choice name="simultaneous" value="simultaneous"/>
      </feature>
      <feature submenu="CONTROLS" name="ENABLE MAME REMAPPING" group="ADVANCED SETTINGS" value="mame2003-plus_mame_remapping" description="Enable MAME internal remapping of controls." preset="switchauto" order="508"/>
      <feature submenu="CONTROLS" name="X-Y DEVICE" group="ADVANCED SETTINGS" value="mame2003-plus_xy_device" description="Select the device to read X and Y coordinates." order="509">
        <choice name="MOUSE" value="mouse"/>
        <choice name="LIGHTGUN" value="lightgun"/>
        <choice name="POINTER" value="pointer"/>
        <choice name="DISABLED" value="disabled"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="551"/>
    </core>
    <core name="mame2003_midway" features="netplay">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="mame2010" features="netplay">
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="mame_current_frame_skip" description="Skip frames to improve performance." order="158">
        <choice name="NO" value="0"/>
        <choice name="AUTOMATIC" value="automatic"/>
        <choice name="1" value="1"/>
        <choice name="2" value="2"/>
        <choice name="3" value="3"/>
        <choice name="4" value="4"/>
        <choice name="5" value="5"/>
        <choice name="6" value="6"/>
        <choice name="7" value="7"/>
        <choice name="8" value="8"/>
        <choice name="9" value="9"/>
        <choice name="10" value="10"/>
      </feature>
      <feature submenu="AUDIO" name="SAMPLE RATE" group="ADVANCED SETTINGS" value="mame_current_sample_rate" order="306">
        <choice name="44100" value="44100Hz"/>
        <choice name="48000" value="48000Hz"/>
        <choice name="32000" value="32000Hz"/>
        <choice name="22050" value="22050Hz"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="CONTROLS" name="POINTER DEVICE TYPE" group="ADVANCED SETTINGS" value="mame_current_xy_type" description="Define the type of device used for pointer movement." order="505">
        <choice name="MOUSE" value="mouse"/>
        <choice name="LIGHTGUN" value="lightgun"/>
        <choice name="NONE" value="none"/>
      </feature>
    </core>
    <core name="mame2014" features="netplay">
      <feature submenu="VIDEO" name="ALTERNATE RENDERER" group="ADVANCED SETTINGS" value="mame2014_alternate_renderer" preset="switchauto" order="158"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="THROTTLE" group="ADVANCED SETTINGS" value="mame2014_throttle" preset="switchauto" order="103"/>
      <feature submenu="EMULATION" name="BOOT TO OSD" group="ADVANCED SETTINGS" value="mame2014_boot_to_osd" preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="ENABLE CHEATS" group="ADVANCED SETTINGS" value="mame2014_cheats_enable" preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="READ INI FILE" group="ADVANCED SETTINGS" value="mame2014_read_config" description="Read the ini file in 'bios' subfolder." preset="switchauto" order="106"/>
      <feature submenu="CONTROLS" name="DISABLE MOUSE" group="ADVANCED SETTINGS" value="mame2014_mouse_enable" preset="switchauto" order="505"/>
    </core>
    <core name="mame2015" features="netplay">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="mame2016" features="netplay">
      <feature submenu="VIDEO" name="ALTERNATE RENDERER" group="ADVANCED SETTINGS" value="mame2016_alternate_renderer" preset="switchauto" order="158"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="THROTTLE" group="ADVANCED SETTINGS" value="mame2016_throttle" preset="switchauto" order="103"/>
      <feature submenu="EMULATION" name="BOOT TO BIOS" group="ADVANCED SETTINGS" value="mame2016_boot_to_bios" preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="BOOT TO OSD" group="ADVANCED SETTINGS" value="mame2016_boot_to_osd" preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="ENABLE CHEATS" group="ADVANCED SETTINGS" value="mame2016_cheats_enable" preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="READ INI FILE" group="ADVANCED SETTINGS" value="mame2016_read_config" description="Read the ini file in 'bios' subfolder." preset="switchauto" order="107"/>
      <feature submenu="CONTROLS" name="DISABLE MOUSE" group="ADVANCED SETTINGS" value="mame2016_mouse_enable" preset="switchauto" order="505"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="551"/>
    </core>
    <core name="potator" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VISUAL RENDERING" name="LCD GHOSTING EFFECT" group="ADVANCED SETTINGS" value="potator_ghosting" description="Simulates ghosting, can help to reduce flickering." preset="sliderauto" preset-parameters="0 8 1 frames" order="251"/>
      <feature submenu="VISUAL RENDERING" name="COLOR PALETTE" group="ADVANCED SETTINGS" value="potator_palette" description="Choose which color palette is going to be used." order="252">
        <choice name="Greyscale" value="default"/>
        <choice name="Potator Amber" value="potator_amber"/>
        <choice name="Potator Green" value="potator_green"/>
        <choice name="Potator Blue" value="potator_blue"/>
        <choice name="Potator BGB" value="potator_bgb"/>
        <choice name="Potator Wataroo" value="potator_wataroo"/>
        <choice name="Game Boy DMG" value="gb_dmg"/>
        <choice name="Game Boy Pocket" value="gb_pocket"/>
        <choice name="Game Boy Light" value="gb_light"/>
        <choice name="Blossom Pink" value="blossom_pink"/>
        <choice name="Bubbles Blue" value="bubbles_blue"/>
        <choice name="Buttercup Green" value="buttercup_green"/>
        <choice name="Digivice" value="digivice"/>
        <choice name="Game.com" value="game_com"/>
        <choice name="GameKing" value="gameking"/>
        <choice name="Game Master" value="game_master"/>
        <choice name="Golden Wild" value="golden_wild"/>
      </feature>
    </core>
    <core name="race" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="race_language" order="103">
        <choice name="English" value="english"/>
        <choice name="日本語 (Japanese)" value="japanese"/>
      </feature>
    </core>
    <core name="mednafen_gba" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
	    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="505"/>
    </core>
    <core name="mednafen_lynx" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="mednafen_ngp" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
    </core>
    <core name="mednafen_pce_fast" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="pce_fast_nospritelimit" description="Remove the original sprites-per-scanline hardware limit." preset="switchauto" order="158"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="AUDIO" name="VOLUME ADPCM" group="ADVANCED SETTINGS" value="pceadpcvolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="306"/>
      <feature submenu="AUDIO" name="VOLUME CDDA" group="ADVANCED SETTINGS" value="pcecddavolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="307"/>
      <feature submenu="AUDIO" name="VOLUME PSG CD" group="ADVANCED SETTINGS" value="pcecdpsvolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="308"/>
      <system name="pcenginecd,turbografxcd">
        <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="bios_overrides" order="120"/>
      </system>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="pce_controller1" order="505">
        <choice name="JOYPAD" value="1"/>
        <choice name="MOUSE" value="2"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="pce_controller2" order="506">
        <choice name="JOYPAD" value="1"/>
        <choice name="MOUSE" value="2"/>
      </feature>
      <feature submenu="CONTROLS" name="USE 6-BUTTON PAD" group="ADVANCED SETTINGS" value="pce_6button" preset="switchauto" order="507"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="mednafen_pce" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="OVERSCAN" group="ADVANCED SETTINGS" value="pce_h_overscan" description="Show or crop overscan. 'Auto' will try to adapt to game, cropping empty areas." order="158">
        <choice name="Crop horizontal" value="disabled"/>
        <choice name="Show horizontal" value="enabled"/>
      </feature>
      <feature submenu="VIDEO" name="EMULATED SIGNAL TYPE" group="ADVANCED SETTINGS" value="pce_palette" description="Apply a video filter to mimic various signals." order="159">
        <choice name="Composite" value="Composite"/>
        <choice name="RGB" value="RGB"/>
      </feature>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="pce_nospritelimit" description="Remove the original sprites-per-scanline hardware limit." preset="switchauto" order="160"/>
      <feature submenu="VISUAL RENDERING" name="INTERNAL RESOLUTION" group="ADVANCED SETTINGS" value="pce_scaling" description="Modify rendering resolution." order="251">
        <choice name="Low" value="lores"/>
        <choice name="High" value="hires"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="PIXEL BLENDING" group="ADVANCED SETTINGS" value="pce_hires_blend" description="Blend pixel together when in hires mode. Higher values will blur the picture more." preset="sliderauto" preset-parameters="0 8 1" order="252"/>
      <feature submenu="AUDIO" name="AUDIO CHIP" value="pce_psgrevision" group="ADVANCED SETTINGS" description="Change the emulated audio chip model." order="306">
        <choice name="HuC6280 (PC-Engine)" value="HuC6280"/>
        <choice name="HuC6280A (CoreGrafx I)" value="HuC6280A"/>
      </feature>
      <feature submenu="AUDIO" name="RESAMPLER QUALITY" group="ADVANCED SETTINGS" value="pce_resamp_quality" description="Higher values give better signal noise ratio and preservation of higher frequencies." preset="sliderauto" preset-parameters="0 6 1" order="307"/>
      <feature submenu="AUDIO" name="VOLUME ADPCM" group="ADVANCED SETTINGS" value="pceadpcvolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="308"/>
      <feature submenu="AUDIO" name="VOLUME CDDA" group="ADVANCED SETTINGS" value="pcecddavolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="309"/>
      <feature submenu="AUDIO" name="VOLUME PSG CD" group="ADVANCED SETTINGS" value="pcecdpsvolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="310"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="pce_ocmultiplier" description="Force the frequency of the emulated CPU. Can reduce slowdown, but may cause glitches." order="104">
        <choice name="1x" value="1"/>
        <choice name="2x" value="2"/>
        <choice name="3x" value="3"/>
        <choice name="4x" value="4"/>
        <choice name="5x" value="5"/>
        <choice name="6x" value="6"/>
        <choice name="7x" value="7"/>
        <choice name="8x" value="8"/>
        <choice name="9x" value="9"/>
        <choice name="10x" value="10"/>
        <choice name="20x" value="20"/>
        <choice name="30x" value="30"/>
        <choice name="40x" value="40"/>
        <choice name="50x" value="50"/>
      </feature>
      <system name="pcenginecd,turbografxcd">
        <feature submenu="AUDIO" name="ADPCM PRECISION" group="ADVANCED SETTINGS" value="pce_adpcmextraprec" description="Full precision of 12-bit for the MCM5205 ADPCM can reduce whining noise during ADPCM playback." order="311">
          <choice name="10 BIT" value="10-bit"/>
          <choice name="12 BIT" value="12-bit"/>
        </feature>
        <feature submenu="EMULATION" name="BIOS" value="pce_cdbios" group="ADVANCED SETTINGS" description="'Games Express' is needed for several unlicensed games." order="105">
          <choice name="GAMES EXPRESS" value="Game Express"/>
          <choice name="SYSTEM CARD 1" value="System Card 1"/>
          <choice name="SYSTEM CARD 2" value="System Card 2"/>
          <choice name="SYSTEM CARD 3" value="System Card 3"/>
          <choice name="SYSTEM CARD 1 US" value="System Card 1 US"/>
          <choice name="SYSTEM CARD 2 US" value="System Card 2 US"/>
          <choice name="SYSTEM CARD 3 US" value="System Card 3 US"/>
        </feature>
        <feature submenu="EMULATION" name="CD-ROM IMAGE CACHE" group="ADVANCED SETTINGS" value="pce_cdimagecache" description="Keep the CD image in memory." preset="switchaudio" order="106"/>
        <feature submenu="EMULATION" name="CD-ROM READING SPEED" group="ADVANCED SETTINGS" value="pce_cdspeed" description="Faster loading times but can cause issues with some games." order="107">
          <choice name="1X" value="1"/>
          <choice name="2X" value="2"/>
          <choice name="4X" value="4"/>
          <choice name="8X" value="8"/>
        </feature>
        <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="bios_overrides" order="120"/>
      </system>
      <feature submenu="CONTROLS" name="ENABLE MULTITAP" group="ADVANCED SETTINGS" value="pce_multitap" preset="switchaudio" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="pce_controller1" order="506">
        <choice name="JOYPAD" value="1"/>
        <choice name="MOUSE" value="2"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="pce_controller2" order="507">
        <choice name="JOYPAD" value="1"/>
        <choice name="MOUSE" value="2"/>
      </feature>
      <feature submenu="CONTROLS" name="USE 6-BUTTON PAD" group="ADVANCED SETTINGS" value="pce_6button" preset="switchauto" order="508"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="mednafen_pcfx" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="pcfx_nospritelimit" description="Remove the original sprites-per-scanline hardware limit." preset="switchauto" order="158"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="bios_overrides" order="120"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="pcfx_controller1" order="505">
        <choice name="JOYPAD" value="1"/>
        <choice name="MOUSE" value="2"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="pcfx_controller2" order="506">
        <choice name="JOYPAD" value="1"/>
        <choice name="MOUSE" value="2"/>
      </feature>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="sameduck" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="VISUAL RENDERING" name="COLOR CORRECTION" group="ADVANCED SETTINGS" value="sameduck_colorcorrect" order="251">
        <choice name="EMULATE HARDWARE" value="emulate hardware"/>
        <choice name="NONE" value="off"/>
        <choice name="CORRECT CURVES" value="correct curves"/>
        <choice name="PRESERVE BRIGHTNESS" value="preserve brightness"/>
        <choice name="REDUCE CONTRAST" value="reduce contrast"/>
      </feature>
      <feature submenu="CONTROLS" name="DISABLE RUMBLE" group="ADVANCED SETTINGS" value="sameduck_rumble" description="Disables joypad rumble, by default rumble is only enabled when game and controller are compatible." preset="switchauto" order="505"/>
    </core>
    <core name="same_cdi">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="samecdi_resolution" order="20">
        <choice name="640x480 (NATIVE)" value="640x480"/>
        <choice name="800x450" value="800x450"/>
        <choice name="800x600" value="800x600"/>
        <choice name="960x540" value="960x540"/>
        <choice name="960x720" value="960x720"/>
        <choice name="1024x576" value="1024x576"/>
        <choice name="1024x768" value="1024x768"/>
        <choice name="1280x720" value="1280x720"/>
        <choice name="1280x960" value="1280x960"/>
        <choice name="1440x1080" value="1440x1080"/>
        <choice name="1600x900" value="1600x900"/>
        <choice name="1600x1200" value="1600x1200"/>
        <choice name="1920x1080" value="1920x1080"/>
        <choice name="1920x1440" value="1920x1440"/>
        <choice name="2560x1440" value="2560x1440"/>
        <choice name="2880x2160" value="2880x2160"/>
        <choice name="3840x2160" value="3840x2160"/>
      </feature>
      <feature submenu="EMULATION" name="THROTTLE" group="ADVANCED SETTINGS" value="same_cdi_throttle" description="Default is OFF, use this in case of speed issue on displays with high refresh rate." preset="switchauto" order="100"/>
    </core>
    <core name="swanstation" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internal_resolution" order="20">
        <choice name="1X" value="1"/>
        <choice name="2X" value="2"/>
        <choice name="3X (720P)" value="3"/>
        <choice name="4X" value="4"/>
        <choice name="5X (1080P)" value="5"/>
        <choice name="6X (1440P)" value="6"/>
        <choice name="7X" value="7"/>
        <choice name="8X" value="8"/>
        <choice name="9X (4K)" value="9"/>
        <choice name="10X" value="10"/>
        <choice name="11X" value="11"/>
        <choice name="12X" value="12"/>
        <choice name="13X" value="13"/>
        <choice name="14X" value="14"/>
        <choice name="15X" value="15"/>
        <choice name="16X" value="16"/>
      </feature>
      <feature submenu="VIDEO" name="FORCE NTSC TIMINGS" group="ADVANCED SETTINGS" value="force_ntsc_timings" description="This option can be used to override PAL timings to run games with NTSC timings." preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="widescreen_hack" description="Display the emulated framebuffer at a widescreen aspect ratio. Get best results with full 3D games." preset="switchauto" order="159"/>
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (CORE)" group="ADVANCED SETTINGS" value="swanstation_aspectratio" description="The aspect ratio that's used by the core." order="160">
        <choice name="CORRECTED (REGION NATIVE)" value="Native"/>
        <choice name="CORRECTED (NTSC)" value="Auto"/>
        <choice name="4/3" value="4:3"/>
        <choice name="16/9" value="16:9"/>
        <choice name="19/9" value="19:9"/>
        <choice name="20/9" value="20:9"/>
        <choice name="UNCORRECTED (PAR 1:1)" value="PAR 1:1"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP MODE" group="ADVANCED SETTINGS" value="swanstation_cropmode" description="Crop out the potentially video output that would have been hidden by the bezel." order="251">
        <choice name="ONLY OVERSCAN AREA" value="Overscan"/>
        <choice name="NONE" value="None"/>
        <choice name="ALL BORDERS" value="Borders"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="msaa" description="Set Anti Aliasing level for rendered content." order="252">
        <choice name="1X" value="1"/>
        <choice name="2X" value="2"/>
        <choice name="4X" value="4"/>
        <choice name="8X" value="8"/>
        <choice name="16X" value="16"/>
        <choice name="32X" value="32"/>
        <choice name="2X-SSAA" value="2-ssaa"/>
        <choice name="4X-SSAA" value="4-ssaa"/>
        <choice name="8X-SSAA" value="8-ssaa"/>
        <choice name="16X-SSAA" value="16-ssaa"/>
        <choice name="32X-SSAA" value="32-ssaa"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="swanstation_texturefilter" description="Nearest emulates original hardware. Others filters may improve texture or reduce pixelation." order="253">
        <choice name="NEAREST NEIGHBOR" value="Nearest"/>
        <choice name="BILINEAR" value="Bilinear"/>
        <choice name="BILINEAR (NO EDGE BLENDING)" value="BilinearBinAlpha"/>
        <choice name="JINC2" value="JINC2"/>
        <choice name="JINC2 (NO EDGE BLENDING)" value="JINC2BinAlpha"/>
        <choice name="XBR" value="xBR"/>
        <choice name="XBR (NO EDGE BLENDING)" value="xBRBinAlpha"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="SCALED DITHERING" group="ADVANCED SETTINGS" value="scaled_dithering" description="Scales the dithern pattern to the resolution scale of the emulated GPU." preset="switchauto" order="254"/>
      <feature submenu="VISUAL RENDERING" name="TRUE COLOR" group="ADVANCED SETTINGS" value="truecolor" description="Disable dithering and use the full 8 bits per channel color information." preset="switchauto" order="255"/>
      <feature submenu="VISUAL RENDERING" name="PERSPECTIVE CORRECTION (PGXP)" group="ADVANCED SETTINGS" value="swanstation_pgxp" description="Eliminates position-dependent distortion and warping of textures." preset="switchauto" order="256"/>
      <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="swanstation_region" order="103">
        <choice name="PAL" value="PAL"/>
        <choice name="NTSC JAPAN" value="NTSC-J"/>
        <choice name="NTSC US" value="NTSC-U"/>
      </feature>
      <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="skip_bios" description="Skips the BIOS boot animation displayed when loading content." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="CPU EXECUTION MODE" value="swanstation_cpucore" group="ADVANCED SETTINGS" order="105">
        <choice name="Interpreter" value="Interpreter"/>
        <choice name="Cached Interpreter" value="CachedInterpreter"/>
        <choice name="Recompiler" value="Recompiler"/>
      </feature>
      <feature submenu="EMULATION" name="USE SCPH LEGACY BIOS" group="ADVANCED SETTINGS" value="swanstation_original_bios" description="RetroBat will use by default psxonpsp BIOS, enable this option to force usage of legacy SCPH550X bios file." preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="MEMORY CARD 1 TYPE" group="ADVANCED SETTINGS" value="swanstation_memcard1" order="107">
        <choice name="SHARED" value="Shared"/>
        <choice name="SEPARATE PER GAME CODE" value="PerGame"/>
        <choice name="SEPARATE PER GAME TITLE" value="PerGameTitle"/>
        <choice name="NONE" value="None"/>
      </feature>
      <feature submenu="EMULATION" name="MEMORY CARD 2 TYPE" group="ADVANCED SETTINGS" value="swanstation_memcard2" order="108">
        <choice name="NONE" value="None"/>
        <choice name="SHARED" value="Shared"/>
        <choice name="SEPARATE PER GAME CODE" value="PerGame"/>
        <choice name="SEPARATE PER GAME TITLE" value="PerGameTitle"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="bios_overrides" order="120"/>
      <feature submenu="DRIVERS" name="VIDEO CORE RENDERER" group="ADVANCED SETTINGS" value="swanstation_GPU" description="Change the renderer used by the core." order="404">
        <choice name="OPENGL" value="OpenGL"/>
        <choice name="VULKAN" value="Vulkan"/>
        <choice name="DIRECT3D 11" value="D3D11"/>
        <choice name="SOFTWARE" value="Software"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="swanstation_controller_p1" order="505">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller (DualShock)" value="261"/>
        <choice name="NeGcon" value="773"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="swanstation_controller_p2" order="506">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller (DualShock)" value="261"/>
        <choice name="NeGcon" value="773"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="swanstation_controller_p3" order="507">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller (DualShock)" value="261"/>
        <choice name="NeGcon" value="773"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="swanstation_controller_p4" order="508">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller (DualShock)" value="261"/>
        <choice name="NeGcon" value="773"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="USE TRIGGERS TO BRAKE/ACCELERATE" group="ADVANCED SETTINGS" value="psx_triggerswap" description="Can be useful for Gran Turismo, triggers will be mapped to right analog stick." preset="switchauto" order="510"/>
      <feature submenu="CONTROLS" name="ANALOG/DIGITAL TOGGLE COMBO" group="ADVANCED SETTINGS" value="swanstation_Controller_AnalogCombo" description="Define the button combo to hold to toggle dualshock controller between analog and digital mode." order="511">
        <choice name="L1 + R1 + START" value="4"/>
        <choice name="L1 + R1 + SELECT" value="3"/>
        <choice name="L3 + R3" value="11"/>
        <choice name="L2 + R2 + START" value="8"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="GUN IN PORT 2" group="ADVANCED SETTINGS" value="psx_gunport2" description="Set this to plug GunCon to port 2, used for certain versions of Die Hard." preset="switchauto" order="551"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="552"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="553">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="556"/>
    </core>
    <core name="mednafen_psx" features="netplay, cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="bios_overrides" order="120"/>
    </core>
    <core name="mednafen_psx_hw" features="netplay, cheevos">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internal_resolution" order="20">
        <choice name="NATIVE" value="1x(native)"/>
        <choice name="2x" value="2x"/>
        <choice name="4x" value="4x"/>
        <choice name="8x" value="8x"/>
        <choice name="16x" value="16x"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="FORCE NTSC TIMINGS" group="ADVANCED SETTINGS" value="pal_video_timing_override" description="This option can be used to override PAL timings to run games with NTSC timings." preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="widescreen_hack" description="Display the emulated framebuffer at a widescreen aspect ratio. Get best results with full 3D games." preset="switchauto" order="159"/>
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (WIDESCREEN)" group="ADVANCED SETTINGS" value="widescreen_hack_aspect_ratio" description="The aspect ratio that's used by the Widescreen Hack." order="160">
        <choice name="16/9" value="16:9"/>
        <choice name="16/10" value="16:10"/>
        <choice name="21/9" value="21:9"/>
        <choice name="32/9" value="32:9"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="msaa" description="Set Multi-Sampled Anti Aliasing level for rendered content (Vulkan only)." order="251">
        <choice name="1X" value="1x"/>
        <choice name="2X" value="2x"/>
        <choice name="4X" value="4x"/>
        <choice name="8X" value="8x"/>
        <choice name="16X" value="16x"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="texture_filtering" description="Nearest emulates original hardware. Others filters may improve texture or reduce pixelation." order="252">
        <choice name="3-Point" value="3-point"/>
        <choice name="JINC2" value="JINC2"/>
        <choice name="SABR" value="SABR"/>
        <choice name="Bilinear" value="bilinear"/>
        <choice name="Nearest" value="nearest"/>
        <choice name="xBR" value="xBR"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="mednafen_texture_replacement" description="Replace original textures with custom textures pack." preset="switchauto" order="253"/>
      <feature submenu="VISUAL RENDERING" name="DITHERING PATTERN" group="ADVANCED SETTINGS" value="dither_mode" description="Enabling this will downsampling to native color depth. Disabling enable output at higher color depth." order="254">
        <choice name="NO" value="disabled"/>
        <choice name="NATIVE" value="1x(native)"/>
        <choice name="INTERNAL RESOLUTION" value="internal resolution"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="PERSPECTIVE CORRECTION (PGXP)" group="ADVANCED SETTINGS" value="mednafen_pgxp" description="Eliminates position-dependent distortion and warping of textures." preset="switchauto" order="255"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="skip_bios" description="Skips the BIOS boot animation displayed when loading content." preset="switchauto" order="103"/>
      <feature submenu="EMULATION" name="USE SCPH LEGACY BIOS" group="ADVANCED SETTINGS" value="beetle_psx_original_bios" description="RetroBat will use by default psxonpsp BIOS, enable this option to force usage of legacy SCPH550X bios file." order="104">
        <choice name="NO" value="0"/>
        <choice name="YES" value="1"/>
      </feature>
      <feature submenu="EMULATION" name="ENABLE RIGHT MEMCARD" group="ADVANCED SETTINGS" value="beetle_psx_hw_enable_memcard1" preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="USE SHARED MEMCARD" group="ADVANCED SETTINGS" value="beetle_psx_hw_shared_memory_cards" preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="CD ACCESS METHOD" group="ADVANCED SETTINGS" value="beetle_psx_hw_cd_access_method" description="Method used to read data from the disk, sync mimics original hardware, async can reduce stuttering, pre-cache loads full image at the cost of initial delay." order="113">
        <choice name="ASYNCHRONOUS" value="async"/>
        <choice name="PRE-CACHE" value="precache"/>
        <choice name="SYNCHRONOUS" value="sync"/>
      </feature>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="beetle_psx_hw_cpu_freq_scale" description="Can be used to improve framerate but might break speed for some games." order="114">
        <choice name="100(native)" value="100%"/>
        <choice name="50" value="50%"/>
        <choice name="70" value="70%"/>
        <choice name="90" value="90%"/>
        <choice name="110" value="110%"/>
        <choice name="120" value="120%"/>
        <choice name="130" value="130%"/>
        <choice name="150" value="150%"/>
        <choice name="180" value="180%"/>
        <choice name="200" value="200%"/>
        <choice name="250" value="250%"/>
        <choice name="300" value="300%"/>
        <choice name="350" value="350%"/>
        <choice name="400" value="400%"/>
        <choice name="450" value="450%"/>
        <choice name="500" value="500%"/>
        <choice name="550" value="550%"/>
        <choice name="600" value="600%"/>
      </feature>
      <feature submenu="EMULATION" name="GTE OVERCLOCK" group="ADVANCED SETTINGS" value="beetle_psx_hw_gte_overclock" description="Can be used to improve performance of 3D rendering on some games." order="115">
        <choice name="NO" value="disabled"/>
        <choice name="YES" value="enabled"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="bios_overrides" order="120"/>
      <feature submenu="DRIVERS" name="CORE VIDEO RENDERER" group="ADVANCED SETTINGS" value="mednafen_psx_renderer" description="Select the video renderer, gun games will only work with 'Software'." order="404">
        <choice name="OPENGL" value="hardware_gl"/>
        <choice name="VULKAN" value="hardware_vk"/>
        <choice name="SOFTWARE" value="software"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mednafen_controller_p1" order="505">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller" value="261"/>
        <choice name="DualShock" value="517"/>
        <choice name="NeGcon" value="1029"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mednafen_controller_p2" order="506">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller" value="261"/>
        <choice name="DualShock" value="517"/>
        <choice name="NeGcon" value="1029"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mednafen_controller_p3" order="507">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller" value="261"/>
        <choice name="DualShock" value="517"/>
        <choice name="NeGcon" value="1029"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mednafen_controller_p4" order="508">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller" value="261"/>
        <choice name="DualShock" value="517"/>
        <choice name="NeGcon" value="1029"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="FORCE ANALOG STICKS" group="ADVANCED SETTINGS" value="analog_toggle" description="If disabled, DualShock can be toggled between DIGITAL/ANALOG with a toggle combo." order="510">
        <choice name="NO" value="enabled"/>
        <choice name="YES" value="disabled"/>
      </feature>
      <feature submenu="CONTROLS" name="ANALOG/DIGITAL TOGGLE COMBO" group="ADVANCED SETTINGS" value="beetle_psx_hw_analog_toggle_combo" description="Define the button combo to hold to toggle dualshock controller between analog and digital mode." order="511">
        <choice name="L1 + R1 + START" value="l1+r1+start"/>
        <choice name="L1 + R1 + SELECT" value="l1+r1+select"/>
        <choice name="L3 + R3" value="l3+r3"/>
        <choice name="L2 + R2 + START" value="l2+r2+start"/>
      </feature>
      <feature submenu="CONTROLS" name="USE TRIGGERS TO BRAKE/ACCELERATE" group="ADVANCED SETTINGS" value="psx_triggerswap" description="Can be useful for Gran Turismo, triggers will be mapped to right analog stick." preset="switchauto" order="512"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="GUN TYPE" group="ADVANCED SETTINGS" value="gun_type" order="551">
        <choice name="GUNCON" value="260"/>
        <choice name="JUSTIFIER" value="516"/>
      </feature>
      <feature submenu="GUNS" name="LIGHTGUN INPUT MODE" group="ADVANCED SETTINGS" value="gun_input_mode" order="552">
        <choice name="LIGHTGUN" value="lightgun"/>
        <choice name="TOUCHSCREEN" value="touchscreen"/>
      </feature>
      <feature submenu="GUNS" name="GUN IN PORT 2" group="ADVANCED SETTINGS" value="psx_gunport2" description="Set this to plug GunCon to port 2, used for certain versions of Die Hard." preset="switchauto" order="553"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="554"/>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="gun_cursor" order="555">
        <choice name="CROSS" value="cross"/>
        <choice name="DOT" value="dot"/>
        <choice name="NONE" value="off"/>
      </feature>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="556">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="557"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="558"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="559"/>
    </core>
    <core name="pcsx_rearmed" features="netplay, cheevos">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="neon_enhancement" order="20">
        <choice name="NATIVE" value="disabled"/>
        <choice name="ENHANCED" value="enabled"/>
        <choice name="ENHANCED (SPEED HACK)" value="enabled_with_speedhack"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VISUAL RENDERING" name="DISABLE DITHERING" group="ADVANCED SETTINGS" value="pcsx_rearmed_dithering" description="If Off, disables the dithering pattern the PSX applies to combat color banding." preset="switchauto" order="251"/>
      <feature submenu="AUDIO" name="AUDIO INTERPOLATION" group="ADVANCED SETTINGS" value="pcsx_rearmed_spu_interpolation" description="Apply an audio filter. Modify sound interpolation." order="306">
        <choice name="SIMPLE" value="simple"/>
        <choice name="GAUSSIAN" value="gaussian"/>
        <choice name="CUBIC" value="cubic"/>
        <choice name="OFF" value="off"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="pcsx_rearmed_region" description="Force the console region." order="103">
        <choice name="NTSC" value="NTSC"/>
        <choice name="PAL" value="PAL"/>
      </feature>
      <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="pcsx_rearmed_show_bios_bootlogo" description="Skip the BIOS bootlogo." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="ENABLE RIGHT MEMCARD" group="ADVANCED SETTINGS" value="pcsx_rearmed_memcard2" preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="CPU CLOCK SPEED" group="ADVANCED SETTINGS" value="pcsx_rearmed_psxclock" description="Force the frequency of the emulated CPU. Can reduce slowdown, but may cause glitches. Default is 57%." preset="sliderauto" preset-parameters="30 100 1 %" order="107"/>
      <feature submenu="EMULATION" name="INSTRUCTION CACHE EMULATION (COMPATIBILITY HACK)" group="ADVANCED SETTINGS" value="pcsx_rearmed_icache_emulation" description="Required for Formula One games." preset="switchauto" order="108"/>
      <feature submenu="EMULATION" name="GAME FIXES" group="ADVANCED SETTINGS" value="pcsx_game_fixes" description="Apply fix for some games." order="109">
        <choice name="Off" value="disabled"/>
        <choice name="Capcom VS games Expand Screen Width" value="pcsx_rearmed_gpu_peops_expand_screen_width"/>
        <choice name="Chrono Chross Odd/Even Bit Hack" value="pcsx_rearmed_gpu_peops_odd_even_bit"/>
        <choice name="Dark Forces Flat Tex Triangles Fix" value="pcsx_rearmed_gpu_peops_repeated_triangles"/>
        <choice name="Diablo Music Fix" value="pcsx_rearmed_idiablofix"/>
        <choice name="Lunar Ignore Brightness Color Fix" value="pcsx_rearmed_gpu_peops_ignore_brightness"/>
        <choice name="InuYasha Sengoku Battle Fix" value="pcsx_rearmed_inuyasha_fix"/>
        <choice name="Pandemonium 2 Lazy Screen Update Fix" value="pcsx_rearmed_gpu_peops_lazy_screen_update"/>
        <choice name="Parasite Eve 2/Vandal Hearts 1 and 2 Fix" value="pcsx_rearmed_pe2_fix"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="bios_overrides" order="120"/>
      <feature submenu="USER INTERFACE" name="DISPLAY FPS" value="display_internal_fps" group="ADVANCED SETTINGS" description="Show FPS overlay in-game." preset="switchauto" order="453"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="pcsx_controller_p1" order="505">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller" value="261"/>
        <choice name="DualShock" value="517"/>
        <choice name="NeGcon" value="773"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="pcsx_controller_p2" order="506">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller" value="261"/>
        <choice name="DualShock" value="517"/>
        <choice name="NeGcon" value="773"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="pcsx_controller_p3" order="507">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller" value="261"/>
        <choice name="DualShock" value="517"/>
        <choice name="NeGcon" value="773"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="pcsx_controller_p4" order="508">
        <choice name="Digital Controller" value="1"/>
        <choice name="Analog Controller" value="261"/>
        <choice name="DualShock" value="517"/>
        <choice name="NeGcon" value="773"/>
        <choice name="PlayStation Mouse" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="ENABLE RUMBLE" group="ADVANCED SETTINGS" value="pcsx_rearmed_vibration" description="Enables joypad rumble." preset="switchauto" order="510"/>
      <feature submenu="CONTROLS" name="USE TRIGGERS TO BRAKE/ACCELERATE" group="ADVANCED SETTINGS" value="psx_triggerswap" description="Can be useful for Gran Turismo, triggers will be mapped to right analog stick." preset="switchauto" order="511"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="PLAYER 1 CROSSHAIR" group="ADVANCED SETTINGS" value="pcsx_rearmed_crosshair1" order="551">
          <choice name="NONE" value="disabled"/>
          <choice name="WHITE" value="white"/>
          <choice name="RED" value="red"/>
          <choice name="GREEN" value="green"/>
          <choice name="BLUE" value="blue"/>
      </feature>
      <feature submenu="GUNS" name="PLAYER 2 CROSSHAIR" group="ADVANCED SETTINGS" value="pcsx_rearmed_crosshair2" order="552">
          <choice name="NONE" value="disabled"/>
          <choice name="WHITE" value="white"/>
          <choice name="RED" value="red"/>
          <choice name="GREEN" value="green"/>
          <choice name="BLUE" value="blue"/>
      </feature>
      <feature submenu="GUNS" name="GUN IN PORT 2" group="ADVANCED SETTINGS" value="psx_gunport2" description="Set this to plug GunCon to port 2, used for certain versions of Die Hard." preset="switchauto" order="553"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="554"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="555">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="556"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="557"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="558"/>
    </core>
    <core name="mednafen_saturn" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="beetle_saturn_region" description="Select a video format for output." order="158">
        <choice name="JAPAN (NTSC)" value="Japan"/>
        <choice name="NORTH AMERICA (NTSC)" value="North America"/>
        <choice name="EUROPE (PAL)" value="Europe"/>
        <choice name="ASIA (NTSC)" value="Asia (NTSC)"/>
        <choice name="ASIA (PAL)" value="Asia (PAL)"/>
        <choice name="BRASIL" value="Brasil"/>
        <choice name="LATIN AMERICA" value="Latin America"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="PRELOAD CD IMAGE IN MEMORY" value="beetle_saturn_cdimagecache" description="Potentially decrease loading time at the cost of inscreased startup time." preset="switchauto" order="103"/>
      <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="beetle_saturn_autortc_lang" order="104">
        <choice name="English" value="english"/>
        <choice name="Español" value="spanish"/>
        <choice name="Français" value="french"/>
        <choice name="Italiano" value="italian"/>
        <choice name="Deutsch" value="german"/>
        <choice name="日本語 (Japanese)" value="japanese"/>
      </feature>
      <feature submenu="EMULATION" name="ADD-ON CARTRIDGE" group="ADVANCED SETTINGS" value="beetle_saturn_cart" description="Certain games require an external cartridge to run." order="105">
        <choice name="NO" value="None"/>
        <choice name="BACKUP RAM" value="Backup Memory"/>
        <choice name="1M EXTENDED RAM" value="Extended RAM (1MB)"/>
        <choice name="4M EXTENDED RAM" value="Extended RAM (4MB)"/>
        <choice name="THE KING OF FIGHTERS 95" value="The King of Fighters '95"/>
        <choice name="ULTRAMAN" value="Ultraman: Hikari no Kyojin Densetsu"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="USE SHARED INTERNAL MEMORY" value="beetle_saturn_shared_int" preset="switchauto" order="106"/>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="USE SHARED EXTERNAL MEMORY" value="beetle_saturn_shared_ext" preset="switchauto" order="107"/>
      <feature submenu="LATENCY REDUCTION" name="MID-FRAME INPUT SYNC" group="ADVANCED SETTINGS" value="beetle_saturn_midsync" description="Can reduce input latency, but will inscrease CPU requirements." preset="switchauto" order="355"/>
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="saturn_padlayout" order="505">
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as X/Z" value="lr_xz"/>
      </feature>
      <feature submenu="CONTROLS" name="INVERT TRIGGERS AND SHOULDERS" group="ADVANCED SETTINGS" value="saturn_invert_triggers" description="Use shoulder buttons for L and R instead of triggers." preset="switchauto" order="506"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mednafen_saturn_controller" order="507">
        <choice name="JOYPAD" value="1"/>
        <choice name="3D PAD" value="261"/>
        <choice name="ARCADE RACER" value="517"/>
        <choice name="MISSION STICK" value="773"/>
        <choice name="MOUSE" value="258"/>
        <choice name="STUNNER" value="516"/>
        <choice name="TWIN-STICK" value="1285"/>
        <choice name="VIRTUA GUN" value="260"/>
        <choice name="DUAL MISSION STICKS" value="1029"/>
      </feature>
      <feature submenu="CONTROLS" name="MOUSE SENSITIVITY" value="beetle_saturn_mouse_sensitivity" group="ADVANCED SETTINGS" description="Change the sensitivity of the mouse." preset="sliderauto" preset-parameters="5 200 5 %" order="508"/>
      <feature submenu="CONTROLS" name="MULTITAP PORT 1" group="ADVANCED SETTINGS" value="beetle_saturn_multitap_port1" description="Enable multitap in port 1." preset="switchauto" order="509"/>
      <feature submenu="CONTROLS" name="MULTITAP PORT 2" group="ADVANCED SETTINGS" value="beetle_saturn_multitap_port2" description="Enable multitap in port 2." preset="switchauto" order="510"/>
      <feature submenu="CONTROLS" name="USE SATURN-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="saturn_pad" preset="switchauto" order="511"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="beetle_saturn_virtuagun_crosshair" description="Define type of crosshair for guns." order="551">
        <choice name="CROSS" value="Cross"/>
        <choice name="DOT" value="Dot"/>
        <choice name="NONE" value="Off"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="552"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="553">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="556"/>
    </core>
    <core name="mednafen_snes" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="550"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="mednafen_supafaust" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="mednafen_supergrafx" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="AUDIO" name="VOLUME ADPCM" group="ADVANCED SETTINGS" value="sgxadpcvolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="306"/>
      <feature submenu="AUDIO" name="VOLUME CDDA" group="ADVANCED SETTINGS" value="sgxcddavolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="307"/>
      <feature submenu="AUDIO" name="VOLUME PSG CD" group="ADVANCED SETTINGS" value="sgxcdpsvolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="308"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="CONTROLS" name="USE 6-BUTTON PAD" group="ADVANCED SETTINGS" value="sgx_6button" preset="switchauto" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="supergrafx_controller1" order="506">
        <choice name="JOYPAD" value="1"/>
        <choice name="MOUSE" value="2"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="supergrafx_controller2" order="507">
        <choice name="JOYPAD" value="1"/>
        <choice name="MOUSE" value="2"/>
      </feature>
    </core>
    <core name="mednafen_vb" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="mednafen_wswan" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN ROTATION" value="mednafen_wswan_rotate" order="158">
        <choice name="MANUAL" value="manual"/>
        <choice name="PORTRAIT" value="portrait"/>
        <choice name="LANDSCAPE" value="landscape"/>
      </feature>
      <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="ROTATE CONTROLS" value="mednafen_wswan_rotatekeymap" description="Leave auto to automatically adapt to the game orientation, use this setting to force if required." order="505">
        <choice name="PORTRAIT" value="enabled"/>
        <choice name="LANDSCAPE" value="disabled"/>
      </feature>
    </core>
    <core name="melonds" features="cheevos">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="melonds_opengl_resolution" description="Only compatible with OpenGL driver." order="20">
        <choice name="NATIVE (256x192)" value="1x native (256x192)"/>
        <choice name="2x" value="2x native (512x384)"/>
        <choice name="3x" value="3x native (768x576)"/>
        <choice name="4x" value="4x native (1024x768)"/>
        <choice name="5x" value="5x native (1280x960)"/>
        <choice name="6x" value="6x native (1536x1152)"/>
        <choice name="7x" value="7x native (1792x1344)"/>
        <choice name="8x" value="8x native (2048x1536)"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="melonds_screen_layout" description="Choose the disposition of the emulated screens." order="158">
        <choice name="TOP/BOTTOM" value="Top/Bottom"/>
        <choice name="BOTTOM/TOP" value="Bottom/Top"/>
        <choice name="LEFT/RIGHT" value="Left/Right"/>
        <choice name="RIGHT/LEFT" value="Right/Left"/>
        <choice name="TOP ONLY" value="Top Only"/>
        <choice name="BOTTOM ONLY" value="Bottom Only"/>
        <choice name="HYBRID TOP" value="Hybrid Top"/>
        <choice name="HYBRID BOTTOM" value="Hybrid Bottom"/>
      </feature>
      <feature submenu="VIDEO" name="SCREEN GAP" group="ADVANCED SETTINGS" value="melonds_screengap" description="Configure gap between both screens in pixels." preset="sliderauto" preset-parameters="0 126 2 px" order="159"/>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="HYBRID RATIO" value="melonds_hybrid_ratio" description="Size of the largest screen when using a hybrid screen layout." order="160">
        <choice name="3:1" value="3"/>
        <choice name="2:1" value="2"/>
      </feature>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="HYBRID SMALL SCREEN MODE" value="melonds_hybrid_small_screen" description="Select which screen will be shown when using hybrid layout." order="161">
        <choice name="BOTTOM SCREEN" value="Bottom"/>
        <choice name="TOP SCREEN" value="Top"/>
        <choice name="DUPLICATE" value="Duplicate"/>
      </feature>
      <feature submenu="EMULATION" name="CONSOLE TYPE" value="nds_console" group="ADVANCED SETTINGS" description="Use DSI for DSI games like DSI Ware." order="103">
        <choice name="DS" value="DS"/>
        <choice name="DSI" value="DSi"/>
      </feature>
      <feature submenu="EMULATION" name="BOOT TO BIOS" value="nds_boot" group="ADVANCED SETTINGS" description="Enable Boot to BIOS for DSI Games." preset="switchauto" order="104"/>
      <feature submenu="CONTROLS" name="TOUCH MODE" value="melonds_touch_mode" group="ADVANCED SETTINGS" description="Define how touchscreen is emulated." order="505">
        <choice name="DISABLED" value="disabled"/>
        <choice name="MOUSE" value="Mouse"/>
        <choice name="JOYSTICK" value="Joystick"/>
        <choice name="TOUCHSCREEN" value="Touch"/>
      </feature>
      <feature submenu="DRIVERS" name="DISABLE HARDWARE RENDERER" group="ADVANCED SETTINGS" value="melonds_opengl_renderer" description="Disable hardware renderer, can increase compatibility." preset="switchauto" order="404"/>
      <feature submenu="CONTROLS" name="MICROPHONE EMULATION" value="melonds_mic_input" group="ADVANCED SETTINGS" description="Define the sound that the emulated microphone will receive ." order="510">
        <choice name="BLOW NOISE" value="Blow Noise"/>
        <choice name="WHITE NOISE" value="White Noise"/>
      </feature>
    </core>
    <core name="melondsds" features="cheevos">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="melondsds_resolution" description="Only compatible with OpenGL driver." order="20">
        <choice name="NATIVE (256x192)" value="1"/>
        <choice name="2x" value="2"/>
        <choice name="3x" value="3"/>
        <choice name="4x" value="4"/>
        <choice name="5x" value="5"/>
        <choice name="6x" value="6"/>
        <choice name="7x" value="7"/>
        <choice name="8x" value="8"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING 1" value="melondsds_screen_layout1" description="Choose the disposition of the emulated screens." order="158">
        <choice name="TOP/BOTTOM" value="top-bottom"/>
        <choice name="BOTTOM/TOP" value="bottom-top"/>
        <choice name="LEFT/RIGHT" value="left-right"/>
        <choice name="RIGHT/LEFT" value="right-left"/>
        <choice name="TOP ONLY" value="top"/>
        <choice name="BOTTOM ONLY" value="bottom"/>
        <choice name="HYBRID FOCUS TOP" value="hybrid-top"/>
        <choice name="HYBRID FOCUS BOTTOM" value="hybrid-bottom"/>
        <choice name="FLIPPED HYBRID FOCUS TOP" value="flipped-hybrid-top"/>
        <choice name="FLIPPED HYBRID FOCUS BOTTOM" value="flipped-hybrid-bottom"/>
        <choice name="ROTATE LEFT" value="rotate-left"/>
        <choice name="ROTATE RIGHT" value="rotate-right"/>
        <choice name="UPSIDE DOWN" value="rotate-180"/>
      </feature>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING 2" value="melondsds_screen_layout2" description="Choose the second disposition of the emulated screens." order="159">
        <choice name="TOP/BOTTOM" value="top-bottom"/>
        <choice name="BOTTOM/TOP" value="bottom-top"/>
        <choice name="LEFT/RIGHT" value="left-right"/>
        <choice name="RIGHT/LEFT" value="right-left"/>
        <choice name="TOP ONLY" value="top"/>
        <choice name="BOTTOM ONLY" value="bottom"/>
        <choice name="HYBRID FOCUS TOP" value="hybrid-top"/>
        <choice name="HYBRID FOCUS BOTTOM" value="hybrid-bottom"/>
        <choice name="FLIPPED HYBRID FOCUS TOP" value="flipped-hybrid-top"/>
        <choice name="FLIPPED HYBRID FOCUS BOTTOM" value="flipped-hybrid-bottom"/>
        <choice name="ROTATE LEFT" value="rotate-left"/>
        <choice name="ROTATE RIGHT" value="rotate-right"/>
        <choice name="UPSIDE DOWN" value="rotate-180"/>
      </feature>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="HYBRID RATIO" value="melondsds_hybrid_ratio" description="Size of the largest screen when using a hybrid screen layout." order="160">
        <choice name="3:1" value="3"/>
        <choice name="2:1" value="2"/>
      </feature>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="HYBRID SMALL SCREEN MODE" value="melondsds_hybrid_smallscreen" description="Select which screen will be shown when using hybrid layout." order="161">
        <choice name="SHOW BOTH" value="both"/>
        <choice name="SHOW OPPOSITE" value="one"/>
      </feature>
      <feature submenu="VIDEO" name="SCREEN GAP" group="ADVANCED SETTINGS" value="melonds_screengap" description="Configure gap between both screens in pixels." preset="sliderauto" preset-parameters="0 126 2 px" order="162"/>
      <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="GL - IMPROVE POLYGON RENDERING" value="melondsds_polygon" description="Improve polygon rendering when using OpenGL renderer." preset="switchauto" order="251"/>
      <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="GL - TEXTURE FILTER" value="melondsds_filter" description="Only compatible with OpenGL driver." order="252">
        <choice name="NEAREST" value="nearest"/>
        <choice name="LINEAR" value="linear"/>
      </feature>
      <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="THREADED RENDERING" value="melonds_threaded_renderer" description="Only compatible with Software video driver." preset="switchauto" order="253"/>
      <feature submenu="AUDIO" name="BIT DEPTH" value="melondsds_audio_depth" group="ADVANCED SETTINGS" description="Default to 10-bits for DS and 16-bits for DSi." order="306">
        <choice name="10 bits" value="10bit"/>
        <choice name="16 bits" value="16bit"/>
      </feature>
      <feature submenu="AUDIO" name="INTERPOLATION" value="melondsds_audio_interpolation" group="ADVANCED SETTINGS" description="Interpolates audio output for improved quality." order="307">
        <choice name="OFF" value="DS"/>
        <choice name="LINEAR" value="linear"/>
        <choice name="COSINE" value="cosine"/>
        <choice name="CUBIC" value="cubic"/>
      </feature>
      <feature submenu="EMULATION" name="CONSOLE TYPE" value="melondsds_console" group="ADVANCED SETTINGS" description="Use DSI for DSI games like DSI Ware." order="103">
        <choice name="DS" value="ds"/>
        <choice name="DSI" value="dsi"/>
      </feature>
      <feature submenu="EMULATION" name="BOOT TO BIOS" value="melondsds_boot" group="ADVANCED SETTINGS" description="Boot to the console BIOS menu." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="CONSOLE LANGUAGE" value="melondsds_language" group="ADVANCED SETTINGS" order="105">
        <choice name="English" value="en"/>
        <choice name="Français" value="fr"/>
        <choice name="日本語 (Japanese)" value="ja"/>
        <choice name="Deutsch" value="de"/>
        <choice name="Italiano" value="it"/>
        <choice name="Español" value="es"/>
        <choice name="FIRMWARE LANGUAGE" value="default"/>
      </feature>
      <feature submenu="EMULATION" name="USE BUILT-IN BIOS" value="melondsds_bios" group="ADVANCED SETTINGS" description="Enable MelonDS emulated bios instead of firmwares available in bios folder." preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="JIT RECOMPILER" value="melondsds_jit" group="ADVANCED SETTINGS" description="Improves performance." preset="switchauto" order="107"/>
      <feature submenu="USER INTERFACE" name="SHOW SCREEN LAYOUT INFORMATION" value="melonds_show_current_layout" group="ADVANCED SETTINGS" description="Show information of current screen layout in the top right corner." preset="switchauto" order="453"/>
      <feature submenu="DRIVERS" name="USE OPENGL (CORE)" value="melondsds_renderer" group="ADVANCED SETTINGS" preset="switchauto" order="404"/>
      <feature submenu="CONTROLS" name="CURSOR MODE" value="melondsds_cursor_mode" group="ADVANCED SETTINGS" description="Define how the cursor should appear on bottom screen." order="505">
        <choice name="WHILE TOUCHING" value="touching"/>
        <choice name="NEVER" value="disabled"/>
        <choice name="UNTIL TIMEOUT" value="timeout"/>
        <choice name="ALWAYS" value="always"/>
      </feature>
      <feature submenu="CONTROLS" name="TOUCH MODE" value="melondsds_touch_mode" group="ADVANCED SETTINGS" description="Define how touchscreen is emulated." order="506">
        <choice name="POINTER" value="touch"/>
        <choice name="JOYSTICK" value="joystick"/>
      </feature>
      <feature submenu="CONTROLS" name="MICROPHONE EMULATION" value="melonds_mic_input" group="ADVANCED SETTINGS" description="Define the sound that the emulated microphone will receive ." order="510">
        <choice name="REAL MICROPHONE" value="microphone"/>
        <choice name="BLOW" value="blow"/>
        <choice name="NOISE" value="noise"/>
        <choice name="SILENCE" value="silence"/>
      </feature>
      <feature submenu="CONTROLS" name="MICROPHONE BUTTON MODE" value="melondsds_touch_mode" group="ADVANCED SETTINGS" description="Set the behaviour of the microphone button." order="511">
        <choice name="HOLD BUTTON" value="hold"/>
        <choice name="TOGGLE" value="toggle"/>
        <choice name="ALWAYS ON" value="always"/>
      </feature>
    </core>
    <core name="noods" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="noods_screenArrangement" description="Choose the disposition of the emulated screens." order="158">
        <choice name="VERTICAL" value="Vertical"/>
        <choice name="HORIZONTAL" value="Horizontal"/>
        <choice name="SINGLE SCREEN" value="Single Screen"/>
      </feature>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN SIZING" value="noods_screenSizing" description="Choose the disposition of the emulated screens." order="159">
        <choice name="EVEN" value="Even"/>
        <choice name="ENLARGE TOP" value="Enlarge Top"/>
        <choice name="ENLARGE BOTTOM" value="Enlarge Bottom"/>
      </feature>
      <feature submenu="VIDEO" name="SCREEN ROTATION" group="ADVANCED SETTINGS" value="noods_screenRotation" description="Rotate display, this can be useful for specific games that need vertical display." order="160">
        <choice name="NO" value="Normal"/>
        <choice name="ROTATE LEFT" value="Rotated Left"/>
        <choice name="ROTATE RIGHT" value="Rotated Right"/>
      </feature>
      <feature submenu="VIDEO" name="SCREEN GAP" group="ADVANCED SETTINGS" value="noods_screenGap" order="161">
        <choice name="NONE" value="None"/>
        <choice name="QUARTER" value="Quarter"/>
        <choice name="HALF" value="Half"/>
        <choice name="FULL" value="Full"/>
      </feature>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="LIMIT FPS" value="noods_fpsLimiter" preset="switchauto" order="162"/>
      <feature submenu="VISUAL RENDERING" name="HIGH RESOLUTION 3D" group="ADVANCED SETTINGS" value="noods_highRes3D" preset="switchauto" order="251"/>
      <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="TEXTURE FILTER" value="noods_screenFilter" order="252">
        <choice name="NEAREST" value="Nearest"/>
        <choice name="UPSCALED" value="Upscaled"/>
        <choice name="LINEAR" value="Linear"/>
      </feature>
      <feature submenu="EMULATION" name="CONSOLE TYPE" value="noods_dsiMode" group="ADVANCED SETTINGS" description="Use DSI for DSI games like DSI Ware." order="103">
        <choice name="DS" value="disabled"/>
        <choice name="DSI" value="enabled"/>
      </feature>
      <feature submenu="EMULATION" name="BOOT TO BIOS" value="noods_directBoot" group="ADVANCED SETTINGS" description="Boot to the console BIOS menu." preset="switchauto" order="104"/>
      <feature submenu="CONTROLS" name="SHOW TOUCHSCREEN POINTER" group="ADVANCED SETTINGS" value="noods_touchCursor" description="Display a small pointer on touchscreen." preset="switchauto" order="505"/>
      <feature submenu="CONTROLS" name="TOUCH MODE" value="noods_touchMode" group="ADVANCED SETTINGS" description="Define how touchscreen is emulated." order="506">
        <choice name="POINTER" value="Pointer"/>
        <choice name="JOYSTICK" value="Joystick"/>
        <choice name="NONE" value="None"/>
      </feature>
      <feature submenu="CONTROLS" name="MICROPHONE INPUT MODE" value="noods_micInputMode" group="ADVANCED SETTINGS" order="507">
        <choice name="SILENCE" value="Silence"/>
        <choice name="NOISE" value="Noise"/>
        <choice name="MICROPHONE" value="Microphone"/>
      </feature>
      <feature submenu="CONTROLS" name="MICROPHONE BUTTON MODE" value="noods_micButtonMode" group="ADVANCED SETTINGS" order="508">
        <choice name="TOGGLE" value="Toggle"/>
        <choice name="HOLD" value="Hold"/>
        <choice name="ALWAYS" value="Always"/>
      </feature>
      <feature submenu="CONTROLS" name="SWAP SCREEN BUTTON MODE" value="noods_swapScreenMode" group="ADVANCED SETTINGS" order="509">
        <choice name="TOGGLE" value="Toggle"/>
        <choice name="HOLD" value="Hold"/>
      </feature>
    </core>
    <core name="vbam" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
    </core>
    <core name="vba_next" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
    </core>
    <core name="mesen" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (CORE)" group="ADVANCED SETTINGS" value="mesen_aspect_ratio" description="Set 'core-provided' in RetroArch options for this setting to take effect." order="158">
        <choice name="No Stretching" value="No Stretching"/>
        <choice name="NTSC" value="NTSC"/>
        <choice name="PAL" value="PAL"/>
        <choice name="4:3" value="4:3"/>
        <choice name="4:3 (Preserved)" value="4:3 (Preserved)"/>
        <choice name="16:9" value="16:9"/>
        <choice name="16:9 (Preserved)" value="16:9 (Preserved)"/>
      </feature>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="mesen_nospritelimit" description="Remove the original sprites-per-scanline hardware limit." preset="switchauto" order="159"/>
      <feature submenu="VISUAL RENDERING" name="VIDEO FILTER (CORE)" group="ADVANCED SETTINGS" value="ntsc_filter" description="Apply a video filter to mimic various signals." order="251">
        <choice name="NO" value="Disabled"/>
        <choice name="COMPOSITE" value="Composite (Blargg)"/>
        <choice name="S-VIDEO" value="S-Video (Blargg)"/>
        <choice name="RGB" value="RGB (Blargg)"/>
        <choice name="MONOCHROME" value="Monochrome (Blargg)"/>
        <choice name="BISQWIT (2X)" value="Bisqwit (2X)"/>
        <choice name="BISQWIT (4X)" value="Bisqwit (4X)"/>
        <choice name="BISQWIT (8X)" value="Bisqwit (8X)"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="PALETTE" group="ADVANCED SETTINGS" value="palette" description="If Custom is selected it will use MesenPalette.pal as custom palette in bios directory." order="252">
        <choice name="DEFAULT" value="Default"/>
        <choice name="COMPOSITE DIRECT" value="Composite Direct (by FirebrandX)"/>
        <choice name="NES CLASSIC" value="Nes Classic"/>
        <choice name="Nestopia (RGB)" value="Nestopia (RGB)"/>
        <choice name="ORIGINAL HARDWARE" value="Original Hardware (by FirebrandX)"/>
        <choice name="PVM STYLE" value="PVM Style (by FirebrandX)"/>
        <choice name="YUV" value="YUV v3 (by FirebrandX)"/>
        <choice name="SONY CXA2025AS" value="Sony CXA2025AS"/>
        <choice name="UNSATURATED" value="Unsaturated v6 (by FirebrandX)"/>
        <choice name="WAVEBEAM" value="Wavebeam (by nakedarthur)"/>
        <choice name="CUSTOM" value="Custom"/>
        <choice name="RAW" value="Raw"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="hd_packs" description="Replaces game's sprites by HD pack available in HdPacks bios directory." preset="switchauto" order="253"/>
      <feature submenu="VISUAL RENDERING" name="CROP SIZE SIDES" group="ADVANCED SETTINGS" value="mesen_overscan_pixels_sides" description="Define the number of pixels to crop." preset="sliderauto" preset-parameters="0 16 4 px" order="254"/>
      <feature submenu="VISUAL RENDERING" name="CROP SIZE TOP/BOTTOM" group="ADVANCED SETTINGS" value="mesen_overscan_pixels_topdown" description="Define the number of pixels to crop." preset="sliderauto" preset-parameters="0 24 4 px" order="255"/>
      <feature submenu="AUDIO" name="FAKE STEREO" group="ADVANCED SETTINGS" value="fake_stereo" description="Simulates stereo output." preset="switchauto" order="306"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="mesen_region" order="104">
        <choice name="NTSC" value="NTSC"/>
        <choice name="PAL" value="PAL"/>
        <choice name="Dendy" value="Dendy"/>
      </feature>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="mesen_overclock" description="Enhancement. Reduces system slowdown. Causes issues in some games." order="105">
        <choice name="NONE" value="None"/>
        <choice name="LOW" value="Low"/>
        <choice name="MEDIUM" value="Medium"/>
        <choice name="HIGH" value="High"/>
        <choice name="VERY HIGH" value="Very High"/>
      </feature>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Rotate face buttons to change layout." preset="switchauto" order="505"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="xbox_layout" order="506"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mesen_controller1" order="507">
        <choice name="GAMEPAD" value="257"/>
        <choice name="POWER PAD" value="513"/>
        <choice name="ARKANOID" value="258"/>
        <choice name="SNES CONTROLLER" value="2049"/>
        <choice name="SNES MOUSE" value="770"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mesen_controller2" order="508">
        <choice name="GAMEPAD" value="257"/>
        <choice name="POWER PAD" value="513"/>
        <choice name="ARKANOID" value="258"/>
        <choice name="SNES CONTROLLER" value="2049"/>
        <choice name="SNES MOUSE" value="770"/>
      </feature>
      <feature submenu="CONTROLS" name="ENABLE TURBO" group="ADVANCED SETTINGS" value="mesen_nes_turbo" order="509">
        <choice name="NO" value="Disabled"/>
        <choice name="Fast" value="Fast"/>
        <choice name="Very Fast" value="Very Fast"/>
        <choice name="Slow" value="Slow"/>
        <choice name="Normal" value="Normal"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="OVERLAY SHOW MOUSE CURSOR" group="ADVANCED SETTINGS" value="ShowCursor" preset="switchauto" order="551"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="552">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="553"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="554"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
      <system name="fds">
        <feature submenu="EMULATION" name="AUTOMATICALLY INSERT DISK" group="ADVANCED SETTINGS" value="mesen_fdsautoinsertdisk" description="Automatically insert disk A side 1 when starting FDS game." preset="switchauto" order="110"/>
        <feature submenu="EMULATION" name="FAST FORWARD WHEN LOADING" group="ADVANCED SETTINGS" value="mesen_fdsfastforwardload" description="Automatically fast forward FDS game when disk is loading." preset="switchauto" order="111"/>
      </system>
    </core>
    <core name="mesen-s" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mesen_controller1" order="505">
        <choice name="SNES CONTROLLER" value="257"/>
        <choice name="MOUSE" value="770"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mesen_controller2" order="506">
        <choice name="SNES CONTROLLER" value="257"/>
        <choice name="SUPERSCOPE" value="262"/>
        <choice name="MOUSE" value="770"/>
        <choice name="MULTITAP" value="513"/>
      </feature>
      <system name="gb,gbc,satellaview,sgb,snes,sfc">
        <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="507"/>
      </system>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="551"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="552">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="553"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="555"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="mupen64plus, mupen64plus_next, mupen64plus_next_gles3" features="cheevos, netplay, softpatch">
      <feature name="INTERNAL RESOLUTION" submenu="GLIDE PLUGIN" group="ADVANCED SETTINGS" value="43screensize" order="160">
        <choice name="320x240" value="320x240"/>
        <choice name="640x480" value="640x480"/>
        <choice name="960x720 (HD Ready)" value="960x720"/>
        <choice name="1280x960" value="1280x960"/>
        <choice name="1440x1080 (Full HD)" value="1440x1080"/>
        <choice name="1600x1200" value="1600x1200"/>
        <choice name="1920x1440 (2K)" value="1920x1440"/>
        <choice name="2240x1680" value="2240x1680"/>
        <choice name="2560x1920" value="2560x1920"/>
        <choice name="2880x2160 (4K)" value="2880x2160"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="UNLOCK FRAMERATE" group="ADVANCED SETTINGS" value="mupen64plus_framerate" preset="switchauto" order="158"/>
      <feature submenu="GLIDE PLUGIN" name="INTERNAL RESOLUTION (WIDESCREEN)" group="ADVANCED SETTINGS" value="169screensize" order="161">
        <choice name="640x360" value="640x360"/>
        <choice name="960x540" value="960x540"/>
        <choice name="1280x720 (HD Ready)" value="1280x720"/>
        <choice name="1366x768" value="1366x768"/>
        <choice name="1920x1080 (Full HD)" value="1920x1080"/>
        <choice name="2560x1440 (2K)" value="2560x1440"/>
        <choice name="3840x2160 (4K)" value="3840x2160"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="WIDESCREEN" group="ADVANCED SETTINGS" value="mupen_Widescreen" description="Display the emulated framebuffer at a widescreen aspect ratio. Get best results with full 3D games." preset="switchauto" order="252"/>
      <feature submenu="VISUAL RENDERING" name="CROP OVERSCAN" group="ADVANCED SETTINGS" value="mupen_CropOverscan" description="Zooms in to hide black borders. Borders are different per game." order="253">
        <choice name="OFF" value="none"/>
        <choice name="BORDERS 8 - TOP BOTTOM 12" value="t12_b12_l8_r8"/>
        <choice name="BOTTOM 15 - TOP 12 - LEFT 18 - RIGHT 13" value="t12_b15_l18_r13"/>
        <choice name="TOP 8 - BOTTOM 8" value="t8_b8_l0_r0"/>
        <choice name="LEFT 8 - RIGHT 8" value="t0_b0_l8_r8"/>
        <choice name="LEFT 8" value="t0_b0_l8_r0"/>
        <choice name="8 ALL SIDES" value="t8_b8_l8_r8"/>
      </feature>
      <feature submenu="GLIDE PLUGIN" name="ANTI ALIASING (MSAA)" group="ADVANCED SETTINGS" value="MultiSampling" description="Multi-Sampling Anti Aliasing level." order="164">
        <choice name="NO" value="0"/>
        <choice name="2x" value="2"/>
        <choice name="4x" value="4"/>
        <choice name="8x" value="8"/>
        <choice name="16x" value="16"/>
      </feature>
      <feature submenu="GLIDE PLUGIN" name="TEXTURE ENHANCEMENT" group="ADVANCED SETTINGS" value="Texture_Enhancement" description="Choose between various texture enhancement filters." order="166">
        <choice name="NO" value="None"/>
        <choice name="2xBRZ" value="2xBRZ"/>
        <choice name="3xBRZ" value="3xBRZ"/>
        <choice name="4xBRZ" value="4xBRZ"/>
        <choice name="5xBRZ" value="5xBRZ"/>
        <choice name="6xBRZ" value="6xBRZ"/>
        <choice name="AS IS" value="As Is"/>
        <choice name="HQ2X" value="HQ2X"/>
        <choice name="HQ2XS" value="HQ2XS"/>
        <choice name="HQ4X" value="HQ4X"/>
        <choice name="LQ2X" value="LQ2X"/>
        <choice name="LQ2XS" value="LQ2XS"/>
        <choice name="X2" value="X2"/>
        <choice name="X2SAI" value="X2SAI"/>
      </feature>
      <feature submenu="GLIDE PLUGIN" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="Texture_filter" description="Select texture filtering mode." order="163">
        <choice name="NO" value="None"/>
        <choice name="Sharp 1" value="Sharp filtering 1"/>
        <choice name="Sharp 2" value="Sharp filtering 2"/>
        <choice name="Smooth 1" value="Smooth filtering 1"/>
        <choice name="Smooth 2" value="Smooth filtering 2"/>
        <choice name="Smooth 3" value="Smooth filtering 3"/>
        <choice name="Smooth 4" value="Smooth filtering 4"/>
      </feature>
      <feature submenu="GLIDE PLUGIN" name="BILINEAR FILTERING MODE" group="ADVANCED SETTINGS" value="BilinearMode" description="Select a bilinear filtering method." order="162">
        <choice name="3 POINT (ORIGINAL)" value="3point"/>
        <choice name="STANDARD" value="standard"/>
      </feature>
      <feature submenu="GLIDE PLUGIN" name="ENABLE NATIVE RES TEXTURE COORDINATES" group="ADVANCED SETTINGS" value="mupen64plus-EnableTexCoordBounds" description="Prevents some artifacts but can result in hard edges." preset="switchauto" order="167"/>
      <feature submenu="GLIDE PLUGIN" name="ENABLE NATIVE RES 2D TEXTRECTS" group="ADVANCED SETTINGS" value="mupen64plus-EnableNativeResTexrects" description="Can fix misaligned 2D images like mario kart character selection." order="168">
        <choice name="DISABLED" value="Disabled"/>
        <choice name="UNOMPIMIZED" value="Unoptimized"/>
        <choice name="OMPIMIZED" value="Optimized"/>
      </feature>
      <feature submenu="EMULATION" name="PERFORMANCE MODE" group="ADVANCED SETTINGS" value="PerformanceMode" description="Improve performance at the cost of accuracy and input lag." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="CPU CORE" value="mupen64plus-cpucore" group="ADVANCED SETTINGS" description="Use interpreter for best compatibility, dynarec for performance." order="103">
        <choice name="pure interpreter" value="pure_interpreter"/>
        <choice name="cached interpreter" value="cached_interpreter"/>
        <choice name="dynarec" value="dynamic_recompiler"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="TexturesPack" description="Replace original textures with custom textures pack." order="258">
        <choice name="NO" value="disabled"/>
        <choice name="RICE" value="legacy"/>
        <choice name="CACHE" value="cache"/>
      </feature>
      <feature submenu="PARALLEL PLUGIN" name="ENABLE PARALLEL" group="ADVANCED SETTINGS" value="RDP_Plugin" description="No: 'GLideN64' for best HLE performance. Yes: 'ParaLLEl' for LLE (accuracy)." preset="switchauto" order="180"/>
      <feature submenu="PARALLEL PLUGIN" name="TEXTURE UPSCALING" group="ADVANCED SETTINGS" value="mupen64plus-parallel-rdp-upscaling" description="Apply internal upscaling factor." order="181">
        <choice name="1x" value="1x"/>
        <choice name="2x" value="2x"/>
        <choice name="4x" value="4x"/>
        <choice name="8x" value="8x"/>
      </feature>
      <feature submenu="PARALLEL PLUGIN" name="DOWNSAMPLING (SSAA)" group="ADVANCED SETTINGS" value="mupen64plus-parallel-rdp-downscaling" description="Smooth polygons by downscaling the image to either half its size, one quarter of its size, or one eight of its size." order="182">
        <choice name="NO" value="disable"/>
        <choice name="1/2" value="1/2"/>
        <choice name="1/4" value="1/4"/>
        <choice name="1/8" value="1/8"/>
      </feature>
      <feature submenu="PARALLEL PLUGIN" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="mupen64plus-parallel-rdp-vi-aa" description="Anti-aliased fetch filter, smooth polygons edges." preset="switchauto" order="183"/>
      <feature submenu="PARALLEL PLUGIN" name="BILINEAR SCALING" group="ADVANCED SETTINGS" value="mupen64plus-parallel-rdp-vi-bilinear" description="Allow bilinear scaling on scanout." preset="switchauto" order="184"/>
      <feature submenu="PARALLEL PLUGIN" name="DEINTERLACING METHOD" group="ADVANCED SETTINGS" value="mupen64plus-parallel-rdp-deinterlace-method" description="'Weave' should only be used with 1x scaling factor and CRT shaders." order="185">
        <choice name="BOB" value="Bob"/>
        <choice name="WEAVE" value="Weave"/>
      </feature>
      <feature submenu="PARALLEL PLUGIN" name="DITHERING FILTER" group="ADVANCED SETTINGS" value="mupen64plus-parallel-rdp-dither-filter" description="Recover significant color depth." preset="switchauto" order="186"/>
      <feature submenu="PARALLEL PLUGIN" name="GAMMA DITHER" group="ADVANCED SETTINGS" value="mupen64plus-parallel-rdp-gamma-dither" description="Allow gamma dither." preset="switchauto" order="187"/>
      <feature submenu="PARALLEL PLUGIN" name="DIVOT FILTER" group="ADVANCED SETTINGS" value="mupen64plus-parallel-rdp-divot-filter" description="Cleans up stray black pixels." preset="switchauto" order="188"/>
      <feature submenu="PARALLEL PLUGIN" name="NATIVE TEXTURE LOD" group="ADVANCED SETTINGS" value="mupen64plus-parallel-rdp-native-texture-lod" description="Use native texture LOD computation when upscaling." preset="switchauto" order="189"/>
      <feature submenu="PARALLEL PLUGIN" name="OVERSCAN" group="ADVANCED SETTINGS" value="mupen64plus-parallel-rdp-overscan" description="Crop pixels around edge of screen." preset="sliderauto" preset-parameters="0 64 2" order="190"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <!-- NINTENDO 64 -->
      <system name="n64">
        <feature submenu="EMULATION" name="P1 CONTROLLER EXTENSION" group="ADVANCED SETTINGS" value="mupen64plus-pak1" description="Choose the extension attached to the controller." order="105">
          <choice name="NO" value="none"/>
          <choice name="MEMORY" value="memory"/>
          <choice name="RUMBLE" value="rumble"/>
          <choice name="TRANSFER" value="transfer"/>
        </feature>
        <feature submenu="EMULATION" name="P2 CONTROLLER EXTENSION" group="ADVANCED SETTINGS" value="mupen64plus-pak2" order="106">
          <choice name="NO" value="none"/>
          <choice name="MEMORY" value="memory"/>
          <choice name="RUMBLE" value="rumble"/>
          <choice name="TRANSFER" value="transfer"/>
        </feature>
        <feature submenu="EMULATION" name="P3 CONTROLLER EXTENSION" group="ADVANCED SETTINGS" value="mupen64plus-pak3" order="107">
          <choice name="NO" value="none"/>
          <choice name="MEMORY" value="memory"/>
          <choice name="RUMBLE" value="rumble"/>
          <choice name="TRANSFER" value="transfer"/>
        </feature>
        <feature submenu="EMULATION" name="P4 CONTROLLER EXTENSION" group="ADVANCED SETTINGS" value="mupen64plus-pak4" order="108">
          <choice name="NO" value="none"/>
          <choice name="MEMORY" value="memory"/>
          <choice name="RUMBLE" value="rumble"/>
          <choice name="TRANSFER" value="transfer"/>
        </feature>
      </system>
      <!-- NINTENDO 64DD -->
      <system name="n64dd">
        <feature submenu="EMULATION" name="BIOS" value="ipl_bios" group="ADVANCED SETTINGS" description="Select the IPL BIOS to run a game depending on its region. Needs 'IPL_JAP.n64', 'IPL_USA.n64' and 'IPL_DEV.n64' in bios\Mupen64plus folder." order="104">
          <choice name="JAPAN" value="IPL_JAP.n64"/>
          <choice name="USA" value="IPL_USA.n64"/>
          <choice name="DEVKIT" value="IPL_DEV.n64"/>
        </feature>
        <feature submenu="EMULATION" name="P1 CONTROLLER EXTENSION" group="ADVANCED SETTINGS" value="mupen64plus-pak1" description="Choose the extension attached to the controller." order="105">
          <choice name="NO" value="none"/>
          <choice name="RUMBLE" value="rumble"/>
        </feature>
        <feature submenu="EMULATION" name="P2 CONTROLLER EXTENSION" group="ADVANCED SETTINGS" value="mupen64plus-pak2" order="106">
          <choice name="NO" value="none"/>
          <choice name="RUMBLE" value="rumble"/>
        </feature>
        <feature submenu="EMULATION" name="P3 CONTROLLER EXTENSION" group="ADVANCED SETTINGS" value="mupen64plus-pak3" order="107">
          <choice name="NO" value="none"/>
          <choice name="RUMBLE" value="rumble"/>
        </feature>
        <feature submenu="EMULATION" name="P4 CONTROLLER EXTENSION" group="ADVANCED SETTINGS" value="mupen64plus-pak4" order="108">
          <choice name="NO" value="none"/>
          <choice name="RUMBLE" value="rumble"/>
        </feature>
      </system>
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="lr_n64_buttons" order="505">
        <choice name="STANDARD" value="standard"/>
        <choice name="XBOX" value="xbox"/>
      </feature>
      <feature submenu="CONTROLS" name="USE N64-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="n64_pad" preset="switchauto" order="506"/>
    </core>
    <core name="play">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="pcsx2">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="lrps2_upscale_multiplier" order="20">
        <choice name="1X (NATIVE)" value="1x Native (PS2)"/>
        <choice name="2X (720p)" value="2x Native (~720p)"/>
        <choice name="3X (1080p)" value="3x Native (~1080p)"/>
        <choice name="4X (1440p)" value="4x Native (~1440p/2K)"/>
        <choice name="5X (1800p)" value="5x Native (~1800p/3K)"/>
        <choice name="6X (2160p)" value="6x Native (~2160p/4K)"/>
        <choice name="7X (2520p)" value="7x Native (~2520p)"/>
        <choice name="8X (2880p)" value="8x Native (~2880p/5K)"/>
        <choice name="9X (3240p)" value="9x Native (~3240p)"/>
        <choice name="10X (3600p)" value="10x Native (~3600p/6K)"/>
        <choice name="11X (3960p)" value="11x Native (~3960p)"/>
        <choice name="12X (4320p)" value="12x Native (~4320p/8K)"/>
        <choice name="13X (5824p)" value="13x Native (~5824p)"/>
        <choice name="14X (6272p)" value="14x Native (~6272p)"/>
        <choice name="15X (6720p)" value="15x Native (~6720p)"/>
        <choice name="16X (7168p)" value="16x Native (~7168p)"/>
      </feature>
      <feature submenu="VIDEO" name="WIDESCREEN PATCHES" group="ADVANCED SETTINGS" value="lrps2_widescreen_hint" description="Automatically load widescreen patches on game start-up." order="158">
        <choice name="OFF" value="disabled"/>
        <choice name="ENABLED (16:9)" value="enabled (16:9)"/>
        <choice name="ENABLED (16:10)" value="enabled (16:10)"/>
        <choice name="ENABLED (21:9)" value="enabled (21:9)"/>
        <choice name="ENABLED (32:9)" value="enabled (32:9)"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="NO-INTERLACING PATCHES" group="ADVANCED SETTINGS" value="lrps2_nointerlacing_hint" description="Automatically load no-interlacing patches on game start-up." preset="switchauto" order="251"/>
      <feature submenu="VISUAL RENDERING" name="DEINTERLACING METHOD" group="ADVANCED SETTINGS" value="lrps2_deinterlace_mode" description="Can remove blur on some games." order="252">
          <choice name="Blend bff (slight blur)" value="Blend BFF"/>
          <choice name="Blend tff (slight blur)" value="Blend TFF"/>
          <choice name="Bob bff (use blend if shaking)" value="Bob BFF"/>
          <choice name="Bob tff (use blend if shaking)" value="Bob TFF"/>
          <choice name="Weave bff (saw-tooth)" value="Weave BFF"/>
          <choice name="Weave tff (saw-tooth)" value="Weave TFF"/>
          <choice name="Adaptive TFF" value="Adaptive TFF"/>
          <choice name="Adaptive BFF" value="Adaptive BFF"/>
          <choice name="None" value="Off"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="lrps2_texture_filtering" description="Smooths out the blockyness of magnified textures on 3D objects by using filtering." order="253">
        <choice name="Bilinear (PS2 default)" value="Bilinear (PS2)"/>
        <choice name="Bilinear (forced)" value="Bilinear (Forced"/>
        <choice name="Nearest" value="Nearest"/>
        <choice name="Bilinear (forced excluding sprite)" value="Bilinear (Forced excluding sprite)"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TRILINEAR FILTERING" group="ADVANCED SETTINGS" value="lrps2_trilinear_filtering" description="Control the texture tri-filtering of the emulation." order="254">
        <choice name="OFF" value="disabled"/>
        <choice name="TRILINEAR (PS2)" value="Trilinear (PS2)"/>
        <choice name="TRILINEAR (FORCED)" value="Trilinear (Forced)"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="lrps2_anisotropic_filtering" description="Enhance the quality of textures on surface." order="255">
        <choice name="NO" value="disabled"/>
        <choice name="2x" value="2x"/>
        <choice name="4x" value="4x"/>
        <choice name="8x" value="8x"/>
        <choice name="16x" value="16x"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="DITHERING FILTER" group="ADVANCED SETTINGS" value="lrps2_dithering" description="Disabling dithering can remove some noise and pixelate effects." order="256">
        <choice name="UNSCALED" value="Unscaled"/>
        <choice name="OFF" value="disabled"/>
        <choice name="SCALED" value="Scaled"/>
        <choice name="FORCE 32 BITS" value="Force 32bit"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="BLENDING ACCURACY" group="ADVANCED SETTINGS" value="lrps2_blending_accuracy" description="Control the accuracy level of GS blending unit. Higher values will emulate blending more accurately in the shader." order="257">
        <choice name="BASIC" value="Basic"/>
        <choice name="MINIMUM" value="Minimum"/>
        <choice name="MEDIUM" value="Medium"/>
        <choice name="HIGH" value="High"/>
        <choice name="FULL" value="Full"/>
        <choice name="MAXIMUM" value="Maximum"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="ANTI BLUR" group="ADVANCED SETTINGS" value="lrps2_pcrtc_antiblur" description="Enables anti blur hack, less accurate but makes games less blurry." preset="switchauto" order="258"/>
      <feature submenu="PARALLEL-GS" name="SUPERSAMPLING" group="ADVANCED SETTINGS" value="lrps2_pgs_ssaa" description="SSAA offers better quality at the cost of performance." order="180">
        <choice name="NATIVE" value="Native"/>
        <choice name="2X SSAA" value="2x SSAA"/>
        <choice name="4X SSAA (SPARSE GRID)" value="4x SSAA (sparse grid)"/>
        <choice name="4X SSAA (ORDERED)" value="4x SSAA (ordered, can high-res)"/>
        <choice name="8X SSAA" value="8x SSAA (can high-res)"/>
        <choice name="16X SSAA" value="16x SSAA (can high-res)"/>
      </feature>
      <feature submenu="PARALLEL-GS" name="HIGH RES SCANOUT" group="ADVANCED SETTINGS" value="lrps2_pgs_high_res_scanout" description="Allows upscaling, requires at least SSAA 4X." preset="switchauto" order="181"/>
      <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="lrps2_fastboot" description="Skips the BIOS boot animation displayed when loading content." preset="switchauto" order="103"/>
      <feature submenu="EMULATION" name="FORCE BIOS" group="ADVANCED SETTINGS" value="lrps2_bios" description="Force the emulator to use a specific BIOS file." order="104">
        <choice name="USA 230" value="ps2-0230a-20080220.bin"/>
        <choice name="EUR 230" value="ps2-0230e-20080220.bin"/>
        <choice name="EUR 250" value="ps2-0250e-20100415.bin"/>
        <choice name="JAP 230" value="ps2-0230j-20080220.bin"/>
        <choice name="PS3 PS2 FIRMWARE" value="ps3_ps2_emu_bios.bin"/>
      </feature>
      <feature submenu="EMULATION" name="SHARED MEMORY CARDS" group="ADVANCED SETTINGS" value="pcsx2_shared_memory_cards" preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="GAME ENHANCEMENTS" group="ADVANCED SETTINGS" value="lrps2_game_enhancements_hint" description="Automatically apply game enhancements if they exist in the core database." preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="FAST DISK SPEED" group="ADVANCED SETTINGS" value="lrps2_fastcdvd" description="Improve the loading of discs of the emulated game." preset="switchauto" order="107"/>
      <feature submenu="EMULATION" name="ENABLE CHEATS" group="ADVANCED SETTINGS" value="lrps2_enable_cheats" description="Cheats must be placed in the \cheats\pcsx2\cheats folder." preset="switchauto" order="108"/>
      <feature submenu="EMULATION" name="UNCAPPED FRAMERATE" group="ADVANCED SETTINGS" value="lrps2_uncapped_framerate_hint" description="Uncaps the framerate of the game if a patch can be found in the internal database." order="109">
        <choice name="NO" value="disabled"/>
        <choice name="YES" value="enabled"/>
        <choice name="PAL TO NTSC (60FPS)" value="60fps PAL-to-NTSC"/>
      </feature>
      <feature submenu="DRIVERS" name="VIDEO CORE RENDERER" group="ADVANCED SETTINGS" value="lrps2_renderer" description="Change the renderer used by the core." order="404">
        <choice name="OPENGL" value="OpenGL"/>
        <choice name="DIRECT3D 11" value="D3D11"/>
        <choice name="DIRECT3D 12" value="D3D12"/>
        <choice name="VULKAN" value="Vulkan"/>
        <choice name="paraLLel-GS" value="paraLLEl-GS"/>
        <choice name="SOFTWARE" value="Software"/>
      </feature>
      <feature submenu="CONTROLS" name="ANALOG SENSITIVITY (CORE)" group="ADVANCED SETTINGS" value="lrps2_axis_scale" preset="sliderauto" preset-parameters="50 200 10 %" order="505"/>
    </core>
    <core name="quicknes" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
    </core>
    <core name="redream" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="sameboy" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="GAME BOY MODEL" group="ADVANCED SETTINGS" value="sameboy_model" description="Force the Game Boy model to emulate if autodetect fails." order="103">
        <choice name="Auto Detect (DMG/GCB)" value="Auto"/>
        <choice name="Game Boy (DMG)" value="Game Boy"/>
        <choice name="Game Boy Color (CGB-E)" value="Game Boy Color"/>
        <choice name="Game Boy Color (CGB-D)" value="Game Boy Color D"/>
        <choice name="Game Boy Pocket/Light" value="Game Boy Pocket"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="REAL-TIME CLOCK EMULATION" value="sameboy_rtc" description="Specifies how the emulation of the real-time clock in certain games should function." order="104">
        <choice name="SYNC TO SYSTEM CLOCK" value="sync to system clock"/>
        <choice name="ACCURATE" value="accurate"/>
      </feature>
      <system name="gb2players">
        <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="sameboy_screen_layout" description="Choose the disposition of the emulated screens for 2 players games." order="158">
          <choice name="SIDE BY SIDE" value="left-right"/>
          <choice name="TOP / BOTTOM" value="top-down"/>
        </feature>
        <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="PALETTE" value="sameboy_mono_palette" order="251">
          <choice name="GREYSCALE" value="greyscale"/>
          <choice name="LIME" value="lime"/>
          <choice name="OLIVE" value="olive"/>
          <choice name="TEAL" value="teal"/>
        </feature>
        <feature submenu="AUDIO" group="ADVANCED SETTINGS" name="AUDIO OUTPUT" value="sameboy_audio_output" description="Define which Gameboy sound is output from the system." order="306">
          <choice name="GAMEBOY 1" value="Game Boy #1"/>
          <choice name="GAMEBOY 2" value="Game Boy #2"/>
        </feature>
      </system>
      <system name="gbc2players">
        <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="sameboy_screen_layout" description="Choose the disposition of the emulated screens for 2 players games." order="158">
          <choice name="SIDE BY SIDE" value="left-right"/>
          <choice name="TOP / BOTTOM" value="top-down"/>
        </feature>
        <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="COLOR CORRECTION MODE" value="sameboy_color_correction_mode" order="251">
          <choice name="MODERN BALANCED" value="emulate hardware"/>
          <choice name="MODERN ACCURATE" value="accurate"/>
          <choice name="MODERN BOOST CONTRAST" value="preserve brightness"/>
          <choice name="REDUCE BRIGHTNESS" value="reduce contrast"/>
          <choice name="COLOR CORRECT CURVES" value="correct curves"/>
          <choice name="HARSH REALITY" value="harsh reality"/>
          <choice name="DISABLED" value="off"/>
        </feature>
        <feature submenu="AUDIO" group="ADVANCED SETTINGS" name="AUDIO OUTPUT" value="sameboy_audio_output" description="Define which Gameboy sound is output from the system." order="306">
          <choice name="GAMEBOY 1" value="Game Boy #1"/>
          <choice name="GAMEBOY 2" value="Game Boy #2"/>
        </feature>
      </system>
      <system name="gb">
        <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="PALETTE" value="sameboy_mono_palette" order="251">
          <choice name="GREYSCALE" value="greyscale"/>
          <choice name="LIME" value="lime"/>
          <choice name="OLIVE" value="olive"/>
          <choice name="TEAL" value="teal"/>
        </feature>
      </system>
      <system name="gbc">
        <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="COLOR CORRECTION MODE" value="sameboy_color_correction_mode" order="251">
          <choice name="MODERN BALANCED" value="emulate hardware"/>
          <choice name="MODERN ACCURATE" value="accurate"/>
          <choice name="MODERN BOOST CONTRAST" value="preserve brightness"/>
          <choice name="REDUCE BRIGHTNESS" value="reduce contrast"/>
          <choice name="COLOR CORRECT CURVES" value="correct curves"/>
          <choice name="HARSH REALITY" value="harsh reality"/>
          <choice name="DISABLED" value="off"/>
        </feature>
      </system>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="507"/>
    </core>
    <core name="smsplus" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
    </core>
    <core name="snes9x" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="snes9x_region" order="158">
        <choice name="NTSC" value="ntsc"/>
        <choice name="PAL" value="pal"/>
      </feature>
      <feature submenu="VIDEO" name="OVERSCAN" group="ADVANCED SETTINGS" value="snes9x_overscan" description="Remove n pixels borders at the top and bottom of the screen." order="159">
        <choice name="NO" value="disabled"/>
        <choice name="8 PIXELS" value="enabled"/>
        <choice name="12 PIXELS" value="12_pixels"/>
        <choice name="16 PIXELS" value="16_pixels"/>
      </feature>
      <feature submenu="VIDEO" name="EMULATED VIDEO SIGNAL" group="ADVANCED SETTINGS" value="snes9x_blargg" description="Apply a video filter to mimic various signals." order="160">
        <choice name="NO" value="disabled"/>
        <choice name="MONOCHROME" value="monochrome"/>
        <choice name="RF" value="rf"/>
        <choice name="COMPOSITE" value="composite"/>
        <choice name="S-VIDEO" value="s-video"/>
        <choice name="RGB" value="rgb"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="PIXEL BLENDING" group="ADVANCED SETTINGS" value="snes9x_hires_blend" description="Required for certain games that use hi-res mode to produce transparency effects." order="252">
        <choice name="NO" value="disabled"/>
        <choice name="MERGE" value="merge"/>
        <choice name="BLUR" value="blur"/>
      </feature>
      <feature submenu="AUDIO" name="AUDIO INTERPOLATION" group="ADVANCED SETTINGS" value="snes9x_audio_interpolation" description="Apply an audio filter. 'Gaussian' reproduce the bass-heavy sound of the original hardware." order="306">
        <choice name="NO" value="none"/>
        <choice name="GAUSSIAN" value="gaussian"/>
        <choice name="CUBIC" value="cubic"/>
        <choice name="SYNC" value="sinc"/>
        <choice name="LINEAR" value="linear"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="snes9x_overclock_cycles" order="104">
        <choice name="OFF" value="disabled"/>
        <choice name="LIGHT" value="light"/>
        <choice name="COMPATIBLE" value="compatible"/>
        <choice name="MAX" value="max"/>
      </feature>
      <feature submenu="EMULATION" name="SUPERFX CHIP OVERCLOCK" group="ADVANCED SETTINGS" value="snes9x_overclock_superfx" description="Can improve framerate or cause timing error." order="105">
        <choice name="50%" value="50%"/>
        <choice name="60%" value="60%"/>
        <choice name="70%" value="70%"/>
        <choice name="80%" value="80%"/>
        <choice name="90%" value="90%"/>
        <choice name="100%" value="100%"/>
        <choice name="150%" value="150%"/>
        <choice name="200%" value="200%"/>
        <choice name="250%" value="250%"/>
        <choice name="300%" value="300%"/>
        <choice name="350%" value="350%"/>
        <choice name="400%" value="400%"/>
        <choice name="450%" value="450%"/>
        <choice name="500%" value="500%"/>
      </feature>
      <feature submenu="EMULATION" name="UNSAFE HACKS" group="ADVANCED SETTINGS" value="Snes9x_UnsafeHacks" description="Disable core safety features in order to enable some homebrew games to launch." preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="BLOCK INVALID VRAM ACCESS" group="ADVANCED SETTINGS" value="snes9x_block_invalid_vram_access" description="Some homebrew or roms hacks need this option to be disabled." preset="switchauto" order="107"/>
      <feature submenu="EMULATION" name="ECHO BUFFER HACK" group="ADVANCED SETTINGS" value="snes9x_echo_buffer_hack" description="Some homebrew or roms hacks need this option to be enabled." preset="switchauto" order="108"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="SnesControllerP1" order="505">
        <choice name="gamepad" value="1"/>
        <choice name="mouse" value="2"/>
        <choice name="multitap" value="257"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="SnesControllerP2" order="506">
        <choice name="gamepad" value="1"/>
        <choice name="mouse" value="2"/>
        <choice name="multitap" value="257"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="507"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="GUN TYPE" group="ADVANCED SETTINGS" value="gun_type" order="551">
        <choice name="Superscope" value="260"/>
        <choice name="Justifier" value="516"/>
        <choice name="M.A.C.S. RIFLE" value="1028"/>
        <choice name="Justifiers" value="justifiers"/>
      </feature>
      <feature submenu="GUNS" name="LIGHTGUN MODE" group="ADVANCED SETTINGS" value="snes9x_lightgun_mode" description="Use a mouse-controlled Lightgun or Touchscreen input." order="552">
        <choice name="LIGHTGUN" value="Lightgun"/>
        <choice name="TOUCHSCREEN" value="Touchscreen"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="553"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="554">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="555"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="556"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="557"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="snes9x2002" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
    </core>
    <core name="snes9x2005_plus" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
    </core>
    <core name="snes9x2005" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="snes9x_2005_region" order="158">
        <choice name="NTSC" value="NTSC"/>
        <choice name="PAL" value="PAL"/>
      </feature>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="snes9x_2005_frameskip" description="Automatically skip frames to improve performance (smoothless)." preset="switchauto" order="159"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="VISUAL RENDERING" name="REDUCE SPRITE FLICKERING" group="ADVANCED SETTINGS" value="snes9x_2005_reduce_sprite_flicker" description="Increase the number of sprites that can be drawn simultaneously on screen." preset="switchauto" order="251"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="505"/>
    </core>
    <core name="snes9x2010" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
    </core>
    <core name="stella" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="VIDEO" name="CROP OVERSCAN" group="ADVANCED SETTINGS" value="stella_crop_hoverscan" description="Zooms in to hide black borders. Borders are different per game." preset="switchauto" order="128"/>
      <feature submenu="VISUAL RENDERING" name="COLOR PALETTE" group="ADVANCED SETTINGS" value="stella_palette" description="Choose which color palette is going to be used." order="251">
        <choice name="STANDARD" value="standard"/>
        <choice name="Z26" value="z26"/>
        <choice name="USER" value="user"/>
        <choice name="CUSTOM" value="custom"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TV EFFECTS" group="ADVANCED SETTINGS" value="stella_filter" description="Apply core-specific filter to mimic old signal specific rendering." order="252">
        <choice name="NONE" value="disabled"/>
        <choice name="COMPOSITE" value="composite"/>
        <choice name="S-VIDEO" value="s-video"/>
        <choice name="RGB" value="rgb"/>
        <choice name="BADLY ADJUSTED" value="badly adjusted"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="PHOSPHOR MODE" group="ADVANCED SETTINGS" value="stella_phosphor" preset="switchauto" order="253"/>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="stella_console" description="Define model type and region." order="103">
        <choice name="PAL" value="pal"/>
        <choice name="NTSC" value="ntsc"/>
        <choice name="SECAM" value="secam"/>
        <choice name="NTSC 50" value="ntsc50"/>
        <choice name="PAL 60" value="pal60"/>
        <choice name="SECAM 60" value="secam60"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="stella_lightgun_crosshair" preset="switchauto" order="551"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="552"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="553">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="555"/>
    </core>
    <core name="stella2014" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="VISUAL RENDERING" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="stella2014_color_depth" order="251">
        <choice name="16 BIT" value="16bit"/>
        <choice name="24 BIT" value="24bit"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="INTERFRAME BLENDING" group="ADVANCED SETTINGS" value="stella2014_mix_frames" description="Simulates CRT ghosting effect, can be used to avoid flickering." order="252">
        <choice name="OFF" value="disabled"/>
        <choice name="SIMPLE" value="mix"/>
        <choice name="GHOSTING (65%)" value="ghost_65"/>
        <choice name="GHOSTING (75%)" value="ghost_75"/>
        <choice name="GHOSTING (85%)" value="ghost_85"/>
        <choice name="GHOSTING (95%)" value="ghost_95"/>
      </feature>
      <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="stella2014_low_pass_filter" description="Enables a low pass audio filter to soften the harsh sound of some games." preset="sliderauto" preset-parameters="0 95 5 %" order="306"/>
    </core>
    <core name="frodo">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="frodo_resolution" description="Modify rendering resolution." order="20">
        <choice name="384x288 (ORIGINAL)" value="384x288"/>
        <choice name="400x300" value="400x300"/>
        <choice name="640x480" value="640x480"/>
        <choice name="832x576" value="832x576"/>
        <choice name="960x720" value="960x720"/>
        <choice name="1024x768" value="1024x768"/>
        <choice name="1024x1024" value="1024x1024"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
    </core>
    <core name="uzem" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="vice_x128" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="MODEL TYPE" group="ADVANCED SETTINGS" value="vice_c128_model" description="Define model type and region." order="103">
        <choice name="C128 NTSC" value="C128 NTSC"/>
        <choice name="C128 PAL" value="C128 PAL"/>
        <choice name="C128 D PAL" value="C128 D PAL"/>
        <choice name="C128 D NTSC" value="C128 D NTSC"/>
        <choice name="C128 DCR PAL" value="C128 DCR PAL"/>
        <choice name="C128 DCR NTSC" value="C128 DCR NTSC"/>
      </feature>
      <feature submenu="EMULATION" name="MEMORY EXPANSION" group="ADVANCED SETTINGS" value="vice_c128_ram_expansion_unit" order="104">
        <choice name="NONE" value="none"/>
        <choice name="128kB" value="128kB"/>
        <choice name="256kB" value="256kB"/>
        <choice name="512kB" value="512kB"/>
        <choice name="1024kB" value="1024kB"/>
        <choice name="2048kB" value="2048kB"/>
        <choice name="4096kB" value="4096kB"/>
        <choice name="8192kB" value="8192kB"/>
        <choice name="16384kB" value="16384kB"/>
      </feature>
      <feature submenu="EMULATION" name="WARP BOOST" group="ADVANCED SETTINGS" value="warp_boost" description="Make warp mode much faster by changing SID emulation to 'FastSID' while warping." preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="TRUE DRIVE EMULATION" group="ADVANCED SETTINGS" value="vice_drive_true_emulation" preset="switchauto" order="106"/>
      <feature submenu="VISUAL RENDERING" name="PIXEL ASPECT RATIO" group="ADVANCED SETTINGS" value="vice_aspect_ratio" order="251">
        <choice name="Automatic" value="auto"/>
        <choice name="PAL" value="pal"/>
        <choice name="NTSC" value="ntsc"/>
        <choice name="1:1" value="raw"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP" group="ADVANCED SETTINGS" value="vice_crop" description="Crops the borders to show or hide border graphics." order="252">
        <choice name="DISABLED" value="disabled"/>
        <choice name="SMALL" value="small"/>
        <choice name="MEDIUM" value="medium"/>
        <choice name="MAXIMUM" value="maximum"/>
        <choice name="AUTO-DISABLE" value="auto_disable"/>
        <choice name="AUTOMATIC" value="auto"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP MODE" group="ADVANCED SETTINGS" value="vice_crop_mode" order="253">
        <choice name="Horizontal + Vertical" value="both"/>
        <choice name="Horizontal" value="horizontal"/>
        <choice name="Vertical" value="vertical"/>
        <choice name="16:9" value="16:9"/>
        <choice name="16:10" value="16:10"/>
        <choice name="4:3" value="4:3"/>
        <choice name="5:4" value="5:4"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR PALETTE" group="ADVANCED SETTINGS" value="vice_external_palette" description="Choose which color palette is going to be used." order="254">
        <choice name="Internal" value="default"/>
        <choice name="Colodore" value="colodore"/>
        <choice name="Pepto (PAL)" value="pepto-pal"/>
        <choice name="Pepto (NTSC)" value="pepto-ntsc"/>
        <choice name="Pepto (NTSC, Sony)" value="pepto-ntsc-sony"/>
        <choice name="Christopher Jam" value="cjam"/>
        <choice name="Deekay" value="deekay"/>
        <choice name="C64HQ" value="c64hq"/>
        <choice name="C64S" value="c64s"/>
        <choice name="CCS64" value="ccs64"/>
        <choice name="VICE" value="vice"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="vice_gfx_colors" order="255">
        <choice name="Thousands (16-bit)" value="16bit"/>
        <choice name="Millions (24-bit)" value="24bit"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="vice_controller1" order="506">
        <choice name="RETROPAD" value="1"/>
        <choice name="JOYSTICK" value="257"/>
        <choice name="KEYBOARD" value="259"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="vice_controller2" order="507">
        <choice name="RETROPAD" value="1"/>
        <choice name="JOYSTICK" value="257"/>
        <choice name="KEYBOARD" value="259"/>
      </feature>
      <feature submenu="CONTROLS" name="JOYSTICK PORT" group="ADVANCED SETTINGS" value="vice_joyport" description="Most games use port 2, use this setting for the old games that require joystick to be plugged in port 1." order="508">
        <choice name="PORT 2" value="2"/>
        <choice name="PORT 1" value="1"/>
      </feature>
      <feature submenu="CONTROLS" name="JOYSTICK PORT TYPE" group="ADVANCED SETTINGS" value="vice_joyport_type" order="509">
        <choice name="JOYSTICK" value="1"/>
        <choice name="PADDLES (SPLIT)" value="2"/>
        <choice name="PADDLES (RAW)" value="2R"/>
        <choice name="MOUSE (1351)" value="3"/>
        <choice name="MOUSE (NEOS)" value="4"/>
        <choice name="MOUSE (AMIGA)" value="5"/>
        <choice name="TRACKBALL (ATARI CX-22)" value="6"/>
        <choice name="MOUSE (ATARI ST)" value="7"/>
        <choice name="MOUSE (SMARTMOUSE)" value="8"/>
        <choice name="MOUSE (MICROMYS)" value="9"/>
        <choice name="KOALAPAD" value="10"/>
        <choice name="LIGHT PEN (UP TRIGGER)" value="11"/>
        <choice name="LIGHT PEN (LEFT TRIGGER)" value="12"/>
        <choice name="LIGHT PEN (DATEL)" value="13"/>
        <choice name="LIGHT PEN (INKWELL)" value="16"/>
        <choice name="LIGHT GUN (MAGNUM LIGHT PHASER)" value="14"/>
        <choice name="LIGHT GUN (STACK LIGHT RIFLE)" value="15"/>
      </feature>
      <feature submenu="CONTROLS" name="RETROPAD FACE BUTTON OPTIONS" group="ADVANCED SETTINGS" value="vice_retropad_options" description="Select face buttons layout." order="510">
        <choice name="B=Fire/A=Fire2" value="disabled"/>
        <choice name="B=Fire/A=Up" value="jump"/>
        <choice name="Y=FIRE/B=Fire2" value="rotate"/>
        <choice name="Y=Fire/B=Up" value="rotate_jump"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    </core>
    <core name="vice_xpet" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="MODEL TYPE" group="ADVANCED SETTINGS" value="vice_pet_model" description="Define PET computer model." order="103">
        <choice name="PET 8032" value="8032"/>
        <choice name="PET 2001" value="2001"/>
        <choice name="PET 3008" value="3008"/>
        <choice name="PET 3016" value="3016"/>
        <choice name="PET 3032" value="3032"/>
        <choice name="PET 3032B" value="3032B"/>
        <choice name="PET 4016" value="4016"/>
        <choice name="PET 4032" value="4032"/>
        <choice name="PET 4032B" value="4032B"/>
        <choice name="PET 8096" value="8096"/>
        <choice name="PET 8296" value="8296"/>
        <choice name="SUPER PET" value="SUPERPET"/>
      </feature>
      <feature submenu="EMULATION" name="TRUE DRIVE EMULATION" group="ADVANCED SETTINGS" value="vice_drive_true_emulation" preset="switchauto" order="104"/>
      <feature submenu="VISUAL RENDERING" name="CROP" group="ADVANCED SETTINGS" value="vice_crop" description="Crops the borders to show or hide border graphics." order="251">
        <choice name="DISABLED" value="disabled"/>
        <choice name="SMALL" value="small"/>
        <choice name="MEDIUM" value="medium"/>
        <choice name="MAXIMUM" value="maximum"/>
        <choice name="AUTO-DISABLE" value="auto_disable"/>
        <choice name="AUTOMATIC" value="auto"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP MODE" group="ADVANCED SETTINGS" value="vice_crop_mode" order="252">
        <choice name="Horizontal + Vertical" value="both"/>
        <choice name="Horizontal" value="horizontal"/>
        <choice name="Vertical" value="vertical"/>
        <choice name="16:9" value="16:9"/>
        <choice name="16:10" value="16:10"/>
        <choice name="4:3" value="4:3"/>
        <choice name="5:4" value="5:4"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR PALETTE" group="ADVANCED SETTINGS" value="vice_pet_external_palette" description="Choose which color palette is going to be used." order="253">
        <choice name="Internal" value="default"/>
        <choice name="Green" value="green"/>
        <choice name="Amber" value="amber"/>
        <choice name="White" value="white"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
    </core>
    <core name="vice_x64, vice_x64sc" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="MODEL TYPE" group="ADVANCED SETTINGS" value="c64_model" description="Define model type and region." order="103">
        <choice name="C64 NTSC auto" value="C64 NTSC auto"/>
        <choice name="C64 PAL auto" value="C64 PAL auto"/>
        <choice name="C64C PAL auto" value="C64C PAL auto"/>
        <choice name="C64C NTSC auto" value="C64C NTSC auto"/>
        <choice name="C64 PAL" value="C64 PAL"/>
        <choice name="C64 NTSC" value="C64 NTSC"/>
        <choice name="C64C PAL" value="C64C PAL"/>
        <choice name="C64C NTSC" value="C64C NTSC"/>
        <choice name="C64SX PAL" value="C64SX PAL"/>
        <choice name="C64SX NTSC" value="C64SX NTSC"/>
        <choice name="C64 GS PAL" value="C64 GS PAL"/>
        <choice name="C64 JAP NTSC" value="C64 JAP NTSC"/>
      </feature>
      <feature submenu="EMULATION" name="MEMORY EXPANSION" group="ADVANCED SETTINGS" value="vice_ram_expansion_unit" order="104">
        <choice name="NONE" value="none"/>
        <choice name="128kB" value="128kB"/>
        <choice name="256kB" value="256kB"/>
        <choice name="512kB" value="512kB"/>
        <choice name="1024kB" value="1024kB"/>
        <choice name="2048kB" value="2048kB"/>
        <choice name="4096kB" value="4096kB"/>
        <choice name="8192kB" value="8192kB"/>
        <choice name="16384kB" value="16384kB"/>
      </feature>
      <feature submenu="EMULATION" name="WARP BOOST" group="ADVANCED SETTINGS" value="warp_boost" description="Make warp mode much faster by changing SID emulation to 'FastSID' while warping." preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="TRUE DRIVE EMULATION" group="ADVANCED SETTINGS" value="vice_drive_true_emulation" preset="switchauto" order="106"/>
      <feature submenu="VISUAL RENDERING" name="PIXEL ASPECT RATIO" group="ADVANCED SETTINGS" value="vice_aspect_ratio" order="251">
        <choice name="Automatic" value="auto"/>
        <choice name="PAL" value="pal"/>
        <choice name="NTSC" value="ntsc"/>
        <choice name="1:1" value="raw"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP" group="ADVANCED SETTINGS" value="vice_crop" description="Crops the borders to show or hide border graphics." order="252">
        <choice name="DISABLED" value="disabled"/>
        <choice name="SMALL" value="small"/>
        <choice name="MEDIUM" value="medium"/>
        <choice name="MAXIMUM" value="maximum"/>
        <choice name="AUTO-DISABLE" value="auto_disable"/>
        <choice name="AUTOMATIC" value="auto"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP MODE" group="ADVANCED SETTINGS" value="vice_crop_mode" order="253">
        <choice name="Horizontal + Vertical" value="both"/>
        <choice name="Horizontal" value="horizontal"/>
        <choice name="Vertical" value="vertical"/>
        <choice name="16:9" value="16:9"/>
        <choice name="16:10" value="16:10"/>
        <choice name="4:3" value="4:3"/>
        <choice name="5:4" value="5:4"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR PALETTE" group="ADVANCED SETTINGS" value="vice_external_palette" description="Choose which color palette is going to be used." order="254">
        <choice name="Internal" value="default"/>
        <choice name="Colodore" value="colodore"/>
        <choice name="Pepto (PAL)" value="pepto-pal"/>
        <choice name="Pepto (NTSC)" value="pepto-ntsc"/>
        <choice name="Pepto (NTSC, Sony)" value="pepto-ntsc-sony"/>
        <choice name="Christopher Jam" value="cjam"/>
        <choice name="Deekay" value="deekay"/>
        <choice name="C64HQ" value="c64hq"/>
        <choice name="C64S" value="c64s"/>
        <choice name="CCS64" value="ccs64"/>
        <choice name="VICE" value="vice"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="vice_gfx_colors" order="255">
        <choice name="Thousands (16-bit)" value="16bit"/>
        <choice name="Millions (24-bit)" value="24bit"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="vice_controller1" order="506">
        <choice name="RETROPAD" value="1"/>
        <choice name="JOYSTICK" value="257"/>
        <choice name="KEYBOARD" value="259"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="vice_controller2" order="507">
        <choice name="RETROPAD" value="1"/>
        <choice name="JOYSTICK" value="257"/>
        <choice name="KEYBOARD" value="259"/>
      </feature>
      <feature submenu="CONTROLS" name="JOYSTICK PORT" group="ADVANCED SETTINGS" value="vice_joyport" description="Most games use port 2, use this setting for the old games that require joystick to be plugged in port 1." order="508">
        <choice name="PORT 2" value="2"/>
        <choice name="PORT 1" value="1"/>
      </feature>
      <feature submenu="CONTROLS" name="JOYSTICK PORT TYPE" group="ADVANCED SETTINGS" value="vice_joyport_type" order="509">
        <choice name="JOYSTICK" value="1"/>
        <choice name="PADDLES (SPLIT)" value="2"/>
        <choice name="PADDLES (RAW)" value="2R"/>
        <choice name="MOUSE (1351)" value="3"/>
        <choice name="MOUSE (NEOS)" value="4"/>
        <choice name="MOUSE (AMIGA)" value="5"/>
        <choice name="TRACKBALL (ATARI CX-22)" value="6"/>
        <choice name="MOUSE (ATARI ST)" value="7"/>
        <choice name="MOUSE (SMARTMOUSE)" value="8"/>
        <choice name="MOUSE (MICROMYS)" value="9"/>
        <choice name="KOALAPAD" value="10"/>
        <choice name="LIGHT PEN (UP TRIGGER)" value="11"/>
        <choice name="LIGHT PEN (LEFT TRIGGER)" value="12"/>
        <choice name="LIGHT PEN (DATEL)" value="13"/>
        <choice name="LIGHT PEN (INKWELL)" value="16"/>
        <choice name="LIGHT GUN (MAGNUM LIGHT PHASER)" value="14"/>
        <choice name="LIGHT GUN (STACK LIGHT RIFLE)" value="15"/>
      </feature>
      <feature submenu="CONTROLS" name="RETROPAD FACE BUTTON OPTIONS" group="ADVANCED SETTINGS" value="vice_retropad_options" description="Select face buttons layout." order="510">
        <choice name="B=Fire/A=Fire2" value="disabled"/>
        <choice name="B=Fire/A=Up" value="jump"/>
        <choice name="Y=FIRE/B=Fire2" value="rotate"/>
        <choice name="Y=Fire/B=Up" value="rotate_jump"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    </core>
    <core name="vice_xvic" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="MODEL TYPE" group="ADVANCED SETTINGS" value="vic20_model" description="Define model type and region." order="103">
        <choice name="VIC-20 NTSC Auto" value="VIC20 NTSC auto"/>
        <choice name="VIC-20 PAL Auto" value="VIC20 PAL auto"/>
        <choice name="VIC-20 PAL" value="VIC20 PAL"/>
        <choice name="VIC-20 NTSC" value="VIC20 NTSC"/>
        <choice name="Super VIC NTSC" value="VIC21"/>
      </feature>
      <feature submenu="EMULATION" name="MEMORY EXPANSION" group="ADVANCED SETTINGS" value="vic20_memexpansion" order="104">
        <choice name="NONE" value="Disabled"/>
        <choice name="3kB" value="3kB"/>
        <choice name="8kB" value="8kB"/>
        <choice name="16kB" value="16kB"/>
        <choice name="24kB" value="24kB"/>
        <choice name="35kB" value="35kB"/>
      </feature>
      <feature submenu="EMULATION" name="TRUE DRIVE EMULATION" group="ADVANCED SETTINGS" value="vice_drive_true_emulation" preset="switchauto" order="105"/>
      <feature submenu="VISUAL RENDERING" name="PIXEL ASPECT RATIO" group="ADVANCED SETTINGS" value="vice_aspect_ratio" order="251">
        <choice name="Automatic" value="auto"/>
        <choice name="PAL" value="pal"/>
        <choice name="NTSC" value="ntsc"/>
        <choice name="1:1" value="raw"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP" group="ADVANCED SETTINGS" value="vice_crop" description="Crops the borders to show or hide border graphics." order="252">
        <choice name="DISABLED" value="disabled"/>
        <choice name="SMALL" value="small"/>
        <choice name="MEDIUM" value="medium"/>
        <choice name="MAXIMUM" value="maximum"/>
        <choice name="AUTO-DISABLE" value="auto_disable"/>
        <choice name="AUTOMATIC" value="auto"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP MODE" group="ADVANCED SETTINGS" value="vice_crop_mode" order="253">
        <choice name="Horizontal + Vertical" value="both"/>
        <choice name="Horizontal" value="horizontal"/>
        <choice name="Vertical" value="vertical"/>
        <choice name="16:9" value="16:9"/>
        <choice name="16:10" value="16:10"/>
        <choice name="4:3" value="4:3"/>
        <choice name="5:4" value="5:4"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR PALETTE" group="ADVANCED SETTINGS" value="vic20_palette" description="Choose which color palette is going to be used." order="254">
        <choice name="Internal" value="default"/>
        <choice name="Colodore" value="colodore_vic"/>
        <choice name="Mike (PAL)" value="mike-pal"/>
        <choice name="Mike (NTSC)" value="mike-ntsc"/>
        <choice name="VICE" value="vice"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="vice_gfx_colors" order="255">
        <choice name="Thousands (16-bit)" value="16bit"/>
        <choice name="Millions (24-bit)" value="24bit"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="vice_controller1" order="506">
        <choice name="RETROPAD" value="1"/>
        <choice name="JOYSTICK" value="257"/>
        <choice name="KEYBOARD" value="259"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="vice_controller2" order="507">
        <choice name="RETROPAD" value="1"/>
        <choice name="JOYSTICK" value="257"/>
        <choice name="KEYBOARD" value="259"/>
      </feature>
      <feature submenu="CONTROLS" name="JOYSTICK PORT" group="ADVANCED SETTINGS" value="vice_joyport" description="Most games use port 2, use this setting for the old games that require joystick to be plugged in port 1." order="508">
        <choice name="PORT 2" value="2"/>
        <choice name="PORT 1" value="1"/>
      </feature>
      <feature submenu="CONTROLS" name="JOYSTICK PORT TYPE" group="ADVANCED SETTINGS" value="vice_joyport_type" order="509">
        <choice name="JOYSTICK" value="1"/>
        <choice name="PADDLES (SPLIT)" value="2"/>
        <choice name="PADDLES (RAW)" value="2R"/>
        <choice name="MOUSE (1351)" value="3"/>
        <choice name="MOUSE (NEOS)" value="4"/>
        <choice name="MOUSE (AMIGA)" value="5"/>
        <choice name="TRACKBALL (ATARI CX-22)" value="6"/>
        <choice name="MOUSE (ATARI ST)" value="7"/>
        <choice name="MOUSE (SMARTMOUSE)" value="8"/>
        <choice name="MOUSE (MICROMYS)" value="9"/>
        <choice name="KOALAPAD" value="10"/>
        <choice name="LIGHT PEN (UP TRIGGER)" value="11"/>
        <choice name="LIGHT PEN (LEFT TRIGGER)" value="12"/>
        <choice name="LIGHT PEN (DATEL)" value="13"/>
        <choice name="LIGHT PEN (INKWELL)" value="16"/>
        <choice name="LIGHT GUN (MAGNUM LIGHT PHASER)" value="14"/>
        <choice name="LIGHT GUN (STACK LIGHT RIFLE)" value="15"/>
      </feature>
      <feature submenu="CONTROLS" name="RETROPAD FACE BUTTON OPTIONS" group="ADVANCED SETTINGS" value="vice_retropad_options" description="Select face buttons layout." order="510">
        <choice name="B=Fire/A=Fire2" value="disabled"/>
        <choice name="B=Fire/A=Up" value="jump"/>
        <choice name="Y=FIRE/B=Fire2" value="rotate"/>
        <choice name="Y=Fire/B=Up" value="rotate_jump"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    </core>
    <core name="vice_xplus4" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="MODEL TYPE" group="ADVANCED SETTINGS" value="vice_plus4_model" description="Define model type and region." order="103">
        <choice name="C16 NTSC" value="C16 NTSC"/>
        <choice name="C16 PAL" value="C16 PAL"/>
        <choice name="PLUS4 PAL" value="PLUS4 PAL"/>
        <choice name="PLUS4 NTSC" value="PLUS4 NTSC"/>
        <choice name="V364 NTSC" value="V364 NTSC"/>
        <choice name="C232 NTSC" value="232 NTSC"/>
      </feature>
      <feature submenu="EMULATION" name="TRUE DRIVE EMULATION" group="ADVANCED SETTINGS" value="vice_drive_true_emulation" preset="switchauto" order="104"/>
      <feature submenu="VISUAL RENDERING" name="PIXEL ASPECT RATIO" group="ADVANCED SETTINGS" value="vice_aspect_ratio" order="251">
        <choice name="Automatic" value="auto"/>
        <choice name="PAL" value="pal"/>
        <choice name="NTSC" value="ntsc"/>
        <choice name="1:1" value="raw"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP" group="ADVANCED SETTINGS" value="vice_crop" description="Crops the borders to show or hide border graphics." order="252">
        <choice name="DISABLED" value="disabled"/>
        <choice name="SMALL" value="small"/>
        <choice name="MEDIUM" value="medium"/>
        <choice name="MAXIMUM" value="maximum"/>
        <choice name="AUTO-DISABLE" value="auto_disable"/>
        <choice name="AUTOMATIC" value="auto"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP MODE" group="ADVANCED SETTINGS" value="vice_crop_mode" order="253">
        <choice name="Horizontal + Vertical" value="both"/>
        <choice name="Horizontal" value="horizontal"/>
        <choice name="Vertical" value="vertical"/>
        <choice name="16:9" value="16:9"/>
        <choice name="16:10" value="16:10"/>
        <choice name="4:3" value="4:3"/>
        <choice name="5:4" value="5:4"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR PALETTE" group="ADVANCED SETTINGS" value="vice_plus4_external_palette" description="Choose which color palette is going to be used." order="254">
        <choice name="Internal" value="default"/>
        <choice name="Colodore" value="colodore_ted"/>
        <choice name="Yape (PAL)" value="yape-pal"/>
        <choice name="Yape (NTSC)" value="yape-ntsc"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="vice_gfx_colors" order="255">
        <choice name="Thousands (16-bit)" value="16bit"/>
        <choice name="Millions (24-bit)" value="24bit"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="vice_controller1" order="506">
        <choice name="RETROPAD" value="1"/>
        <choice name="JOYSTICK" value="257"/>
        <choice name="KEYBOARD" value="259"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="vice_controller2" order="507">
        <choice name="RETROPAD" value="1"/>
        <choice name="JOYSTICK" value="257"/>
        <choice name="KEYBOARD" value="259"/>
      </feature>
      <feature submenu="CONTROLS" name="JOYSTICK PORT" group="ADVANCED SETTINGS" value="vice_joyport" description="Most games use port 2, use this setting for the old games that require joystick to be plugged in port 1." order="508">
        <choice name="PORT 2" value="2"/>
        <choice name="PORT 1" value="1"/>
      </feature>
      <feature submenu="CONTROLS" name="JOYSTICK PORT TYPE" group="ADVANCED SETTINGS" value="vice_joyport_type" order="509">
        <choice name="JOYSTICK" value="1"/>
        <choice name="PADDLES (SPLIT)" value="2"/>
        <choice name="PADDLES (RAW)" value="2R"/>
        <choice name="MOUSE (1351)" value="3"/>
        <choice name="MOUSE (NEOS)" value="4"/>
        <choice name="MOUSE (AMIGA)" value="5"/>
        <choice name="TRACKBALL (ATARI CX-22)" value="6"/>
        <choice name="MOUSE (ATARI ST)" value="7"/>
        <choice name="MOUSE (SMARTMOUSE)" value="8"/>
        <choice name="MOUSE (MICROMYS)" value="9"/>
        <choice name="KOALAPAD" value="10"/>
        <choice name="LIGHT PEN (UP TRIGGER)" value="11"/>
        <choice name="LIGHT PEN (LEFT TRIGGER)" value="12"/>
        <choice name="LIGHT PEN (DATEL)" value="13"/>
        <choice name="LIGHT PEN (INKWELL)" value="16"/>
        <choice name="LIGHT GUN (MAGNUM LIGHT PHASER)" value="14"/>
        <choice name="LIGHT GUN (STACK LIGHT RIFLE)" value="15"/>
      </feature>
      <feature submenu="CONTROLS" name="RETROPAD FACE BUTTON OPTIONS" group="ADVANCED SETTINGS" value="vice_retropad_options" description="Select face buttons layout." order="510">
        <choice name="B=Fire/A=Fire2" value="disabled"/>
        <choice name="B=Fire/A=Up" value="jump"/>
        <choice name="Y=FIRE/B=Fire2" value="rotate"/>
        <choice name="Y=Fire/B=Up" value="rotate_jump"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    </core>
    <core name="81" features="netplay, padtokeyboard">
      <feature submenu="VIDEO" name="HIGH RESOLUTION" group="ADVANCED SETTINGS" value="81_highres" description="Enables WRX high resolution." preset="switchauto" order="158"/>
      <feature submenu="VISUAL RENDERING" name="VIDEO PRESETS" group="ADVANCED SETTINGS" value="81_video_presets" description="Apply a core-provided video filter." order="251">
        <choice name="CLEAN" value="clean"/>
        <choice name="TV" value="tv"/>
        <choice name="NOISY" value="noisy"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="EMULATE CHROMA 81" group="ADVANCED SETTINGS" value="81_chroma_81" description="Apply a brownish chroma filter." preset="switchauto" order="252"/>
      <feature submenu="AUDIO" name="SOUND EMULATION" group="ADVANCED SETTINGS" value="81_sound" order="306">
        <choice name="None" value="none"/>
        <choice name="ZON-X81" value="Zon X-81"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="FAST LOAD" group="ADVANCED SETTINGS" value="81_fast_load" preset="switchauto" order="103"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="zx81_controller1" description="When using Cursor Joystick, buttons must be mapped to keys in RetroArch." order="506">
        <choice name="None" value="0"/>
        <choice name="Retropad" value="1"/>
        <choice name="Cursor Joystick" value="257"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="zx81_controller2" description="Switch the Player 1 controller type to none if the correct keyboard inputs aren't being read." order="507">
        <choice name="None" value="0"/>
        <choice name="Retropad" value="1"/>
        <choice name="Sinclair Keyboard" value="259"/>
      </feature>
    </core>
    <core name="fceumm" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (CORE)" group="ADVANCED SETTINGS" value="fceumm_aspect" order="158">
        <choice name="8:7 PAR" value="8:7 PAR"/>
        <choice name="4:3" value="4:3"/>
        <choice name="Pixel Perfect" value="PP"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP SIZE SIDES" group="ADVANCED SETTINGS" value="fceumm_overscan_pixels_sides" description="Define the number of pixels to crop." preset="sliderauto" preset-parameters="0 16 4 px" order="251"/>
      <feature submenu="VISUAL RENDERING" name="CROP SIZE TOP/BOTTOM" group="ADVANCED SETTINGS" value="fceumm_overscan_pixels_topdown" description="Define the number of pixels to crop." preset="sliderauto" preset-parameters="0 24 4 px" order="252"/>
      <feature submenu="VIDEO" name="BLARGG VIDEO FILTER" group="ADVANCED SETTINGS" value="fceumm_ntsc_filter" description="Enable blargg NTSC video filters" order="159">
        <choice name="Off" value="disabled"/>
        <choice name="Composite (color bleeding + artifacts)" value="composite"/>
        <choice name="SVideo (color bleeding only)" value="svideo"/>
        <choice name="RGB (crisp image)" value="rgb"/>
        <choice name="Monochrome" value="monochrome"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="fceumm_nospritelimit" description="Removes 8-sprites-per-scanline hardware limit" preset="switchauto" order="253"/>
      <feature submenu="VISUAL RENDERING" name="PALETTE" group="ADVANCED SETTINGS" value="fceumm_palette" description="Can be used to simulate colors of particular displays." order="254">
        <choice name="default" value="default"/>
        <choice name="AspiringSquire's Real" value="asqrealc"/>
        <choice name="Restored Wii VC" value="restored-wii-vc"/>
        <choice name="Wii Virtual Console" value="wii-vc"/>
        <choice name="Nintendo RGB PPU" value="rgb"/>
        <choice name="FBX yuv v3" value="yuv-v3"/>
        <choice name="FBX unsaturated final" value="unsaturated-final"/>
        <choice name="sony-cxa2025as-us" value="sony-cxa2025as-us"/>
        <choice name="pal" value="pal"/>
        <choice name="bmf-final2" value="bmf-final2"/>
        <choice name="bmf-final3" value="bmf-final3"/>
        <choice name="FBX Smooth" value="smooth-fbx"/>
        <choice name="FBX composite direct" value="composite-direct-fbx"/>
        <choice name="FBX pvm style d93" value="pvm-style-d93-fbx"/>
        <choice name="FBX ntsc hardware" value="ntsc-hardware-fbx"/>
        <choice name="FBX nes classic fix" value="nes-classic-fbx-fs"/>
        <choice name="RGBSource nescap" value="nescap"/>
        <choice name="Nakedarthur's wavebeam" value="wavebeam"/>
        <choice name="FBX Digital Prime" value="digital-prime-fbx"/>
        <choice name="FBX Magnum" value="magnum-fbx"/>
        <choice name="FBX Smooth V2" value="smooth-v2-fbx"/>
        <choice name="FBX NES Classic" value="nes-classic-fbx"/>
        <choice name="Royaltea (PVM-2530)" value="royaltea"/>
        <choice name="Mugicha" value="mugicha"/>
        <choice name="Raw" value="raw"/>
        <choice name="custom" value="custom"/>
      </feature>
      <feature submenu="AUDIO" name="CORE SOUND QUALITY" group="ADVANCED SETTINGS" value="fceumm_sndquality" description="High sound quality for games using expansion audio" order="306">
        <choice name="Low" value="Low"/>
        <choice name="High" value="High"/>
        <choice name="Very High" value="Very High"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="fceumm_region" order="103">
        <choice name="NTSC" value="NTSC"/>
        <choice name="PAL" value="PAL"/>
        <choice name="DENDY" value="Dendy"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="104"/>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="fceumm_overclocking" description="Enhancement. Reduces system slowdown. Causes issues in some games." order="105">
        <choice name="disabled" value="disabled"/>
        <choice name="2x-Postrender" value="2x-Postrender"/>
        <choice name="2x-VBlank" value="2x-VBlank"/>
      </feature>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Rotate face buttons to change layout." preset="switchauto" order="505"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="xbox_layout" order="506"/>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="fceumm_multitap" preset="switchauto" order="507"/>
      <feature submenu="CONTROLS" name="ENABLE TURBO" group="ADVANCED SETTINGS" value="nes_turbo_enable" preset="switchauto" order="508"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="LIGHTGUN MODE" group="ADVANCED SETTINGS" value="gun_input" description="Use a mouse-controlled Lightgun or Touchscreen input." order="551">
        <choice name="LIGHTGUN" value="clightgun"/>
        <choice name="TOUCHSCREEN" value="touchscreen"/>
      </feature>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="fceumm_show_crosshair" preset="switchauto" order="552"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="553">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="555"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="freechaf" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="freeintv" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="freej2me">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="freej2me_resolution" order="20">
        <choice name="240x320" value="240x320"/>
        <choice name="320x240" value="320x240"/>
        <choice name="240x400" value="240x400"/>
        <choice name="400x240" value="400x240"/>
        <choice name="240x432" value="240x432"/>
        <choice name="240x480" value="240x480"/>
        <choice name="352x416" value="352x416"/>
        <choice name="360x640" value="360x640"/>
        <choice name="640x360" value="640x360"/>
        <choice name="640x480" value="640x480"/>
        <choice name="480x800" value="480x800"/>
        <choice name="800x480" value="800x480"/>
        <choice name="95x65" value="95x65"/>
        <choice name="101x64" value="101x64"/>
        <choice name="101x80" value="101x80"/>
        <choice name="128x128" value="128x128"/>
        <choice name="130x130" value="130x130"/>
        <choice name="120x160" value="120x160"/>
        <choice name="128x160" value="128x160"/>
        <choice name="132x176" value="132x176"/>
        <choice name="176x208" value="176x208"/>
        <choice name="176x220" value="176x220"/>
        <choice name="220x176" value="220x176"/>
        <choice name="208x208" value="208x208"/>
        <choice name="180x320" value="180x320"/>
        <choice name="320x180" value="320x180"/>
        <choice name="208x320" value="208x320"/>
      </feature>
      <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="freej2me_rotate" description="Rotate display for vertical games." order="158">
        <choice name="NO" value="0"/>
        <choice name="90 DEGREES" value="90"/>
        <choice name="180 DEGREES" value="180"/>
        <choice name="270 DEGREES" value="270"/>
      </feature>
      <feature submenu="CONTROLS" name="USE ANALOG AS ENTIRE KEYPAD" group="ADVANCED SETTINGS" value="freej2me_analogasentirekeypad" description="Can benefit some games." preset="switchauto" order="505"/>
    </core>
    <core name="fuse" features="padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="MACHINE TYPE" group="ADVANCED SETTINGS" value="fuse_machine" description="Define model, default to Spectrum 128K." order="103">
          <choice name="Spectrum 48K" value="Spectrum 48K"/>
          <choice name="Spectrum 48K (NTSC)" value="Spectrum 48K (NTSC)"/>
          <choice name="Spectrum 128K" value="Spectrum 128K"/>
          <choice name="Spectrum +2" value="Spectrum +2"/>
          <choice name="Spectrum +2A" value="Spectrum +2A"/>
          <choice name="Spectrum +3" value="Spectrum +3"/>
          <choice name="Spectrum +3e" value="Spectrum +3e"/>
          <choice name="Spectrum SE" value="Spectrum SE"/>
          <choice name="Timex TC2048" value="Timex TC2048"/>
          <choice name="Timex TC2068" value="Timex TC2068"/>
          <choice name="Timex TS2068" value="Timex TS2068"/>
          <choice name="Spectrum 16K" value="Spectrum 16K"/>
          <choice name="Pentagon 128K" value="Pentagon 128K"/>
          <choice name="Pentagon 512K" value="Pentagon 512K"/>
          <choice name="Pentagon 1024" value="Pentagon 1024"/>
          <choice name="Scorpion 256K" value="Scorpion 256K"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="CONTROL TYPE" group="ADVANCED SETTINGS" value="zx_control_type" description="Use JOYSTICK ONLY for joystick games and KEYBOARD ONLY for keyboard games." order="506">
          <choice name="Joystick only" value="1"/>
          <choice name="Keyboard only" value="2"/>
          <choice name="Keyboard and Joystick" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="zx_controller1" order="507">
          <choice name="None" value="0"/>
          <choice name="Retropad" value="1"/>
          <choice name="Cursor Joystick" value="257"/>
          <choice name="Kempston Joystick" value="513"/>
          <choice name="Sinclair 1 Joystick" value="769"/>
          <choice name="Sinclair 2 Joystick" value="1025"/>
          <choice name="Timex 1 Joystick" value="1281"/>
          <choice name="Timex 2 Joystick" value="1537"/>
          <choice name="Fuller Joystick" value="1793"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="zx_controller2" order="508">
          <choice name="None" value="0"/>
          <choice name="Retropad" value="1"/>
          <choice name="Cursor Joystick" value="257"/>
          <choice name="Kempston Joystick" value="513"/>
          <choice name="Sinclair 1 Joystick" value="769"/>
          <choice name="Sinclair 2 Joystick" value="1025"/>
          <choice name="Timex 1 Joystick" value="1281"/>
          <choice name="Timex 2 Joystick" value="1537"/>
          <choice name="Fuller Joystick" value="1793"/>
      </feature>
    </core>
    <core name="gambatte" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VISUAL RENDERING" name="COLOR CORRECTION" group="ADVANCED SETTINGS" value="gambatte_gbc_color_correction" order="251">
        <choice name="GBC ONLY" value="GBC only"/>
        <choice name="ALWAYS" value="always"/>
        <choice name="DISABLED" value="disabled"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="PALETTE" group="ADVANCED SETTINGS" value="gambatte_gb_internal_palette" description="Select palette for colorizing GB games when COLORIZATION is set to 'internal'." order="255">
        <choice name="GB - DMG" value="GB - DMG"/>
        <choice name="GB - Pocket" value="GB - Pocket"/>
        <choice name="GB - Light" value="GB - Light"/>
        <choice name="GBC - Blue" value="GBC - Blue"/>
        <choice name="GBC - Brown" value="GBC - Brown"/>
        <choice name="GBC - Dark Blue" value="GBC - Dark Blue"/>
        <choice name="GBC - Dark Brown" value="GBC - Dark Brown"/>
        <choice name="GBC - Dark Green" value="GBC - Dark Green"/>
        <choice name="GBC - Grayscale" value="GBC - Grayscale"/>
        <choice name="GBC - Green" value="GBC - Green"/>
        <choice name="GBC - Inverted" value="GBC - Inverted"/>
        <choice name="GBC - Orange" value="GBC - Orange"/>
        <choice name="GBC - Pastel Mix" value="GBC - Pastel Mix"/>
        <choice name="GBC - Red" value="GBC - Red"/>
        <choice name="GBC - Yellow" value="GBC - Yellow"/>
        <choice name="TWB64 201 - DMG-GOLD" value="TWB64 201 - DMG-GOLD"/>
        <choice name="TWB64 028 - Game.com Ver." value="TWB64 028 - Game.com Ver."/>
        <choice name="TWB64 164 - 3DS Virtual Console Ver." value="TWB64 164 - 3DS Virtual Console Ver."/>
        <choice name="TWB64 285 - DMG-SWITCH" value="TWB64 285 - DMG-SWITCH"/>
        <choice name="PixelShift 09 - Gamate" value="PixelShift 09 - Gamate"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLORIZATION" group="ADVANCED SETTINGS" value="gambatte_gb_colorization" description="Enable colorization of Game Boy games." order="256">
        <choice name="NO" value="disabled"/>
        <choice name="AUTOMATIC" value="automatic"/>
        <choice name="GAMEBOY COLOR" value="GBC"/>
        <choice name="SUPER GAMEBOY" value="SGB"/>
        <choice name="INTERNAL" value="internal"/>
        <choice name="CUSTOM" value="custom"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="INTERFRAME BLENDING" group="ADVANCED SETTINGS" value="gambatte_mix_frames" description="Blend pixels from multiple successive frames to simulate LCD ghosting." order="257">
        <choice name="OFF" value="disabled"/>
        <choice name="SIMPLE" value="mix"/>
        <choice name="ACCURATE" value="lcd_ghosting"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="EMULATION" name="START ORIGINAL BIOS" group="ADVANCED SETTINGS" value="gambatte_gb_bootloader" description="Use official BIOS and bootloader for emulated hardware." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="FORCE HARDWARE" group="ADVANCED SETTINGS" value="gambatte_gb_hwmode" description="Selecting GBA unlocks extra features in certain GBA enhanced GBC games." order="105">
        <choice name="GAME BOY" value="GB"/>
        <choice name="GAME BOY COLOR" value="GBC"/>
        <choice name="GBA" value="GBA"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="510"/>
    </core>
    <core name="geolith">
      <feature submenu="VIDEO" name="GAME ASPECT RATIO (CORE)" group="ADVANCED SETTINGS" value="geolith_aspect" order="128">
        <choice name="1:1 (SQUARE PIXELS)" value="1:1"/>
        <choice name="45:44 (ACCURATE NTSC)" value="45:44"/>
        <choice name="4:3 (TRADITIONAL NTSC)" value="4:3"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="SPRITE PER LINE LIMIT (HACK)" group="ADVANCED SETTINGS" value="geolith_sprlimit" description="Increasing the value can cause glitches." order="251">
        <choice name="96 (HARDWARE ACCURATE)" value="96"/>
        <choice name="192 (DOUBLE)" value="192"/>
        <choice name="288 (TRIPLE)" value="288"/>
        <choice name="381 (MAXIMUM)" value="381"/>
      </feature>
      <feature submenu="EMULATION" name="SYSTEM TYPE" group="ADVANCED SETTINGS" value="geolith_system_type" order="103">
        <choice name="AES (HOME CONSOLE)" value="aes"/>
        <choice name="MVS (ARCADE)" value="mvs"/>
        <choice name="UNIVERSE BIOS" value="uni"/>
      </feature>
      <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="geolith_region" order="104">
        <choice name="USA" value="us"/>
        <choice name="EUROPE" value="eu"/>
        <choice name="JAPAN" value="jp"/>
        <choice name="ASIA" value="as"/>
      </feature>
      <feature submenu="EMULATION" name="FREE PLAY" group="ADVANCED SETTINGS" value="geolith_freeplay" description="Play MVS games without the need to insert coins." preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="OVERCLOCK" group="ADVANCED SETTINGS" value="geolith_oc" description="Can cause various glitches." preset="switchauto" order="106"/>
      <feature submenu="USER INTERFACE" name="SHOW ROM MENU" group="ADVANCED SETTINGS" value="geolith_settingmode" description="Bring up the system ROM menu at boot of arcade systems." preset="switchauto" order="453"/>
      <feature submenu="CONTROLS" name="4-PLAYER MODE" group="ADVANCED SETTINGS" value="geolith_4player" description="Only compatible with ASIA/JAPAN MVS system." preset="switchauto" order="505"/>
    </core>
    <core name="gpsp" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VISUAL RENDERING" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="gpsp_sprlim" description="Remove the 8 sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="251"/>
      <feature submenu="VISUAL RENDERING" name="COLOR CORRECTION" group="ADVANCED SETTINGS" value="gpsp_color_correction" description="Adjust output colors to mimic original console screen." preset="switchauto" order="252"/>
      <feature submenu="VISUAL RENDERING" name="INTERFRAME BLENDING" group="ADVANCED SETTINGS" value="gpsp_frame_mixing" description="Blend pixels from multiple successive frames to simulate LCD ghosting." preset="switchauto" order="253"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="BIOS" group="ADVANCED SETTINGS" value="gpsp_bios" order="103">
        <choice name="EXTERNAL" value="official"/>
        <choice name="BUILTIN" value="builtin"/>
      </feature>
      <feature submenu="EMULATION" name="BOOT TO BIOS" group="ADVANCED SETTINGS" value="gpsp_boot_mode" preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="DYNAMIC RECOMPILER" group="ADVANCED SETTINGS" value="gpsp_drc" preset="switchauto" order="105"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="505"/>
    </core>
    <core name="gw">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="handy" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="SCREEN ROTATION" group="ADVANCED SETTINGS" value="handy_rot" description="Rotate display, this can be useful for specific games that need vertical display." order="158">
        <choice name="NO" value="None"/>
        <choice name="CLOCKWISE" value="270"/>
        <choice name="BOTTOM" value="180"/>
        <choice name="COUNTER-CLOCKWISE" value="90"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="handy_gfx_colors" order="251">
        <choice name="16 BIT" value="16bit"/>
        <choice name="24 BIT" value="24bit"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="GHOSTING EFFECT" group="ADVANCED SETTINGS" value="handy_lcd_ghosting" description="Simulate LCD screen ghosting effects." order="252">
        <choice name="Off" value="disabled"/>
        <choice name="2 FRAMES" value="2frames"/>
        <choice name="3 FRAMES" value="3frames"/>
        <choice name="4 FRAMES" value="4frames"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="hatari" features="padtokeyboard">
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="CROP OVERSCAN" value="hatari_video_crop_overscan" preset="switchauto" order="158"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="MACHINE TYPE" value="hatari_machinetype" order="103">
        <choice name="ST" value="st"/>
        <choice name="STE" value="ste"/>
        <choice name="TT" value="tt"/>
        <choice name="FALCON" value="falcon"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="TOS" value="hatari_tos" order="104">
        <choice name="TOS.IMG" value="default"/>
        <choice name="TOS 2.06" value="tos206.img"/>
        <choice name="TOS 1.06" value="tos106.img"/>
        <choice name="TOS 1.04" value="tos104.img"/>
        <choice name="TOS 1.02" value="tos102.img"/>
        <choice name="EMUTOS" value="emutos.img"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="MEMORY SIZE" value="hatari_ramsize" order="105">
        <choice name="1MB" value="1"/>
        <choice name="512KB" value="0"/>
        <choice name="2MB" value="2"/>
        <choice name="4MB" value="4"/>
        <choice name="8MB" value="8"/>
        <choice name="14MB" value="14"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="FAST BOOT" value="hatari_fastboot" description="Patch TOS file to boot faster." preset="switchauto" order="106"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="ENABLE SECOND JOYSTICK" value="hatari_twojoy" description="Second joystick might conflict with mouse." preset="switchauto" order="506"/>
      <feature submenu="USER INTERFACE" group="ADVANCED SETTINGS" name="SHOW STATUS LED" value="hatari_led_status_display" preset="switchauto" order="453"/>
    </core>
    <core name="hatarib" features="padtokeyboard">
      <feature submenu="VIDEO" name="PIXEL ASPECT RATIO" group="ADVANCED SETTINGS" value="hatarib_aspect" order="158">
        <choice name="SQUARE PIXEL" value="0"/>
        <choice name="ATARI MONITOR" value="1"/>
        <choice name="NTSC TV" value="2"/>
        <choice name="PAL TV" value="3"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="MONITOR TYPE" group="ADVANCED SETTINGS" value="hatarib_monitor" order="251">
        <choice name="RGB COLOR (low/medium resolution)" value="1"/>
        <choice name="MONOCHROME HIGH RESOLUTION" value="0"/>
        <choice name="VGA" value="2"/>
        <choice name="TV" value="3"/>
      </feature>
      <feature submenu="AUDIO" name="SAMPLE RATE" group="ADVANCED SETTINGS" value="hatarib_samplerate" order="306">
        <choice name="48000 HZ" value="48000"/>
        <choice name="11025 HZ" value="11025"/>
        <choice name="16000 HZ" value="16000"/>
        <choice name="22050 HZ" value="22050"/>
        <choice name="32000 HZ" value="32000"/>
        <choice name="44100 HZ" value="44100"/>
        <choice name="50066 HZ" value="50066"/>
      </feature>
      <feature submenu="AUDIO" name="LOWPASS FILTER" group="ADVANCED SETTINGS" value="hatarib_lpf" order="307">
        <choice name="CLEAN LOWPASS" value="3"/>
        <choice name="NONE" value="0"/>
        <choice name="HATARI STF" value="1"/>
        <choice name="HATARI STE/FALCON" value="2"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="MACHINE TYPE" value="hatarib_machine" order="103">
        <choice name="ST" value="0"/>
        <choice name="MEGA ST" value="1"/>
        <choice name="STE" value="2"/>
        <choice name="MEGA STE" value="3"/>
        <choice name="TT" value="4"/>
        <choice name="FALCON" value="5"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="TOS" value="hatarib_tos" order="104">
        <choice name="TOS.IMG" value="tosimg"/>
        <choice name="TOS 2.06" value="tos206.img"/>
        <choice name="TOS 1.06" value="tos106.img"/>
        <choice name="TOS 1.04" value="tos104.img"/>
        <choice name="TOS 1.02" value="tos102.img"/>
        <choice name="EMUTOS 1024K" value="etos1024k"/>
        <choice name="EMUTOS 192UK" value="etos192uk"/>
        <choice name="EMUTOS 192US" value="etos192us"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="MEMORY SIZE" value="hatarib_memory" order="105">
        <choice name="1MB" value="1024"/>
        <choice name="256KB" value="256"/>
        <choice name="512KB" value="512"/>
        <choice name="2MB" value="2048"/>
        <choice name="2.5MB" value="2560"/>
        <choice name="4MB" value="4096"/>
        <choice name="8MB" value="8192"/>
        <choice name="10MB" value="10240"/>
        <choice name="14MB" value="14336"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="CPU CLOCK" value="hatarib_cpu_clock" order="106">
        <choice name="8 MHZ" value="8"/>
        <choice name="16 MHZ" value="16"/>
        <choice name="32 MHZ" value="32"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="FAST FLOPPY ACCESS" value="hatarib_fast_floppy" preset="switchauto" order="107"/>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="EMUTOS FRAMERATE" value="hatarib_emutos_framerate" order="108">
        <choice name="NTSC 60HZ" value="0"/>
        <choice name="PAL 50HZ" value="1"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="EMUTOS REGION" value="hatarib_emutos_region" order="109">
        <choice name="USA (NTSC)" value="0"/>
        <choice name="FRANCE" value="2"/>
        <choice name="GERMANY" value="1"/>
        <choice name="UK" value="3"/>
        <choice name="SPAIN" value="4"/>
        <choice name="ITALY" value="5"/>
        <choice name="SWEDEN" value="6"/>
        <choice name="SWITZERLAND (FRENCH)" value="7"/>
        <choice name="SWITZERLAND (GERMAN)" value="8"/>
        <choice name="TURKEY" value="9"/>
        <choice name="FINLAND" value="10"/>
        <choice name="NORWAY" value="11"/>
        <choice name="DENMARK" value="12"/>
        <choice name="SAUDI ARABIA" value="13"/>
        <choice name="NETHERLANDS" value="14"/>
        <choice name="CZECH REPUBLIC" value="15"/>
        <choice name="HUNGARY" value="16"/>
        <choice name="POLAND" value="17"/>
        <choice name="RUSSIA" value="19"/>
        <choice name="GREECE" value="31"/>
        <choice name="MULTILINGUAL" value="127"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="CYCLE EXACT" value="hatarib_cycle_exact" preset="switchauto" order="110"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="USE MOUSE" value="hatarib_mouse_port" description="Connect mouse to port 1." preset="switchauto" order="506"/>
      <feature submenu="USER INTERFACE" group="ADVANCED SETTINGS" name="STATUS BAR" value="hatarib_statusbar" order="453">
        <choice name="FULL" value="1"/>
        <choice name="OFF" value="0"/>
        <choice name="DRIVE LED ONLY" value="2"/>
      </feature>
    </core>
    <core name="kronos" features="cheevos, netplay">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="kronos_resolution_mode" description="Modify rendering resolution." order="20">
        <choice name="NATIVE" value="original"/>
        <choice name="2X" value="2X"/>
        <choice name="4X" value="4X"/>
        <choice name="8X" value="8X"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="kronos_videoformattype" description="Select a video format for output." order="158">
        <choice name="NTSC" value="NTSC"/>
        <choice name="PAL" value="PAL"/>
      </feature>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="kronos_skipframe" description="Skip frames to improve performance (smoothless)." preset="sliderauto" preset-parameters="0 5 1 frames" order="159"/>
      <feature submenu="VISUAL RENDERING" name="FORCE ORIGINAL RESOLUTION" group="ADVANCED SETTINGS" value="kronos_force_downsampling" description="Usefull when using resolution higher than the screen. Avoid moiré effect." preset="switchauto" order="251"/>
      <feature submenu="VISUAL RENDERING" name="IMPROVED MESH" group="ADVANCED SETTINGS" value="saturn_meshmode" description="Replace meshed transparency by real transparency." preset="switchauto" order="252"/>
      <feature submenu="VISUAL RENDERING" name="IMPROVED BANDING" group="ADVANCED SETTINGS" value="kronos_bandingmode" description="Apply Gouraud shading instead on flat shading, only with OpenGL." preset="switchauto" order="253"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="kronos_language_id" order="103">
        <choice name="English" value="English"/>
        <choice name="Italiano" value="Italian"/>
        <choice name="Deutsch" value="German"/>
        <choice name="Español" value="Spanish"/>
        <choice name="Français" value="French"/>
        <choice name="日本語 (Japanese)" value="Japanese"/>
      </feature>
      <feature submenu="EMULATION" name="ADD-ON CARTRIDGE" group="ADVANCED SETTINGS" value="kronos_addon_cartridge" description="Certain games require an external cartridge to run." order="104">
        <choice name="NONE" value="none"/>
        <choice name="512K BACKUP RAM" value="512K_backup_ram"/>
        <choice name="1M BACKUP RAM" value="1M_backup_ram"/>
        <choice name="2M BACKUP RAM" value="2M_backup_ram"/>
        <choice name="4M BACKUP RAM" value="4M_backup_ram"/>
        <choice name="1M EXTENDED RAM" value="1M_extended_ram"/>
        <choice name="4M EXTENDED RAM" value="4M_extended_ram"/>
        <choice name="16M EXTENDED RAM" value="16M_extended_ram"/>
      </feature>
      <system name="segastv">
        <feature submenu="EMULATION" name="ST-V REGION" group="ADVANCED SETTINGS" value="kronos_stv_favorite_region" order="105">
          <choice name="EUROPE" value="EU"/>
          <choice name="USA" value="US"/>
          <choice name="JAPAN" value="JP"/>
          <choice name="TAIWAN" value="TW"/>
        </feature>
        <feature submenu="EMULATION" name="ENABLE SERVICE MENU" group="ADVANCED SETTINGS" value="kronos_service_enabled" description="Switch this on to activate service menu." preset="switchauto" order="106"/>
      </system>
      <feature submenu="EMULATION" name="SHARE SAVE WITH MEDNAFEN" group="ADVANCED SETTINGS" value="kronos_use_beetle_saves" preset="switchauto" order="107"/>
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="saturn_padlayout" order="505">
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as X/Z" value="lr_xz"/>
      </feature>
      <feature submenu="CONTROLS" name="INVERT TRIGGERS AND SHOULDERS" group="ADVANCED SETTINGS" value="saturn_invert_triggers" description="Use shoulder buttons for L and R instead of triggers." preset="switchauto" order="506"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="kronos_controller" order="507">
        <choice name="JOYPAD" value="1"/>
        <choice name="3D PAD" value="5"/>
        <choice name="WHEEL" value="261"/>
        <choice name="MOUSE" value="2"/>
      </feature>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="kronos_multitap" order="508">
        <choice name="NO" value="disabled"/>
        <choice name="PORT1" value="port1"/>
        <choice name="PORT2" value="port2"/>
        <choice name="BOTH PORTS" value="ports"/>
      </feature>
      <feature submenu="CONTROLS" name="USE SATURN-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="saturn_pad" preset="switchauto" order="509"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="551"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="552">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="553"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="555"/>
    </core>
    <core name="lutro">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="mgba" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="mgba_audio_low_pass_filter" description="Enables a low pass audio filter to soften the harsh sound of some games." preset="sliderauto" preset-parameters="0 95 5 %" order="306"/>
      <feature submenu="VISUAL RENDERING" name="INTERFRAME BLENDING" group="ADVANCED SETTINGS" value="mgba_interframe_blending" description="Blend pixels from multiple successive frames to simulate LCD ghosting." order="251">
        <choice name="OFF" value="OFF"/>
        <choice name="SIMPLE" value="mix"/>
        <choice name="SMART" value="mix_smart"/>
        <choice name="ACCURATE" value="lcd_ghosting"/>
        <choice name="FAST" value="lcd_ghosting_fast"/>
      </feature>
      <system name="sgb">
        <feature submenu="VISUAL RENDERING" name="PALETTE" group="ADVANCED SETTINGS" value="mgba_gb_colors" description="Choose which color palette is going to be used" order="252">
          <choice name="Grayscale" value="Grayscale"/>
          <choice name="DMG Green" value="DMG Green"/>
          <choice name="SGB 1-A" value="SGB 1-A"/>
          <choice name="SGB 1-B" value="SGB 1-B"/>
          <choice name="SGB 1-C" value="SGB 1-C"/>
          <choice name="SGB 1-D" value="SGB 1-D"/>
          <choice name="SGB 1-E" value="SGB 1-E"/>
          <choice name="SGB 1-F" value="SGB 1-F"/>
          <choice name="SGB 1-G" value="SGB 1-G"/>
          <choice name="SGB 1-H" value="SGB 1-H"/>
          <choice name="SGB 2-A" value="SGB 2-A"/>
          <choice name="SGB 2-B" value="SGB 2-B"/>
          <choice name="SGB 2-C" value="SGB 2-C"/>
          <choice name="SGB 2-D" value="SGB 2-D"/>
          <choice name="SGB 2-E" value="SGB 2-E"/>
          <choice name="SGB 2-F" value="SGB 2-F"/>
          <choice name="SGB 2-G" value="SGB 2-G"/>
          <choice name="SGB 2-H" value="SGB 2-H"/>
          <choice name="SGB 3-A" value="SGB 3-A"/>
          <choice name="SGB 3-B" value="SGB 3-B"/>
          <choice name="SGB 3-C" value="SGB 3-C"/>
          <choice name="SGB 3-D" value="SGB 3-D"/>
          <choice name="SGB 3-E" value="SGB 3-E"/>
          <choice name="SGB 3-F" value="SGB 3-F"/>
          <choice name="SGB 3-G" value="SGB 3-G"/>
          <choice name="SGB 3-H" value="SGB 3-H"/>
          <choice name="SGB 4-A" value="SGB 4-A"/>
          <choice name="SGB 4-B" value="SGB 4-B"/>
          <choice name="SGB 4-C" value="SGB 4-C"/>
          <choice name="SGB 4-D" value="SGB 4-D"/>
          <choice name="SGB 4-E" value="SGB 4-E"/>
          <choice name="SGB 4-F" value="SGB 4-F"/>
          <choice name="SGB 4-G" value="SGB 4-G"/>
          <choice name="SGB 4-H" value="SGB 4-H"/>
        </feature>
        <feature submenu="VISUAL RENDERING" name="USE SGB BORDERS" group="ADVANCED SETTINGS" value="mgba_sgb_borders" description="Display SGB borders when emulating Super Game Boy." preset="switchauto" order="253"/>
        <feature submenu="EMULATION" name="GAME BOY MODEL" group="ADVANCED SETTINGS" value="mgba_gb_model" description="Force the Game Boy model to emulate if autodetect fails." order="103">
          <choice name="Super Game Boy" value="Super Game Boy"/>
        </feature>
        <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="505"/>
      </system>
      <system name="gba,gba2players">
        <feature submenu="VISUAL RENDERING" name="COLOR CORRECTION" group="ADVANCED SETTINGS" value="mgba_color_correction" description="Adjust output colors to mimic original console screen." order="252">
          <choice name="OFF" value="OFF"/>
          <choice name="GBC" value="GBC"/>
          <choice name="GBA" value="GBA"/>
        </feature>
        <feature submenu="EMULATION" name="GAME BOY MODEL" group="ADVANCED SETTINGS" value="mgba_gb_model" description="Force the Game Boy model to emulate if autodetect fails." order="103">
          <choice name="Game Boy Advance" value="Game Boy Advance"/>
        </feature>
        <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="505"/>
      </system>
      <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="mgba_skip_bios" preset="switchauto" order="104"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="CONTROLS" name="ENABLE RUMBLE" group="ADVANCED SETTINGS" value="mgba_force_gbp" description="Enables joypad rumble with compatible Gamepad." preset="switchauto" order="506"/>
    </core>
    <core name="neocd" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="neocd_region" order="103">
        <choice name="JAPAN" value="Japan"/>
        <choice name="USA" value="USA"/>
        <choice name="EUROPE" value="Europe"/>
      </feature>
      <feature submenu="EMULATION" name="BIOS" group="ADVANCED SETTINGS" value="neocd_bios" description="The Neo Geo CD bios used by the emulator." order="104">
        <choice name="CDZ" value="neocd_z.rom (CDZ)"/>
        <choice name="CDZ (MAME)" value="neocd.bin (CDZ)"/>
        <choice name="FRONT LOADER" value="neocd_f.rom (Front Loader)"/>
        <choice name="TOP LOADER" value="neocd_t.rom (Top Loader)"/>
        <choice name="FRONT LOADER (MAME)" value="front-sp1.bin (Front Loader)"/>
        <choice name="TOP LOADER (MAME)" value="top-sp1.bin (Top Loader)"/>
        <choice name="UNIVERSE" value="uni-bioscd.rom (CDZ, Universe 3.3)"/>
      </feature>
      <feature submenu="EMULATION" name="CD SPEED" group="ADVANCED SETTINGS" value="neocd_cdspeedhack" description="This will replace the BIOS CD-ROM busy loop with a STOP instruction." preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="CD SKIP LOADING" group="ADVANCED SETTINGS" value="neocd_loadskip" description="Makes the emulator auto fast forward CD loading sequences." preset="switchauto" order="106"/>
    </core>
    <core name="nestopia" features="cheevos, netplay, softpatch">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="EMULATED VIDEO SIGNAL" group="ADVANCED SETTINGS" value="nestopia_blargg_ntsc_filter" description="Enable blargg NTSC video filters" order="158">
        <choice name="OFF" value="disabled"/>
        <choice name="Composite (color bleeding + artifacts)" value="composite"/>
        <choice name="SVideo (color bleeding only)" value="svideo"/>
        <choice name="RGB (crisp image)" value="rgb"/>
        <choice name="Monochrome" value="monochrome"/>
      </feature>
      <feature submenu="VIDEO" name="CROP OVERSCAN" group="ADVANCED SETTINGS" value="nestopia_cropoverscan" description="Zooms in to hide black borders. Borders are different per game." order="159">
        <choice name="TOP 8 - BOTTOM 8" value="t8_b8_l0_r0"/>
        <choice name="OFF" value="none"/>
        <choice name="LEFT 8 - RIGHT 8" value="t0_b0_l8_r8"/>
        <choice name="LEFT 8" value="t0_b0_l8_r0"/>
        <choice name="8 ALL SIDES" value="t8_b8_l8_r8"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="nestopia_nospritelimit" description="Remove the 8 sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="251"/>
      <feature submenu="VISUAL RENDERING" name="PALETTE" group="ADVANCED SETTINGS" value="nestopia_palette" description="Choose which color palette is going to be used" order="252">
        <choice name="consumer" value="consumer"/>
        <choice name="cxa2025as" value="cxa2025as"/>
        <choice name="cxa2025as (JP)" value="cxa2025as_jp"/>
        <choice name="ROYAL TEA" value="royaltea"/>
        <choice name="canonical" value="canonical"/>
        <choice name="alternative" value="alternative"/>
        <choice name="rgb" value="rgb"/>
        <choice name="pal" value="pal"/>
        <choice name="Digital Prime FBX" value="digital-prime-fbx"/>
        <choice name="Magnum FBX" value="magnum-fbx"/>
        <choice name="Smooth V2 FBX" value="smoothv2-fbx"/>
        <choice name="composite-direct-fbx" value="composite-direct-fbx"/>
        <choice name="pvm-style-d93-fbx" value="pvm-style-d93-fbx"/>
        <choice name="ntsc-hardware-fbx" value="ntsc-hardware-fbx"/>
        <choice name="nes-classic-fbx-fs" value="nes-classic-fbx-fs"/>
        <choice name="Restored Wii VC" value="restored-wii-vc"/>
        <choice name="Wii VC" value="wii-vc"/>
        <choice name="RAW" value="raw"/>
        <choice name="custom" value="custom"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="nestopia_favored_system" order="104">
        <choice name="NTSC" value="ntsc"/>
        <choice name="PAL" value="pal"/>
        <choice name="Famicom" value="famicom"/>
        <choice name="Dendy" value="dendy"/>
      </feature>
      <feature submenu="EMULATION" name="CPU OVERCLOCK" group="ADVANCED SETTINGS" value="nestopia_overclock" description="Minimize ingame slowdowns of some games (Contra Force)" order="105">
        <choice name="1X" value="1x"/>
        <choice name="2X" value="2x"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="nestopia_controller1" order="505">
        <choice name="NES GAMEPAD" value="257"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="nestopia_controller2" order="506">
        <choice name="NES GAMEPAD" value="257"/>
        <choice name="ZAPPER" value="262"/>
        <choice name="ARKANOID" value="258"/>
      </feature>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Rotate face buttons to change layout." preset="switchauto" order="507"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="xbox_layout" order="508"/>
      <feature submenu="CONTROLS" name="ENABLE TURBO" group="ADVANCED SETTINGS" value="nes_turbo_enable" preset="switchauto" order="509"/>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="nestopia_select_adapter" description="Manually select a 4 Player Adapter for some games" order="510">
        <choice name="NTSC" value="ntsc"/>
        <choice name="FAMICOM" value="famicom"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="nestopia_show_crosshair" preset="switchauto" order="551"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="552">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="553"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="554"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="555"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="enable_turbo" order="650"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_button" order="651"/>
      <sharedFeature submenu="TURBO" group="ADVANCED SETTINGS" value="turbo_default_button" order="652"/>
    </core>
    <core name="nekop2">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
    </core>
    <core name="np2kai" features="netplay, padtokeyboard">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="np2kai_model" order="103">
        <choice name="PC-9801VX" value="PC-9801VX"/>
        <choice name="PC-286" value="PC-286"/>
        <choice name="PC-9801VM" value="PC-9801VM"/>
      </feature>
      <feature submenu="CONTROLS" name="USE DPAD" group="ADVANCED SETTINGS" value="np2kai_joymode" description="Define the mapping of the D-PAD." order="506">
        <choice name="OFF" value="OFF"/>
        <choice name="MOUSE" value="Mouse"/>
        <choice name="ARROWS" value="Arrows"/>
        <choice name="ARROWS 3 BUTTONS" value="Arrows 3button"/>
        <choice name="KEYPAD" value="Keypad"/>
        <choice name="KEYPAD 3 BUTTONS" value="Keypad 3button"/>
        <choice name="ATARI JOYPAD" value="Atari Joypad"/>
        <choice name="KEYPAD FIGHTING" value="Keypad Fighting"/>
        <choice name="MANUAL KEYBOARD" value="Manual Keyboard"/>
      </feature>
    </core>
    <core name="nxengine">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="o2em" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="CROP OVERSCAN" group="ADVANCED SETTINGS" value="o2em_crop_overscan" description="Zooms in to hide black borders." preset="switchauto" order="158"/>
      <feature submenu="VISUAL RENDERING" name="CRT GHOSTING EFFECT" group="ADVANCED SETTINGS" value="o2em_mix_frames" description="Required for certain visual effects." order="251">
        <choice name="Off" value="disabled"/>
        <choice name="Simple" value="mix"/>
        <choice name="Ghosting (65%)" value="ghost_65"/>
        <choice name="Ghosting (75%)" value="ghost_75"/>
        <choice name="Ghosting (85%)" value="ghost_85"/>
        <choice name="Ghosting (95%)" value="ghost_95"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="o2em_region" order="103">
        <choice name="Autodetect" value="autodetect"/>
        <choice name="NTSC" value="NTSC"/>
        <choice name="PAL" value="PAL"/>
      </feature>
      <feature submenu="EMULATION" name="FORCE HARDWARE" group="ADVANCED SETTINGS" value="o2em_bios" order="104">
        <choice name="Odyssey 2 (NTSC)" value="o2rom.bin"/>
        <choice name="Videopac C52 (France)" value="c52.bin"/>
        <choice name="Videopac+ G7400 (European)" value="g7400.bin"/>
        <choice name="Jopac JO7400 (France)" value="jopac.bin"/>
      </feature>
      <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="o2em_low_pass_range" description="Soften the hash sound effect from some games." preset="sliderauto" preset-parameters="0 95 5 %" order="306"/>
      <feature submenu="CONTROLS" name="SWAP GAMEPADS" group="ADVANCED SETTINGS" value="o2em_swap_gamepads" description="Some games accept input from port 2 instead of port 1." preset="switchauto" order="505"/>
    </core>
    <core name="openlara">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="openlara_resolution" order="20">
        <choice name="NATIVE (320x240)" value="320x240"/>
        <choice name="360x480" value="360x480"/>
        <choice name="480x272" value="480x272"/>
        <choice name="512x384" value="512x384"/>
        <choice name="512x512" value="512x512"/>
        <choice name="640x224" value="640x224"/>
        <choice name="640x448" value="640x448"/>
        <choice name="640x480" value="640x480"/>
        <choice name="720x576" value="720x576"/>
        <choice name="800x600" value="800x600"/>
        <choice name="960x720" value="960x720"/>
        <choice name="1024x768" value="1024x768"/>
        <choice name="1280x720" value="1280x720"/>
        <choice name="1280x960" value="1280x960"/>
        <choice name="1600x1200" value="1600x1200"/>
        <choice name="1920x1080" value="1920x1080"/>
        <choice name="1920x1440" value="1920x1440"/>
        <choice name="1920x1600" value="1920x1600"/>
        <choice name="2048x2048" value="2048x2048"/>
        <choice name="2560x1440" value="2560x1440"/>
        <choice name="3840x2160" value="3840x2160"/>
        <choice name="7680x4320" value="7680x4320"/>
      </feature>
      <feature submenu="VIDEO" name="FRAMERATE" group="ADVANCED SETTINGS" value="openlara_framerate" order="158">
        <choice name="NATIVE (60fps)" value="60fps"/>
        <choice name="30fps" value="30fps"/>
        <choice name="70fps" value="70fps"/>
        <choice name="72fps" value="72fps"/>
        <choice name="75fps" value="75fps"/>
        <choice name="90fps" value="90fps"/>
        <choice name="100fps" value="100fps"/>
        <choice name="119fps" value="119fps"/>
        <choice name="120fps" value="120fps"/>
        <choice name="144fps" value="144fps"/>
        <choice name="240fps" value="240fps"/>
        <choice name="244fps" value="244fps"/>
      </feature>
    </core>
    <core name="4do" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="HIGH RESOLUTION" group="ADVANCED SETTINGS" value="high_resolution" description="Enables high resolution CEL rendering." preset="switchauto" order="158"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="4do_region" description="Force the region of the system." order="103">
        <choice name="NTSC 320x240 60HZ" value="ntsc"/>
        <choice name="PAL 320x288 50HZ" value="pal1"/>
        <choice name="PAL 352x288 50HZ" value="pal2"/>
      </feature>
      <feature submenu="EMULATION" name="BIOS" group="ADVANCED SETTINGS" value="4do_bios" description="The bios used by the emulator." order="104">
        <choice name="Panasonic FZ-1" value="Panasonic FZ-1"/>
        <choice name="Panasonic FZ-10" value="Panasonic FZ-10"/>
        <choice name="Goldstar GDO-101M" value="Goldstar GDO-101M"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="CPU CLOCK" value="cpu_overclock" description="This option sets the CPU clock speed of the emulated PC." order="105">
        <choice name="1.0x (12.50Mhz)" value="1.0x (12.50Mhz)"/>
        <choice name="1.1x (13.75Mhz)" value="1.1x (13.75Mhz)"/>
        <choice name="1.2x (15.00Mhz)" value="1.2x (15.00Mhz)"/>
        <choice name="1.5x (18.75Mhz)" value="1.5x (18.75Mhz)"/>
        <choice name="1.6x (20.00Mhz))" value="1.6x (20.00Mhz)"/>
        <choice name="1.8x (22.50Mhz)" value="1.8x (22.50Mhz)"/>
        <choice name="2.0x (25.00Mhz)" value="2.0x (25.00Mhz)"/>
      </feature>
      <feature submenu="CONTROLS" name="NUMBER OF DEVICES" group="ADVANCED SETTINGS" value="active_devices" description="There is a bug in some games where having more than 1 active device crashes the emulator." order="505">
        <choice name="1" value="1"/>
        <choice name="2" value="2"/>
        <choice name="3" value="3"/>
        <choice name="4" value="4"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="4do_controller1" order="506">
        <choice name="3DO JOYPAD" value="1"/>
        <choice name="3DO FLIGHTSTICK" value="257"/>
        <choice name="3DO MOUSE" value="2"/>
        <choice name="3DO LIGHTGUN" value="4"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="4do_controller2" order="507">
        <choice name="3DO JOYPAD" value="1"/>
        <choice name="3DO FLIGHTSTICK" value="257"/>
        <choice name="3DO MOUSE" value="2"/>
        <choice name="3DO LIGHTGUN" value="4"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="4do_controller3" order="508">
        <choice name="3DO JOYPAD" value="1"/>
        <choice name="3DO FLIGHTSTICK" value="257"/>
        <choice name="3DO MOUSE" value="2"/>
        <choice name="3DO LIGHTGUN" value="4"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="4do_controller4" order="509">
        <choice name="3DO JOYPAD" value="1"/>
        <choice name="3DO FLIGHTSTICK" value="257"/>
        <choice name="3DO MOUSE" value="2"/>
        <choice name="3DO LIGHTGUN" value="4"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="551"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="552">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="553"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="554"/>
    </core>
    <core name="opera" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="HIGH RESOLUTION" group="ADVANCED SETTINGS" value="high_resolution" description="Enables high resolution CEL rendering." preset="switchauto" order="158"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="opera_region" description="Force the region of the system." order="103">
        <choice name="NTSC 320x240 60HZ" value="ntsc"/>
        <choice name="PAL 320x288 50HZ" value="pal1"/>
        <choice name="PAL 352x288 50HZ" value="pal2"/>
      </feature>
      <feature submenu="EMULATION" name="BIOS" group="ADVANCED SETTINGS" value="opera_bios" description="The bios used by the emulator." order="104">
        <choice name="Panasonic FZ-1 (U)" value="panafz1.bin"/>
        <choice name="Panasonic FZ-1 (J)" value="panafz1j.bin"/>
        <choice name="Panasonic FZ-1 (J) NORSA" value="panafz1j-norsa.bin"/>
        <choice name="Panasonic FZ-10 (U)" value="panafz10.bin"/>
        <choice name="Panasonic FZ-10 (U) NORSA" value="panafz10-norsa.bin"/>
        <choice name="Panasonic FZ-10 (E) ANVIL" value="panafz10e-anvil.bin"/>
        <choice name="Goldstar GDO-101M" value="goldstar.bin"/>
        <choice name="3DO ARCADE SAOT" value="3do_arcade_saot.bin"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="CPU CLOCK" value="cpu_overclock" description="This option sets the CPU clock speed of the emulated PC." order="105">
        <choice name="0.5x ( 6.25Mhz)" value="0.5x ( 6.25Mhz)"/>
        <choice name="0.8x (10.00Mhz)" value="0.8x (10.00Mhz)"/>
        <choice name="1.0x (12.50Mhz)" value="1.0x (12.50Mhz)"/>
        <choice name="1.1x (13.75Mhz)" value="1.1x (13.75Mhz)"/>
        <choice name="1.2x (15.00Mhz)" value="1.2x (15.00Mhz)"/>
        <choice name="1.5x (18.75Mhz)" value="1.5x (18.75Mhz)"/>
        <choice name="1.6x (20.00Mhz))" value="1.6x (20.00Mhz)"/>
        <choice name="1.8x (22.50Mhz)" value="1.8x (22.50Mhz)"/>
        <choice name="2.0x (25.00Mhz)" value="2.0x (25.00Mhz)"/>
      </feature>
      <feature submenu="EMULATION" name="DSP THREADED" group="ADVANCED SETTINGS" value="opera_dsp_threaded" preset="switchauto" order="106"/>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="MATRIX ENGINE EMULATION" value="opera_madam_matrix_engine" order="107">
        <choice name="HARDWARE" value="hardware"/>
        <choice name="SOFTWARE" value="software"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="NVRAM STORAGE" value="nvram_storage" order="108">
        <choice name="PER GAME" value="per game"/>
        <choice name="SHARED" value="shared"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="GAME HACKS" value="opera_hack" order="110">
        <choice name="CRASH N BURN" value="hack_timing_1"/>
        <choice name="DYNOPARK TYCOON" value="hack_timing_3"/>
        <choice name="MICROCOSM" value="hack_timing_5"/>
        <choice name="ALONE IN THE DARK" value="hack_timing_6"/>
        <choice name="SAMURAI SHODOWN" value="hack_graphics_step_y"/>
      </feature>
      <feature submenu="CONTROLS" name="NUMBER OF DEVICES" group="ADVANCED SETTINGS" value="active_devices" description="There is a bug in some games where having more than 1 active device crashes the emulator." order="505">
        <choice name="1" value="1"/>
        <choice name="2" value="2"/>
        <choice name="3" value="3"/>
        <choice name="4" value="4"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="opera_controller1" order="506">
        <choice name="3DO JOYPAD" value="1"/>
        <choice name="3DO FLIGHTSTICK" value="257"/>
        <choice name="3DO MOUSE" value="2"/>
        <choice name="3DO LIGHTGUN" value="4"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="opera_controller2" order="507">
        <choice name="3DO JOYPAD" value="1"/>
        <choice name="3DO FLIGHTSTICK" value="257"/>
        <choice name="3DO MOUSE" value="2"/>
        <choice name="3DO LIGHTGUN" value="4"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="opera_controller3" order="508">
        <choice name="3DO JOYPAD" value="1"/>
        <choice name="3DO FLIGHTSTICK" value="257"/>
        <choice name="3DO MOUSE" value="2"/>
        <choice name="3DO LIGHTGUN" value="4"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="opera_controller4" order="509">
        <choice name="3DO JOYPAD" value="1"/>
        <choice name="3DO FLIGHTSTICK" value="257"/>
        <choice name="3DO MOUSE" value="2"/>
        <choice name="3DO LIGHTGUN" value="4"/>
      </feature>
      <feature submenu="CONTROLS" name="USE 3DO-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="3do_pad" preset="switchauto" order="510"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="551"/>
      <feature submenu="GUNS" name="GUN A/B BUTTONS MAPPING" group="ADVANCED SETTINGS" value="gun_ab" order="552">
        <choice name="MOUSE RIGHT/MIDDLE" value="mouse"/>
        <choice name="KEYPAD LEFT/RIGHT" value="directions"/>
        <choice name="KEYBOARD A/B" value="keyboard"/>
      </feature>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="553"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="554"/>
    </core>
    <core name="parallel_n64" features="cheevos, netplay">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="parallel_resolution" order="20">
        <choice name="640x480 (NATIVE)" value="640x480"/>
        <choice name="320x240" value="320x240"/>
        <choice name="960x720" value="960x720"/>
        <choice name="1280x960" value="1280x960"/>
        <choice name="1440x1080" value="1440x1080"/>
        <choice name="1600x1200" value="1600x1200"/>
        <choice name="1920x1440" value="1920x1440"/>
        <choice name="2240x1680" value="2240x1680"/>
        <choice name="2880x2160" value="2880x2160"/>
        <choice name="5760x4320" value="5760x4320"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="parallel_aspect" description="Display the emulated framebuffer at a widescreen aspect ratio." preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="UNLOCK FRAMERATE" group="ADVANCED SETTINGS" value="parallel_framerate" preset="switchauto" order="159"/>
      <feature submenu="VIDEO" name="GFX PLUGIN" value="parallel_gfx_plugin" group="ADVANCED SETTINGS" description="Use 'GLideN64' for best HLE performance, 'ParaLLEl' for accuracy." order="160">
        <choice name="GLIDE64" value="glide64"/>
        <choice name="GLN64" value="gln64"/>
        <choice name="RICE" value="rice"/>
        <choice name="ANGRYLION" value="angrylion"/>
        <choice name="PARALLEL" value="parallel"/>
      </feature>
      <feature submenu="VIDEO" name="GFX ACCURACY" value="parallel_gfx_accuracy" group="ADVANCED SETTINGS" description="Reduce accuracy for better performance, graphics quality will be lower." order="161">
        <choice name="VERY HIGH (slower)" value="veryhigh"/>
        <choice name="HIGH" value="high"/>
        <choice name="MEDIUM" value="medium"/>
        <choice name="LOW (faster)" value="low"/>
      </feature>
      <feature submenu="PARALLEL PLUGIN" name="TEXTURE UPSCALING" group="ADVANCED SETTINGS" value="parallel_upscaling" description="Apply internal upscaling factor." order="180">
        <choice name="1x" value="1x"/>
        <choice name="2x" value="2x"/>
        <choice name="4x" value="4x"/>
        <choice name="8x" value="8x"/>
      </feature>
      <feature submenu="PARALLEL PLUGIN" name="DOWNSAMPLING (SSAA)" group="ADVANCED SETTINGS" value="parallel_downsampling" description="Smooth polygons by downscaling the image to either half its size, one quarter of its size, or one eight of its size." order="181">
        <choice name="NO" value="disable"/>
        <choice name="1/2" value="1/2"/>
        <choice name="1/4" value="1/4"/>
        <choice name="1/8" value="1/8"/>
      </feature>
      <feature submenu="PARALLEL PLUGIN" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="parallel_vi_aa" description="Anti-aliased fetch filter, smooth polygons edges." preset="switchauto" order="182"/>
      <feature submenu="PARALLEL PLUGIN" name="BILINEAR SCALING" group="ADVANCED SETTINGS" value="parallel_vi_bilinear" description="Allow bilinear scaling on scanout." preset="switchauto" order="183"/>
      <feature submenu="PARALLEL PLUGIN" name="DISABLE GAMMA DITHER" group="ADVANCED SETTINGS" value="parallel_gamma_dither" preset="switchauto" order="184"/>
      <feature submenu="PARALLEL PLUGIN" name="DITHER FILTER" group="ADVANCED SETTINGS" value="parallel_rdp_dither" description="Disabling this feature will reduce color depth." preset="switchauto" order="185"/>
      <feature submenu="PARALLEL PLUGIN" name="DIVOT FILTER" group="ADVANCED SETTINGS" value="parallel_divot_filter" description="Cleans up stray black pixels." preset="switchauto" order="186"/>
      <feature submenu="GLIDE64 PLUGIN" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="parallel_filtering" description="Specify filter to use for upscaling." order="190">
        <choice name="N64 3-point" value="N64 3-point"/>
        <choice name="BILINEAR" value="bilinear"/>
        <choice name="NEAREST NEIGHBOR" value="nearest"/>
      </feature>
      <feature submenu="ANGRYLION PLUGIN" name="DITHER FILTER" group="ADVANCED SETTINGS" value="parallel_dithering" description="Disabling this feature will reduce color depth." preset="switchauto" order="195"/>
      <feature submenu="EMULATION" name="CPU CORE" value="parallel_cpucore" group="ADVANCED SETTINGS" description="Use interpreter for best compatibility, dynarec for performance." order="103">
        <choice name="DYNAMIC RECOMPILER" value="dynamic_recompiler"/>
        <choice name="CACHED INTERPRETER" value="cached_interpreter"/>
        <choice name="PURE INTERPRETER" value="pure_interpreter"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="lr_n64_buttons" order="505">
        <choice name="STANDARD" value="standard"/>
        <choice name="XBOX" value="xbox"/>
      </feature>
      <feature submenu="CONTROLS" name="ANALOG DEADZONE(CORE)" value="parallel_stick_deadzone" group="ADVANCED SETTINGS" description="Use this only if the analog stick is drifting." preset="sliderauto" preset-parameters="0 30 5 %" order="506"/>
      <feature submenu="CONTROLS" name="ANALOG STICK SENSITIVITY" value="parallel_stick_sensitivity" group="ADVANCED SETTINGS" description="Change the sensitivity of the analog stick." preset="sliderauto" preset-parameters="50 150 5 %" order="507"/>
      <feature submenu="CONTROLS" name="P1 CONTROLLER EXTENSION" value="parallel_pak1" group="ADVANCED SETTINGS" description="Choose the extension attached to the controller." order="508">
        <choice name="NONE" value="none"/>
        <choice name="MEMORY" value="memory"/>
        <choice name="RUMBLE PACK" value="rumble"/>
      </feature>
      <feature submenu="CONTROLS" name="P2 CONTROLLER EXTENSION" value="parallel_pak2" group="ADVANCED SETTINGS" order="509">
        <choice name="NONE" value="none"/>
        <choice name="MEMORY" value="memory"/>
        <choice name="RUMBLE PACK" value="rumble"/>
      </feature>
      <feature submenu="CONTROLS" name="P3 CONTROLLER EXTENSION" value="parallel_pak3" group="ADVANCED SETTINGS" order="510">
        <choice name="NONE" value="none"/>
        <choice name="MEMORY" value="memory"/>
        <choice name="RUMBLE PACK" value="rumble"/>
      </feature>
      <feature submenu="CONTROLS" name="P4 CONTROLLER EXTENSION" value="parallel_pak4" group="ADVANCED SETTINGS" order="511">
        <choice name="NONE" value="none"/>
        <choice name="MEMORY" value="memory"/>
        <choice name="RUMBLE PACK" value="rumble"/>
      </feature>
      <feature submenu="CONTROLS" name="USE N64-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="n64_pad" preset="switchauto" order="512"/>
      <system name="n64dd">
        <feature submenu="EMULATION" name="BIOS" value="ipl_bios" group="ADVANCED SETTINGS" description="Select the IPL BIOS to run a game depending on its region. Needs 'IPL_JAP.n64', 'IPL_USA.n64' and 'IPL_DEV.n64' in bios\Mupen64plus folder." order="105">
          <choice name="JAPAN" value="IPL_JAP.n64"/>
          <choice name="USA" value="IPL_USA.n64"/>
          <choice name="DEVKIT" value="IPL_DEV.n64"/>
        </feature>
      </system>
    </core>
    <core name="pocketcdg" />
    <core name="pokemini" features="cheevos">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="pokemini_video_scale" order="20">
        <choice name="1X NATIVE" value="1x (Native)"/>
        <choice name="2X" value="2x"/>
        <choice name="3X" value="3x"/>
        <choice name="4X" value="4x"/>
        <choice name="5X" value="5x"/>
        <choice name="6X" value="6x"/>
        <choice name="7X" value="7x"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="60HZ MODE" group="ADVANCED SETTINGS" value="pokemini_60hz_mode" description="Enables 60HZ mode to reduce tearing on displays that do not support operation above 60HZ." preset="switchauto" order="158"/>
      <feature submenu="VISUAL RENDERING" name="COLOR PALETTE" group="ADVANCED SETTINGS" value="pokemini_palette" description="Choose the color palette." order="251">
        <choice name="Default" value="Default"/>
        <choice name="Old" value="Old"/>
        <choice name="Monochrome" value="Monochrome"/>
        <choice name="Green" value="Green"/>
        <choice name="Green Vector" value="Green Vector"/>
        <choice name="Red" value="Red"/>
        <choice name="Red Vector" value="Red Vector"/>
        <choice name="Blue LCD" value="Blue LCD"/>
        <choice name="LED Backlight" value="LEDBacklight"/>
        <choice name="Girl Power" value="Girl Power"/>
        <choice name="Blue" value="Blue"/>
        <choice name="Blue Vector" value="Blue Vector"/>
        <choice name="Sepia" value="Sepia"/>
        <choice name="Monochrome Vector" value="Monochrome Vector"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="LCD BRIGHTNESS" group="ADVANCED SETTINGS" value="pokemini_lcdbright" description="Sets brightness offset of emulated liquid crystal display." preset="sliderauto" preset-parameters="-80 80 20" order="252"/>
      <feature submenu="VISUAL RENDERING" name="LCD CONTRAST" group="ADVANCED SETTINGS" value="pokemini_lcdcontrast" description="Sets contrast level of emulated liquid crystal display." preset="sliderauto" preset-parameters="0 96 16" order="253"/>
      <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="pokemini_lowpass_filter" description="Enables a low pass audio filter to soften the harsh sound of some games." preset="sliderauto" preset-parameters="0 95 5 %" order="306"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="CONTROLS" name="RUMBLE LEVEL" group="ADVANCED SETTINGS" value="pokemini_rumble" description="Define the level of rumble and screen shaking, enable screenshake if the controller does not support rumble. 'AUTO' enables both." order="505">
        <choice name="NO RUMBLE/NO SHAKE" value="all_off"/>
        <choice name="NO RUMBLE/LOW SCREEN SHAKE" value="no_rumble_low"/>
        <choice name="NO RUMBLE/STRONG SCREEN SHAKE" value="no_rumble_high"/>
        <choice name="LOW RUMBLE/NO SCREEN SHAKE" value="rumble_low"/>
        <choice name="MEDIUM RUMBLE/NO SCREEN SHAKE" value="rumble_medium"/>
        <choice name="STRONG RUMBLE/NO SCREEN SHAKE" value="rumble_high"/>
      </feature>
    </core>
    <core name="ppsspp" features="cheevos, netplay">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="ppsspp_internal_resolution" order="20">
        <choice name="1x" value="480x272"/>
        <choice name="2x" value="960x544"/>
        <choice name="3x" value="1440x816"/>
        <choice name="4x" value="1920x1088"/>
        <choice name="5x" value="2400x1360"/>
        <choice name="6x" value="2880x1632"/>
        <choice name="7x" value="3360x1904"/>
        <choice name="8x" value="3840x2176"/>
        <choice name="9x" value="4320x2448"/>
        <choice name="10x" value="4800x2720"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="ppsspp_frameskip" description="Skip frames to improve performance (smoothless)." preset="sliderauto" preset-parameters="0 8 1" order="158"/>
      <feature submenu="VIDEO" name="FRAMESKIP TYPE" group="ADVANCED SETTINGS" value="ppsspp_frameskiptype" description="Type of Frame skipping." order="159">
        <choice name="NUMBER OF FRAMES" value="Number of frames"/>
        <choice name="PERCENT OF FPS" value="Percent of FPS"/>
        <choice name="AUTOMATIC" value="auto"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="ppsspp_texture_anisotropic_filtering" description="Enhance the quality of textures on surface." order="251">
        <choice name="NO" value="disabled"/>
        <choice name="2x" value="2x"/>
        <choice name="4x" value="4x"/>
        <choice name="8x" value="8x"/>
        <choice name="16x" value="16x"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="ppsspp_texture_filtering" description="Select texture filtering mode." order="252">
        <choice name="nearest" value="nearest"/>
        <choice name="linear" value="linear"/>
        <choice name="Auto max quality" value="Auto max quality"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="UPSCALE FILTER" group="ADVANCED SETTINGS" value="ppsspp_texture_scaling_type" description="Choose between various texture enhancement filters." order="253">
        <choice name="xbrz" value="xbrz"/>
        <choice name="hybrid" value="hybrid"/>
        <choice name="bicubic" value="bicubic"/>
        <choice name="hybrid bicubic" value="hybrid_bicubic"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TEXTURE UPSCALING" group="ADVANCED SETTINGS" value="ppsspp_texture_scaling_level" description="Select the textures scaling level." preset="sliderauto" preset-parameters="1 5 1 x" order="254"/>
      <feature submenu="VISUAL RENDERING" name="TEXTURE DEPOSTERIZE" group="ADVANCED SETTINGS" value="ppsspp_texture_deposterize" description="Deposterize fixes small in-texture glitches that may happen when the texture is upscaled." preset="switchauto" order="255"/>
      <feature submenu="VISUAL RENDERING" name="BUFFERED FRAMES" group="ADVANCED SETTINGS" value="ppsspp_inflight_frames" description="Vulkan only, slower but less lag." order="256">
        <choice name="NO BUFFER" value="No buffer"/>
        <choice name="UP TO 1" value="Up to 1"/>
        <choice name="UP TO 2" value="Up to 2"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="ppsspp_texture_replacement" description="Replace original textures with custom textures pack (\saves\psp\TEXTURES\%GAMEID%)." preset="switchauto" order="257"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="ppsspp_language" order="103">
        <choice name="Deutsch" value="German"/>
        <choice name="English" value="English"/>
        <choice name="Español" value="Spanish"/>
        <choice name="Français" value="French"/>
        <choice name="Italiano" value="Italian"/>
        <choice name="Nederlands" value="Dutch"/>
        <choice name="Português" value="Portuguese"/>
        <choice name="Русский (Russian)" value="Russian"/>
        <choice name="日本語 (Japanese)" value="Japanese"/>
        <choice name="简化字 (Chinese - simplified)" value="Chinese Simplified"/>
        <choice name="簡化字 (Chinese - traditional)" value="Chinese Traditional"/>
        <choice name="한국어 (Korean)" value="Korean"/>
      </feature>
      <feature submenu="EMULATION" name="CPU MODE" group="ADVANCED SETTINGS" value="ppsspp_cpu_core" description="Use interpreter for best compatibility, dynarec for performance." order="104">
        <choice name="DYNAREC (JIT)" value="JIT"/>
        <choice name="IR INTERPRETER" value="IR JIT"/>
        <choice name="INTERPRETER" value="Interpreter"/>
      </feature>
      <feature submenu="EMULATION" name="ENABLE CHEATS" group="ADVANCED SETTINGS" value="ppsspp_cheats" preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="IO TIMING METHOD" group="ADVANCED SETTINGS" value="ppsspp_io_timing_method" description="Improves the data loading speed." order="106">
        <choice name="Fast" value="Fast"/>
        <choice name="Host (bug)" value="Host"/>
        <choice name="Simulate UMD delays" value="Simulate UMD delays"/>
      </feature>
      <feature submenu="EMULATION" name="IGNORE BAD MEMORY ACCESS" group="ADVANCED SETTINGS" value="ppsspp_ignore_bad_memory_access" description="Can fix bad memory access error with some games." preset="switchauto" order="107"/>
      <feature submenu="EMULATION" name="PERFORMANCE MODE" group="ADVANCED SETTINGS" value="PerformanceMode" description="Improves the emulation performance at the cost of accuracy." order="108">
        <choice name="Fast" value="Fast"/>
        <choice name="Balanced" value="Balanced"/>
        <choice name="Accurate" value="Accurate"/>
      </feature>
      <feature submenu="CONTROLS" name="CONFIRMATION BUTTON" group="ADVANCED SETTINGS" value="ppsspp_button_preference" description="Select whether the cross input or the circle input is the confirmation button." order="505">
        <choice name="CROSS" value="Cross"/>
        <choice name="CIRCLE" value="Circle"/>
      </feature>
    </core>
    <core name="prboom">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="prboom_resolution" order="20">
        <choice name="NATIVE (320x200)" value="320x200"/>
        <choice name="2X (640x400)" value="640x400"/>
        <choice name="3X (960x600)" value="960x600"/>
        <choice name="4X (1280x800)" value="1280x800"/>
        <choice name="5X (1600x1000)" value="1600x1000"/>
        <choice name="6X (1920x1200)" value="1920x1200"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="SCAN IWAD RECURSIVELY" value="prboom_recursive" description="This option must be disabled in order to play SIGIL." preset="switchauto" order="103"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="ENABLE MOUSE" value="prboom_mouse" description="Allows you to use mouse inputs even when device type isn't set to 'RetroKeyboard/Mouse'." preset="switchauto" order="506"/>
      <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="CONTROLLER TYPE" value="DoomControllerP1" order="507">
        <choice name="GAMEPAD CLASSIC" value="1"/>
        <choice name="GAMEPAD MODERN" value="773"/>
        <choice name="KEYBOARD/MOUSE" value="3"/>
      </feature>
    </core>
    <core name="prosystem" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <feature submenu="VISUAL RENDERING" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="prosystem_color_depth" order="251">
        <choice name="16 BIT" value="16bit"/>
        <choice name="24 BIT" value="24bit"/>
      </feature>
      <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="prosystem_low_pass_filter" description="Enables a low pass audio filter to soften the harsh sound of some games." preset="sliderauto" preset-parameters="0 95 5 %" order="306"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="CONTROLS" name="2 PLAYER HACK" group="ADVANCED SETTINGS" value="dual_stick_hack" description="Use player 2 joystick to control player 1 right analog stick, use this for co-op games." preset="switchauto" order="505"/>
    </core>
    <core name="puae" features="padtokeyboard">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="video_resolution" order="20">
        <choice name="360p" value="lores"/>
        <choice name="720p" value="hires"/>
        <choice name="1440p" value="superhires"/>
      </feature>
      <feature submenu="VIDEO" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="video_standard" description="Select a video format for output." order="158">
        <choice name="ntsc auto" value="NTSC auto"/>
        <choice name="pal auto" value="PAL auto"/>
        <choice name="ntsc" value="NTSC"/>
        <choice name="pal" value="PAL"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP" group="ADVANCED SETTINGS" value="puae_crop" description="Crops the borders to show or hide border graphics." order="251">
        <choice name="DISABLED" value="disabled"/>
        <choice name="MINIMUM" value="minimum"/>
        <choice name="SMALLER" value="smaller"/>
        <choice name="SMALL" value="small"/>
        <choice name="MEDIUM" value="medium"/>
        <choice name="LARGE" value="large"/>
        <choice name="LARGER" value="larger"/>
        <choice name="MAXIMUM" value="maximum"/>
        <choice name="AUTOMATIC" value="auto"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP MODE" group="ADVANCED SETTINGS" value="puae_crop_mode" order="252">
        <choice name="Horizontal + Vertical" value="both"/>
        <choice name="Horizontal" value="horizontal"/>
        <choice name="Vertical" value="vertical"/>
        <choice name="16:9" value="16:9"/>
        <choice name="16:10" value="16:10"/>
        <choice name="4:3" value="4:3"/>
        <choice name="5:4" value="5:4"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="puae_gfx_colors" order="253">
        <choice name="16 BIT" value="16bit"/>
        <choice name="24 BIT" value="24bit"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="CPU COMPATIBILITY" group="ADVANCED SETTINGS" value="cpu_compatibility" description="Some games have graphic and/or speed issues without Cycle-exact." order="103">
        <choice name="normal" value="normal"/>
        <choice name="more compatible" value="compatible"/>
        <choice name="cycle exact(DMA/MEMORY)" value="memory"/>
        <choice name="cycle exact(FULL)" value="exact"/>
      </feature>
      <feature submenu="EMULATION" name="CPU CYCLE-EXACT SPEED" group="ADVANCED SETTINGS" value="cpu_multiplier" description="CPU frequency multiplier. Applies only with Cycle-exact." order="104">
        <choice name="3.546895Mhz" value="1"/>
        <choice name="7.093790Mhz (A500)" value="2"/>
        <choice name="14.187550Mhz (A1200)" value="4"/>
        <choice name="28.375160Mhz" value="8"/>
        <choice name="35.468950Mhz" value="10"/>
        <choice name="42.562740Mhz" value="12"/>
        <choice name="56.750320Mhz" value="16"/>
      </feature>
      <feature submenu="EMULATION" name="KICKSTART ROM" group="ADVANCED SETTINGS" value="puae_kickstart" description="'Auto' defaults to the most compatible version for the model." order="105">
        <choice name="AROS" value="aros"/>
        <choice name="v1.2 rev 33.180 (A500-A2000)" value="kick33180.A500"/>
        <choice name="v1.3 rev 34.005 (A500-A1000-A2000-CDTV)" value="kick34005.A500"/>
        <choice name="v2.04 rev 37.175 (A500+)" value="kick37175.A500"/>
        <choice name="v2.05 rev 37.350 (A600)" value="kick37350.A600"/>
        <choice name="v3.1 rev 40.063 (A500-A600-A2000)" value="kick40063.A600"/>
        <choice name="v3.0 rev 39.106 (A1200)" value="kick39106.A1200"/>
        <choice name="v3.1 rev 40.068 (A1200)" value="kick40068.A1200"/>
        <choice name="v3.0 rev 39.106 (A4000)" value="kick39106.A4000"/>
        <choice name="v3.1 rev 40.068 (A4000)" value="kick40068.A4000"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="puae_controller1" order="506">
        <choice name="RetroPad" value="257"/>
        <choice name="CD32 Pad" value="517"/>
        <choice name="Analog Joystick" value="773"/>
        <choice name="Phaser Lightgun" value="260"/>
        <choice name="Joystick" value="261"/>
        <choice name="Keyboard" value="259"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="puae_controller2" order="507">
        <choice name="RetroPad" value="257"/>
        <choice name="CD32 Pad" value="517"/>
        <choice name="Analog Joystick" value="773"/>
        <choice name="Phaser Lightgun" value="260"/>
        <choice name="Joystick" value="261"/>
        <choice name="Keyboard" value="259"/>
      </feature>
      <feature submenu="CONTROLS" name="MOUSE CONTROL" group="ADVANCED SETTINGS" value="puae_analogmouse" description="Define which analog stick controls the mouse pointer." order="508">
        <choice name="BOTH STICKS" value="both"/>
        <choice name="LEFT STICK" value="left"/>
        <choice name="RIGHT STICK" value="right"/>
        <choice name="NONE" value="disabled"/>
      </feature>
      <feature submenu="CONTROLS" name="MOUSE SPEED" group="ADVANCED SETTINGS" value="puae_mouse_speed" description="Adjust mouse pointer speed based on the analog stick sensitivity." preset="sliderauto" preset-parameters="10 300 10 %" order="509"/>
      <feature submenu="CONTROLS" name="ANALOG MOUSE DEADZONE" group="ADVANCED SETTINGS" value="puae_analogmouse_deadzone" preset="sliderauto" preset-parameters="0 50 5 %" order="510"/>
      <feature submenu="CONTROLS" name="KEYBOARD PASS-THROUGH" group="ADVANCED SETTINGS" value="puae_keyboard_pass_through" description="'ON' passes all physical keyboard events to the core. 'OFF' prevents RetroPad keys from generating keyboard events." preset="switchauto" order="511"/>
      <feature submenu="CONTROLS" name="JOYPORT ORDER" group="ADVANCED SETTINGS" value="puae_joyport_order" description="Plug RetroPads in different ports, useful for 4-player adapters." order="512">
        <choice name="1-2-3-4" value="1234"/>
        <choice name="2-1-4-3" value="2143"/>
        <choice name="3-4-1-2" value="3412"/>
        <choice name="4-3-2-1" value="4321"/>
      </feature>
      <feature submenu="CONTROLS" name="MOUSE CONTROL" group="ADVANCED SETTINGS" value="puae_joyport" description="Change D-Pad controls between joystick and mouse." order="513">
        <choice name="JOYSTICK (PORT1)" value="joystick"/>
        <choice name="MOUSE (PORT2)" value="mouse"/>
      </feature>
      <system name="amiga500">
        <feature submenu="EMULATION" name="MODEL" group="ADVANCED SETTINGS" value="model" description="Specify the Amiga system model to emulate." order="107">
          <choice name="A500 (v1.2, 0.5M Chip)" value="A500OG"/>
          <choice name="A500 (v1.3, 0.5M Chip + 0.5 Slow)" value="A500"/>
          <choice name="A500+ (v2.04, 1M Chip)" value="A500PLUS"/>
          <choice name="A600 (v3.1, 2M Chip + 8M Fast)" value="A600"/>
        </feature>
        <feature submenu="EMULATION" name="FLOPPY SPEED" group="ADVANCED SETTINGS" value="floppy_speed" description="'Auto' is the default floppy speed (300RPM). 'Turbo' removes disk rotation emulation." order="108">
          <choice name="1x" value="100"/>
          <choice name="2x" value="200"/>
          <choice name="4x" value="400"/>
          <choice name="8x" value="800"/>
          <choice name="Turbo" value="0"/>
        </feature>
        <feature submenu="EMULATION" name="FLOPPY SOUND" group="ADVANCED SETTINGS" value="floppy_sound" description="Set the volume of the emulated floppy sound." preset="sliderauto" preset-parameters="0 100 5 %" order="109"/>
        <feature submenu="EMULATION" name="WHDLOAD SPLASH SCREEN" group="ADVANCED SETTINGS" value="whdload" description="Space/Enter/Fire works as WHDLoad start button." order="110">
          <choice name="Show if available" value="config"/>
          <choice name="Show briefly" value="splash"/>
          <choice name="Wait for user input" value="both"/>
          <choice name="Off" value="disabled"/>
        </feature>
        <feature submenu="CONTROLS" name="PAD BUTTON LAYOUT" group="ADVANCED SETTINGS" value="pad_options" order="520">
          <choice name="B FIRE / A 2ND FIRE" value="disabled"/>
          <choice name="B FIRE / A UP" value="jump"/>
          <choice name="Y FIRE / B 2ND FIRE" value="rotate"/>
          <choice name="Y FIRE / B UP" value="rotate_jump"/>
        </feature>
      </system>
      <system name="amiga1200">
        <feature submenu="EMULATION" name="MODEL" group="ADVANCED SETTINGS" value="model" description="Specify the Amiga system model to emulate." order="107">
          <choice name="A1200 (v3.1, 2M Chip)" value="A1200OG"/>
          <choice name="A1200 (v3.1, 2M Chip + 8M Fast)" value="A1200"/>
          <choice name="A2000 (v1.2, 0.5M Chip + 0.5 Slow)" value="A2000OG"/>
          <choice name="A2000 (v3.1, 1M Chip)" value="A2000"/>
        </feature>
        <feature submenu="EMULATION" name="FLOPPY SPEED" group="ADVANCED SETTINGS" value="floppy_speed" description="'Auto' is the default floppy speed (300RPM). 'Turbo' removes disk rotation emulation." order="108">
          <choice name="1x" value="100"/>
          <choice name="2x" value="200"/>
          <choice name="4x" value="400"/>
          <choice name="8x" value="800"/>
          <choice name="Turbo" value="0"/>
        </feature>
        <feature submenu="EMULATION" name="FLOPPY SOUND" group="ADVANCED SETTINGS" value="floppy_sound" description="Set the volume of the emulated floppy sound." preset="sliderauto" preset-parameters="0 100 5 %" order="109"/>
        <feature submenu="EMULATION" name="WHDLOAD SPLASH SCREEN" group="ADVANCED SETTINGS" value="whdload" description="Space/Enter/Fire works as WHDLoad start button." order="110">
          <choice name="Show if available" value="config"/>
          <choice name="Show briefly" value="splash"/>
          <choice name="Wait for user input" value="both"/>
          <choice name="Off" value="disabled"/>
        </feature>
      <feature submenu="CONTROLS" name="PAD BUTTON LAYOUT" group="ADVANCED SETTINGS" value="pad_options" order="520">
        <choice name="B FIRE / A 2ND FIRE" value="disabled"/>
        <choice name="B FIRE / A UP" value="jump"/>
        <choice name="Y FIRE / B 2ND FIRE" value="rotate"/>
        <choice name="Y FIRE / B UP" value="rotate_jump"/>
      </feature>
      </system>
      <system name="amiga4000">
        <feature submenu="EMULATION" name="MODEL" group="ADVANCED SETTINGS" value="model" description="Specify the Amiga system model to emulate." order="107">
          <choice name="A4000/030 (v3.1, 2M Chip + 8M Fast)" value="A4030"/>
          <choice name="A4000/040 (v3.1, 2M Chip + 8M Fast)" value="A4040"/>
        </feature>
        <feature submenu="EMULATION" name="FLOPPY SPEED" group="ADVANCED SETTINGS" value="floppy_speed" description="'Auto' is the default floppy speed (300RPM). 'Turbo' removes disk rotation emulation." order="108">
          <choice name="1x" value="100"/>
          <choice name="2x" value="200"/>
          <choice name="4x" value="400"/>
          <choice name="8x" value="800"/>
          <choice name="Turbo" value="0"/>
        </feature>
        <feature submenu="EMULATION" name="FLOPPY SOUND" group="ADVANCED SETTINGS" value="floppy_sound" description="Set the volume of the emulated floppy sound." preset="sliderauto" preset-parameters="0 100 5 %" order="109"/>
        <feature submenu="EMULATION" name="WHDLOAD SPLASH SCREEN" group="ADVANCED SETTINGS" value="whdload" description="Space/Enter/Fire works as WHDLoad start button." order="110">
          <choice name="Show if available" value="config"/>
          <choice name="Show briefly" value="splash"/>
          <choice name="Wait for user input" value="both"/>
          <choice name="Off" value="disabled"/>
        </feature>
        <feature submenu="CONTROLS" name="PAD BUTTON LAYOUT" group="ADVANCED SETTINGS" value="pad_options" order="520">
          <choice name="B FIRE / A 2ND FIRE" value="disabled"/>
          <choice name="B FIRE / A UP" value="jump"/>
          <choice name="Y FIRE / B 2ND FIRE" value="rotate"/>
          <choice name="Y FIRE / B UP" value="rotate_jump"/>
        </feature>
      </system>
      <system name="amigacd32">
        <feature submenu="EMULATION" name="MODEL" group="ADVANCED SETTINGS" value="model" description="Specify the Amiga system model to emulate." order="107">
          <choice name="CD32 (2M Chip)" value="CD32"/>
          <choice name="CD32 (2M Chip + 8M Fast)" value="CD32FR"/>
        </feature>
        <feature submenu="EMULATION" name="CD SPEED" group="ADVANCED SETTINGS" value="puae_cd_speed" description="'Turbo' removes seek delay emulation." order="108">
          <choice name="DEFAULT" value="100"/>
          <choice name="TURBO" value="0"/>
        </feature>
        <feature submenu="EMULATION" name="CD INSERT DELAY" group="ADVANCED SETTINGS" value="puae_cd_delay" description="Some games fail to load if the system is powered on with CD inserted. 'YES' inserts CD during boot animation." preset="switchauto" order="109"/>
        <feature submenu="CONTROLS" name="PAD BUTTON LAYOUT" group="ADVANCED SETTINGS" value="pad32_options" order="520">
          <choice name="B Red / A Blue" value="disabled"/>
          <choice name="B Red / A Up" value="jump"/>
          <choice name="Y Red / B Blue" value="rotate"/>
          <choice name="Y Red / B Up" value="rotate_jump"/>
        </feature>
      </system>
      <system name="amigacdtv">
        <feature submenu="EMULATION" name="MODEL" group="ADVANCED SETTINGS" value="model" description="Specify the Amiga system model to emulate." order="105">
          <choice name="CDTV (1MB Chip)" value="CDTV"/>
        </feature>
        <feature submenu="EMULATION" name="CD SPEED" group="ADVANCED SETTINGS" value="puae_cd_speed" description="'Turbo' removes seek delay emulation." order="107">
          <choice name="DEFAULT" value="100"/>
          <choice name="TURBO" value="0"/>
        </feature>
        <feature submenu="EMULATION" name="CD INSERT DELAY" group="ADVANCED SETTINGS" value="puae_cd_delay" description="Some games fail to load if the system is powered on with CD inserted. 'YES' inserts CD during boot animation." preset="switchauto" order="108"/>
        <feature submenu="CONTROLS" name="PAD BUTTON LAYOUT" group="ADVANCED SETTINGS" value="pad_options" order="520">
          <choice name="B FIRE / A 2ND FIRE" value="disabled"/>
          <choice name="B FIRE / A UP" value="jump"/>
          <choice name="Y FIRE / B 2ND FIRE" value="rotate"/>
          <choice name="Y FIRE / B UP" value="rotate_jump"/>
        </feature>
      </system>
    </core>
    <core name="quasi88" features="cheevos, netplay, padtokeyboard">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="AUDIO" group="ADVANCED SETTINGS" name="SOUND BOARD" value="q88_sound_board" description="This option changes the Yamaha sound board on the emulated PC. OPN is the default option. OPNA sound supports more FM channels and PCM samples." order="306">
        <choice name="OPN (Yamaha YM2203)" value="OPN"/>
        <choice name="OPNA (Yamaha YM2608)" value="OPNA"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="MODEL" value="q88_basic_mode" description="Specify the computer model to emulate." order="103">
        <choice name="N88-BASIC V2" value="N88 V2"/>
        <choice name="N88-BASIC V1H" value="N88 V1H"/>
        <choice name="N88-BASIC V1S" value="N88 V1S"/>
        <choice name="N-BASIC" value="N"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="CPU CLOCK" value="q88_cpu_clock" description="This option sets the CPU clock speed of the emulated PC. Overclocking options will make most software run faster than normal." order="104">
        <choice name="4 MHz" value="4"/>
        <choice name="1 MHz (underclock)" value="1"/>
        <choice name="2 MHz (underclock)" value="2"/>
        <choice name="8 MHz" value="8"/>
        <choice name="16 MHz (overclock)" value="16"/>
        <choice name="32 MHz (overclock)" value="32"/>
        <choice name="64 MHz (overclock)" value="64"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="USE PCG-8100" value="q88_pcg-8100" description="This option selects whether or not to emulate the PCG-8100. This option may be required for some PC-8000 series software." preset="switchauto" order="105"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="CONTROLLER TYPE" value="pc88_controller1" description="When using software that requires full keyboard input, it's recommended to use game focus mode as well." order="506">
        <choice name="JOYPAD" value="1"/>
        <choice name="KEYBOARD" value="3"/>
      </feature>
    </core>
    <core name="px68k" features="padtokeyboard, netplay">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SKIP FRAMES" value="px68k_frameskip" description="Skip frames to improve performance, at the cost of choppy motion." order="158">
        <choice name="Full Frame" value="Full Frame"/>
        <choice name="1/2 Frame" value="1/2 Frame"/>
        <choice name="1/3 Frame" value="1/3 Frame"/>
        <choice name="1/4 Frame" value="1/4 Frame"/>
        <choice name="1/5 Frame" value="1/5 Frame"/>
        <choice name="1/6 Frame" value="1/6 Frame"/>
        <choice name="1/8 Frame" value="1/8 Frame"/>
        <choice name="1/16 Frame" value="1/16 Frame"/>
        <choice name="1/32 Frame" value="1/32 Frame"/>
        <choice name="1/60 Frame" value="1/60 Frame"/>
        <choice name="Auto Frame Skip" value="Auto Frame Skip"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="CPU CLOCK" value="px68k_cpuspeed" description="This option sets the CPU clock speed of the emulated PC." order="103">
        <choice name="10MHz (default)" value="10Mhz"/>
        <choice name="16MHz" value="16Mhz"/>
        <choice name="25MHz" value="25Mhz"/>
        <choice name="33MHz (OC)" value="33Mhz (OC)"/>
        <choice name="66MHz (OC)" value="66Mhz (OC)"/>
        <choice name="100MHz (OC)" value="100Mhz (OC)"/>
      </feature>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="RAM SIZE" value="px68k_ramsize" description="Amount of RAM used." order="104">
        <choice name="2MB" value="2MB"/>
        <choice name="3MB" value="3MB"/>
        <choice name="4MB" value="4MB"/>
        <choice name="5MB" value="5MB"/>
        <choice name="6MB" value="6MB"/>
        <choice name="8MB" value="8MB"/>
        <choice name="10MB" value="10MB"/>
        <choice name="12MB" value="12MB"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="CONTROLLER TYPE" value="px68k_joytype" description="Define Gamepad type, applies to both players." order="506">
        <choice name="Default (2 Buttons)" value="Default (2 Buttons)"/>
        <choice name="Megadrive (8 Buttons)" value="CPSF-MD (8 Buttons)"/>
        <choice name="Super Famicom (8 Buttons)" value="CPSF-SFC (8 Buttons)"/>
      </feature>
      <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="POINTER CONTROL" value="px68k_joy_mouse" description="Select Mouse or Joypad to controls in-game virtual pointer." order="507">
        <choice name="Mouse" value="Mouse"/>
        <choice name="Joystick" value="Joystick"/>
      </feature>
      <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="SELECT BUTTON MAPPING" value="px68k_joy1_select" description="Some games need a specific keyboard key to perform some actions, define the key to map to the SELECT button of player 1 controller." order="508">
        <choice name="Default" value="Default"/>
        <choice name="XF1" value="XF1"/>
        <choice name="XF2" value="XF2"/>
        <choice name="XF3" value="XF3"/>
        <choice name="XF4" value="XF4"/>
        <choice name="XF5" value="XF5"/>
        <choice name="OPT1" value="OPT1"/>
        <choice name="OPT2" value="OPT2"/>
        <choice name="F1" value="F1"/>
        <choice name="F2" value="F2"/>
      </feature>
    </core>
    <core name="x1" features="padtokeyboard">
      <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="INTERNAL RESOLUTION" value="x1_resolute" order="251">
        <choice name="LOW" value="LOW"/>
        <choice name="HIGH" value="HIGH"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="ROM TYPE" value="x1_romtype" order="103">
        <choice name="X1" value="X1"/>
        <choice name="TURBO" value="TURBO"/>
        <choice name="TURBOZ" value="TURBOZ"/>
      </feature>
      <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="KEY MODE" value="x1_keymode" order="505">
        <choice name="KEYBOARD" value="Keyboard"/>
        <choice name="JOYKEY-1" value="JoyKey-1"/>
        <choice name="JOYKEY-2" value="JoyKey-2"/>
        <choice name="MOUSE-KEY" value="Mouse-Key"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="506"/>
    </core>
    <core name="scummvm" features="padtokeyboard">
      <feature submenu="AUDIO" name="SOUND MODE" group="ADVANCED SETTINGS" value="SoundMode" order="306">
        <choice name="FluidSynth" value="fluidsynth"/>
        <choice name="Emulated MT-32" value="emulated_mt32"/>
        <choice name="True MT-32" value="true_mt32"/>
        <choice name="AdLib (MAME OPL)" value="adlib_mame"/>
        <choice name="AdLib (DOSBOX OPL)" value="adlib_dosbox"/>
        <choice name="AdLib (NUKED OPL)" value="adlib_nuked"/>
        <choice name="PC Speaker" value="pcspeaker"/>
        <choice name="IBM PCjr" value="pcjr"/>
        <choice name="Creative Music System" value="cms"/>
        <choice name="No Sound" value="disabled"/>
      </feature>
      <feature submenu="AUDIO" name="MIXED ADLIB/MIDI" group="ADVANCED SETTINGS" value="multi_midi" order="307">
        <choice name="ON" value="true"/>
        <choice name="OFF" value="false"/>
      </feature>
      <feature submenu="AUDIO" name="MIDI SOUNDFONT" group="ADVANCED SETTINGS" value="soundfont" order="308">
        <choice name="Roland SC-55" value="Roland_SC-55.sf2"/>
        <choice name="Roland SC-88" value="Roland_SC-88.sf2"/>
      </feature>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="TEXT AND SPEECH" group="ADVANCED SETTINGS" value="TextSpeech" order="103">
        <choice name="Speech" value="Speech"/>
        <choice name="Subtitles" value="Subtitles"/>
        <choice name="Both" value="Both"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="ANALOG CURSOR RESPONSE" group="ADVANCED SETTINGS" value="scummvm_analog_response" order="506">
        <choice name="linear" value="linear"/>
        <choice name="quadratic" value="quadratic"/>
      </feature>
    </core>
    <core name="supermodel">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="supermodel_resolution" description="Modify rendering resolution." order="20">
        <choice name="NATIVE" value="native"/>
        <choice name="2X" value="2x"/>
        <choice name="3X" value="3x"/>
        <choice name="4X" value="4x"/>
      </feature>
      <feature submenu="VIDEO" name="VSYNC (CORE)" group="ADVANCED SETTINGS" value="supermodel_vsync" preset="switchauto" order="158"/>
      <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="supermodel_wide_screen" preset="switchauto" order="159"/>
      <feature submenu="CONTROLS" name="SERVICE BUTTONS" group="ADVANCED SETTINGS" value="supermodel_service_buttons" order="505">
        <choice name="STICK BUTTONS" value="sticks"/>
        <choice name="L/L2 - R/R2" value="shoulders"/>
      </feature>
      <feature submenu="CONTROLS" name="JOYSTICK SENSITIVITY" value="supermodel_analog_sensitivity" group="ADVANCED SETTINGS" preset="sliderauto" preset-parameters="50 150 25 %" order="506"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="551"/>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="supermodel_crosshairs" preset="switchauto" order="552"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="553"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="554"/>
      <feature submenu="WHEELS" name="ENABLE FORCE FEEDBACK" group="ADVANCED SETTINGS" value="supermodel_force_feedback" preset="switchauto" order="602"/>
    </core>
    <core name="tgbdual" features="netplay, softpatch">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="applyPatch" order="103"/>
      <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="tgbdual_screen_placement" description="Choose the disposition of the emulated screens for 2 players games." order="158">
        <choice name="SIDE BY SIDE" value="left-right"/>
        <choice name="TOP / BOTTOM" value="top-down"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="507"/>
    </core>
    <core name="theodore" features="padtokeyboard, netplay">
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
    </core>
    <core name="tyrquake">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="quake_resolution" order="20">
        <choice name="NATIVE (320x200)" value="320x200"/>
        <choice name="2X (640x400)" value="640x400"/>
        <choice name="3X (960x600)" value="960x600"/>
        <choice name="4X (1280x800)" value="1280x800"/>
        <choice name="5X (1600x1000)" value="1600x1000"/>
        <choice name="6X (1920x1200)" value="1920x1200"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="quake_device_type" order="506">
        <choice name="CLASSIC GAMEPAD" value="1"/>
        <choice name="ALT. CLASSIC GAMEPAD" value="513"/>
        <choice name="MODERN GAMEPAD" value="773"/>
        <choice name="KEYBOARD AND MOUSE" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="INVERT VERTICAL AXIS" group="ADVANCED SETTINGS" value="quake_invert_y_axis" description="Invert the gamepad right analog stick's vertical axis." preset="switchauto" order="507"/>
      <feature submenu="CONTROLS" name="ANALOG DEADZONE(CORE)" group="ADVANCED SETTINGS" value="quake_analog_deadzone" description="Sets the deadzone of the Gamepad analog sticks when the input device type is set to 'Gamepad Classic' or 'Gamepad Modern'." preset="sliderauto" preset-parameters="0 25 5 %" order="508"/>
      <feature submenu="CONTROLS" name="ENABLE RUMBLE" group="ADVANCED SETTINGS" value="quake_rumble" description="Enables joypad rumble." preset="switchauto" order="509"/>
    </core>
    <core name="vitaquake2, vitaquake2-rogue, vitaquake2-xatrix, vitaquake2-zaero">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="vitaquakeii_resolution" order="20">
        <choice name="NATIVE (960x544)" value="960x544"/>
        <choice name="320x240" value="320x240"/>
        <choice name="400x240" value="400x240"/>
        <choice name="480x272" value="480x272"/>
        <choice name="512x384" value="512x384"/>
        <choice name="640x368" value="640x368"/>
        <choice name="640x480" value="640x480"/>
        <choice name="720x408" value="720x408"/>
        <choice name="800x600" value="800x600"/>
        <choice name="960x544" value="960x544"/>
        <choice name="1024x768" value="1024x768"/>
        <choice name="1280x720" value="1280x720"/>
        <choice name="1280x800" value="1280x800"/>
        <choice name="1280x1024(OPENGL ONLY)" value="1280x1024"/>
        <choice name="1440x900" value="1440x900"/>
        <choice name="1600x900" value="1600x900"/>
        <choice name="1680x1050" value="1680x1050"/>
        <choice name="1920x1080" value="1920x1080"/>
        <choice name="1920x1200" value="1920x1200"/>
        <choice name="2560x1080(OPENGL ONLY)" value="2560x1080"/>
        <choice name="2560x1440(OPENGL ONLY)" value="2560x1440"/>
        <choice name="2560x1600(OPENGL ONLY)" value="2560x1600"/>
        <choice name="3440x1440(OPENGL ONLY)" value="3440x1440"/>
        <choice name="3840x2160(OPENGL ONLY)" value="3840x2160"/>
        <choice name="5120x2880(OPENGL ONLY)" value="5120x2880"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="vitaquakeii_gl_texture_filtering" description="Select texture filtering mode, only compatible with OpenGL." order="251">
        <choice name="NEAREST HQ" value="nearest_hq"/>
        <choice name="LINEAR HQ" value="linear_hq"/>
        <choice name="NEAREST" value="nearest"/>
        <choice name="LINEAR" value="linear"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="DYNAMIC SHADOWS" value="vitaquakeii_gl_shadows" group="ADVANCED SETTINGS" description="Enable casting shadows from in-game objects, only compatible with OpenGL." preset="switchauto" order="252"/>
      <feature submenu="VISUAL RENDERING" name="WEAPON POSITION" value="vitaquakeii_hand" group="ADVANCED SETTINGS" description="Define the location of the currently held weapon." order="253">
        <choice name="RIGHT" value="right"/>
        <choice name="LEFT" value="left"/>
        <choice name="CENTER" value="center"/>
        <choice name="HIDDEN" value="hidden"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="SHOW CROSSHAIR" value="vitaquakeii_xhair" group="ADVANCED SETTINGS" description="Enable in-game crosshair to facilitate aiming." order="254">
        <choice name="WHITE CROSS" value="cross"/>
        <choice name="RED DOT" value="dot"/>
        <choice name="RED ANGLE" value="angle"/>
        <choice name="DISABLED" value="disabled"/>
      </feature>
      <feature submenu="DRIVERS" name="VIDEO" value="vitaquakeii_renderer" group="ADVANCED SETTINGS" order="404">
        <choice name="OPENGL" value="opengl"/>
        <choice name="SOFTWARE" value="software"/>
      </feature>
      <feature submenu="USER INTERFACE" name="DISPLAY FPS" value="vitaquakeii_fps" group="ADVANCED SETTINGS" description="Show FPS overlay in-game." preset="switchauto" order="453"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="505"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="quake2_device_type" order="506">
        <choice name="ANALOG GAMEPAD" value="1"/>
        <choice name="KEYBOARD/MOUSE" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="INVERT VERTICAL AXIS" group="ADVANCED SETTINGS" value="vitaquakeii_invert_y_axis" description="Invert the gamepad right analog stick's vertical axis." preset="switchauto" order="507"/>
      <feature submenu="CONTROLS" name="ANALOG DEADZONE(CORE)" group="ADVANCED SETTINGS" value="vitaquakeii_analog_deadzone" description="Sets the deadzone of the Gamepad analog sticks when the input device type is set to 'Gamepad Classic' or 'Gamepad Modern'." preset="sliderauto" preset-parameters="0 25 5 %" order="508"/>
      <feature submenu="CONTROLS" name="MOUSE SENSITIVITY" value="vitaquakeii_mouse_sensitivity" group="ADVANCED SETTINGS" description="Change the sensitivity of the mouse." preset="sliderauto" preset-parameters="0.4 5.0 0.2" order="509"/>
      <feature submenu="CONTROLS" name="ENABLE RUMBLE" group="ADVANCED SETTINGS" value="vitaquakeii_rumble" description="Enables joypad rumble." preset="switchauto" order="510"/>
      <feature submenu="CONTROLS" name="ACCURATE AIMING" group="ADVANCED SETTINGS" value="vitaquakeii_aimfix" description="Activate aim help mechanism." preset="switchauto" order="511"/>
    </core>
    <core name="vecx" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="vecx_res_multi" description="Higher multiplier will make lines appear more linear." order="20">
        <choice name="1X" value="1"/>
        <choice name="2X" value="2"/>
        <choice name="3X" value="3"/>
        <choice name="4X" value="4"/>
      </feature>
      <feature submenu="VIDEO" name="USE HARDWARE RENDERER" group="ADVANCED SETTINGS" value="vecx_use_hw" preset="switchauto" order="160"/>
    </core>
    <core name="virtualjaguar" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="FAST BLITTER" group="ADVANCED SETTINGS" value="usefastblitter" description="Use the older and less compatible faster blitter" preset="switchauto" order="103"/>
      <feature submenu="EMULATION" name="PAL MODE" group="ADVANCED SETTINGS" value="vj_pal" description="Forces console to PAL mode instead of NTSC, might feel sluggish." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="START ORIGINAL BIOS" group="ADVANCED SETTINGS" value="bios_vj" description="Show animation when starting (Breaks some games)" preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="FIX DOOM RESOLUTION" group="ADVANCED SETTINGS" value="doom_res_hack" description="Enable for Doom to run at its correct resolution" preset="switchauto" order="106"/>
      <feature submenu="CONTROLS" name="MAP JAGUAR PRO CONTROLLER" group="ADVANCED SETTINGS" value="virtualjaguar_procontroller" preset="switchauto" order="505"/>
    </core>
    <core name="wasm4" features="cheevos, netplay">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <core name="yabasanshiro">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="yabasanshiro_resolution_mode" description="Modify rendering resolution." order="20">
        <choice name="NATIVE" value="original"/>
        <choice name="2X" value="2x"/>
        <choice name="4X" value="4x"/>
        <choice name="720p" value="720p"/>
        <choice name="1080p" value="1080p"/>
        <choice name="4K" value="4k"/>
      </feature>
      <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="yabasanshiro_frameskip" description="Skip frames to improve performance (smoothless)." preset="switchauto" order="158"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
      <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="yabasanshiro_system_language" order="103">
        <choice name="English" value="english"/>
        <choice name="Italiano" value="italian"/>
        <choice name="Deutsch" value="deutsch"/>
        <choice name="Español" value="spanish"/>
        <choice name="Français" value="french"/>
        <choice name="日本語 (Japanese)" value="japanese"/>
      </feature>
      <feature submenu="EMULATION" name="ADD-ON CARTRIDGE" group="ADVANCED SETTINGS" value="yabasanshiro_addon_cart" description="Certain games require an external cartridge to run." order="104">
        <choice name="1M EXTENDED RAM" value="1M_extended_ram"/>
        <choice name="4M EXTENDED RAM" value="4M_extended_ram"/>
      </feature>
      <feature submenu="EMULATION" name="HLE BIOS" group="ADVANCED SETTINGS" value="yabasanshiro_force_hle_bios" description="Force use of high-level BIOS emulation." preset="switchauto" order="105"/>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="yabasanshiro_multitap" order="505">
        <choice name="NO" value="disabled"/>
        <choice name="PORT 1" value="port1"/>
        <choice name="PORT 2" value="port2"/>
        <choice name="BOTH PORTS" value="ports"/>
      </feature>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="yabasanshiro_controller" order="506">
        <choice name="SATURN PAD" value="1"/>
        <choice name="3D PAD" value="5"/>
      </feature>
      <feature submenu="CONTROLS" name="INVERT TRIGGERS AND SHOULDERS" group="ADVANCED SETTINGS" value="saturn_invert_triggers" description="Use shoulder buttons for L and R instead of triggers." preset="switchauto" order="507"/>
      <feature submenu="CONTROLS" name="USE SATURN-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="saturn_pad" preset="switchauto" order="508"/>
    </core>
    <core name="yabause" features="cheevos">
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    </core>
    <!-- PORTS FEATURES -->
    <system name="ports">
      <!-- CRAFT -->
      <feature submenu="CRAFT" name="INTERNAL RESOLUTION" group="PORT SETTINGS" value="craft_resolution" description="Improve the resolution at the cost of increased performance requirements." order="100">
        <choice name="640x480" value="640x480"/>
        <choice name="320x200" value="320x200"/>
        <choice name="320x480" value="320x480"/>
        <choice name="640x400" value="640x400"/>
        <choice name="800x600" value="800x600"/>
        <choice name="960x600" value="960x600"/>
        <choice name="960x720" value="960x720"/>
        <choice name="1024x768" value="1024x768"/>
        <choice name="1280x720" value="1280x720"/>
        <choice name="1280x800" value="1280x800"/>
        <choice name="1366x768" value="1366x768"/>
        <choice name="1600x900" value="1600x900"/>
        <choice name="1600x1000" value="1600x1000"/>
        <choice name="1920x1080" value="1920x1080"/>
        <choice name="1920x1200" value="1920x1200"/>
        <choice name="2048x2048" value="2048x2048"/>
        <choice name="2240x1400" value="2240x1400"/>
        <choice name="2560x1600" value="2560x1600"/>
        <choice name="2880x1800" value="2880x1800"/>
        <choice name="3200x2000" value="3200x2000"/>
        <choice name="3840x2400" value="3840x2400"/>
      </feature>
      <feature submenu="CRAFT" name="FIELD OF VIEW" group="PORT SETTINGS" value="craft_field_of_view" description="Configure the field of view (higher is wider)." preset="sliderauto" preset-parameters="65 150 5" order="101"/>
      <feature submenu="CRAFT" name="DRAW DISTANCE" group="PORT SETTINGS" value="craft_draw_distance" description="The higher the value the further away objects will be displayed." preset="sliderauto" preset-parameters="1 32 2" order="102"/>
      <feature submenu="CRAFT" name="SHOW INFO" group="PORT SETTINGS" value="craft_show_info_text" description="Show game information in the upper left corner of Craft." preset="switchauto" order="103"/>
      <feature submenu="CRAFT" name="INVERT AIM" group="PORT SETTINGS" value="craft_inverted_aim" description="Invert up and down crosshair aiming controls." preset="switchauto" order="104"/>
      <!-- GONG -->
      <feature submenu="GONG" name="PLAYERS" group="PORT SETTINGS" value="gong_player2" order="100">
        <choice name="1" value="CPU"/>
        <choice name="2" value="Human"/>
      </feature>
      <!-- MR BOOM -->
      <feature submenu="MR BOOM" name="GAME ASPECT RATIO" group="PORT SETTINGS" value="mrboom_aspect" order="100">
        <choice name="NATIVE" value="Native"/>
        <choice name="4/3" value="4:3"/>
        <choice name="16/9" value="16:9"/>
      </feature>
      <feature submenu="MR BOOM" name="LEVEL SELECT" group="PORT SETTINGS" value="mrboom_levelselect" description="use this to automatically start to a specified level." order="100">
        <choice name="CANDY" value="Candy"/>
        <choice name="PENGUINS" value="Penguins"/>
        <choice name="PINK" value="Pink"/>
        <choice name="JUNGLE" value="Jungle"/>
        <choice name="BOARD" value="Board"/>
        <choice name="SOCCER" value="Soccer"/>
        <choice name="SKY" value="Sky"/>
        <choice name="ALIENS" value="Aliens"/>
        <choice name="RANDOM" value="Random"/>
      </feature>
      <feature submenu="MR BOOM" name="TEAM MODE" group="PORT SETTINGS" value="mrboom_teammode" order="101">
        <choice name="SELFIE" value="Selfie"/>
        <choice name="COLOR" value="Color"/>
        <choice name="SEX" value="Sex"/>
        <choice name="SKYNET" value="Skynet"/>
      </feature>
    </system>
  </emulator>
  <!-- STANDALONE EMULATORS FEATURES -->
  <!-- ALTIRRA -->
  <emulator name="altirra" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="EMULATION" name="SELECT PROFILE AUTOMATICALLY" group="ADVANCED SETTINGS" value="altirra_autoprofile" description="Let ALTIRRA choose the profile based on the game." preset="switchauto" order="100"/>
    <feature submenu="EMULATION" name="KERNEL" group="ADVANCED SETTINGS" value="altirra_kernel" order="101">
      <choice name="DEFAULT" value="default"/>
      <choice name="INTERNAL" value="internal"/>
    </feature>
    <feature submenu="EMULATION" name="FORCE MACHINE" group="ADVANCED SETTINGS" value="altirra_machine" order="102">
      <choice name="ATARI 800" value="800"/>
      <choice name="ATARI 5200" value="5200"/>
      <choice name="ATARI XEGS" value="XEGS"/>
      <choice name="ATARI 1200XL" value="1200XL"/>
      <choice name="ATARI 600XL/800XL" value="XL"/>
    </feature>
    <system name="atari800">
      <feature submenu="VIDEO" name="VIDEO STANDARD" group="ADVANCED SETTINGS" value="altirra_videostandard" order="152">
        <choice name="NTSC" value="ntsc"/>
        <choice name="PAL" value="pal"/>
        <choice name="SECAM" value="secam"/>
        <choice name="NTSC 50" value="ntsc50"/>
        <choice name="PAL 60" value="pal60"/>
      </feature>
    </system>
    <system name="atari5200">
      <feature submenu="VIDEO" name="VIDEO STANDARD" group="ADVANCED SETTINGS" value="altirra_videostandard" order="152">
        <choice name="NTSC" value="ntsc"/>
        <choice name="NTSC 50" value="ntsc50"/>
      </feature>
      <feature submenu="EMULATION" name="SELECT CART" group="ADVANCED SETTINGS" value="altirra_cartmapper" order="103">
        <choice name="5200 8K" value="19"/>
        <choice name="8K" value="1"/>
        <choice name="RIGHT SLOT 8K" value="21"/>
        <choice name="PHOENIX 8K" value="39"/>
        <choice name="OSS 8K" value="44"/>
        <choice name="8K TELELINK II" value="78"/>
        <choice name="JCART 8K" value="104"/>
      </feature>
    </system>
    <system name="xegs">
      <feature submenu="VIDEO" name="VIDEO STANDARD" group="ADVANCED SETTINGS" value="altirra_videostandard" order="152">
        <choice name="NTSC" value="ntsc"/>
        <choice name="PAL" value="pal"/>
        <choice name="SECAM" value="secam"/>
        <choice name="NTSC 50" value="ntsc50"/>
        <choice name="PAL 60" value="pal60"/>
      </feature>
      <feature submenu="EMULATION" name="SELECT CART" group="ADVANCED SETTINGS" value="altirra_cartmapper" order="103">
        <choice name="64K XEGS" value="13"/>
        <choice name="64K XEGS ALTERNATE" value="67"/>
        <choice name="WILLIAMS 64K" value="8"/>
        <choice name="EXPRESS 64K" value="9"/>
        <choice name="DIAMOND 64K" value="10"/>
        <choice name="SPARTADOS X 64K" value="11"/>
        <choice name="64K MEGACART" value="28"/>
        <choice name="64K SWITCHABLE XEGS" value="34"/>
        <choice name="ATRAX SDX 64K" value="48"/>
        <choice name="TURBOSOFT 64K" value="50"/>
        <choice name="ADAWLIAH 64K" value="70"/>
        <choice name="JRC RAMBOX" value="80"/>
        <choice name="MDDOS" value="81"/>
        <choice name="JCART 64K" value="107"/>
        <choice name="JRC 64K" value="160"/>
        <choice name="5200 64K SUPERCART" value="71"/>
      </feature>
    </system>
    <feature submenu="VIDEO" name="CTIA VIDEO CHIP" group="ADVANCED SETTINGS" value="altirra_ctia" description="A few very early games require CTIA chip to display properly." preset="switchauto" order="155"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="altirra_renderer" order="400">
      <choice name="DIRECT3D 11" value="d3d11"/>
      <choice name="DIRECT3D 9" value="d3d9"/>
    </feature>
    <feature submenu="DRIVERS" name="INPUT" group="ADVANCED SETTINGS" value="altirra_inputdriver" order="401">
      <choice name="DIRECTINPUT" value="dinput"/>
      <choice name="XINPUT" value="xinput"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE USE OF PORT 2" group="ADVANCED SETTINGS" value="altirra_joyport2" preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="USE LEFT STICK" group="ADVANCED SETTINGS" value="altirra_usestick" preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="FORCE PLAYER 1 PAD INDEX" group="ADVANCED SETTINGS" value="altirra_forcepadindex1" order="502">
      <choice name="1" value="1"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 2 PAD INDEX" group="ADVANCED SETTINGS" value="altirra_forcepadindex2" order="503">
      <choice name="1" value="1"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
  </emulator>
  <!-- AMIGA FOREVER -->
  <emulator name="amigaforever">
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
  </emulator>
  <!-- APPLEWIN -->
  <emulator name="applewin" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="SCREEN TYPE" group="ADVANCED SETTINGS" value="screentype" order="250">
      <choice name="Monochrome (Custom)" value="0"/>
      <choice name="Color (Composite Idealized)" value="1"/>
      <choice name="Color (RGB Card/Monitor)" value="2"/>
      <choice name="Color (Composite Monitor)" value="3"/>
      <choice name="Color TV" value="4"/>
      <choice name="Black and White TV" value="5"/>
      <choice name="Monochrome (Amber)" value="6"/>
      <choice name="Monochrome (Green)" value="7"/>
      <choice name="Monochrome (White)" value="8"/>
    </feature>
    <feature submenu="EMULATION" name="MACHINE TYPE" group="ADVANCED SETTINGS" value="cputype" order="100">
      <choice name="Apple ][ (Original)" value="apple2"/>
      <choice name="Apple ][+" value="apple2p"/>
      <choice name="Apple ][ J-Plus" value="apple2jp"/>
      <choice name="Apple //e" value="apple2e"/>
      <choice name="Enhanced Apple //e" value="apple2ee"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 1 JOYSTICK TYPE" group="ADVANCED SETTINGS" value="applewin_joytype1" order="500">
      <choice name="JOYSTICK" value="1"/>
      <choice name="KEYBOARD (CURSOR)" value="2"/>
      <choice name="KEYBOARD (NUMPAD)" value="3"/>
      <choice name="MOUSE" value="4"/>
      <choice name="DISABLED" value="0"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 JOYSTICK TYPE" group="ADVANCED SETTINGS" value="applewin_joytype2" order="500">
      <choice name="DISABLED" value="0"/>
      <choice name="JOYSTICK" value="1"/>
      <choice name="KEYBOARD (CURSOR)" value="2"/>
      <choice name="KEYBOARD (NUMPAD)" value="3"/>
      <choice name="MOUSE" value="4"/>
      <choice name="JOYSTICK 1 RightStick" value="5"/>
    </feature>
  </emulator>
  <!-- ARCADEFLASHWEB -->
  <emulator name="arcadeflashweb" features="padtokeyboard">
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
  </emulator>
  <!-- ARES -->
  <emulator name="ares" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <!--<feature name="SHADER SET" group="GENERAL SETTINGS" value="ares_shaders" order="6">
      <choice name="NONE" value="none"/>
      <choice name="BLUR" value="Blur"/>
      <choice name="Anamorphic" value="anamorphic/anamorphic"/>
      <choice name="FXAA" value="anti-aliasing/fxaa"/>
      <choice name="SMAA + Sharpen" value="anti-aliasing/smaa+sharpen"/>
      <choice name="Gaussian blur" value="blurs/gaussian_blur"/>
      <choice name="Gaussian blur (2 pass)" value="blurs/gaussian_blur_2_pass"/>
      <choice name="MMJ Cel Shader" value="cel/MMJ_Cel_Shader"/>
      <choice name="CRT Aperture" value="crt/crt-aperture"/>
      <choice name="CRT Geom" value="crt/crt-geom"/>
      <choice name="CRT Geom Simple" value="presets/crt-geom-simple"/>
      <choice name="CRT Geom deluxe" value="crt/crt-geom-deluxe"/>
      <choice name="CRT Easymode" value="crt/crt-easymode"/>
      <choice name="CRT Hylian" value="crt/crt-hyllian"/>
      <choice name="CRT Lottes" value="crt/crt-lottes"/>
      <choice name="CRT Royale" value="crt/crt-royale"/>
      <choice name="CRT NewPixie" value="crt/newpixie-crt"/>
      <choice name="CRT Zfast" value="crt/zfast-crt"/>
      <choice name="Dithering Bayer4x4" value="dithering/bayer_4x4"/>
      <choice name="Technicolor" value="film/technicolor"/>
      <choice name="SuperEagle" value="edge-smoothing/eagle/supereagle"/>
      <choice name="Super-2xsai" value="edge-smoothing/eagle/super-2xsai"/>
      <choice name="HQ2x" value="edge-smoothing/hqx/hq2x"/>
      <choice name="HQ4x" value="edge-smoothing/hqx/hq2x"/>
      <choice name="ScaleFX" value="edge-smoothing/scalefx/scalefx"/>
      <choice name="ScaleHQ2x" value="edge-smoothing/scalehq/2xScaleHQ"/>
      <choice name="ScaleHQ4x" value="edge-smoothing/scalehq/4xScaleHQ"/>
      <choice name="Xbrz4x" value="edge-smoothing/xbrz/4xbrz-linear"/>
      <choice name="NTSC 320px composite" value="ntsc/ntsc-320px-composite"/>
      <choice name="NTSC 320px svideo" value="ntsc/ntsc-320px-svideo"/>
      <choice name="Scanlines" value="scanlines/res-independent-scanlines"/>
      <choice name="VHS Pro" value="vhs/VHSPro"/>
      <choice name="TV out" value="presets/tvout/tvout"/>
      <choice name="My old TV" value="presets/my_old_tv"/>
      <choice name="Mega-Bezel Smooth Advanced" value="bezel/Mega_Bezel/Presets/MBZ__0__SMOOTH-ADV-GLASS"/>
      <choice name="Mega-Bezel Advanced" value="bezel/Mega_Bezel/Presets/MBZ__2__ADV-GLASS"/>
      <choice name="Mega-Bezel Advanced (no reflection)" value="bezel/Mega_Bezel/Presets/MBZ__2__ADV-NO-REFLECT"/>
      <choice name="Mega-Bezel Standard" value="bezel/Mega_Bezel/Presets/MBZ__3__STD-GLASS"/>
      <choice name="Mega-Bezel Standard (no reflection)" value="bezel/Mega_Bezel/Presets/MBZ__4__STD-NO-REFLECT"/>
      <choice name="Mega-Bezel Potato" value="bezel/Mega_Bezel/Presets/MBZ__5__POTATO"/>
      <choice name="Koko-aio Base" value="bezel/koko-aio/Presets-4.1/tv-BASE"/>
      <choice name="Koko-aio FXAA Bloom" value="bezel/koko-aio/Presets-4.1/FXAA-bloom"/>
      <choice name="Koko-aio Monitor Slotmask" value="bezel/koko-aio/Presets-4.1/monitor-slotmask"/>
      <choice name="Koko-aio Aperture Grille" value="bezel/koko-aio/Presets-4.1/tv-aperturegrille"/>
      <choice name="Koko-aio TV NTSC" value="bezel/koko-aio/Presets-4.1/tv-NTSC-1"/>
      <choice name="Koko-aio TV Slotmask" value="bezel/koko-aio/Presets-4.1/tv-slotmask"/>
    </feature>-->
    <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="ares_aspect" order="25">
      <choice name="SCALE (BEST FIT)" value="Scale"/>
      <choice name="SCALE (INTEGER)" value="Integer"/>
      <choice name="STRETCH" value="Stretch"/>
    </feature>
	<feature name="ASPECT CORRECTION MODE" group="GENERAL SETTINGS" value="ares_aspectcorrection" order="26">
      <choice name="STANDARD" value="Standard"/>
      <choice name="NONE" value="None"/>
      <choice name="ANAMORPHIC (16:9)" value="Anamorphic"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="150"/>
    <feature submenu="VIDEO" name="VIDEO SYNC" group="ADVANCED SETTINGS" value="ares_gpusync" order="152">
      <choice name="SYNC" value="sync"/>
      <choice name="GPU SYNC ONLY" value="gpu"/>
      <choice name="SYNC + GPU" value="gpusync"/>
      <choice name="NO" value="none"/>
    </feature>
    <feature submenu="VIDEO" name="ADJUST LUMINANCE" group="ADVANCED SETTINGS" value="ares_luminance" preset="sliderauto" preset-parameters="0.00 1.00 0.04 %" order="160"/>
    <feature submenu="VIDEO" name="ADJUST SATURATION" group="ADVANCED SETTINGS" value="ares_saturation" preset="sliderauto" preset-parameters="0.00 2.00 0.04 %" order="161"/>
    <feature submenu="VIDEO" name="ADJUST GAMMA" group="ADVANCED SETTINGS" value="ares_gamma" preset="sliderauto" preset-parameters="1.00 2.00 0.04 %" order="162"/>
    <feature submenu="VISUAL RENDERING" name="COLOR BLEED" group="ADVANCED SETTINGS" value="ares_colobleed" description="Blurs adjacent pixels for translucency effects." preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="ACCURATE COLOR EMULATION" group="ADVANCED SETTINGS" value="ares_coloremulation" description="Matches colors to how they look on real hardware." preset="switchauto" order="251"/>
    <feature submenu="VISUAL RENDERING" name="INTERFRAME BLENDING" group="ADVANCED SETTINGS" value="ares_interframe_blend" description="Emulates LCD translucency effects, but increase motion blur." preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="OVERSCAN" group="ADVANCED SETTINGS" value="ares_overscan" description="Shows extended PAL CRT lines, but these are usually blank in most games." preset="switchauto" order="253"/>
    <feature submenu="VISUAL RENDERING" name="PIXEL ACCURACY" group="ADVANCED SETTINGS" value="ares_pixel_accurate" description="Use pixel-accurate emulation where available." preset="switchauto" order="254"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="101"/>
    <feature submenu="EMULATION" name="PREFERRED REGION" group="ADVANCED SETTINGS" value="ares_region" order="102">
      <choice name="PAL" value="PAL"/>
      <choice name="NTSC(US)" value="NTSC-U"/>
      <choice name="NTSC(JAPAN)" value="NTSC-J"/>
    </feature>
    <feature submenu="EMULATION" name="FAST BOOT" group="ADVANCED SETTINGS" value="ares_fastboot" preset="switchauto" order="103"/>
    <feature submenu="LATENCY REDUCTION" name="ENABLE RUN-AHEAD" group="ADVANCED SETTINGS" value="ares_runahead" description="Removes one frame of input lag, but doubles system requirements." preset="switchauto" order="350"/>
    <feature name="VIDEO" submenu="DRIVERS" group="ADVANCED SETTINGS" value="ares_renderer" order="400">
      <choice name="OPENGL" value="OpenGL 3.2"/>
      <choice name="DIRECT3D 9" value="Direct3D 9.0"/>
      <choice name="GDI" value="GDI"/>
    </feature>
    <feature name="AUDIO" submenu="DRIVERS" group="ADVANCED SETTINGS" value="ares_audio_renderer" order="300">
      <choice name="WASAPI" value="WASAPI"/>
      <choice name="XAUDIO2" value="XAudio 2.1"/>
      <choice name="SDL" value="SDL"/>
      <choice name="DIRECTSOUND" value="DirectSound 7.0"/>
      <choice name="WAVEOUT" value="waveOut"/>
    </feature>
    <feature submenu="AUDIO" name="AUDIO SYNC" group="ADVANCED SETTINGS" value="ares_audiosync" preset="switchauto" order="301"/>
    <system name="gb,gba,gbc">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </system>
    <system name="mastersystem">
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Rotate face buttons to change layout." preset="switchauto" order="500"/>
    </system>
    <system name="megadrive,genesis">
      <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad" preset="switchauto" order="500"/>
    </system>
    <system name="n64,n64dd">
      <feature submenu="VIDEO" name="QUALITY" group="ADVANCED SETTINGS" value="ares_n64_quality" order="151">
        <choice name="SD" value="SD"/>
        <choice name="HD" value="HD"/>
        <choice name="UHD" value="UHD"/>
      </feature>
      <feature submenu="VIDEO" name="SUPERSAMPLING" group="ADVANCED SETTINGS" value="ares_supersampling" description="Scales HD and UHD resolutions back down to SD, not compatible with weave deinterlacing." preset="switchauto" order="152"/>
      <feature submenu="VIDEO" name="WEAVE DEINTERLACING" group="ADVANCED SETTINGS" value="ares_weavedeinterlacing" description="Doubles the perceived horizontal resolution, incompatible with supersampling." preset="switchauto" order="153"/>
      <feature submenu="CONTROLS" name="CONTROLLER LAYOUT" value="ares64_inputprofile" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="500">
        <choice name="Z=LEFT-TRIGGER" value="zl"/>
        <choice name="Z=RIGHT-TRIGGER" value="zr"/>
        <choice name="XBOX" value="xbox"/>
      </feature>
      <feature submenu="EMULATION" name="ENABLE 4MB RAM PACK" group="ADVANCED SETTINGS" value="ares_ExpansionPak" description="Disabling the 4MB expansion RAM pack may be necessary for some games." preset="switchauto" order="110"/>
      <feature submenu="CONTROLS" name="USE N64-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="n64_pad" preset="switchauto" order="501"/>
    </system>
    <system name="nes,famicom">
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Rotate face buttons to change layout." preset="switchauto" order="500"/>
    </system>
    <system name="satellaview">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </system>
    <system name="sega32x,megacd,segacd">
      <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad" preset="switchauto" order="500"/>
    </system>
    <system name="snes,sfc">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </system>
  </emulator>
  <!-- AZAHAR -->
  <emulator name="azahar" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="azahar_resolution_factor" order="20">
      <choice name="NATIVE (400x240)" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X" value="8"/>
      <choice name="9X" value="9"/>
      <choice name="10X" value="10"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="azahar_layout_option" description="Choose the disposition of the emulated screens." order="152">
      <choice name="TOP-BOTTOM SCREEN" value="0"/>
      <choice name="SINGLE SCREEN ONLY" value="1"/>
      <choice name="LARGE SCREEN / SMALL SCREEN" value="2"/>
      <choice name="SIDE BY SIDE" value="3"/>
      <choice name="SEPARATED WINDOWS" value="4"/>
      <choice name="HYBRID" value="5"/>
    </feature>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SWAP SCREEN" value="azahar_swap_screen" description="Set the bottom screen as prominent." preset="switchauto" order="153"/>
    <sharedFeature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" value="smooth" order="250"/>
    <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="TEXTURE FILTERING" value="azahar_texture_filter" order="251">
      <choice name="NONE" value="0"/>
      <choice name="ANIME4K" value="1"/>
      <choice name="BICUBIC" value="2"/>
      <choice name="SCALEFORCE" value="3"/>
      <choice name="xBRZ" value="4"/>
      <choice name="MMPX" value="5"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="azahar_custom_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="PREFETCH CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="azahar_PreloadTextures" description="Preload custom textures on startup." preset="switchauto" order="253"/>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="azahar_region_value" description="Force the region of the system." order="102">
      <choice name="USA" value="1"/>
      <choice name="EUROPE" value="2"/>
      <choice name="JAPAN" value="0"/>
      <choice name="AUSTRALIA" value="3"/>
      <choice name="CHINA" value="4"/>
      <choice name="KOREA" value="5"/>
      <choice name="TAIWAN" value="6"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="n3ds_language" order="103">
      <choice name="Japanese" value="0"/>
      <choice name="English" value="1"/>
      <choice name="Français" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Italiano" value="4"/>
      <choice name="Español" value="5"/>
      <choice name="简化字 (Chinese - simplified)" value="6"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="Nederlands" value="8"/>
      <choice name="Português" value="9"/>
      <choice name="Русский (Russian)" value="10"/>
      <choice name="簡化字 (Chinese - traditional)" value="11"/>
    </feature>
    <feature submenu="AUDIO" name="AUDIO EMULATION" group="ADVANCED SETTINGS" value="azahar_audio_emulation" order="300">
      <choice name="HLE FAST" value="0"/>
      <choice name="LLE PRECISE" value="1"/>
      <choice name="LLE MULTICORE" value="2"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="USE MOTION" group="ADVANCED SETTINGS" value="n3ds_motion" description="Enable motion control (gyro) either with mouse or with compatible controller." order="501">
      <choice name="MOUSE" value="mouse"/>
      <choice name="CONTROLLER" value="sdl"/>
      <choice name="CEMUHOOK" value="cemuhook"/>
    </feature>
    <feature submenu="CONTROLS" name="TOUCH DEVICE" group="ADVANCED SETTINGS" value="n3ds_touchdevice" order="502">
      <choice name="SCREEN" value="screen"/>
      <choice name="CEMUHOOK" value="cemuhook"/>
    </feature>
    <feature submenu="CONTROLS" name="USE TOUCH PROFILE" group="ADVANCED SETTINGS" value="azahar_touchprofile" description="Enter touch profile to load." preset="input" order="503"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="graphics_api" order="400">
      <choice name="SOFTWARE" value="0"/>
      <choice name="OPENGL" value="1"/>
      <choice name="VULKAN" value="2"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="azahar_audio_api" order="401">
      <choice name="CUBEB" value="2"/>
      <choice name="OPENAL" value="3"/>
      <choice name="SDL2" value="4"/>
    </feature>
  </emulator>
  <!-- BIGPEMU -->
  <emulator name="bigpemu">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="bigpemu_scaling" order="20">
      <choice name="FIT TO AXIS" value="5"/>
      <choice name="INTEGER MULTIPLE" value="0"/>
      <choice name="1X" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="STRETCH" value="6"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="bigpemu_ratio" order="25">
      <choice name="4/3" value="2"/>
      <choice name="1/1" value="0"/>
      <choice name="16/9" value="8"/>
      <choice name="5/3 (1.666)" value="7"/>
      <choice name="10/9 (1.111)" value="1"/>
      <choice name="29/21 (1.383)" value="3"/>
      <choice name="89/60 (1.483)" value="4"/>
      <choice name="14/9 (1.555)" value="5"/>
      <choice name="16/10 (1.6)" value="6"/>
      <choice name="37/20 (1.85)" value="9"/>
      <choice name="20/10 (2)" value="10"/>
      <choice name="21/9 (2.333)" value="11"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="152"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="enable_hdr" order="153"/>
    <feature submenu="VISUAL RENDERING" name="EFFECT" group="ADVANCED SETTINGS" value="bigpemu_shader" description="Select a BigPemu shader, only possible when RetroBat shaders is set to 'none'." order="250">
      <choice name="CHEESY SCANLINES" value="cheesy_scanlines.dstack"/>
      <choice name="CRT-HYLLIAN" value="crt-hyllian.dstack"/>
      <choice name="GAMMA" value="gamma.dstack"/>
      <choice name="LIZ" value="liz.dstack"/>
      <choice name="OH MY GAUSS" value="oh_my_gauss.dstack"/>
      <choice name="SHADERTOY" value="shadertoy.dstack"/>
      <choice name="WARPING" value="warping.dstack"/>
      <choice name="XBR LV2" value="xbr-lv2.dstack"/>
      <choice name="XBR LV3" value="xbr-lv3-multipass.dstack"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI ALIASING (MSAA)" group="ADVANCED SETTINGS" value="bigpemu_antialiasing" description="Set Anti Aliasing for rendered content." order="251">
      <choice name="NONE" value="0"/>
      <choice name="MSAA 2X" value="1"/>
      <choice name="MSAA 4X" value="2"/>
      <choice name="MSAA 8X" value="3"/>
      <choice name="MSAA 16X" value="4"/>
    </feature>
    <feature submenu="EMULATION" name="PAL MODE" group="ADVANCED SETTINGS" value="pal_mode" description="Forces console to PAL mode instead of NTSC, might feel sluggish." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="ENABLE JAGUAR GAME DRIVE" group="ADVANCED SETTINGS" value="bigpemu_jgd" description="Some games require the Game Drive extension." preset="switchauto" order="103"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="bigpemu_renderer" order="400">
      <choice name="OPENGL" value="BigPEmu_Video_OpenGL"/>
      <choice name="DIRECT3D 12" value="BigPEmu_Video_D3D12"/>
    </feature>
    <feature submenu="DRIVERS" name="INPUT" group="ADVANCED SETTINGS" value="bigpemu_sdl" order="401">
      <choice name="SDL" value="1"/>
      <choice name="DIRECTINPUT" value="0"/>
    </feature>
    <feature submenu="CONTROLS" name="ENABLE MULTITAP" group="ADVANCED SETTINGS" value="bigpemu_multitap" order="500">
      <choice name="NONE" value="none"/>
      <choice name="IN PORT 1" value="port1"/>
      <choice name="IN PORT 2" value="port2"/>
      <choice name="BOTH PORTS" value="both"/>
    </feature>
    <feature submenu="CONTROLS" name="USE LEFT STICK" group="ADVANCED SETTINGS" value="bigpemu_analogstick" description="Use analog stick instead of dpad." preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="bigpemu_deadzone" description="Sets the deadzone of the Gamepad analog sticks." preset="sliderauto" preset-parameters="0.00 0.50 0.02 %" order="502"/>
  </emulator>
  <!-- BIZHAWK -->
  <emulator name="bizhawk" features="cheevos">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="DISPLAY FILTER" group="GENERAL SETTINGS" value="bizhawk_filter" order="6">
      <choice name="NONE" value="0"/>
      <choice name="HQ2x" value="1"/>
      <choice name="SCANLINES" value="2"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="bizhawk_vsync" order="30">
      <choice name="YES" value="true"/>
      <choice name="NO" value="false"/>
      <choice name="ALTERNATE" value="alternate"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="MAINTAIN ASPECT RATIO" group="ADVANCED SETTINGS" value="bizhawk_fixed_ratio" preset="switchauto" order="152"/>
    <feature submenu="VISUAL RENDERING" name="UPSCALE FILTER" group="ADVANCED SETTINGS" value="bizhawk_finalfilter" description="Specify filter to use for upscaling." order="250">
      <choice name="NONE" value="0"/>
      <choice name="BILINEAR" value="1"/>
      <choice name="BICUBIC" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SCANLINE INTENSITY" group="ADVANCED SETTINGS" value="bizhawk_scanlines_intensity" description="This setting can only be used with the 'scanlines' filter." preset="sliderauto" preset-parameters="0 100 2 %" order="251"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="bizhawk_renderer" order="400">
      <choice name="DIRECT3D 9" value="2"/>
      <choice name="OPENGL" value="0"/>
      <choice name="GDI+" value="1"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="bizhawk_audiooutput" order="401">
      <choice name="DIRECT SOUND" value="0"/>
      <choice name="XAUDIO2" value="1"/>
      <choice name="OPENAL" value="2"/>
    </feature>
    <feature submenu="USER INTERFACE" name="DISPLAY FPS" value="bizhawk_fps" group="ADVANCED SETTINGS" description="Show FPS overlay in-game." preset="switchauto" order="450"/>
    <core name="Atari2600Hawk">
      <feature submenu="EMULATION" name="DIFFICULTY SWITCH" value="bizhawk_A26_difficulty" group="ADVANCED SETTINGS" description="Set the Atari 2600 difficulty switch." order="100">
        <choice name="ADVANCED" value="true"/>
        <choice name="BEGINNER" value="false"/>
      </feature>
    </core>
    <core name="Ares64">
      <feature submenu="EMULATION" name="CPU MODE" value="bizhawk_n64_cpucore" group="ADVANCED SETTINGS" description="Use interpreter for best compatibility." order="100">
        <choice name="INTERPRETER" value="0"/>
        <choice name="RECOMPILER" value="1"/>
      </feature>
      <feature submenu="CONTROLS" name="CONTROLLER LAYOUT" value="ares64_inputprofile" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="500">
        <choice name="Z=LEFT-TRIGGER" value="zl"/>
        <choice name="Z=RIGHT-TRIGGER" value="zr"/>
        <choice name="XBOX" value="xbox"/>
      </feature>
      <feature submenu="CONTROLS" name="P1 CONTROLLER EXTENSION" value="bizhawk_n64_pak1" group="ADVANCED SETTINGS" description="Choose the extension attached to the controller." order="501">
        <choice name="NONE" value="1"/>
        <choice name="MEMORY" value="2"/>
        <choice name="RUMBLE PACK" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="P2 CONTROLLER EXTENSION" value="bizhawk_n64_pak2" group="ADVANCED SETTINGS" order="502">
        <choice name="NONE" value="1"/>
        <choice name="MEMORY" value="2"/>
        <choice name="RUMBLE PACK" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="P3 CONTROLLER EXTENSION" value="bizhawk_n64_pak3" group="ADVANCED SETTINGS" order="503">
        <choice name="NONE" value="1"/>
        <choice name="MEMORY" value="2"/>
        <choice name="RUMBLE PACK" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="P4 CONTROLLER EXTENSION" value="bizhawk_n64_pak4" group="ADVANCED SETTINGS" order="504">
        <choice name="NONE" value="1"/>
        <choice name="MEMORY" value="2"/>
        <choice name="RUMBLE PACK" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="USE N64-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="n64_pad" preset="switchauto" order="505"/>
    </core>
    <core name="BSNES">
      <system name="gb,gbc,snes,sfc,snes-msu1,sufami">
        <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
      </system>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    </core>
    <core name="ChannelFHawk">
      <feature submenu="EMULATION" name="CONSOLE MODEL" value="bizhawk_channelf_version" group="ADVANCED SETTINGS" order="100">
        <choice name="CHANNELF" value="0"/>
        <choice name="CHANNELF II" value="1"/>
      </feature>
      <feature submenu="EMULATION" name="CONSOLE REGION" value="bizhawk_channelf_region" group="ADVANCED SETTINGS" order="101">
        <choice name="NTSC" value="0"/>
        <choice name="PAL" value="1"/>
      </feature>
      <feature submenu="CONTROLS" name="SWAP CONTROLLERS" value="bizhawk_swapcontrols" group="ADVANCED SETTINGS" description="Set this for games that require controller in port 2." preset="switchauto" order="500"/>
    </core>
    <core name="Cygne">
      <feature submenu="EMULATION" name="CONSOLE LANGUAGE" value="bizhawk_wswan_language" group="ADVANCED SETTINGS" order="100">
        <choice name="ENGLISH" value="1"/>
        <choice name="JAPANESE" value="0"/>
      </feature>
    </core>
    <core name="Encore">
      <feature submenu="VIDEO" name="SCREEN LAYOUT POSITIONING" group="ADVANCED SETTINGS" value="bizhawk_3ds_layoutmode" description="Choose the disposition of the emulated screens." order="160">
        <choice name="TOP-BOTTOM SCREEN" value="0"/>
        <choice name="SINGLE SCREEN ONLY" value="1"/>
        <choice name="LARGE SCREEN / SMALL SCREEN" value="2"/>
        <choice name="SIDE BY SIDE" value="3"/>
      </feature>
      <feature submenu="VIDEO" name="SWAP SCREEN" group="ADVANCED SETTINGS" value="bizhawk_3ds_swapscreen" description="Set the bottom screen as prominent." preset="switchauto" order="161"/>
      <feature submenu="VIDEO" name="ROTATE SCREEN (VERTICAL)" group="ADVANCED SETTINGS" value="bizhawk_3ds_vertical" description="Set the bottom screen as prominent." preset="switchauto" order="162"/>
      <feature submenu="VIDEO" name="USE ASYNCHRONOUS SHADER COMPILATION" group="ADVANCED SETTINGS" value="bizhawk_3ds_asyncshaders" preset="switchauto" order="163"/>
      <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="TEXTURE FILTER" value="bizhawk_3ds_texturefilter" order="260">
        <choice name="NONE" value="0"/>
        <choice name="ANIME4K" value="1"/>
        <choice name="BICUBIC" value="2"/>
        <choice name="SCALEFORCE" value="3"/>
        <choice name="xBRZ" value="4"/>
        <choice name="MMPX" value="5"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TEXTURE SAMPLING" group="ADVANCED SETTINGS" value="bizhawk_3ds_texturesampling" description="Control the texture filtering of the emulation." order="261">
        <choice name="GAME CONTROLLED" value="0"/>
        <choice name="NEAREST NEIGHBOR" value="1"/>
        <choice name="LINEAR" value="2"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="ENABLE LINEAR FILTERING" value="bizhawk_3ds_filtermode" group="ADVANCED SETTINGS" preset="switchauto" order="262"/>
      <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="bizhawk_3ds_region" description="Force the region of the system." order="100">
        <choice name="EUROPE" value="2"/>
        <choice name="USA" value="1"/>
        <choice name="AUSTRALIA" value="3"/>
        <choice name="CHINA" value="4"/>
        <choice name="JAPAN" value="0"/>
        <choice name="KOREA" value="5"/>
        <choice name="TAIWAN" value="6"/>
      </feature>
      <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="bizhawk_3ds_language" order="101">
        <choice name="English" value="1"/>
        <choice name="日本語 (Japanese)" value="0"/>
        <choice name="Français" value="2"/>
        <choice name="Español" value="5"/>
        <choice name="Deutsch" value="3"/>
        <choice name="Italiano" value="4"/>
        <choice name="Nederlands" value="8"/>
        <choice name="Português" value="9"/>
        <choice name="Русский (Russian)" value="10"/>
        <choice name="한국어 (Korean)" value="7"/>
        <choice name="簡化字 (Chinese - traditional)" value="11"/>
        <choice name="简化字 (Chinese - simplified)" value="6"/>
      </feature>
      <feature submenu="EMULATION" name="3DS MODEL" group="ADVANCED SETTINGS" value="bizhawk_3ds_new3ds" description="Force the region of the system." order="102">
        <choice name="NEW 3DS" value="1"/>
        <choice name="3DS" value="0"/>
      </feature>
      <feature submenu="EMULATION" name="DISABLE VIRTUAL SD CARD" group="ADVANCED SETTINGS" value="bizhawk_3ds_virtualSD" preset="switchauto" order="103"/>
      <feature submenu="EMULATION" name="DISABLE CPU JIT" group="ADVANCED SETTINGS" value="bizhawk_3ds_cpuJIT" preset="switchauto" order="104"/>
      <feature submenu="DRIVERS" name="DISABLE HARDWARE RENDERER" group="ADVANCED SETTINGS" value="bizhawk_3ds_renderer" description="Disable hardware renderer, can increase compatibility." preset="switchauto" order="402"/>
      <feature submenu="CONTROLS" name="RIGHT STICK FUNCTION" group="ADVANCED SETTINGS" value="bizhawk3ds_analog_function" description="Define the function of the right joystick." order="500">
        <choice name="C-STICK AND TOUCHSCREEN POINTER" value="C-Stick and Touchscreen Pointer"/>
        <choice name="TOUCHSCREEN POINTER" value="Touchscreen Pointer"/>
        <choice name="C-STICK" value="C-Stick"/>
      </feature>
      <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="501"/>
    </core>
    <core name="Faust">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </core>
    <core name="Gambatte">
      <feature submenu="EMULATION" name="USE EXTERNAL BIOS" value="bizhawk_gb_bios" group="ADVANCED SETTINGS" preset="switchauto" order="100"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </core>
    <core name="GBHawk">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </core>
    <core name="Genplus-gx">
      <feature submenu="AUDIO" name="AUDIO FILTER" value="bizhawk_md_lowpass" group="ADVANCED SETTINGS" description="Enables a low pass audio filter to soften the harsh sound of some games." preset="switchauto" order="310"/>
      <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="bizhawk_md_region" order="100">
        <choice name="USA" value="1"/>
        <choice name="EUROPE" value="2"/>
        <choice name="JAPAN_NTSC" value="3"/>
        <choice name="JAPAN_PAL" value="4"/>
      </feature>
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="megadrive_control_layout" order="500">
        <choice name="L/R as X/Z" value="lr_xz"/>
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as Y/B" value="lr_yb"/>
        <choice name="L/R as B/Y" value="lr_by"/>
      </feature>
      <feature submenu="CONTROLS" name="USE 3 BUTTON CONTROLLER" value="md_3buttons" group="ADVANCED SETTINGS" description="Default emulated pad is a 6-button pad." preset="switchauto" order="501"/>
      <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad" preset="switchauto" order="502"/>
    </core>
    <core name="IntelliHawk">
      <feature submenu="CONTROLS" name="SWAP CONTROLLERS" value="bizhawk_swapcontrols" group="ADVANCED SETTINGS" description="Set this for games that require controller in port 2." preset="switchauto" order="500"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="bizhawk_intv_padtype" order="501">
        <choice name="STANDARD (DISC)" value="Standard (Analog Disc)"/>
        <choice name="STANDARD" value="Standard Controller"/>
      </feature>
    </core>
    <core name="Jaguar">
      <feature submenu="EMULATION" name="FORCE PAL" value="bizhawk_jaguar_forcePAL" group="ADVANCED SETTINGS" preset="switchauto" order="100"/>
    </core>
    <core name="melonDS">
      <feature submenu="VIDEO" name="SCREEN LAYOUT POSITIONING" group="ADVANCED SETTINGS" value="bizhawk_melonds_layout" description="Choose the disposition of the emulated screens." order="160">
        <choice name="NATURAL" value="0"/>
        <choice name="VERTICAL" value="1"/>
        <choice name="HORIZONTAL" value="2"/>
        <choice name="TOP SCREEN ONLY" value="3"/>
        <choice name="BOTTOM SCREEN ONLY" value="4"/>
      </feature>
      <feature submenu="VIDEO" name="INVERT SCREENS" value="bizhawk_melonds_screeninvert" group="ADVANCED SETTINGS" preset="switchauto" order="161"/>
      <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="bizhawk_melonds_rotate" description="Screen rotation is not compatible with horizontal layout." order="162">
        <choice name="NO" value="0"/>
        <choice name="90 DEGREES CLOCKWISE" value="1"/>
        <choice name="180 DEGREES" value="2"/>
        <choice name="270 DEGREES CLOCKWISE" value="3"/>
      </feature>
      <feature submenu="EMULATION" name="CONSOLE TYPE" group="ADVANCED SETTINGS" value="bizhawk_melonds_dsi" order="100">
        <choice name="DS" value="0"/>
        <choice name="DSi" value="1"/>
      </feature>
      <feature submenu="EMULATION" name="USE EXTERNAL BIOS" group="ADVANCED SETTINGS" value="bizhawk_melonds_externalBIOS" description="Use the BIOS located in RetroBat 'bios' folder, Required to boot to BIOS." preset="switchauto" order="101"/>
      <feature submenu="EMULATION" name="BOOT TO BIOS" group="ADVANCED SETTINGS" value="bizhawk_melonds_boottobios" description="Boot directly into the DS BIOS menu, needs external bios to be activated." preset="switchauto" order="102"/>
      <feature submenu="CONTROLS" name="USE MOUSE" group="ADVANCED SETTINGS" value="bizhawk_nds_mouse" description="Enable the use of the mouse for touchscreen instead of right stick." preset="switchauto" order="500"/>
    </core>
    <core name="mGBA">
      <feature submenu="EMULATION" name="SKIP BIOS" value="bizhawk_gba_skipbios" description="Enabled by default." group="ADVANCED SETTINGS" preset="switchauto" order="100"/>
      <feature submenu="CONTROLS" name="ENABLE TURBO" value="bizhawk_gba_turbo" group="ADVANCED SETTINGS" preset="switchauto" order="500"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="501"/>
    </core>
    <core name="Mupen64Plus">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="bizhawk_n64_resolution" order="20">
        <choice name="320x240" value="320x240"/>
        <choice name="400x300" value="400x300"/>
        <choice name="480x360" value="480x360"/>
        <choice name="512x384" value="512x384"/>
        <choice name="640x480" value="640x480"/>
        <choice name="800x600" value="800x600"/>
        <choice name="1024x768 (HD Ready)" value="1024x768"/>
        <choice name="1152x864" value="1152x864"/>
        <choice name="1280x960" value="1280x960"/>
        <choice name="1400x1050 (Full HD)" value="1400x1050"/>
        <choice name="1600x1200" value="1600x1200"/>
        <choice name="1920x1440 (2K)" value="1920x1440"/>
        <choice name="2048x1536" value="2048x1536"/>
        <choice name="2880x2160 (4K)" value="2880x2160"/>
      </feature>
      <feature submenu="VIDEO" name="GFX PLUGIN" value="bizhawk_n64_gfx" group="ADVANCED SETTINGS" description="Use 'GLideN64' for best HLE performance, 'ParaLLEl' for accuracy." order="160">
        <choice name="GLIDE N64" value="4"/>
        <choice name="GLIDE64" value="1"/>
        <choice name="GLIDE64 mk2" value="2"/>
        <choice name="RICE" value="0"/>
        <choice name="ANGRYLION" value="5"/>
      </feature>
      <feature submenu="EMULATION" name="CPU MODE" value="bizhawk_n64_cpucore" group="ADVANCED SETTINGS" description="Use interpreter for best compatibility." order="100">
        <choice name="PURE INTERPRETER" value="0"/>
        <choice name="INTERPRETER" value="1"/>
      </feature>
      <feature submenu="EMULATION" name="RSP PLUGIN" value="bizhawk_n64_rsp" group="ADVANCED SETTINGS" description="Reality Signal Processor plugin." order="101">
        <choice name="HLE" value="0"/>
        <choice name="cxd4 LLE" value="2"/>
      </feature>
      <feature submenu="CONTROLS" name="CONTROLLER LAYOUT" value="ares64_inputprofile" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="500">
        <choice name="Z=LEFT-TRIGGER" value="zl"/>
        <choice name="Z=RIGHT-TRIGGER" value="zr"/>
        <choice name="XBOX" value="xbox"/>
      </feature>
      <feature submenu="CONTROLS" name="P1 CONTROLLER EXTENSION" value="bizhawk_n64_pak1" group="ADVANCED SETTINGS" description="Choose the extension attached to the controller." order="501">
        <choice name="NONE" value="1"/>
        <choice name="MEMORY" value="2"/>
        <choice name="RUMBLE PACK" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="P2 CONTROLLER EXTENSION" value="bizhawk_n64_pak2" group="ADVANCED SETTINGS" order="502">
        <choice name="NONE" value="1"/>
        <choice name="MEMORY" value="2"/>
        <choice name="RUMBLE PACK" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="P3 CONTROLLER EXTENSION" value="bizhawk_n64_pak3" group="ADVANCED SETTINGS" order="503">
        <choice name="NONE" value="1"/>
        <choice name="MEMORY" value="2"/>
        <choice name="RUMBLE PACK" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="P4 CONTROLLER EXTENSION" value="bizhawk_n64_pak4" group="ADVANCED SETTINGS" order="504">
        <choice name="NONE" value="1"/>
        <choice name="MEMORY" value="2"/>
        <choice name="RUMBLE PACK" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="USE N64-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="n64_pad" preset="switchauto" order="505"/>
    </core>
    <core name="NeoPop">
      <feature submenu="EMULATION" name="CONSOLE LANGUAGE" group="ADVANCED SETTINGS" value="bizhawk_ngp_language" order="100">
        <choice name="ENGLISH" value="english"/>
        <choice name="JAPANESE" value="japanese"/>
      </feature>
    </core>
    <core name="NesHawk">
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="nes_region" order="100">
        <choice name="NTSC" value="1"/>
        <choice name="PAL" value="2"/>
        <choice name="DENDY" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Rotate face buttons to change layout." preset="switchauto" order="500"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    </core>
    <core name="Nymashock">
      <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="bizhawk_psx_region" order="100">
        <choice name="EUROPE" value="eu"/>
        <choice name="JAPAN" value="jp"/>
        <choice name="US" value="na"/>
      </feature>
      <feature submenu="EMULATION" name="USE SCPH LEGACY BIOS" group="ADVANCED SETTINGS" value="bizhawk_psx_original_bios" description="RetroBat will use by default psxonpsp BIOS, enable this option to force usage of legacy SCPH550X bios file." preset="switchauto" order="101"/>
      <feature submenu="CONTROLS" name="USE DIGITAL CONTROLLERS" group="ADVANCED SETTINGS" value="bizhawk_psx_digital" description="Set this to use original PSX Gamepad instead of Dualshock." preset="switchauto" order="500"/>
      <feature submenu="CONTROLS" name="USE TRIGGERS TO BRAKE/ACCELERATE" group="ADVANCED SETTINGS" value="psx_triggerswap" description="Can be useful for Gran Turismo, triggers will be mapped to right analog stick." preset="switchauto" order="501"/>
      <feature submenu="CONTROLS" name="USE MOUSE" group="ADVANCED SETTINGS" value="bizhawk_psx_mouse" order="502">
        <choice name="PORT 1" value="1"/>
        <choice name="PORT 2" value="2"/>
        <choice name="BOTH PORTS" value="both"/>
      </feature>
    </core>
    <core name="O2Hawk" features="padtokeyboard">
      <feature submenu="EMULATION" name="EMULATE G7400" group="ADVANCED SETTINGS" value="bizhawk_o2_g7400" description="Run system with G7400 BIOS and features." preset="switchauto" order="100"/>
    </core>
    <core name="Octoshock">
      <feature submenu="EMULATION" name="USE SCPH LEGACY BIOS" group="ADVANCED SETTINGS" value="bizhawk_psx_original_bios" description="RetroBat will use by default psxonpsp BIOS, enable this option to force usage of legacy SCPH550X bios file." preset="switchauto" order="100"/>
      <feature submenu="CONTROLS" name="USE DIGITAL CONTROLLERS" group="ADVANCED SETTINGS" value="bizhawk_psx_digital" description="Set this to use original PSX Gamepad instead of Dualshock." preset="switchauto" order="500"/>
      <feature submenu="CONTROLS" name="USE TRIGGERS TO BRAKE/ACCELERATE" group="ADVANCED SETTINGS" value="psx_triggerswap" description="Can be useful for Gran Turismo, triggers will be mapped to right analog stick." preset="switchauto" order="501"/>
    </core>
    <core name="PicoDrive">
      <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad" preset="switchauto" order="500"/>
    </core>
    <core name="quickerNES">
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Rotate face buttons to change layout." preset="switchauto" order="500"/>
    </core>
    <core name="SameBoy">
      <feature submenu="EMULATION" name="USE EXTERNAL BIOS" value="bizhawk_gb_bios" group="ADVANCED SETTINGS" preset="switchauto" order="100"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </core>
    <core name="Saturnus">
      <feature submenu="EMULATION" name="BIOS LANGUAGE" group="ADVANCED SETTINGS" value="bizhawk_saturn_language" description="BIOS language can affect the language of some games." order="100">
        <choice name="English" value="english"/>
        <choice name="Japanese" value="japanese"/>
        <choice name="Français" value="french"/>
        <choice name="Deutsch" value="german"/>
        <choice name="Italiano" value="italian"/>
        <choice name="Español" value="spanish"/>
      </feature>
      <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="bizhawk_saturn_region" description="Force saturn region if autodetect fails." order="101">
        <choice name="JAPAN" value="japanese"/>
        <choice name="NORTH AMERICA" value="na"/>
        <choice name="EUROPE" value="eu"/>
        <choice name="SOUTH KOREA" value="kr"/>
        <choice name="TAIWAN" value="tw"/>
        <choice name="CHINA" value="as"/>
        <choice name="BRAZIL" value="br"/>
        <choice name="LATIN AMERICA" value="la"/>
      </feature>
      <feature submenu="EMULATION" name="EXPANSION CART" group="ADVANCED SETTINGS" value="bizhawk_saturn_expansion" description="Force saturn expansion cart if autodetect fails." order="102">
        <choice name="NONE" value="none"/>
        <choice name="BACKUP MEMORY (512kb)" value="backup"/>
        <choice name="1MB EXTENDED RAM" value="extram1"/>
        <choice name="4MB EXTENDED RAM" value="extram4"/>
        <choice name="16MB EXTENDED RAM" value="cs1ram16"/>
      </feature>
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="saturn_padlayout" order="500">
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as X/Z" value="lr_xz"/>
      </feature>
      <feature submenu="CONTROLS" name="INVERT TRIGGERS AND SHOULDERS" group="ADVANCED SETTINGS" value="saturn_invert_triggers" description="Use shoulder buttons for L and R instead of triggers." preset="switchauto" order="501"/>
      <feature submenu="CONTROLS" name="USE SATURN-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="saturn_pad" preset="switchauto" order="502"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    </core>
    <core name="SMSHawk">
      <feature submenu="VIDEO" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="bizhawk_sms_format" description="Select a video format for output." order="160">
        <choice name="NTSC" value="0"/>
        <choice name="PAL" value="1"/>
      </feature>
      <feature submenu="AUDIO" name="ENABLE FM CHIP" value="bizhawk_sms_fm" group="ADVANCED SETTINGS" preset="switchauto" order="310"/>
      <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="bizhawk_sms_region" order="100">
        <choice name="EXPORT (EU/US)" value="0"/>
        <choice name="JAPAN" value="1"/>
        <choice name="KOREA" value="2"/>
      </feature>
      <feature submenu="EMULATION" name="USE SMS BIOS" value="bizhawk_sms_bios" group="ADVANCED SETTINGS" preset="switchauto" order="101"/>
      <system name="mastersystem">
        <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" preset="switchauto" order="500"/>
      </system>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    </core>
    <core name="Snes9x">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    </core>
    <core name="ZXHawk" features="padtokeyboard">
      <feature submenu="EMULATION" name="MACHINE TYPE" group="ADVANCED SETTINGS" value="bizhawk_zx_machine" order="100">
        <choice name="ZX SPECTRUM 16" value="0"/>
        <choice name="ZX SPECTRUM 48" value="1"/>
        <choice name="ZX SPECTRUM 128" value="2"/>
        <choice name="ZX SPECTRUM 128 Plus2" value="3"/>
        <choice name="ZX SPECTRUM 128 Plus2a" value="4"/>
        <choice name="ZX SPECTRUM 128 Plus3" value="5"/>
        <choice name="PENTAGON 128" value="6"/>
      </feature>
    </core>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="bizhawk_deadzone" description="Sets the deadzone of the Gamepad analog sticks." preset="sliderauto" preset-parameters="0.00 0.50 0.02 %" order="500"/>
  </emulator>
  <!-- BSTONE -->
  <emulator name="bstone" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="videomode" order="20"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="bstone_vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="bstone_widescreen" preset="switchauto" order="152"/>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="bstone_antialiasing" description="Set Anti Aliasing for rendered content." order="250">
      <choice name="NO" value="0"/>
      <choice name="2X" value="2"/>
      <choice name="4X" value="4"/>
      <choice name="8X" value="8"/>
      <choice name="16X" value="16"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTERING" group="ADVANCED SETTINGS" value="bstone_texture_filter" order="251">
      <choice name="NEAREST NEIGHBOR" value="nearest"/>
      <choice name="LINEAR" value="linear"/>
    </feature>
    <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="UPSCALE FILTER" value="bstone_upscale_filter" order="252">
      <choice name="xBRZ 2x" value="2"/>
      <choice name="xBRZ 3x" value="3"/>
      <choice name="xBRZ 4x" value="4"/>
      <choice name="xBRZ 5x" value="5"/>
      <choice name="xBRZ 6x" value="6"/>
      <choice name="NONE" value="none"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="bstone_anisotropy" description="Enhance the quality of textures on surface." order="253">
      <choice name="OFF" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
      <choice name="8x" value="8"/>
      <choice name="16x" value="16"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="bstone_renderer" order="400">
      <choice name="GLES 2.0" value="gles_2_0"/>
      <choice name="OPENGL 2.0" value="gl_2_0"/>
      <choice name="GLCORE 3.2" value="gl_3_2_c"/>
      <choice name="SOFTWARE" value="software"/>
    </feature>
  </emulator>
  <!-- BERMUDA SYNDROME -->
  <emulator name="bsyndrome" features="padtokeyboard">
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="bsyndrome_aspect" order="25">
      <choice name="DEFAULT" value="default"/>
      <choice name="4/3" value="4:3"/>
      <choice name="16/9" value="16:9"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
  </emulator>
  <!-- CAPRICE FOREVER -->
  <emulator name="capriceforever" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="SCANLINES" group="ADVANCED SETTINGS" value="caprice_scanlines" preset="switchauto" order="150"/>
    <feature submenu="VISUAL RENDERING" name="MONOCHROME" group="ADVANCED SETTINGS" value="caprice_monochrome" preset="switchauto" order="151"/>
    <feature submenu="AUDIO" name="PLAYCITY EXTENSION" group="ADVANCED SETTINGS" value="caprice_playcity" preset="switchauto" order="300"/>
    <feature submenu="AUDIO" name="DIGIBLASTER EXTENSION" group="ADVANCED SETTINGS" value="caprice_digiblaster" preset="switchauto" order="301"/>
    <feature submenu="AUDIO" name="SPEECH SYNTHESIZER" group="ADVANCED SETTINGS" value="caprice_addspeech" order="302">
      <choice name="NONE" value="none"/>
      <choice name="TECHNIMUSIC (TMPI)" value="tmpi"/>
      <choice name="SSA-1" value="ssa1"/>
      <choice name="DK TRONICS" value="dktronics"/>
    </feature>
    <system name="amstradcpc">
      <feature submenu="EMULATION" name="AMSTRAD MODEL" group="ADVANCED SETTINGS" value="caprice_device" description="Select Amstrad model to emulate." order="110">
        <choice name="CPC 6128 UK" value="CPC_6128_UK"/>
        <choice name="CPC 6128 FR" value="CPC_6128_FR"/>
        <choice name="CPC 6128 ES" value="CPC_6128_SP"/>
        <choice name="CPC 464 UK" value="CPC_464_UK"/>
        <choice name="CPC 464 FR" value="CPC_464_FR"/>
        <choice name="CPC 464 ES" value="CPC_464_SP"/>
      </feature>
      <feature submenu="EMULATION" name="CRTC TYPE" group="ADVANCED SETTINGS" value="caprice_crtc" description="Select Amstrad Cathode Ray Tube Controller type." order="111">
        <choice name="HD6845S" value="0"/>
        <choice name="UM6845R" value="1"/>
      </feature>
    </system>
    <system name="gx4000">
      <feature submenu="EMULATION" name="AMSTRAD MODEL" group="ADVANCED SETTINGS" value="caprice_device" description="Select Amstrad model to emulate." order="110">
        <choice name="6128 PLUS UK" value="PLUS_6128_UK"/>
        <choice name="6128 PLUS FR" value="PLUS_6128_FR"/>
        <choice name="6128 PLUS ES" value="PLUS_6128_SP"/>
        <choice name="464 PLUS UK" value="PLUS_464_UK"/>
        <choice name="464 PLUS FR" value="PLUS_464_FR"/>
        <choice name="464 PLUS ES" value="PLUS_464_SP"/>
      </feature>
    </system>
    <feature submenu="EMULATION" name="FAST LOAD" group="ADVANCED SETTINGS" value="caprice_fastload" preset="switchauto" order="116"/>
    <feature submenu="EMULATION" name="TURBO SPEED" group="ADVANCED SETTINGS" value="caprice_turbo" preset="switchauto" order="117"/>
    <feature submenu="EMULATION" name="COMPUTER BRAND" group="ADVANCED SETTINGS" value="caprice_brand" order="118">
      <choice name="AMSTRAD" value="Amstrad"/>
      <choice name="ORION" value="Orion"/>
      <choice name="SCHNEIDER" value="Schneider"/>
      <choice name="AWA" value="Awa"/>
      <choice name="SOLAVOX" value="Solavox"/>
      <choice name="SAISHO" value="Saisho"/>
      <choice name="TRIUMPH" value="Triumph"/>
      <choice name="ISP" value="Isp"/>
    </feature>
    <feature submenu="EMULATION" name="256K MEMORY EXTENSION" group="ADVANCED SETTINGS" value="caprice_256k" preset="switchauto" order="119"/>
    <feature submenu="EMULATION" name="256K SILICON DISC" group="ADVANCED SETTINGS" value="caprice_256ksilicon" preset="switchauto" order="120"/>
    <feature submenu="EMULATION" name="4MB MEMORY EXPANSION" group="ADVANCED SETTINGS" value="caprice_4m" preset="switchauto" order="121"/>
    <feature submenu="EMULATION" name="MULTIFACE II" group="ADVANCED SETTINGS" value="caprice_multiface2" preset="switchauto" order="122"/>
    <feature submenu="EMULATION" name="XMEM" group="ADVANCED SETTINGS" value="caprice_xmem" order="123">
      <choice name="NO" value="no"/>
      <choice name="YES" value="xmem"/>
      <choice name="BOOT" value="xmem_boot"/>
    </feature>
    <feature submenu="EMULATION" name="XMASS" group="ADVANCED SETTINGS" value="caprice_xmass" preset="switchauto" order="124"/>
    <feature submenu="EMULATION" name="ALBIREO" group="ADVANCED SETTINGS" value="caprice_albireo" preset="switchauto" order="125"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="caprice_renderer" order="400">
      <choice name="DIRECTX" value="directx"/>
      <choice name="OPENGL" value="opengl"/>
      <choice name="GDI" value="gdi"/>
    </feature>
    <feature submenu="CONTROLS" name="MAPPING PROFILE" group="ADVANCED SETTINGS" value="caprice_gamepadprofile" description="Use 'per game' if you have saved a profile for the game in capriceforever\Profiles folder." order="500">
      <choice name="RETROBAT AUTO" value="retrobat"/>
      <choice name="PER GAME" value="per_game"/>
      <choice name="CUSTOM" value="custom"/>
    </feature>
    <feature submenu="CONTROLS" name="KEYBOARD AS JOYSTICK" group="ADVANCED SETTINGS" value="caprice_keyboardasjoystick" description="Enables arrows, CTRL and ALT key to act as joystick and fire buttons." order="501" preset="switchauto"/>
    <feature submenu="USER INTERFACE" name="SHOW GUI" group="ADVANCED SETTINGS" value="caprice_gui" preset="switchauto" order="450"/>
  </emulator>
  <!-- CDOGS -->
  <emulator name="cdogs" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="UPSCALE FILTER" group="ADVANCED SETTINGS" value="cdogs_scalemode" order="250">
      <choice name="NEAREST NEIGHBOR" value="Nearest neighbor"/>
      <choice name="BILINEAR" value="Bilinear"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ENABLE SHADOWS" group="ADVANCED SETTINGS" value="cdogs_shadows" description="Default: enabled." preset="switchauto" order="251"/>
    <feature submenu="USER INTERFACE" name="SHOW HUD" group="ADVANCED SETTINGS" value="cdogs_hud" description="Default: enabled." preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="cdogs_fps" preset="switchauto" order="451"/>
    <feature submenu="USER INTERFACE" name="SHOW TIME" group="ADVANCED SETTINGS" value="cdogs_time" preset="switchauto" order="452"/>
    <feature submenu="USER INTERFACE" name="SHOW MAP" group="ADVANCED SETTINGS" value="cdogs_hudmap" description="Default: enabled." preset="switchauto" order="453"/>
    <feature submenu="USER INTERFACE" name="SPLITSCREEN" group="ADVANCED SETTINGS" value="cdogs_splitscreen" order="454">
      <choice name="NEVER" value="Never"/>
      <choice name="NORMAL" value="Normal"/>
      <choice name="ALWAYS" value="Always"/>
    </feature>
  </emulator>
  <!-- CEMU -->
  <emulator name="cemu" features="padtokeyboard">
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="stretch" order="25">
      <choice name="KEEP ASPECT RATIO" value="0"/>
      <choice name="STRETCH TO DISPLAY" value="1"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="cemu_vsync" description="'Triple-buffer' and 'match emulated content' are only available with Vulkan video driver." order="30">
      <choice name="DOUBLE-BUFFER" value="1"/>
      <choice name="TRIPLE-BUFFER" value="2"/>
      <choice name="MATCH EMULATED CONTENT" value="3"/>
      <choice name="NO" value="0"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="ASYNCHRONOUS TEXTURE COMPILATION" group="ADVANCED SETTINGS" value="async_texture" description="Can improve performance on more powerful GPUs that have spare headroom. Only works with Vulkan renderer." preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="ACCURATE TEXTURE SYNC" group="ADVANCED SETTINGS" value="accurate_sync" description="More accurate behavior but may cause lower performance. ON by default." preset="switchauto" order="251"/>
    <feature submenu="VISUAL RENDERING" name="UPSCALE FILTER" group="ADVANCED SETTINGS" value="upscaleFilter" description="Specify filter to use for upscaling. BICUBIC by default." order="252">
      <choice name="BILINEAR" value="0"/>
      <choice name="BICUBIC" value="1"/>
      <choice name="HERMITE" value="2"/>
      <choice name="NEAREST NEIGHBOR" value="3"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="DOWNSCALE FILTER" group="ADVANCED SETTINGS" value="downscaleFilter" description="Specify filter to use for downscaling. BILINEAR by default." order="253">
      <choice name="BILINEAR" value="0"/>
      <choice name="BICUBIC" value="1"/>
      <choice name="HERMITE" value="2"/>
      <choice name="NEAREST NEIGHBOR" value="3"/>
    </feature>
    <feature submenu="AUDIO" name="AUDIO CHANNELS" group="ADVANCED SETTINGS" value="channels" description="Configure this setting if you want to switch between stereo and surround sound." order="300">
      <choice name="MONO" value="0"/>
      <choice name="STEREO" value="1"/>
      <choice name="SURROUND" value="2"/>
    </feature>
    <feature submenu="AUDIO" name="ENABLE COMPUTER MICROPHONE" group="ADVANCED SETTINGS" value="cemu_microphone" description="Use default computer audio input device as microphone." preset="switchauto" order="301"/>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="wiiu_language" order="100">
      <choice name="Japanese" value="0"/>
      <choice name="English" value="1"/>
      <choice name="Français" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Italiano" value="4"/>
      <choice name="Español" value="5"/>
      <choice name="简体中文 (Chinese)" value="6"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="Nederlands" value="8"/>
      <choice name="Português" value="9"/>
      <choice name="Русский (Russian)" value="10"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="video_renderer" order="400">
      <choice name="OPENGL" value="0"/>
      <choice name="VULKAN" value="1"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="audio_renderer" order="401">
      <choice name="DIRECTSOUND" value="0"/>
      <choice name="XAUDIO2" value="2"/>
      <choice name="CUBEB" value="3"/>
    </feature>
    <feature submenu="DRIVERS" name="INPUT" group="ADVANCED SETTINGS" value="cemu_forcexinput" description="'XINPUT' will force usage of XInput api for compatible controllers." order="402">
      <choice name="SDL" value="0"/>
      <choice name="XINPUT" value="1"/>
    </feature>
    <feature submenu="USER INTERFACE" name="PERFORMANCE STATISTICS" value="overlay" group="ADVANCED SETTINGS" description="Show performance statistics overlay in-game." order="450">
      <choice name="FULL" value="full"/>
      <choice name="FPS ONLY" value="fps"/>
      <choice name="NONE" value="none"/>
    </feature>
    <feature submenu="USER INTERFACE" name="NOTIFICATIONS" value="notifications" group="ADVANCED SETTINGS" description="Turn on emulator notifications : connected controllers and shader compilation messages." preset="switchauto" order="451"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="452"/>
    <feature submenu="CONTROLS" name="MOTION CONTROL" group="ADVANCED SETTINGS" value="cemu_enable_motion" description="Can only be used if the controller is compatible with motion control." preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="RUMBLE" group="ADVANCED SETTINGS" value="cemu_enable_rumble" description="Enable controller's rumble effects." preset="sliderauto" preset-parameters="0.00 1.00 0.02 %" order="501"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="502"/>
    <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="cemu_controllerp0" description="Default to WIIU Gamepad, change this for games that do not accept WIIU Gamepad in multiplayer mode." order="503">
      <choice name="GAMEPAD" value="gamepad"/>
      <choice name="PRO CONTROLLER" value="procontroller"/>
      <choice name="HORIZONTAL WIIMOTE" value="wiimote_horizontal"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="cemu_controllerp1" description="Default to Pro Controller." order="504">
      <choice name="PRO CONTROLLER" value="procontroller"/>
      <choice name="GAMEPAD" value="gamepad"/>
      <choice name="HORIZONTAL WIIMOTE" value="wiimote_horizontal"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="cemu_controllerp2" description="Default to Pro Controller." order="505">
      <choice name="PRO CONTROLLER" value="procontroller"/>
      <choice name="HORIZONTAL WIIMOTE" value="wiimote_horizontal"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="cemu_controllerp3" description="Default to Pro Controller." order="506">
      <choice name="PRO CONTROLLER" value="procontroller"/>
      <choice name="HORIZONTAL WIIMOTE" value="wiimote_horizontal"/>
    </feature>
    <feature submenu="CONTROLS" name="REAL WIIMOTES" group="ADVANCED SETTINGS" value="use_wiimotes" description="Play with real wiimotes only, other controllers will not work." order="507">
      <choice name="NO" value="0"/>
      <choice name="1 WIIMOTE" value="1"/>
      <choice name="2 WIIMOTES" value="2"/>
      <choice name="3 WIIMOTES" value="3"/>
      <choice name="4 WIIMOTES" value="4"/>
    </feature>
    <feature submenu="CONTROLS" name="WIIMOTE 1 TYPE" group="ADVANCED SETTINGS" value="cemu_wiimotep0" description="When using real Wiimotes, define the type of Wiimote." order="508">
      <choice name="MOTION PLUS" value="5"/>
      <choice name="MOTION PLUS + NUNCHUK" value="6"/>
      <choice name="STANDARD" value="0"/>
      <choice name="STANDARD + NUNCHUK" value="1"/>
    </feature>
    <feature submenu="CONTROLS" name="WIIMOTE 2 TYPE" group="ADVANCED SETTINGS" value="cemu_wiimotep1" order="509">
      <choice name="MOTION PLUS" value="5"/>
      <choice name="MOTION PLUS + NUNCHUK" value="6"/>
      <choice name="STANDARD" value="0"/>
      <choice name="STANDARD + NUNCHUK" value="1"/>
    </feature>
    <feature submenu="CONTROLS" name="WIIMOTE 3 TYPE" group="ADVANCED SETTINGS" value="cemu_wiimotep2" order="510">
      <choice name="MOTION PLUS" value="5"/>
      <choice name="MOTION PLUS + NUNCHUK" value="6"/>
      <choice name="STANDARD" value="0"/>
      <choice name="STANDARD + NUNCHUK" value="1"/>
    </feature>
    <feature submenu="CONTROLS" name="WIIMOTE 4 TYPE" group="ADVANCED SETTINGS" value="cemu_wiimotep3" order="511">
      <choice name="MOTION PLUS" value="5"/>
      <choice name="MOTION PLUS + NUNCHUK" value="6"/>
      <choice name="STANDARD" value="0"/>
      <choice name="STANDARD + NUNCHUK" value="1"/>
    </feature>
    <feature submenu="CONTROLS" name="DISPLAY GAMEPAD SCREEN" group="ADVANCED SETTINGS" value="cemu_gamepadscreen" description="Define button to display Gamepad screen, default if none." order="512">
      <choice name="NONE" value="none"/>
      <choice name="LEFT STICK BUTTON" value="leftstick"/>
      <choice name="RIGHT STICK BUTTON" value="rightstick"/>
      <choice name="SELECT BUTTON" value="select"/>
    </feature>
    <feature submenu="CONTROLS" name="GAMEPAD SCREEN TOGGLE" group="ADVANCED SETTINGS" value="cemu_toggle_display" preset="switchauto" order="513"/>
    <feature submenu="CONTROLS" name="MAP BUTTON TO MICROPHONE BLOW" group="ADVANCED SETTINGS" value="cemu_gamepadmic" order="514">
      <choice name="NONE" value="none"/>
      <choice name="LEFT STICK BUTTON" value="leftstick"/>
      <choice name="RIGHT STICK BUTTON" value="rightstick"/>
    </feature>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="cemu_deadzone" preset="sliderauto" preset-parameters="0.00 0.50 0.02 %" order="520"/>
    <feature submenu="CONTROLS" name="ANALOG TRIGGER DEADZONE" group="ADVANCED SETTINGS" value="cemu_trigger_deadzone" description="Sets the deadzone of the Gamepad analog triggers." preset="sliderauto" preset-parameters="0.00 0.50 0.02 %" order="521"/>
  </emulator>
  <!-- CITRA -->
  <emulator name="citra" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="citra_resolution_factor" order="20">
      <choice name="NATIVE (400x240)" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X" value="8"/>
      <choice name="9X" value="9"/>
      <choice name="10X" value="10"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="citra_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="citraqt_layout_option" description="Choose the disposition of the emulated screens." order="152">
      <choice name="TOP-BOTTOM SCREEN" value="0"/>
      <choice name="SINGLE SCREEN ONLY" value="1"/>
      <choice name="LARGE SCREEN / SMALL SCREEN" value="2"/>
      <choice name="SIDE BY SIDE" value="3"/>
      <choice name="SEPARATED WINDOWS" value="4"/>
      <choice name="HYBRID" value="5"/>
    </feature>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SWAP SCREEN" value="citra_swap_screen" description="Set the bottom screen as prominent." preset="switchauto" order="153"/>
    <sharedFeature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" value="smooth" order="250"/>
    <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="TEXTURE FILTERING" value="citra_texture_filter" order="251">
      <choice name="ANIME4K" value="1"/>
      <choice name="BICUBIC" value="2"/>
      <choice name="SCALEFORCE" value="3"/>
      <choice name="xBRZ" value="4"/>
      <choice name="MMPX" value="5"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="citra_custom_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="PREFETCH CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="citra_PreloadTextures" description="Preload custom textures on startup." preset="switchauto" order="253"/>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="citra_region_value" description="Force the region of the system." order="100">
      <choice name="USA" value="1"/>
      <choice name="EUROPE" value="2"/>
      <choice name="JAPAN" value="0"/>
      <choice name="AUSTRALIA" value="3"/>
      <choice name="CHINA" value="4"/>
      <choice name="KOREA" value="5"/>
      <choice name="TAIWAN" value="6"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="n3ds_language" order="101">
      <choice name="Japanese" value="0"/>
      <choice name="English" value="1"/>
      <choice name="Français" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Italiano" value="4"/>
      <choice name="Español" value="5"/>
      <choice name="简化字 (Chinese - simplified)" value="6"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="Nederlands" value="8"/>
      <choice name="Português" value="9"/>
      <choice name="Русский (Russian)" value="10"/>
      <choice name="簡化字 (Chinese - traditional)" value="11"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="USE MOTION" group="ADVANCED SETTINGS" value="n3ds_motion" description="Enable motion control (gyro) either with mouse or with compatible controller." order="501">
      <choice name="MOUSE" value="mouse"/>
      <choice name="CONTROLLER" value="sdl"/>
      <choice name="CEMUHOOK" value="cemuhook"/>
    </feature>
    <feature submenu="CONTROLS" name="USE TOUCH PROFILE" group="ADVANCED SETTINGS" value="citra_touchprofile" description="Enter touch profile to load." preset="input" order="502"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="graphics_api" order="400">
      <choice name="SOFTWARE" value="0"/>
      <choice name="OPENGL" value="1"/>
      <choice name="VULKAN" value="2"/>
    </feature>
  </emulator>
  <emulator name="citra-canary" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="citra_resolution_factor" order="20">
      <choice name="NATIVE (400x240)" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X" value="8"/>
      <choice name="9X" value="9"/>
      <choice name="10X" value="10"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="citraqt_layout_option" description="Choose the disposition of the emulated screens." order="152">
      <choice name="TOP-BOTTOM SCREEN" value="0"/>
      <choice name="SINGLE SCREEN ONLY" value="1"/>
      <choice name="LARGE SCREEN / SMALL SCREEN" value="2"/>
      <choice name="SIDE BY SIDE" value="3"/>
      <choice name="SEPARATED WINDOWS" value="4"/>
      <choice name="HYBRID" value="5"/>
    </feature>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SWAP SCREEN" value="citra_swap_screen" description="Set the bottom screen as prominent." preset="switchauto" order="153"/>
    <sharedFeature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" value="smooth" order="250"/>
    <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="TEXTURE FILTERING" value="citra_texture_filter" order="251">
      <choice name="ANIME4K" value="1"/>
      <choice name="BICUBIC" value="2"/>
      <choice name="SCALEFORCE" value="3"/>
      <choice name="xBRZ" value="4"/>
      <choice name="MMPX" value="5"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="citra_custom_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="PREFETCH CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="citra_PreloadTextures" description="Preload custom textures on startup." preset="switchauto" order="253"/>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="citra_region_value" description="Force the region of the system." order="100">
      <choice name="USA" value="1"/>
      <choice name="EUROPE" value="2"/>
      <choice name="JAPAN" value="0"/>
      <choice name="AUSTRALIA" value="3"/>
      <choice name="CHINA" value="4"/>
      <choice name="KOREA" value="5"/>
      <choice name="TAIWAN" value="6"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="n3ds_language" order="101">
      <choice name="Japanese" value="0"/>
      <choice name="English" value="1"/>
      <choice name="Français" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Italiano" value="4"/>
      <choice name="Español" value="5"/>
      <choice name="简化字 (Chinese - simplified)" value="6"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="Nederlands" value="8"/>
      <choice name="Português" value="9"/>
      <choice name="Русский (Russian)" value="10"/>
      <choice name="簡化字 (Chinese - traditional)" value="11"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="USE MOTION" group="ADVANCED SETTINGS" value="n3ds_motion" description="Enable motion control (gyro) either with mouse or with compatible controller." order="501">
      <choice name="MOUSE" value="mouse"/>
      <choice name="CONTROLLER" value="sdl"/>
      <choice name="CEMUHOOK" value="cemuhook"/>
    </feature>
    <feature submenu="CONTROLS" name="USE TOUCH PROFILE" group="ADVANCED SETTINGS" value="citra_touchprofile" description="Enter touch profile to load." preset="input" order="502"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="graphics_api" order="400">
      <choice name="SOFTWARE" value="0"/>
      <choice name="OPENGL" value="1"/>
      <choice name="VULKAN" value="2"/>
    </feature>
  </emulator>
  <!-- CITRON -->
  <emulator name="citron">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="citron_resolution_setup" description="Improve fidelity of 3D models at the cost of increased performance requirements." order="20">
      <choice name="0.5x (360p/540p)" value="0"/>
      <choice name="0.75x (540p/810p)" value="1"/>
      <choice name="1x (720p/1080p)" value="2"/>
      <choice name="1.5x (1080p/1620p)" value="3"/>
      <choice name="2x (1440p/2160p)" value="4"/>
      <choice name="3x (2160p/3240p)" value="5"/>
      <choice name="4x (2880p/4320p)" value="6"/>
      <choice name="5x (3600p/5400p)" value="7"/>
      <choice name="6x (4320p/6480p)" value="8"/>
      <choice name="7x (5040p/7560p)" value="9"/>
      <choice name="8x (5760p/8640p)" value="10"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="citron_use_vsync" order="30">
      <choice name="FIFO (Vsync ON)" value="2"/>
      <choice name="NO" value="0"/>
      <choice name="YES (MAILBOX) - Vulkan only" value="1"/>
      <choice name="FIFO RELAX - vulkan only" value="3"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="citron_ratio" order="25">
      <choice name="DEFAULT" value="0"/>
      <choice name="FORCE 4/3" value="1"/>
      <choice name="FORCE 21/9" value="2"/>
      <choice name="FORCE 16/10" value="3"/>
      <choice name="FORCE 32/9" value="4"/>
      <choice name="STRETCH" value="5"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="GPU ACCURACY" group="ADVANCED SETTINGS" value="citron_gpu_accuracy" description="Default is 'HIGH', set to 'NORMAL' to increase performance at the cost of accuracy." order="152">
      <choice name="HIGH" value="2"/>
      <choice name="LOW" value="0"/>
      <choice name="NORMAL" value="1"/>
      <choice name="EXTREME (VERY SLOW)" value="3"/>
    </feature>
    <feature submenu="VIDEO" name="USE ASYNCHRONOUS SHADER COMPILATION" group="ADVANCED SETTINGS" value="citron_use_asynchronous_shaders" description="Can reduce lags when compiling shaders, experimental." preset="switchauto" order="153"/>
    <feature submenu="VIDEO" name="ASTC RECOMPRESSION" group="ADVANCED SETTINGS" value="citron_astc_recompression" description="For games using ASTC textures, switch to medium when using 6GB VRAM GPU and low when using 4GB-2GB VRAM GPU." order="154">
      <choice name="UNCOMPRESSED (default, best quality)" value="0"/>
      <choice name="MEDIUM QUALITY" value="2"/>
      <choice name="LOW QUALITY" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="citron_anti_aliasing" description="Set Anti Aliasing for rendered content." order="250">
      <choice name="NONE" value="0"/>
      <choice name="FXAA" value="1"/>
      <choice name="SMAA" value="2"/>
      <choice name="TAA" value="3"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SCALING FILTER" group="ADVANCED SETTINGS" value="citron_scaling_filter" description="Set scaling filter for rendered content." order="251">
      <choice name="Nearest Neighbor" value="0"/>
      <choice name="Bilinear" value="1"/>
      <choice name="Bicubic" value="2"/>
      <choice name="Lanczos" value="6"/>
      <choice name="Gaussian" value="3"/>
      <choice name="ScaleForce" value="4"/>
      <choice name="ScaleFX" value="5"/>
      <choice name="AMD's FidelityFX" value="7"/>
      <choice name="AMD's FidelityFX 2.0" value="8"/>
      <choice name="CRT EASY MODE" value="9"/>
      <choice name="CRT ROYALE" value="10"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="citron_anisotropy" description="Enhance the quality of textures on surface." order="252">
      <choice name="DEFAULT" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="3"/>
      <choice name="8x" value="4"/>
      <choice name="16x" value="5"/>
    </feature>
    <feature submenu="AUDIO" name="AUDIO CHANNELS" group="ADVANCED SETTINGS" value="citron_sound_index" order="300">
      <choice name="STEREO" value="1"/>
      <choice name="SURROUND" value="2"/>
      <choice name="MONO" value="0"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="citron_language" order="100">
      <choice name="American English" value="1"/>
      <choice name="日本語 (Japanese)" value="0"/>
      <choice name="Français" value="2"/>
      <choice name="Español" value="5"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Italiano" value="4"/>
      <choice name="Nederlands" value="8"/>
      <choice name="Português" value="9"/>
      <choice name="Русский (Russian)" value="10"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="Chinese" value="6"/>
      <choice name="Taiwanese" value="11"/>
      <choice name="British" value="12"/>
      <choice name="French (Canadian)" value="13"/>
      <choice name="Spanish (Latin America)" value="14"/>
      <choice name="简化字 (Chinese - simplified)" value="15"/>
      <choice name="簡化字 (Chinese - traditional)" value="16"/>
      <choice name="Português (Brazil)" value="17"/>
    </feature>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="citron_region_value" description="Force the region of the system." order="101">
      <choice name="JAPAN" value="0"/>
      <choice name="USA" value="1"/>
      <choice name="EUROPE" value="2"/>
      <choice name="AUSTRALIA" value="3"/>
      <choice name="CHINA" value="4"/>
      <choice name="KOREA" value="5"/>
      <choice name="TAIWAN" value="6"/>
    </feature>
    <feature submenu="EMULATION" name="USE UNDOCKED MODE" group="ADVANCED SETTINGS" value="citron_undock" description="Can increase performance on some lower-end systems." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="CPU ACCURACY" group="ADVANCED SETTINGS" value="citron_cpu_accuracy" description="Leave AUTO as default except the game requires specific setting." order="103">
      <choice name="ACCURATE" value="1"/>
      <choice name="UNSAFE" value="2"/>
      <choice name="PARANOID" value="3"/>
    </feature>
    <feature submenu="EMULATION" name="MULTICORE CPU EMULATION" group="ADVANCED SETTINGS" value="citron_multicore" preset="switchauto" order="104"/>
    <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="citron_memory" order="105">
      <choice name="4GB (Default)" value="0"/>
      <choice name="6GB (Unsafe)" value="1"/>
      <choice name="8GB (Unsafe)" value="2"/>
      <choice name="10GB (Unsafe)" value="3"/>
      <choice name="12GB (Unsafe)" value="4"/>
      <choice name="14GB (Unsafe)" value="5"/>
      <choice name="16GB (Unsafe)" value="6"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="citron_backend" order="400">
      <choice name="OPENGL" value="0"/>
      <choice name="VULKAN" value="1"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="citron_audio_backend" order="401">
      <choice name="CUBEB" value="cubeb"/>
      <choice name="SDL2" value="sdl2"/>
      <choice name="OPENAL" value="openal"/>
    </feature>
    <feature submenu="DRIVERS" name="DISABLE RAW INPUT" group="ADVANCED SETTINGS" value="citron_norawinput" preset="switchauto" order="402"/>
    <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="citron_player_0_type" description="Sets the player controller type." order="500">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="HANDHELD" value="4"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="citron_player_1_type" order="501">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="citron_player_2_type" order="502">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="citron_player_3_type" order="503">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="ENABLE MOTION" group="ADVANCED SETTINGS" value="switch_enable_motion" description="Can only be used if the controller is compatible with motion control." preset="switchauto" order="504"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="switch_gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="505"/>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="citron_deadzone" preset="sliderauto" preset-parameters="0 50 5 %" order="506"/>
    <feature submenu="CONTROLS" name="DISABLE CONTROLLER APPLET" group="ADVANCED SETTINGS" value="citron_controller_applet" description="Disable the controller applet that appears in multiplayer games to select the connected controllers." preset="switchauto" order="507"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
  </emulator>
  <!-- COMMANDER GENIUS -->
  <emulator name="cgenius" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="SHADER SET" value="cgenius_filter" group="GENERAL SETTINGS" description="Efficient graphics filters improving the rendering of games." order="5">
      <choice name="NONE" value="1"/>
      <choice name="SCALE2X" value="2"/>
      <choice name="SCALE3X" value="3"/>
      <choice name="SCALE4X" value="4"/>
    </feature>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="cgenius_resolution" order="20">
      <choice name="320x200" value="320x200"/>
      <choice name="320x240" value="320x240"/>
      <choice name="640x360" value="640x360"/>
      <choice name="640x480" value="640x480"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="cgenius_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ratio" order="25">
      <choice name="4/3" value="4:3"/>
      <choice name="16/9" value="16:9"/>
      <choice name="5/4" value="5:4"/>
      <choice name="16/10" value="16:10"/>
      <choice name="5/4" value="5:4"/>
      <choice name="4/3" value="4:3"/>
      <choice name="disabled" value="0:0"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="TiltedScreen" preset="switchauto" order="152"/>
    <feature submenu="VIDEO" name="TARGET FPS" group="ADVANCED SETTINGS" value="cgenius_fps" preset="sliderauto" preset-parameters="10 120 10" order="153"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="OGLfilter" description="Select texture filtering mode." order="250">
      <choice name="NEAREST NEIGHBOR" value="nearest"/>
      <choice name="LINEAR" value="linear"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW HUD" group="ADVANCED SETTINGS" value="cgenius_hud" preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="cgenius_fps" preset="switchauto" order="451"/>
    <!--feature submenu="CONTROLS" name="USE LEFT STICK" group="ADVANCED SETTINGS" value="cgenius_analogPad" description="Use analog stick instead of dpad." preset="switchauto" order="500"/>-->
    <feature submenu="CONTROLS" name="TWO BUTTON FIRE" group="ADVANCED SETTINGS" value="cgenius_TwoButtonFiring" preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="ANALOG MOVEMENT" group="ADVANCED SETTINGS" value="cgenius_Analog" preset="switchauto" order="502"/>
    <feature submenu="CONTROLS" name="SUPER POGO" group="ADVANCED SETTINGS" value="cgenius_SuperPogo" preset="switchauto" order="503"/>
    <feature submenu="CONTROLS" name="IMPOSSIBLE POGO" group="ADVANCED SETTINGS" value="cgenius_ImpossiblePogo" preset="switchauto" order="504"/>
    <feature submenu="CONTROLS" name="AUTO FIRE" group="ADVANCED SETTINGS" value="cgenius_AutoFire" preset="switchauto" order="505"/>
  </emulator>
  <!-- CORSIXTH -->
  <emulator name="corsixth" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="th_resolution" order="20">
      <choice name="640x480" value="640x480"/>
      <choice name="800x600" value="800x600"/>
      <choice name="1024x768" value="1024x768"/>
      <choice name="1280x960" value="1280x960"/>
      <choice name="1600x1200" value="1600x1200"/>
      <choice name="1280x1024" value="1280x1024"/>
      <choice name="1366x768" value="1366x768"/>
      <choice name="1600x900" value="1600x900"/>
      <choice name="1920x1080" value="1920x1080"/>
      <choice name="1280x800" value="1280x800"/>
      <choice name="1440x900" value="1440x900"/>
      <choice name="1680x1050" value="1680x1050"/>
      <choice name="1920x1200" value="1920x1200"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="th_language" order="100">
      <choice name="English" value="English"/>
      <choice name="Français" value="French"/>
      <choice name="Español" value="Spanish"/>
      <choice name="Deutsch" value="German"/>
      <choice name="Italiano" value="Italian"/>
      <choice name="Portugues" value="Portuguese"/>
      <choice name="Portugues do Brasil" value="Brazilian Portuguese"/>
      <choice name="Nederlands" value="Dutch"/>
      <choice name="Dansk" value="Danish"/>
      <choice name="Norsk" value="Norwegian"/>
      <choice name="Suomi" value="Finnish"/>
      <choice name="Svenska" value="Swedish"/>
    </feature>
    <feature submenu="CONTROLS" name="CAPTURE MOUSE" group="ADVANCED SETTINGS" value="th_capture_mouse" description="Default ON." preset="switchauto" order="500"/>
  </emulator>
  <!-- CXBX -->
  <emulator name="cxbx, chihiro, chihiro-gun">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internalresolution" order="20">
      <choice name="1X NATIVE" value="1"/>
      <choice name="2X (1280x960)" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X (2560x1920)" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X (5120x3840)" value="8"/>
      <choice name="9X" value="9"/>
      <choice name="10X" value="10"/>
      <choice name="11X" value="11"/>
      <choice name="12X" value="12"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="VSync" preset="switchauto" order="30"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ratio">
      <choice name="KEEP ASPECT RATIO" value="true"/>
      <choice name="STRETCHED" value="stretch"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="VIDEO STANDARD" group="ADVANCED SETTINGS" value="xbox_videostandard" order="152">
      <choice name="NTSC-M" value="NtscM"/>
      <choice name="NTSC-J" value="NtscJ"/>
      <choice name="PAL" value="PalI"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="xbox_language" order="100">
      <choice name="English" value="1"/>
      <choice name="日本語 (Japanese)" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Français" value="4"/>
      <choice name="Español" value="5"/>
      <choice name="Italiano" value="6"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="简体中文 (Chinese)" value="8"/>
      <choice name="Português" value="9"/>
    </feature>
    <feature submenu="EMULATION" name="DISABLE XBE SIGNATURE CHECK" group="ADVANCED SETTINGS" value="xbeSignature" description="Disable XBE signature check when using homebrew games." preset="switchauto" order="101"/>
    <feature submenu="EMULATION" name="DISABLE PIXEL SHADERS" group="ADVANCED SETTINGS" value="disablePixelShaders" description="Disable pixel shaders can fix some games crashing, do not activate unless the game needs it." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="USE ALL CORES" group="ADVANCED SETTINGS" value="useallcores" description="Will run the XBOX process on multiple CPU threads, can improve performance but might break some games." preset="switchauto" order="103"/>
    <feature submenu="EMULATION" name="SKIP RDTSC PATCHING" group="ADVANCED SETTINGS" value="rdtscPatching" preset="switchauto" order="104"/>
    <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="cxbx_controller1" order="500">
      <choice name="GAMEPAD S" value="1"/>
      <choice name="GAMEPAD DUKE" value="0"/>
      <choice name="EMS TOPGUN" value="2"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="cxbx_controller2" order="501">
      <choice name="GAMEPAD S" value="1"/>
      <choice name="GAMEPAD DUKE" value="0"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="cxbx_controller3" order="502">
      <choice name="GAMEPAD S" value="1"/>
      <choice name="GAMEPAD DUKE" value="0"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="cxbx_controller4" order="503">
      <choice name="GAMEPAD S" value="1"/>
      <choice name="GAMEPAD DUKE" value="0"/>
    </feature>
    <feature submenu="CONTROLS" name="ENABLE RUMBLE" group="ADVANCED SETTINGS" value="cxbx_rumble" preset="switchauto" order="504"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    <system name="chihiro">
      <feature submenu="GUNS" group="ADVANCED SETTINGS" name="USE DEMULSHOOTER" value="use_demulshooter" description="Launch DemulShooter for gun games." preset="switchauto" order="555"/>
    </system>
  </emulator>
  <!-- DAPHNE HYPSEUS -->
  <emulator name="daphne">
    <!--<sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>-->
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ratio" order="25">
      <choice name="4/3" value="4/3"/>
      <choice name="16/9" value="16/9"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="FASTBOOT" value="fastboot" preset="switchauto" order="100"/>
  </emulator>
  <emulator name="hypseus" features="padtokeyboard">
    <!--<sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>-->
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="daphne_vsync" preset="switchauto" order="30"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ratio" order="25">
      <choice name="4/3" value="4/3"/>
      <choice name="16/9" value="16/9"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="GAME WINDOW DOWNSCALE" group="ADVANCED SETTINGS" value="hypseus_scalefactor" description="Only use this to downscale the window when using upscale in Windows settings." preset="sliderauto" preset-parameters="25 100 5 %" order="152"/>
    <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="FASTBOOT" value="fastboot" preset="switchauto" order="100"/>
    <feature submenu="DRIVERS" name="VIDEO DRIVER" group="ADVANCED SETTINGS" value="hypseus_renderer" order="400">
      <choice name="OPENGL" value="opengl"/>
      <choice name="VULKAN" value="vulkan"/>
    </feature>
    <feature submenu="CONTROLS" name="INVERT UP AND DOWN" group="ADVANCED SETTINGS" value="hypseus_flight" description="Use this setting for flight games." preset="switchauto" order="500"/>
    <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="hypseus_crosshair" preset="switchauto" order="550"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="551"/>
  </emulator>
  <!-- DEMUL -->
  <emulator name="demul">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internal_resolution" order="20">
      <choice name="1X NATIVE" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="VSync" preset="switchauto" order="30"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="demul_ratio" order="25">
      <choice name="16/9" value="2"/>
      <choice name="4/3" value="1"/>
      <choice name="STRETCHED" value="0"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="SCREEN TYPE" group="ADVANCED SETTINGS" value="demul_videomode" order="152">
      <choice name="AUTO" value="1024"/>
      <choice name="VGA" value="0"/>
      <choice name="TV (RGB)" value="512"/>
      <choice name="TV (VBS/S, RF)" value="768"/>
      <choice name="RESERVED" value="256"/>
    </feature>
    <feature submenu="EMULATION" name="CPU MODE" group="ADVANCED SETTINGS" value="cpumode" description="Use interpreter for best compatibility, dynarec for performance." order="100">
      <choice name="DYNAREC" value="1"/>
      <choice name="INTERPRETER" value="0"/>
    </feature>
    <feature submenu="DRIVERS" name="USE OLD GPU PLUGIN" group="ADVANCED SETTINGS" value="demul_oldgpu" preset="switchauto" order="400"/>
    <system name="dreamcast">
      <feature submenu="EMULATION" name="TIME HACK" group="ADVANCED SETTINGS" value="timehack" preset="switchauto" order="101"/>
      <feature submenu="EMULATION" name="DREAMCAST REGION" group="ADVANCED SETTINGS" value="dc_region" order="102">
        <choice name="JAPAN" value="48"/>
        <choice name="AMERICA" value="49"/>
        <choice name="EUROPE" value="50"/>
        <choice name="USE FLASH SETTINGS" value="0"/>
      </feature>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="dc_broadcast" order="103">
        <choice name="NTSC" value="48"/>
        <choice name="PAL" value="49"/>
        <choice name="PAL-M" value="50"/>
        <choice name="PAL-N" value="51"/>
        <choice name="USE FLASH SETTINGS" value="0"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 EXTENSION" group="ADVANCED SETTINGS" value="demul_extension1" description="Select the extension to add to the controller." order="500">
        <choice name="NONE" value="-1"/>
        <choice name="PURUPURU" value="65536"/>
        <choice name="MICROPHONE" value="268435456"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 EXTENSION" group="ADVANCED SETTINGS" value="demul_extension2" description="Select the extension to add to the controller." order="501">
        <choice name="NONE" value="-1"/>
        <choice name="PURUPURU" value="65536"/>
        <choice name="MICROPHONE" value="268435456"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 3 EXTENSION" group="ADVANCED SETTINGS" value="demul_extension3" description="Select the extension to add to the controller." order="502">
        <choice name="NONE" value="-1"/>
        <choice name="PURUPURU" value="65536"/>
        <choice name="MICROPHONE" value="268435456"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 4 EXTENSION" group="ADVANCED SETTINGS" value="demul_extension4" description="Select the extension to add to the controller." order="503">
        <choice name="NONE" value="-1"/>
        <choice name="PURUPURU" value="65536"/>
        <choice name="MICROPHONE" value="268435456"/>
      </feature>
      <feature submenu="CONTROLS" name="USE R1 AND L1" group="ADVANCED SETTINGS" value="dreamcast_use_shoulders" description="Use shoulder buttons instead of triggers." preset="switchauto" order="504"/>
    </system>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="demuldeadzone" preset="sliderauto" preset-parameters="0 50 2 %" order="505"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    <feature submenu="GUNS" group="ADVANCED SETTINGS" name="USE DEMULSHOOTER" value="use_demulshooter" description="Launch DemulShooter for gun games." preset="switchauto" order="551"/>
    <feature submenu="GUNS" name="OUTPUT GAME DATA" group="ADVANCED SETTINGS" value="ds_output" description="Enable this option when using mamehooker with LEDs, solenoids, rumble..." order="552">
        <choice name="TO WINDOW" value="win"/>
        <choice name="TO NETWORK" value="net"/>
        <choice name="TO BOTH" value="both"/>
    </feature>
    <feature submenu="GUNS" name="VERBOSE MODE" group="ADVANCED SETTINGS" value="ds_verbose" description="Enable verbose mode for debugging." preset="switchauto" order="553"/>
    <feature submenu="GUNS" name="DISABLE RESIZE" group="ADVANCED SETTINGS" value="demul_noresize" description="Fix Demul bug (exiting fullscreen when shooting upper left corner), blocking all mouse inputs to Demul GUI." preset="switchauto" order="554"/>
    <feature submenu="GUNS" name="USE MAMEHOOKER" group="ADVANCED SETTINGS" value="use_mamehooker" description="Launch MameHooker for outputs management." preset="switchauto" order="555"/>
  </emulator>
  <!-- DESMUME -->
  <emulator name="desmume" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="VSync" preset="switchauto" order="30"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="desmume_PrescaleHD" order="20">
      <choice name="1X" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X" value="8"/>
      <choice name="9X" value="9"/>
      <choice name="10X" value="10"/>
      <choice name="11X" value="11"/>
      <choice name="12X" value="12"/>
      <choice name="13X" value="13"/>
      <choice name="14X" value="14"/>
      <choice name="15X" value="15"/>
      <choice name="16X" value="16"/>
    </feature>
    <feature name="SHADER SET" value="desmume_Filter" group="GENERAL SETTINGS" description="Efficient graphics filters improving the rendering of games." order="5">
      <choice name="NORMAL" value="0"/>
      <choice name="LQ2x" value="9"/>
      <choice name="LQ2xS" value="10"/>
      <choice name="HQ2x" value="1"/>
      <choice name="HQ4x" value="17"/>
      <choice name="HQ2xS" value="8"/>
      <choice name="2XSAI" value="2"/>
      <choice name="super2xsai" value="3"/>
      <choice name="SuperEagle" value="4"/>
      <choice name="SCANLINE" value="5"/>
      <choice name="BILINEAR" value="6"/>
      <choice name="NEAREST 2X" value="7"/>
      <choice name="NEAREST 1.5X" value="13"/>
      <choice name="NEAREST+ 1.5X" value="12"/>
      <choice name="EPX" value="11"/>
      <choice name="EPX+" value="14"/>
      <choice name="EPX 1.5X" value="15"/>
      <choice name="EPX+ 1.5X" value="16"/>
      <choice name="2xBRZ" value="18"/>
      <choice name="3xBRZ" value="19"/>
      <choice name="4xBRZ" value="20"/>
      <choice name="5xBRZ" value="21"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <feature name="MAINTAIN ASPECT RATIO" group="GENERAL SETTINGS" value="desmume_forceratio" preset="switchauto" order="25"/>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <feature submenu="EMULATION" name="USE EXTERNAL BIOS" group="ADVANCED SETTINGS" value="desmume_UseExtBIOS" description="Use the BIOS located in RetroBat 'bios' folder." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="USE EXTERNAL FIRMWARE" group="ADVANCED SETTINGS" value="desmume_UseExtFirmware" description="Use an external firwmare (default is 'firmware.bin' located in bios folder)." preset="switchauto" order="103"/>
    <feature submenu="EMULATION" name="SPECIFIC FIRMWARE" group="ADVANCED SETTINGS" value="desmume_firmwareFile" description="Specify path to firmware file." preset="files" order="104"/>
    <feature submenu="EMULATION" name="BOOT TO BIOS" group="ADVANCED SETTINGS" value="desmume_BootFromFirmware" description="Boot directly into the DS BIOS menu, needs external bios to be activated." preset="switchauto" order="105"/>
    <feature submenu="EMULATION" name="CPU MODE" group="ADVANCED SETTINGS" value="desmume_cpu_mode" description="Interpreter has better compatibility than JIT Dynamic Recompiler, JIT is faster." order="106">
      <choice name="INTERPRETER" value="0"/>
      <choice name="DYNAMIC RECOMPILER" value="1"/>
    </feature>
    <feature submenu="EMULATION" name="PATCH DELAY LOOP SWI" group="ADVANCED SETTINGS" value="desmume_PatchSWI3" description="Speed hack." preset="switchauto" order="107"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="desmume_FrameSkip" description="Skip frames to improve performance (smoothless)." preset="sliderauto" preset-parameters="0 9 1" order="156"/>
    <feature submenu="VIDEO" name="FRAMESKIP TYPE" group="ADVANCED SETTINGS" value="desmume_frameskip_type" description="Type of Frame skipping." order="157">
      <choice name="AUTO" value="auto"/>
      <choice name="MANUAL" value="manual"/>
    </feature>
    <feature submenu="VIDEO" name="SCREEN LAYOUT POSITIONING" group="ADVANCED SETTINGS" value="desmume_layout" description="Choose the disposition of the emulated screens." order="152">
      <choice name="VERTICAL (DEFAULT)" value="0"/>
      <choice name="HORIZONTAL" value="1"/>
      <choice name="SINGLE SCREEN" value="2"/>
    </feature>
    <feature submenu="VIDEO" name="HORIZONTAL SCREEN SIZE RATIO" group="ADVANCED SETTINGS" value="desmume_hratio" description="Size ratio of the 2 emulated screens." order="153">
      <choice name="SAME SIZE" value="1.0"/>
      <choice name="1.1/0.9" value="1.1"/>
      <choice name="1.2/0.8" value="1.2"/>
      <choice name="1.3/0.7" value="1.3"/>
      <choice name="1.4/0.6" value="1.4"/>
      <choice name="1.5/0.5" value="1.5"/>
    </feature>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SWAP SCREEN" value="desmume_LCDsSwap" description="Set the bottom screen as prominent." preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="desmume_rotate" order="155">
      <choice name="NO" value="0"/>
      <choice name="ROTATE RIGHT" value="90"/>
      <choice name="ROTATE LEFT" value="270"/>
      <choice name="ROTATE MIRROR" value="180"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ENABLE DEPTH L EQUAL POLYGON FACING" group="ADVANCED SETTINGS" value="desmume_EnableDepthLEqualPolygonFacing" description="Disable this option to improve performance." preset="switchauto" order="260"/>
    <feature submenu="VISUAL RENDERING" name="ENABLE TXT HACK" group="ADVANCED SETTINGS" value="desmume_EnableTXTHack" description="Fixes text bugs in some games." preset="switchauto" order="261"/>
    <feature submenu="VISUAL RENDERING" name="ENABLE LINE HACK" group="ADVANCED SETTINGS" value="desmume_EnableLineHack" description="Fixes some graphical bugs involving lines." preset="switchauto" order="262"/>
    <feature submenu="VISUAL RENDERING" name="SMOOTH TEXTURES" group="ADVANCED SETTINGS" value="desmume_TextureSmooth" preset="switchauto" order="253"/>
    <feature submenu="VISUAL RENDERING" name="DISPLAY METHOD" group="ADVANCED SETTINGS" value="desmume_display_method" order="250">
      <choice name="OPENGL" value="3"/>
      <choice name="DIRECT DRAW HW" value="1"/>
      <choice name="DIRECT DRAW SW" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE SCALING" group="ADVANCED SETTINGS" value="desmume_TextureScalingFactor" order="252">
      <choice name="1x" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="desmume_MultisampleSize" description="Set Anti Aliasing for rendered content." order="254">
      <choice name="NO" value="0"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
      <choice name="8x" value="8"/>
      <choice name="16x" value="16"/>
      <choice name="32x" value="32"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="desmume_GpuBpp" order="255">
      <choice name="24 BIT" value="24"/>
      <choice name="15 BIT" value="15"/>
      <choice name="18 BIT" value="18"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="desmume_Renderer" description="Select which graphics API to use internally." order="400">
      <choice name="SOFTWARE" value="2"/>
      <choice name="OPENGL3.2" value="1"/>
      <choice name="OPENGL(OLD)" value="3"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="desmume_SoundCore2" description="Select which audio engine to use internally." order="401">
      <choice name="DIRECTSOUND" value="2"/>
      <choice name="XAUDIO" value="3"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW MENU IN FULLSCREEN" value="desmume_menu" group="ADVANCED SETTINGS" preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="desmume_fps" preset="switchauto" order="451"/>
    <feature submenu="CONTROLS" name="USE ANALOG STICK" group="ADVANCED SETTINGS" value="desmume_analog" preset="switchauto" order="505"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="desmume_gamepadButtons" preset="switchauto" order="506"/>
  </emulator>
  <!-- DHEWM3 -->
  <emulator name="dhewm3" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="dhewm3_resolution" order="20">
      <choice name="640x480" value="3"/>
      <choice name="800x600" value="4"/>
      <choice name="1024x768" value="5"/>
      <choice name="1152x864" value="6"/>
      <choice name="1280x720" value="9"/>
      <choice name="1280x800" value="25"/>
      <choice name="1280x1024" value="7"/>
      <choice name="1366x768" value="10"/>
      <choice name="1400x1050" value="12"/>
      <choice name="1440x900" value="11"/>
      <choice name="1440x1080" value="24"/>
      <choice name="1600x900" value="13"/>
      <choice name="1600x1200" value="8"/>
      <choice name="1680x1050" value="14"/>
      <choice name="1920x1080" value="15"/>
      <choice name="1920x1200" value="16"/>
      <choice name="2048x1152" value="17"/>
      <choice name="2560x1080" value="26"/>
      <choice name="2560x1440" value="23"/>
      <choice name="2560x1600" value="18"/>
      <choice name="3200x2400" value="19"/>
      <choice name="3440x1440" value="27"/>
      <choice name="3840x1080" value="30"/>
      <choice name="3840x1600" value="28"/>
      <choice name="3840x2160" value="20"/>
      <choice name="4096x2304" value="21"/>
      <choice name="5120x1440" value="31"/>
      <choice name="5120x2160" value="29"/>
      <choice name="7680x2160" value="32"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="dhewm3_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="QUALITY" group="ADVANCED SETTINGS" value="dhewm3_quality" order="152">
      <choice name="ULTRA" value="3"/>
      <choice name="HIGH" value="2"/>
      <choice name="MEDIUM" value="1"/>
      <choice name="LOW" value="0"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="dhewm3_antialiasing" description="Set Anti Aliasing for rendered content." order="250">
      <choice name="NO" value="0"/>
      <choice name="2X" value="2"/>
      <choice name="4X" value="4"/>
      <choice name="8X" value="8"/>
      <choice name="16X" value="16"/>
    </feature>
    <feature submenu="AUDIO" name="AUDIO CHANNELS" group="ADVANCED SETTINGS" value="dhewm3_sound" description="Configure this setting if you want to switch between stereo and surround sound." order="300">
      <choice name="STEREO" value="2"/>
      <choice name="SURROUND" value="6"/>
    </feature>
    <feature submenu="AUDIO" name="ENABLE EAX" group="ADVANCED SETTINGS" value="dhewm3_eax" preset="switchauto" order="301"/>
    <feature submenu="USER INTERFACE" name="PLAYER NAME" value="dhewm3_playerName" group="ADVANCED SETTINGS" preset="input" order="450"/>
    <feature submenu="USER INTERFACE" name="HIDE HUD" group="ADVANCED SETTINGS" value="dhewm3_hideHUD" preset="switchauto" order="451"/>
  </emulator>
  <!-- DOLPHIN -->
  <emulator name="dolphin" features="cheevos">
    <core name="dolphin,triforce" features="cheevos">
    <!-- GENERAL SETTINGS -->
      <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
      <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
      <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
      <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
      <feature name="SHADER SET" group="GENERAL SETTINGS" value="dolphin_shaders" order="5">
        <choice name="NONE" value="(off)"/>
        <choice name="16 BIT" value="16bit"/>
        <choice name="32 BITS" value="32bit"/>
        <choice name="ACID METAL" value="acidmetal"/>
        <choice name="ACID TRIP" value="acidtrip"/>
        <choice name="ACID TRIP 2" value="acidtrip2"/>
        <choice name="ASCII ART" value="asciiart"/>
        <choice name="AUTO TOON" value="auto_toon"/>
        <choice name="AUTO TOON 2" value="auto_toon2"/>
        <choice name="AUTO HDR" value="AutoHDR"/>
        <choice name="BAD BLOOM" value="bad_bloom"/>
        <choice name="BRIGHTEN" value="brighten"/>
        <choice name="CHRISMAS" value="chrismas"/>
        <choice name="COOL" value="cool1"/>
        <choice name="DARKET BRIGHTER" value="darkerbrighter"/>
        <choice name="EMBOSS" value="emboss"/>
        <choice name="FIRE" value="fire"/>
        <choice name="FIRE 2" value="fire2"/>
        <choice name="FIRE WATER" value="firewater"/>
        <choice name="FXAA" value="FXAA"/>
        <choice name="GRAYSCALE" value="grayscale"/>
        <choice name="GRAYSCALE 2" value="grayscale2"/>
        <choice name="INTERGER SCALING" value="integer_scaling"/>
        <choice name="INVERT" value="invert"/>
        <choice name="INVERT BLUE" value="invert_blue"/>
        <choice name="INVERTED OUTLINE" value="invertedoutline"/>
        <choice name="LENS DISTORTION" value="lens_distortion"/>
        <choice name="MAD WORLD" value="mad_world"/>
        <choice name="NIGHT VISION" value="nightvision"/>
        <choice name="NIGHT VISION 2" value="nightvision2"/>
        <choice name="NIGHT VISION 2 SCANLINES" value="nightvision2scanlines"/>
        <choice name="PERCEPTUAL HDR" value="PerceptualHDR"/>
        <choice name="POSTERIZE" value="posterize"/>
        <choice name="POSTERIZE 2" value="posterize2"/>
        <choice name="PRIMARY COLORS" value="primarycolors"/>
        <choice name="SEPIA" value="sepia"/>
        <choice name="SKETCHY" value="sketchy"/>
        <choice name="SPOOKEY" value="spookey1"/>
        <choice name="SPOOKEY 2" value="spookey2"/>
        <choice name="SUNSET" value="sunset"/>
        <choice name="SWAP RGB_BGR" value="swap_RGB_BGR"/>
        <choice name="SWAP RGB_BRG" value="swap_RGB_BRG"/>
        <choice name="SWAP RGB_GBR" value="swap_RGB_GBR"/>
        <choice name="SWAP RGB_GRB" value="swap_RGB_GRB"/>
        <choice name="SWAP RGB_RBG" value="swap_RGB_RBG"/>
        <choice name="TOXIC" value="toxic"/>
      </feature>
      <feature submenu="SHADER CONFIG" name="HDR SHOULDER POW" group="GENERAL SETTINGS" value="hdr_shoulder_pow" preset="sliderauto" preset-parameters="1 10 0.25" order="6"/>
      <feature submenu="SHADER CONFIG" name="SHOULDER START ALPHA" group="GENERAL SETTINGS" value="hdr_start_alpha" preset="sliderauto" preset-parameters="0 1 0.05" order="6"/>
      <feature submenu="SHADER CONFIG" name="MAX NITS" group="GENERAL SETTINGS" value="hdr_max_nits" preset="sliderauto" preset-parameters="100 2000 100" order="6"/>
      <feature submenu="SHADER CONFIG" name="HDR AMPLIFICATION" group="GENERAL SETTINGS" value="hdr_amplification" preset="sliderauto" preset-parameters="1 6 0.25" order="6"/>
      <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ratio" order="25">
        <choice name="16/9" value="16/9"/>
        <choice name="4/3" value="4/3"/>
        <choice name="STRETCHED" value="Stretched"/>
      </feature>
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internal_resolution" order="20">
        <choice name="1X (640x528)" value="1"/>
        <choice name="2X (720P)" value="2"/>
        <choice name="3X (1080P)" value="3"/>
        <choice name="4X (1440P)" value="4"/>
        <choice name="5X" value="5"/>
        <choice name="6X (4K)" value="6"/>
        <choice name="7X" value="7"/>
        <choice name="8X (5K)" value="8"/>
        <choice name="9X" value="9"/>
        <choice name="10X" value="10"/>
        <choice name="11X" value="11"/>
        <choice name="12X (8K)" value="12"/>
      </feature>
      <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="dolphin_vsync" preset="switchauto" order="30"/>
      <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="152"/>
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="enable_hdr" order="153"/>
      <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="widescreen_hack" description="Display the emulated framebuffer at a widescreen aspect ratio. Get best results with full 3D games." preset="switchauto" order="154"/>
      <feature submenu="VIDEO" name="COMPILE SHADERS BEFORE STARTING" group="ADVANCED SETTINGS" value="WaitForShadersBeforeStarting" description="May reduce stuttering a the cost of longer delay to start a game." preset="switchauto" order="155"/>
      <feature submenu="VIDEO" name="SHADERS COMPILATION METHOD" group="ADVANCED SETTINGS" value="ShaderCompilationMode" description="Reduce stuttering a the cost of much longer delay to start a game and high GPU usage." order="156">
        <choice name="HYBRID" value="2"/>
        <choice name="SPECIALIZED" value="0"/>
        <choice name="EXCLUSIVE" value="1"/>
        <choice name="SKIP DRAWING" value="3"/>
      </feature>
      <feature submenu="VIDEO" name="ENABLE GPU-TEXTURE-DECODING" group="ADVANCED SETTINGS" value="EnableGPUTextureDecoding" description="Can increase performance when using powerful GPU." preset="switchauto" order="157"/>
      <feature submenu="VIDEO" name="TEXTURE CACHE ACCURACY" group="ADVANCED SETTINGS" value="SafeTextureCacheColorSamples" description="Reduce stuttering a the cost of much longer delay to start a game and high GPU usage." order="158">
        <choice name="RAPID" value="128"/>
        <choice name="SAFE" value="0"/>
        <choice name="INTERMEDIATE" value="512"/>
      </feature>
      <feature submenu="VIDEO" name="SCALED EFB COPY (HACK)" group="ADVANCED SETTINGS" value="EFBScaledCopy" description="Greatly increase the quality of textures generated using render-to-texture effects. Enabled by default. Disabling it may avoid crashes for games using custom textures." preset="switchauto" order="160"/>
      <feature submenu="VIDEO" name="SKIP EFB ACCESS FROM CPU(HACK)" group="ADVANCED SETTINGS" value="EFBAccessEnable" description="Improves performance in some games but will skip all EFB-based effects." preset="switchauto" order="161"/>
      <feature submenu="VIDEO" name="IGNORE EFB FORMAT CHANGES(HACK)" group="ADVANCED SETTINGS" value="EFBEmulateFormatChanges" description="Improve performance in many game. Disabling this may avoid graphical defect in some other games." preset="switchauto" order="162"/>
      <feature submenu="VIDEO" name="STORE EFB COPIES (HACK)" group="ADVANCED SETTINGS" value="EFBCopies" description="Many games need copies to textures only, but if you're seeing blacked out or missing graphics, you might need to choose copies to RAM." order="163">
        <choice name="TO TEXTURE" value="efb_to_texture_defer"/>
        <choice name="TO TEXTURE AND RAM" value="efb_to_ram_defer"/>
        <choice name="DON'T DEFER COPIES TO RAM" value="efb_to_ram"/>
      </feature>
      <feature submenu="VIDEO" name="STORE XFB COPIES TO TEXTURE ONLY(HACK)" group="ADVANCED SETTINGS" value="dolphin_xfbtotexture" description="Default enabled, can be problematic for few games." preset="switchauto" order="164"/>
      <feature submenu="VIDEO" name="VERTEX ROUNDING" group="ADVANCED SETTINGS" value="VertexRounding" description="Can fix some games when using a non-native resolution by rounding 2D edges." preset="switchauto" order="165"/>
      <feature submenu="VIDEO" name="IGNORE VBI" group="ADVANCED SETTINGS" value="VISkip" description="Skip VBI when lag is detected, helps with audio stuttering when emulation speed decreases." preset="switchauto" order="166"/>
      <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="anisotropic_filtering" description="Enhance the quality of textures on surface. May make textures look better in some games, but may break certain effects in rare cases." order="250">
        <choice name="NO" value="0"/>
        <choice name="2x" value="1"/>
        <choice name="4x" value="2"/>
        <choice name="8x" value="3"/>
        <choice name="16x" value="4"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="antialiasing" description="Set Anti Aliasing for rendered content. A dangerous option to enable in Dolphin. Setting this too high will quickly cause a bandwidth bottleneck on your GPU. Worse yet, these settings may cause various graphical effects in games to be sampled incorrectly." order="251">
        <choice name="NO" value="0x00000001"/>
        <choice name="2x" value="0x00000002"/>
        <choice name="4x" value="0x00000004"/>
        <choice name="8x" value="0x00000008"/>
        <choice name="16x" value="0x00000010"/>
        <choice name="32x" value="0x00000020"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING MODE" group="ADVANCED SETTINGS" value="ssaa" description="SSAA offers better quality at the cost of performance." order="252">
        <choice name="MSAA" value="0"/>
        <choice name="SSAA" value="1"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="FORCE TEXTURES FILTERING" group="ADVANCED SETTINGS" value="ForceFiltering" description="Filter all textures. Including any that the game explicitly sets as unfiltered. Disabled by default." order="253">
        <choice name="NO" value="0"/>
        <choice name="NEAREST NEIGHBOR" value="1"/>
        <choice name="LINEAR" value="2"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="OUTPUT RESAMPLING" group="ADVANCED SETTINGS" value="OutputResampling" description="Specify filter to use for upscaling." order="254">
        <choice name="DEFAULT" value="0"/>
        <choice name="BILINEAR" value="1"/>
        <choice name="BICUBIC(B-SPLINE)" value="2"/>
        <choice name="BICUBIC(MITCHELL NETRAVALI)" value="3"/>
        <choice name="BICUBIC(CATMULL ROM)" value="4"/>
        <choice name="BILINEAR NET" value="5"/>
        <choice name="ZONE SAMPLING" value="6"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CROP" group="ADVANCED SETTINGS" value="dolphin_crop" description="Crop the picture from its native aspect ratio to 4:3 or 16:9" preset="switchauto" order="255"/>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="hires_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="256"/>
      <feature submenu="VISUAL RENDERING" name="PREFETCH CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="CacheHiresTextures" description="Cache custom textures to system RAM on startup." preset="switchauto" order="257"/>
      <feature submenu="VISUAL RENDERING" name="ENABLE MODS" group="ADVANCED SETTINGS" value="dolphin_graphicsmods" description="Load mods from User\Load\GraphicsMods folder." preset="switchauto" order="258"/>
      <feature submenu="VISUAL RENDERING" name="MANUAL TEXTURE SAMPLING" group="ADVANCED SETTINGS" value="manual_texture_sampling" description="Allow for correct emulation of texture wrapping, but comes at a cost of performance." preset="switchauto" order="259"/>
      <feature submenu="AUDIO" name="ENABLE DOLBY PRO LOGIC 2" group="ADVANCED SETTINGS" value="enable_dpl2" description="Enable Dolby Pro Logic II decoder in compatible games and 5.1 speakers." preset="switchauto" order="300"/>
      <feature submenu="EMULATION" name="ENABLE CHEATS" group="ADVANCED SETTINGS" value="enable_cheats" description="Enable the effects of the chosen Action Replay and Gecko codes for a game." preset="switchauto" order="120"/>
      <feature submenu="EMULATION" name="MEMORY MANAGEMENT UNIT" group="ADVANCED SETTINGS" value="enable_mmu" description="Enable the Memory Management Unit. Required for some games." preset="switchauto" order="121"/>
      <feature submenu="EMULATION" name="DUAL CORE CPU THREAD" group="ADVANCED SETTINGS" value="dolphin_cputhread" description="Run games faster. A powerful option for gaining performance that has no downsides some of the time. May cause various random issues caused by splitting the CPU and GPU threads onto different cores." preset="switchauto" order="122"/>
      <feature submenu="EMULATION" name="FAST DISK SPEED" group="ADVANCED SETTINGS" value="enable_fastdisc" description="Improve the loading of discs of the emulated game." preset="switchauto" order="123"/>
      <feature submenu="EMULATION" name="PERFORMANCE MODE" group="ADVANCED SETTINGS" value="perf_hacks" description="Improves the emulation performance at the cost of accuracy." preset="switchauto" order="124"/>
      <feature submenu="USER INTERFACE" name="SHOW GUI" group="ADVANCED SETTINGS" value="dolphin_gui" description="Display or not on-screen notifications." preset="switchauto" order="450"/>
      <feature submenu="USER INTERFACE" name="NOTIFICATIONS" group="ADVANCED SETTINGS" value="OnScreenDisplayMessages" description="Display or not on-screen notifications." preset="switchauto" order="451"/>
      <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="dolphin_showfps" description="Shows performance statistics." order="452">
        <choice name="NO" value="no"/>
        <choice name="ONLY FPS" value="fps_only"/>
        <choice name="FULL STATISTICS" value="full"/>
      </feature>
      <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="453"/>
      <feature submenu="USER INTERFACE" name="SHOW MOUSE CURSOR" value="dolphin_mouse_cursor" group="ADVANCED SETTINGS" order="454">
        <choice name="WHEN MOVING" value="2"/>
        <choice name="NEVER" value="0"/>
        <choice name="ALWAYS" value="1"/>
      </feature>
      <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="dolphin_gfxbackend" description="Select which graphics API to use internally." order="400">
        <choice name="OPENGL" value="OGL"/>
        <choice name="VULKAN" value="Vulkan"/>
        <choice name="DIRECTX 11" value="D3D"/>
        <choice name="DIRECTX 12" value="D3D12"/>
      </feature>
      <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="dolphin_audiobackend" description="Select which audio engine to use internally." order="401">
        <choice name="CUBEB" value="Cubeb"/>
        <choice name="OPENAL" value="OpenAL"/>
        <choice name="WASAPI" value="WASAPI (Exclusive Mode)"/>
      </feature>
      <feature submenu="DRIVERS" name="FORCE SDL DRIVER FOR GAMEPAD" group="ADVANCED SETTINGS" value="input_forceSDL" description="Force usage of SDL driver for controllers, set this if more than 4 controllers are used, as XInput limits to 4 players." preset="switchauto" order="402"/>
      <!--GAMECUBE-->
      <system name="gamecube">
        <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="gamecube_language" order="110">
          <choice name="Deutsch" value="1"/>
          <choice name="English" value="0"/>
          <choice name="Español" value="3"/>
          <choice name="Français" value="2"/>
          <choice name="Italiano" value="4"/>
          <choice name="Nederlands" value="5"/>
        </feature>
        <feature submenu="EMULATION" name="SYSTEM REGION" group="ADVANCED SETTINGS" value="dolphin_gcregion" description="Define region, used for saves." order="111">
          <choice name="EUR" value="EUR"/>
          <choice name="USA" value="USA"/>
          <choice name="JAP" value="JAP"/>
        </feature>
        <feature submenu="EMULATION" name="SAVE FORMAT" group="ADVANCED SETTINGS" value="dolphin_slotA" order="112">
          <choice name="GCI FOLDER" value="8"/>
          <choice name="MEMORY CARD" value="1"/>
        </feature>
        <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="skip_bios" description="Skips the BIOS boot animation displayed when loading content." preset="switchauto" order="113"/>
        <feature submenu="EMULATION" name="SYNC SAVES BETWEEN CORE AND STANDALONE" group="ADVANCED SETTINGS" value="dolphin_sync_saves" description="RetroBat will sync dolphin and libretro-dolphin saves folders." preset="switchauto" order="119"/>
        <feature submenu="EMULATION" name="GBA ROM" group="ADVANCED SETTINGS" value="dolphin_gba_rom" description="If required, define GBA rom to use." preset="files" order="125"/>
        <feature submenu="EMULATION" name="GBA ROM PORT" group="ADVANCED SETTINGS" value="dolphin_gba_romport" description="Select in which port to introduce the GBA rom, default 2." order="126">
          <choice name="PORT 2" value="2"/>
          <choice name="PORT 1" value="1"/>
          <choice name="PORT 3" value="3"/>
          <choice name="PORT 4" value="4"/>
        </feature>
        <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="gamecubepad0" description="Define type of controller emulated." order="500">
          <choice name="GAMECUBE CONTROLLER" value="6"/>
          <choice name="GAMECUBE ADAPTER" value="12"/>
          <choice name="GBA" value="13"/>
        </feature>
        <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="gamecubepad1" order="501">
          <choice name="GAMECUBE CONTROLLER" value="6"/>
          <choice name="GAMECUBE ADAPTER" value="12"/>
          <choice name="GBA" value="13"/>
        </feature>
        <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="gamecubepad2" order="502">
          <choice name="GAMECUBE CONTROLLER" value="6"/>
          <choice name="GAMECUBE ADAPTER" value="12"/>
          <choice name="GBA" value="13"/>
        </feature>
        <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="gamecubepad3" order="503">
          <choice name="GAMECUBE CONTROLLER" value="6"/>
          <choice name="GAMECUBE ADAPTER" value="12"/>
          <choice name="GBA" value="13"/>
        </feature>
        <feature submenu="CONTROLS" name="FACE BUTTON LAYOUT" group="ADVANCED SETTINGS" value="gamecube_buttons" order="504">
          <choice name="NINTENDO LAYOUT" value="standard"/>
          <choice name="POSITIONAL" value="position"/>
          <choice name="XBOX LAYOUT" value="xbox"/>
          <choice name="MIX (A/B NINTENDO)" value="reverse_ab"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" value="dolphin_gcpad_deadzone" group="ADVANCED SETTINGS" description="Use this only if the analog stick is drifting." preset="sliderauto" preset-parameters="0.0 50.0 2.0 %" order="505"/>
        <feature submenu="CONTROLS" name="JOYSTICK SENSITIVITY" value="dolphin_gcpad_sensitivity" group="ADVANCED SETTINGS" description="Decrease if too sensitive, decreasing too much might prevent from going full range." preset="sliderauto" preset-parameters="60.0 120.0 2.0 %" order="506"/>
        <feature submenu="CONTROLS" name="ENABLE RUMBLE" group="ADVANCED SETTINGS" value="input_rumble" preset="switchauto" order="507"/>
        <feature submenu="CONTROLS" name="ENABLE MICROPHONE" group="ADVANCED SETTINGS" value="dolphin_microphone" description="Set this option to put microphone in slot B." preset="switchauto" order="508"/>
      </system>
      <system name="wii">
        <feature submenu="VIDEO" name="WII ASPECT RATIO" group="ADVANCED SETTINGS" value="wii_tvmode" description="Set the aspect ratio in the wii NAND." order="170">
          <choice name="16:9" value="1"/>
          <choice name="4:3" value="0"/>
        </feature>
        <feature submenu="VIDEO" name="PROGRESSIVE SCAN" group="ADVANCED SETTINGS" value="wii_progscan" description="Enable progressive scan for compatible games." preset="switchauto" order="171"/>
        <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="wii_language" order="110">
          <choice name="Deutsch" value="2"/>
          <choice name="English" value="1"/>
          <choice name="Español" value="4"/>
          <choice name="Français" value="3"/>
          <choice name="Italiano" value="5"/>
          <choice name="Nederlands" value="6"/>
          <choice name="Japanese" value="0"/>
        </feature>
        <feature submenu="EMULATION" name="DEFAULT ISO" group="ADVANCED SETTINGS" value="dolphin_defaultISO" description="Set a default ISO, to use with some homebrew games." preset="files" order="130"/>
        <feature submenu="EMULATION" name="RUN WII MENU" group="ADVANCED SETTINGS" value="dolphin_wiimenu" description="Starts the Wii Menu (menu must be installed in Dolphin)." preset="switchauto" order="131"/>
        <feature submenu="CONTROLS" name="WIIMOTE TYPE" group="ADVANCED SETTINGS" value="emulatedwiimotes" order="501">
          <choice name="REAL" value="0"/>
          <choice name="EMULATED" value="1"/>
          <choice name="REAL AS EMULATED" value="2"/>
          <choice name="REAL AS EMULATED (NUNCHUK)" value="3"/>
          <choice name="REAL AS EMULATED (CC)" value="4"/>
        </feature>
        <feature submenu="CONTROLS" name="EMULATED DEVICES" group="ADVANCED SETTINGS" value="controller_mode" description="Emulate a specific motion control. The '/' means the action for L-stick/R-stick." order="502">
          <choice name="CLASSIC CONTROLLER" value="cc"/>
          <choice name="WIIMOTE: HORIZONTAL" value="side"/>
          <choice name="WIIMOTE: CURSOR/SWING" value="is"/>
          <choice name="WIIMOTE: CURSOR/TILT" value="it"/>
          <choice name="WIIMOTE: SWING/CURSOR" value="si"/>
          <choice name="WIIMOTE: TILT/CURSOR" value="ti"/>
          <choice name="WIIMOTE: SWING/TILT" value="st"/>
          <choice name="WIIMOTE: TILT/SWING" value="ts"/>
          <choice name="WIIMOTE: CURSOR/NUNCHUK" value="in"/>
          <choice name="WIIMOTE: NUNCHUK/CURSOR" value="ni"/>
          <choice name="WIIMOTE: SWING/NUNCHUK" value="sn"/>
          <choice name="WIIMOTE: NUNCHUK/SWING" value="ns"/>
          <choice name="WIIMOTE: TILT/NUNCHUK" value="tn"/>
          <choice name="WIIMOTE: NUNCHUK/TILT" value="nt"/>
          <choice name="WIIMOTE: uDraw" value="udraw"/>
          <choice name="WIIMOTE: TaikoDrum" value="tatacon"/>
          <choice name="WIIMOTE: Guitar" value="guitar"/>
          <choice name="WIIMOTE: Drums(RockBand)" value="drumsrb"/>
          <choice name="WIIMOTE: Drums(GuitarHero)" value="drumsgh"/>
          <choice name="WIIMOTE: Drawsome tablet" value="drawsome"/>
          <choice name="WIIMOTE: DJ TURNTABLE" value="turntable"/>
        </feature>
        <feature submenu="CONTROLS" name="NUNCHUK SWING" group="ADVANCED SETTINGS" value="nunchuk_swing" description="By default, trigger button is used to shake, enable this to simulate swing instead." preset="switchauto" order="503"/>
        <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="wii_cc_buttons" order="504">
          <choice name="XBOX LAYOUT" value="xbox"/>
        </feature>
        <feature submenu="CONTROLS" name="USE MOTION" group="ADVANCED SETTINGS" value="wii_motionpad" description="If you are using a gamepad with motion such as a dualshock or switch pro, enable this to use the motion sensor." preset="switchauto" order="505"/>
        <feature submenu="CONTROLS" name="MOTION DEADZONE" group="ADVANCED SETTINGS" value="wii_motion_deadzone" preset="sliderauto" preset-parameters="0.0 15.0 0.5 %" order="506"/>
        <feature submenu="CONTROLS" name="SENSOR BAR POSITION" group="ADVANCED SETTINGS" value="sensorbar_position" description="If you are using real Wiimotes with a Sensor Bar, set the right position of the Sensor Bar for better precision." order="507">
          <choice name="BOTTOM" value="0"/>
          <choice name="TOP" value="1"/>
        </feature>
        <feature submenu="CONTROLS" name="WIIMOTE IR SENSITIVITY" value="wii_irsensitivity" group="ADVANCED SETTINGS" preset="sliderauto" preset-parameters="1 5 1" order="508"/>
        <feature submenu="CONTROLS" name="HIDE WIIMOTE POINTER" group="ADVANCED SETTINGS" value="wii_hidecursor" preset="switchauto" order="509"/>
        <feature submenu="CONTROLS" name="RELATIVE IR CURSOR" group="ADVANCED SETTINGS" value="wii_relativecursor" description="Disable this option to center the IR pointer when the stick is released." preset="switchauto" order="510"/>
        <feature submenu="CONTROLS" name="USE GAMECUBE CONTROLLERS" group="ADVANCED SETTINGS" value="wii_gamecube" preset="switchauto" order="511"/>
        <feature submenu="CONTROLS" name="GAMECUBE FACE BUTTON LAYOUT" group="ADVANCED SETTINGS" value="gamecube_buttons" description="This option only affects Gamecube controller." order="512">
          <choice name="NINTENDO LAYOUT" value="standard"/>
          <choice name="POSITIONAL" value="position"/>
          <choice name="XBOX LAYOUT" value="xbox"/>
          <choice name="MIX (A/B NINTENDO)" value="reverse_ab"/>
        </feature>
        <feature submenu="CONTROLS" name="BALANCE BOARD" group="ADVANCED SETTINGS" value="wii_balanceboard" description="Set this option only when using a real balance board." preset="switchauto" order="513"/>
        <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" value="dolphin_wii_deadzone" group="ADVANCED SETTINGS" description="Use this only if the analog stick is drifting." preset="sliderauto" preset-parameters="0.0 50.0 2.0 %" order="514"/>
        <feature submenu="CONTROLS" name="JOYSTICK SENSITIVITY" value="dolphin_wii_sensitivity" group="ADVANCED SETTINGS" description="Decrease if too sensitive, decreasing too much might prevent from going full range." preset="sliderauto" preset-parameters="60.0 120.0 2.0 %" order="515"/>
        <feature submenu="CONTROLS" name="DISABLE WIIMOTE CONTINUOUS SCANNING" group="ADVANCED SETTINGS" value="dolphin_nowiimotescan" preset="switchauto" order="516"/>
        <feature submenu="CONTROLS" name="BLUETOOTH PASSTHROUGH" group="ADVANCED SETTINGS" value="dolphin_bt_pass" preset="switchauto" order="517"/>
        <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      </system>
      <feature submenu="CONTROLS" name="USE GAMECUBE-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="gc_pad" preset="switchauto" order="520"/>
      <system name="triforce">
        <feature submenu="CONTROLS" name="CONTROLLER LAYOUT" group="ADVANCED SETTINGS" value="triforce_mapping" order="513">
          <choice name="STANDARD" value="standard"/>
          <choice name="MARIO KART GP" value="mk"/>
          <choice name="F ZERO" value="fzero"/>
          <choice name="VIRTUA STRIKER" value="vs4"/>
          <choice name="VIRTUA STRIKER 2002" value="vs2002"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" value="triforce_deadzone" group="ADVANCED SETTINGS" description="Use this only if the analog stick is drifting." preset="sliderauto" preset-parameters="0.0 50.0 2.0 %" order="514"/>
        <feature submenu="CONTROLS" name="JOYSTICK SENSITIVITY" value="triforce_sensitivity" group="ADVANCED SETTINGS" description="Decrease if too sensitive, decreasing too much might prevent from going full range." preset="sliderauto" preset-parameters="60.0 120.0 2.0 %" order="515"/>
        <feature submenu="GAME PATCHES" name="F-ZERO DISABLE MOTOR SETUP (rev d)" group="ADVANCED SETTINGS" value="fzeroax_motor_revd" preset="switchauto" order="800"/>
        <feature submenu="GAME PATCHES" name="F-ZERO DISABLE MOTOR SETUP (rev e)" group="ADVANCED SETTINGS" value="fzeroax_motor_reve" preset="switchauto" order="801"/>
        <feature submenu="GAME PATCHES" name="F-ZERO MONSTER RIDE DISABLE MOTOR SETUP" group="ADVANCED SETTINGS" value="fzeroaxmr_motor" preset="switchauto" order="802"/>
        <feature submenu="GAME PATCHES" name="MKGP DISABLE NAMCAM" group="ADVANCED SETTINGS" value="mkgp_namcam" preset="switchauto" order="803"/>
        <feature submenu="GAME PATCHES" name="MKGP LOOP FIX" group="ADVANCED SETTINGS" value="mkgp_loopfix" preset="switchauto" order="804"/>
        <feature submenu="GAME PATCHES" name="MKGP SKIP LINK CHECK" group="ADVANCED SETTINGS" value="mkgp_linkcheck" preset="switchauto" order="805"/>
        <feature submenu="GAME PATCHES" name="MKGP SLOWDOWN FIX" group="ADVANCED SETTINGS" value="mkgp_slowfix" preset="switchauto" order="806"/>
        <feature submenu="GAME PATCHES" name="MKGP-2 DISABLE NAMCAM" group="ADVANCED SETTINGS" value="mkgp2_namcam" preset="switchauto" order="808"/>
        <feature submenu="GAME PATCHES" name="MKGP-2 LOOP FIX" group="ADVANCED SETTINGS" value="mkgp2_loopfix" preset="switchauto" order="809"/>
        <feature submenu="GAME PATCHES" name="MKGP-2 LOOP FIX (JAP)" group="ADVANCED SETTINGS" value="mkgp2_loopfix_jpn" preset="switchauto" order="810"/>
        <feature submenu="GAME PATCHES" name="MKGP-2 SLOWDOWN FIX (US)" group="ADVANCED SETTINGS" value="mkgp2_slowdownfix_us" preset="switchauto" order="811"/>
        <feature submenu="GAME PATCHES" name="MKGP-2 SLOWDOWN FIX (JAP)" group="ADVANCED SETTINGS" value="mkgp2_slowdownfix_jp" preset="switchauto" order="812"/>
        <feature submenu="GAME PATCHES" name="MKGP-2 SKIP LINK CHECK (US)" group="ADVANCED SETTINGS" value="mkgp2_linkcheck_us" preset="switchauto" order="813"/>
        <feature submenu="GAME PATCHES" name="MKGP-2 SKIP LINK CHECK (JAP)" group="ADVANCED SETTINGS" value="mkgp2_linkcheck_jp" preset="switchauto" order="814"/>
        <feature submenu="GAME PATCHES" name="MKGP-2 SKIP BOOT CHECKS (US)" group="ADVANCED SETTINGS" value="mkgp2_bootcheck_us" preset="switchauto" order="815"/>
        <feature submenu="GAME PATCHES" name="MKGP-2 SKIP BOOT CHECKS (JAP)" group="ADVANCED SETTINGS" value="mkgp2_bootcheck_jp" preset="switchauto" order="816"/>
        <feature submenu="GAME PATCHES" name="VS4 BYPASS BOOT" group="ADVANCED SETTINGS" value="vs4_bypass_code" preset="switchauto" order="817"/>
        <feature submenu="GAME PATCHES" name="VS4 2006 BYPASS BOOT" group="ADVANCED SETTINGS" value="vs42006_bypass_code" preset="switchauto" order="818"/>
        <feature submenu="GAME PATCHES" name="VS4 2006 BYPASS BOOT (JAP)" group="ADVANCED SETTINGS" value="vs42006jap_bypass_boot" preset="switchauto" order="819"/>
      </system>
    </core>
  </emulator>
  <!-- DOLPHIN TRIFORCE -->
  <emulator name="dolphin-triforce">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="SHADER SET" group="GENERAL SETTINGS" value="dolphin_shaders" order="5">
      <choice name="NONE" value="(off)"/>
      <choice name="ACID METAL" value="acidmetal"/>
      <choice name="ACID TRIP" value="acidtrip"/>
      <choice name="ACID TRIP 2" value="acidtrip2"/>
      <choice name="AUTO TOON" value="auto_toon"/>
      <choice name="AUTO TOON 2" value="auto_toon2"/>
      <choice name="BAD BLOOM" value="bad_bloom"/>
      <choice name="BRIGHTEN" value="brighten"/>
      <choice name="CHRISMAS" value="chrismas"/>
      <choice name="EMBOSS" value="emboss"/>
      <choice name="GRAYSCALE" value="grayscale"/>
      <choice name="INVERT" value="invert"/>
      <choice name="LENS DISTORTION" value="lens_distortion"/>
      <choice name="MAD WORLD" value="mad_world"/>
      <choice name="NIGHT VISION" value="nightvision"/>
      <choice name="POSTERIZE" value="posterize"/>
      <choice name="SEPIA" value="sepia"/>
      <choice name="SKETCHY" value="sketchy"/>
      <choice name="TOXIC" value="toxic"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ratio" order="25">
      <choice name="16/9" value="16/9"/>
      <choice name="4/3" value="4/3"/>
      <choice name="STRETCHED" value="Stretched"/>
    </feature>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internal_resolution" order="20">
      <choice name="1X (640x528)" value="1"/>
      <choice name="2X (720P)" value="2"/>
      <choice name="3X (1080P)" value="3"/>
      <choice name="4X (1440P)" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X (4K)" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X (5K)" value="8"/>
      <choice name="9X" value="9"/>
      <choice name="10X" value="10"/>
      <choice name="11X" value="11"/>
      <choice name="12X (8K)" value="12"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="dolphin_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <!-- VIDEO -->
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="widescreen_hack" description="Display the emulated framebuffer at a widescreen aspect ratio. Get best results with full 3D games." preset="switchauto" order="152"/>
    <feature submenu="VIDEO" name="COMPILE SHADERS BEFORE STARTING" group="ADVANCED SETTINGS" value="WaitForShadersBeforeStarting" description="May reduce stuttering a the cost of longer delay to start a game." preset="switchauto" order="153"/>
    <feature submenu="VIDEO" name="SHADERS COMPILATION METHOD" group="ADVANCED SETTINGS" value="ShaderCompilationMode" description="Reduce stuttering a the cost of much longer delay to start a game and high GPU usage." order="154">
        <choice name="HYBRID" value="2"/>
        <choice name="SPECIALIZED" value="0"/>
        <choice name="EXCLUSIVE" value="1"/>
        <choice name="SKIP DRAWING" value="3"/>
    </feature>
    <!-- VISUAL RENDERING -->
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="anisotropic_filtering" description="Enhance the quality of textures on surface. May make textures look better in some games, but may break certain effects in rare cases." order="250">
      <choice name="NO" value="0"/>
      <choice name="2x" value="1"/>
      <choice name="4x" value="2"/>
      <choice name="8x" value="3"/>
      <choice name="16x" value="4"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="antialiasing" description="Set Anti Aliasing for rendered content. A dangerous option to enable in Dolphin. Setting this too high will quickly cause a bandwidth bottleneck on your GPU. Worse yet, these settings may cause various graphical effects in games to be sampled incorrectly." order="251">
      <choice name="NO" value="0x00000001"/>
      <choice name="2x" value="0x00000002"/>
      <choice name="4x" value="0x00000004"/>
      <choice name="8x" value="0x00000008"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING MODE" group="ADVANCED SETTINGS" value="ssaa" description="SSAA offers better quality at the cost of performance." order="252">
      <choice name="MSAA" value="0"/>
      <choice name="SSAA" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="FORCE TEXTURES FILTERING" group="ADVANCED SETTINGS" value="ForceFiltering" description="Filter all textures. Including any that the game explicitly sets as unfiltered. Disabled by default." order="253">
      <choice name="NO" value="0"/>
      <choice name="NEAREST NEIGHBOR" value="1"/>
      <choice name="LINEAR" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="CROP" group="ADVANCED SETTINGS" value="dolphin_crop" description="Crop the picture from its native aspect ratio to 4:3 or 16:9" preset="switchauto" order="254"/>
    <!-- EMULATION -->
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="gamecube_language" order="100">
      <choice name="Deutsch" value="1"/>
      <choice name="English" value="0"/>
      <choice name="Español" value="3"/>
      <choice name="Français" value="2"/>
      <choice name="Italiano" value="4"/>
      <choice name="Nederlands" value="5"/>
    </feature>
    <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="skip_bios" description="Skips the BIOS boot animation displayed when loading content." preset="switchauto" order="101"/>
    <feature submenu="EMULATION" name="MEMORY MANAGEMENT UNIT" group="ADVANCED SETTINGS" value="enable_mmu" description="Enable the Memory Management Unit. Required for some games." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="DUAL CORE CPU THREAD" group="ADVANCED SETTINGS" value="dolphin_cputhread" description="Run games faster. A powerful option for gaining performance that has no downsides some of the time. May cause various random issues caused by splitting the CPU and GPU threads onto different cores." preset="switchauto" order="103"/>
    <feature submenu="EMULATION" name="FAST DISK SPEED" group="ADVANCED SETTINGS" value="enable_fastdisc" description="Improve the loading of discs of the emulated game." preset="switchauto" order="104"/>
    <feature submenu="EMULATION" name="IGNORE EFB FORMAT (HACK)" group="ADVANCED SETTINGS" value="EFBEmulateFormatChanges" description="Improve performance in many game. Disabling this may avoid graphical defect in some other games." preset="switchauto" order="105"/>
    <feature submenu="EMULATION" name="STORE EFB COPIES (HACK)" group="ADVANCED SETTINGS" value="EFBCopies" description="Many games need copies to textures only, but if you're seeing blacked out or missing graphics, you might need to choose copies to RAM." order="106">
      <choice name="TO TEXTURE" value="efb_to_texture_defer"/>
      <choice name="TO TEXTURE AND RAM" value="efb_to_ram_defer"/>
      <choice name="DON'T DEFER COPIES TO RAM" value="efb_to_ram"/>
    </feature>
    <feature submenu="EMULATION" name="SCALED EFB COPY (HACK)" group="ADVANCED SETTINGS" value="EFBScaledCopy" description="Greatly inscrease the quality of textures generated using render-to-texture effects. Enabled by default. Disabling it may avoid crashes for games using custom textures." preset="switchauto" order="107"/>
    <feature submenu="EMULATION" name="PERFORMANCE MODE" group="ADVANCED SETTINGS" value="perf_hacks" description="Improves the emulation performance at the cost of accuracy." preset="switchauto" order="108"/>
    <!-- USER INTERFACE -->
    <feature submenu="USER INTERFACE" name="NOTIFICATIONS" group="ADVANCED SETTINGS" value="OnScreenDisplayMessages" description="Display or not on-screen notifications." preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="dolphin_showfps" description="Shows performance statistics." order="451">
      <choice name="NO" value="no"/>
      <choice name="ONLY FPS" value="fps_only"/>
      <choice name="FULL STATISTICS" value="full"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="452"/>
    <!-- DRIVERS -->
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="dolphin_gfxbackend" description="Select which graphics API to use internally." order="400">
      <choice name="OPENGL" value="OGL"/>
      <choice name="VULKAN" value="Vulkan"/>
      <choice name="DIRECTX 11" value="D3D"/>
      <choice name="DIRECTX 12" value="D3D12"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="dolphin_audiobackend" description="Select which audio engine to use internally." order="401">
      <choice name="CUBEB" value="Cubeb"/>
      <choice name="WASAPI" value="WASAPI (Exclusive Mode)"/>
    </feature>
    <feature submenu="DRIVERS" name="FORCE SDL DRIVER FOR GAMEPAD" group="ADVANCED SETTINGS" value="input_forceSDL" description="Force usage of SDL driver for controllers, set this if more than 4 controllers are used, as XInput limits to 4 players." preset="switchauto" order="402"/>
    <!-- CONTROLS -->
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT" group="ADVANCED SETTINGS" value="triforce_mapping" order="500">
      <choice name="STANDARD" value="standard"/>
      <choice name="MARIO KART GP" value="mk"/>
      <choice name="F ZERO" value="fzero"/>
      <choice name="VIRTUA STRIKER" value="vs4"/>
      <choice name="VIRTUA STRIKER 2002" value="vs2002"/>
    </feature>
    <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" value="triforce_deadzone" group="ADVANCED SETTINGS" description="Use this only if the analog stick is drifting." preset="sliderauto" preset-parameters="0.0 50.0 2.0 %" order="505"/>
    <feature submenu="CONTROLS" name="JOYSTICK SENSITIVITY" value="triforce_sensitivity" group="ADVANCED SETTINGS" description="Decrease if too sensitive, decreasing too much might prevent from going full range." preset="sliderauto" preset-parameters="60.0 120.0 2.0 %" order="506"/>
    <feature submenu="GAME PATCHES" name="F-ZERO DISABLE MOTOR SETUP (rev d)" group="ADVANCED SETTINGS" value="fzeroax_motor_revd" preset="switchauto" order="800"/>
    <feature submenu="GAME PATCHES" name="F-ZERO DISABLE MOTOR SETUP (rev e)" group="ADVANCED SETTINGS" value="fzeroax_motor_reve" preset="switchauto" order="801"/>
    <feature submenu="GAME PATCHES" name="F-ZERO MONSTER RIDE DISABLE MOTOR SETUP" group="ADVANCED SETTINGS" value="fzeroaxmr_motor" preset="switchauto" order="802"/>
    <feature submenu="GAME PATCHES" name="MKGP DISABLE NAMCAM" group="ADVANCED SETTINGS" value="mkgp_namcam" preset="switchauto" order="803"/>
    <feature submenu="GAME PATCHES" name="MKGP LOOP FIX" group="ADVANCED SETTINGS" value="mkgp_loopfix" preset="switchauto" order="804"/>
    <feature submenu="GAME PATCHES" name="MKGP SKIP LINK CHECK" group="ADVANCED SETTINGS" value="mkgp_linkcheck" preset="switchauto" order="805"/>
    <feature submenu="GAME PATCHES" name="MKGP SLOWDOWN FIX" group="ADVANCED SETTINGS" value="mkgp_slowfix" preset="switchauto" order="806"/>
    <feature submenu="GAME PATCHES" name="MKGP-2 DISABLE NAMCAM" group="ADVANCED SETTINGS" value="mkgp2_namcam" preset="switchauto" order="808"/>
    <feature submenu="GAME PATCHES" name="MKGP-2 LOOP FIX" group="ADVANCED SETTINGS" value="mkgp2_loopfix" preset="switchauto" order="809"/>
    <feature submenu="GAME PATCHES" name="MKGP-2 LOOP FIX (JAP)" group="ADVANCED SETTINGS" value="mkgp2_loopfix_jpn" preset="switchauto" order="810"/>
    <feature submenu="GAME PATCHES" name="MKGP-2 SLOWDOWN FIX (US)" group="ADVANCED SETTINGS" value="mkgp2_slowdownfix_us" preset="switchauto" order="811"/>
    <feature submenu="GAME PATCHES" name="MKGP-2 SLOWDOWN FIX (JAP)" group="ADVANCED SETTINGS" value="mkgp2_slowdownfix_jp" preset="switchauto" order="812"/>
    <feature submenu="GAME PATCHES" name="MKGP-2 SKIP LINK CHECK (US)" group="ADVANCED SETTINGS" value="mkgp2_linkcheck_us" preset="switchauto" order="813"/>
    <feature submenu="GAME PATCHES" name="MKGP-2 SKIP LINK CHECK (JAP)" group="ADVANCED SETTINGS" value="mkgp2_linkcheck_jp" preset="switchauto" order="814"/>
    <feature submenu="GAME PATCHES" name="MKGP-2 SKIP BOOT CHECKS (US)" group="ADVANCED SETTINGS" value="mkgp2_bootcheck_us" preset="switchauto" order="815"/>
    <feature submenu="GAME PATCHES" name="MKGP-2 SKIP BOOT CHECKS (JAP)" group="ADVANCED SETTINGS" value="mkgp2_bootcheck_jp" preset="switchauto" order="816"/>
    <feature submenu="GAME PATCHES" name="VS4 BYPASS BOOT" group="ADVANCED SETTINGS" value="vs4_bypass_code" preset="switchauto" order="817"/>
    <feature submenu="GAME PATCHES" name="VS4 2006 BYPASS BOOT" group="ADVANCED SETTINGS" value="vs42006_bypass_code" preset="switchauto" order="818"/>
    <feature submenu="GAME PATCHES" name="VS4 2006 BYPASS BOOT (JAP)" group="ADVANCED SETTINGS" value="vs42006jap_bypass_boot" preset="switchauto" order="819"/>
  </emulator>
  <!-- DOSBOX -->
  <emulator name="dosbox" features="padtokeyboard">
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
  </emulator>
  <!-- DOSBOX-PURE -->
  <emulator name="dosbox-pure" features="padtokeyboard">
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="EMULATION" name="LOAD DOSBOX.CONF" group="ADVANCED SETTINGS" value="dosbox_pure_conf" description="Try to use legacy dosbox.conf config file instead of core options." order="100">
      <choice name="OFF" value="false"/>
      <choice name="dosbox.conf (in zip or folder)" value="inside"/>
      <choice name="*game_name*.conf (next to zip or folder)" value="outside"/>
    </feature>
    <feature submenu="EMULATION" name="CPU CYCLES" group="ADVANCED SETTINGS" value="dosbox_pure_cycles" description="The raw performance to emulate." order="104">
      <choice name="MAX" value="max"/>
      <choice name="8086/8088 - 4.77MHZ (315 CPS)" value="315"/>
      <choice name="286 - 6MHZ (1320 CPS)" value="1320"/>
      <choice name="286 - 12.5MHZ (2750 CPS)" value="2750"/>
      <choice name="386 - 20MHZ (4720 CPS)" value="4720"/>
      <choice name="386DX - 33MHZ (7800 CPS)" value="7800"/>
      <choice name="486DX - 33MHZ (13400 CPS)" value="13400"/>
      <choice name="486DX2 - 66MHZ (26800 CPS)" value="26800"/>
      <choice name="PENTIUM - 100MHZ (77000 CPS)" value="77000"/>
      <choice name="PENTIUM II - 300MHZ (200000 CPS)" value="200000"/>
      <choice name="PENTIUM III - 600MHZ (500000 CPS)" value="500000"/>
      <choice name="ATHLON - 1.2GHZ (1000000 CPS)" value="1000000"/>
    </feature>
    <feature submenu="EMULATION" name="HIGH MEMORY" group="ADVANCED SETTINGS" value="dosbox_pure_memory_size" description="The amount of high memory size the emulated machine has." order="105">
      <choice name="NO" value="none"/>
      <choice name="4MB" value="4"/>
      <choice name="8MB" value="8"/>
      <choice name="16MB(DEFAULT)" value="16"/>
      <choice name="24MB" value="24"/>
      <choice name="32MB" value="32"/>
      <choice name="64MB" value="64"/>
      <choice name="96MB" value="96"/>
      <choice name="128MB" value="128"/>
      <choice name="224MB" value="224"/>
      <choice name="256MB" value="256"/>
      <choice name="512MB" value="512"/>
      <choice name="1024MB" value="1024"/>
    </feature>
    <feature submenu="EMULATION" name="CPU TYPE" group="ADVANCED SETTINGS" value="dosbox_pure_cpu_type" description="Emulation method used. AUTO for mixed features with max performance and compatibility." order="106">
      <choice name="386" value="386"/>
      <choice name="386 (SLOW)" value="386_slow"/>
      <choice name="386 (PREFETCH)" value="386_prefetch"/>
      <choice name="486 (SLOW)" value="486_slow"/>
      <choice name="PENTIUM (SLOW)" value="pentium_slow"/>
    </feature>
    <feature submenu="EMULATION" name="CPU CORE" group="ADVANCED SETTINGS" value="dosbox_pure_cpu_core" description="Use interpreter for best compatibility, dynarec for performance." order="107">
      <choice name="DYNAMIC RECOMPILATION" value="dynamic"/>
      <choice name="NORMAL (INTERPRETER)" value="normal"/>
      <choice name="SIMPLE (INTERPRETER)" value="simple"/>
    </feature>
    <feature submenu="EMULATION" name="OS DISK MODIFICATION" group="ADVANCED SETTINGS" value="dosbox_pure_bootos_ramdisk" description="By default, modifications will be saved to disk drive, 'discard' will not save any modification." order="108">
      <choice name="KEEP" value="false"/>
      <choice name="DISCARD" value="true"/>
      <choice name="SAVE DIFFERENCE PER CONTENT" value="diff"/>
    </feature>
    <feature submenu="EMULATION" name="FORCE NORMAL CORE IN OS" group="ADVANCED SETTINGS" value="dosbox_pure_bootos_forcenormal" description="The normal core can be more stable when running installed OS." preset="switchauto" order="109"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="fastforward_toggle" order="120"/>
    <feature submenu="VIDEO" name="EMULATED GRAPHIC CHIP" group="ADVANCED SETTINGS" value="dosbox_pure_machine" description="The type of emulated graphic chip." order="160">
      <choice name="SVGA" value="svga"/>
      <choice name="VGA" value="vga"/>
      <choice name="EGA" value="ega"/>
      <choice name="CGA" value="cga"/>
      <choice name="TANDY" value="tandy"/>
      <choice name="HERCULES" value="hercules"/>
      <choice name="PCJR" value="pcjr"/>
    </feature>
    <feature submenu="VIDEO" name="GAME ASPECT RATIO" group="ADVANCED SETTINGS" value="dosbox_pure_aspect_correction" order="161">
      <choice name="ORIGINAL" value="false"/>
      <choice name="SINGLE-SCAN" value="true"/>
      <choice name="DOUBLE-SCAN" value="doublescan"/>
      <choice name="SINGLE-SCAN(PADDED)" value="padded"/>
      <choice name="DOUBLE-SCAN(PADDED)" value="padded-doublescan"/>
    </feature>
    <feature submenu="VIDEO" name="SVGA MODE" group="ADVANCED SETTINGS" value="dosbox_pure_svga" description="The SVGA variation that is being emulated." order="162">
      <choice name="S3 TRIO64" value="svga_s3"/>
      <choice name="S3 TRIO64 NO LINES BUFFER HACK" value="vesa_nolfb"/>
      <choice name="S3 TRIO64 VESA 1.3" value="vesa_oldvbe"/>
      <choice name="TSENG LABS ET3000" value="svga_et3000"/>
      <choice name="TSENG LABS ET4000" value="svga_et4000"/>
      <choice name="PARADISE PVGA1A" value="svga_paradise"/>
    </feature>
    <feature submenu="VIDEO" name="SVGA MEMORY" group="ADVANCED SETTINGS" value="dosbox_pure_svgamem" order="163">
      <choice name="512k" value="0"/>
      <choice name="1MB" value="1"/>
      <choice name="2MB (DEFAULT)" value="2"/>
      <choice name="3MB" value="3"/>
      <choice name="4MB" value="4"/>
      <choice name="8MB (UNSAFE)" value="8"/>
    </feature>
    <feature submenu="VIDEO" name="3DFX VOODOO ACCELERATOR" group="ADVANCED SETTINGS" value="dosbox_pure_voodoo" description="Enable certain games with support for the 3Dfx Voodoo accelerator." order="164">
      <choice name="8MB Memory" value="8mb"/>
      <choice name="OFF" value="off"/>
      <choice name="4MB Memory" value="4mb"/>
      <choice name="12MB Memory" value="12mb"/>
    </feature>
    <feature submenu="VIDEO" name="3DFX VOODOO PERFORMANCE" group="ADVANCED SETTINGS" value="dosbox_pure_voodoo_perf" description="Tweak the behavior of the 3Dfx Voodoo emulation." order="165">
      <choice name="HARDWARE OPENGL" value="4"/>
      <choice name="Multi-threaded" value="1"/>
      <choice name="Single-threaded" value="0"/>
      <choice name="Multi-threaded (Low Quality)" value="3"/>
      <choice name="Single-threaded (Low Quality)" value="2"/>
    </feature>
    <feature submenu="VIDEO" name="3DFX VOODOO SCALING" group="ADVANCED SETTINGS" value="dosbox_pure_voodoo_scale" description="Increase the 3DFx Voodoo OpenGL resolution." order="166">
      <choice name="1X" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X" value="8"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SCALING FILTER" group="ADVANCED SETTINGS" value="dosbox_interface_scaling" description="Set scaling filter for rendered content." order="250">
      <choice name="SHARP" value="sharp"/>
      <choice name="BILINEAR" value="bilinear"/>
      <choice name="NEAREST NEIGHBOR" value="nearest"/>
      <choice name="INTEGER SCALING" value="integer"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="CRT FILTER" group="ADVANCED SETTINGS" value="dosbox_interface_crtfilter" order="251">
      <choice name="NONE" value="0"/>
      <choice name="SCANLINES ONLY" value="1"/>
      <choice name="TV STYLE PHOSPHORS" value="2"/>
      <choice name="APERTURE-GRILLE PHOSPHORS" value="3"/>
      <choice name="STRETCHED VGA STYLE PHOSPHORS" value="4"/>
      <choice name="VGA STYLE PHOSPHORS" value="5"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="OVERSCAN" group="ADVANCED SETTINGS" value="dosbox_pure_overscan" order="252">
      <choice name="OFF" value="0"/>
      <choice name="SMALL" value="1"/>
      <choice name="MEDIUM" value="2"/>
      <choice name="LARGE" value="3"/>
    </feature>
    <feature submenu="AUDIO" name="SOUNDBLASTER SETTINGS" group="ADVANCED SETTINGS" value="dosbox_sblaster_conf" description="Set the adress, interrupt, low 8 bit and high 16 bit DMA." order="300">
      <choice name="Port 220 IRQ 7 DMA 1/5" value="A220 I7 D1 H5"/>
      <choice name="Port 220 IRQ 5 DMA 1/5" value="A220 I5 D1 H5"/>
      <choice name="Port 240 IRQ 7 DMA 1/5" value="A240 I7 D1 H5"/>
      <choice name="Port 240 IRQ 7 DMA 3/7" value="A240 I7 D3 H7"/>
      <choice name="Port 240 IRQ 2 DMA 3/7" value="A240 I2 D3 H7"/>
      <choice name="Port 240 IRQ 5 DMA 3/5" value="A240 I5 D3 H5"/>
      <choice name="Port 240 IRQ 5 DMA 1/5" value="A240 I5 D1 H5"/>
      <choice name="Port 240 IRQ 10 DMA 3/7" value="A240 I10 D3 H7"/>
      <choice name="Port 280 IRQ 10 DMA 0/6" value="A280 I10 D0 H6"/>
      <choice name="Port 280 IRQ 5 DMA 1/5" value="A280 I5 D1 H5"/>
    </feature>
    <feature submenu="AUDIO" name="MIDI OUTPUT" group="ADVANCED SETTINGS" value="dosbox_midi" description="Select the soundfont file or interface used for MIDI output." order="301">
      <choice name="SYSTEM" value="system"/>
      <choice name="NO" value="disabled"/>
      <choice name="ROLAND SC-55" value="Roland_SC-55.sf2"/>
      <choice name="ROLAND SC-88" value="Roland_SC-88.sf2"/>
      <choice name="ROLAND MT-32" value="MT32_CONTROL.ROM"/>
    </feature>
    <feature submenu="AUDIO" name="SOUNDBLASTER TYPE" group="ADVANCED SETTINGS" value="dosbox_pure_sblaster_type" description="Type of emulated SoundBlaster card." order="302">
      <choice name="SOUNDBLASTER 16" value="sb16"/>
      <choice name="SOUNDBLASTER PRO 2" value="sbpro2"/>
      <choice name="SOUNDBLASTER PRO" value="sbpro"/>
      <choice name="SOUNDBLASTER 2.0" value="sb2"/>
      <choice name="SOUNDBLASTER 1.0" value="sb1"/>
      <choice name="GAMEBLASTER" value="gb"/>
      <choice name="NO" value="none"/>
    </feature>
    <feature submenu="AUDIO" name="SOUNDBLASTER FM MODE" group="ADVANCED SETTINGS" value="dosbox_pure_sblaster_adlib_mode" description="The SoundBlaster emulated FM synth mode." order="303">
      <choice name="CMS" value="cms"/>
      <choice name="OPL-2" value="opl2"/>
      <choice name="DUAL OPL-2" value="dualopl2"/>
      <choice name="OPL-3" value="opl3"/>
      <choice name="OPL-3 GOLD" value="opl3gold"/>
      <choice name="NO" value="none"/>
    </feature>
    <feature submenu="AUDIO" name="SOUNDBLASTER ADLIB PROVIDER" group="ADVANCED SETTINGS" value="dosbox_pure_sblaster_adlib_emu" description="Provider for the Adlib emulation. DEFAULT has good quality and low perf requirements." order="304">
      <choice name="DEFAULT" value="default"/>
      <choice name="HIGH QUALITY NUKED OPL3" value="nuked"/>
    </feature>
    <feature submenu="AUDIO" name="GRAVIS ULTRASOUND" group="ADVANCED SETTINGS" value="dosbox_pure_gus" description="Enable Gravis Ultrasound emulation." preset="switchauto" order="305"/>
    <feature submenu="AUDIO" name="TANDY SOUND" group="ADVANCED SETTINGS" value="dosbox_pure_tandysound" description="Enable Tandy Sound emulation." preset="switchauto" order="306"/>
    <feature submenu="USER INTERFACE" name="CORE PERFORMANCE STATISTICS" value="dosbox_pure_perfstats" group="ADVANCED SETTINGS" description="Display different levels of informations about statistics of performance." order="453">
      <choice name="OFF" value="none"/>
      <choice name="SIMPLE" value="simple"/>
      <choice name="DETAILED" value="detailed"/>
    </feature>
    <feature submenu="CONTROLS" name="MOUSE INPUT MODE" group="ADVANCED SETTINGS" value="dosbox_pure_mouse_input" order="500">
      <choice name="VIRTUAL MOUSE MOVEMENT" value="virtual"/>
      <choice name="DIRECT MOUSE CONTROL" value="direct"/>
      <choice name="TOUCHPAD" value="pad"/>
      <choice name="OFF" value="false"/>
    </feature>
    <feature submenu="CONTROLS" name="LOCK MOUSE" group="ADVANCED SETTINGS" value="dosbox_pure_interface_lockmouse" preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="GAMEPAD AUTO MAPPING" value="dosbox_pure_auto_mapping" group="ADVANCED SETTINGS" description="Try to detect the game and apply a controller mapping." order="502">
      <choice name="ON" value="true"/>
      <choice name="ON WITH NOTIFICATIONS" value="notify"/>
      <choice name="OFF" value="false"/>
    </feature>
    <feature submenu="CONTROLS" name="KEYBOARD LAYOUT" value="dosbox_pure_keyboard_layout" group="ADVANCED SETTINGS" order="510">
      <choice name="US(DEFAULT)" value="us"/>
      <choice name="UK" value="uk"/>
      <choice name="FRANCE" value="fr"/>
      <choice name="GERMANY" value="gr"/>
    </feature>
  </emulator>
  <!-- DOSBOX STAGING -->
  <emulator name="dosbox-staging" features="padtokeyboard">
    <feature name="SHADER SET" value="dbs_glshader" group="GENERAL SETTINGS" description="Efficient graphics filters improving the rendering of games." order="5">
      <choice name="CRT AUTO" value="crt-auto"/>
      <choice name="CRT AUTO MACHINE" value="crt-auto-machine"/>
      <choice name="CRT AUTO ARCADE" value="crt-auto-arcade"/>
      <choice name="CRT AUTO ARCADE SHARP" value="crt-auto-arcade-sharp"/>
      <choice name="SHARP" value="sharp"/>
      <choice name="BILINEAR" value="bilinear"/>
      <choice name="NEAREST NEIGHBOUR" value="nearest"/>
      <choice name="CRT ARCADE 1080P" value="crt\arcade-1080p"/>
      <choice name="CRT ARCADE 1440P" value="crt\arcade-1440p"/>
      <choice name="CRT ARCADE 4K" value="crt\arcade-sharp-4k"/>
      <choice name="SCALER ADVMAME 2x" value="scaler\advmame2x"/>
      <choice name="SCALER ADVMAME 3x" value="scaler\advmame3x"/>
      <choice name="XBR 2X 3D" value="scaler\xbr-lv2-3d"/>
      <choice name="XBR 2X NOBLEND" value="scaler\xbr-lv2-noblend"/>
      <choice name="XBR 3X" value="scaler\xbr-lv3"/>
      <choice name="VGA 1080 FAKE DOUBLE SCAN" value="crt\vga-1080p-fake-double-scan"/>
      <choice name="VGA 1080P" value="crt\vga-1080p"/>
      <choice name="VGA 1440P" value="crt\vga-1440p"/>
      <choice name="VGA 4K" value="crt\vga-4k"/>
      <choice name="EGA 1080P" value="crt\ega-1080p"/>
      <choice name="EGA 1440P" value="crt\ega-1440p"/>
      <choice name="EGA 4K" value="crt\ega-4k"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="dbs_aspect" order="25">
      <choice name="CORRECTION ON" value="on"/>
      <choice name="CORRECTION OFF" value="off"/>
      <choice name="SQUARE PIXELS" value="square-pixels"/>
      <choice name="STRETCH" value="stretch"/>
    </feature>
    <feature name="VSYNC" group="GENERAL SETTINGS" value="dbs_vsync" order="30">
      <choice name="ON" value="on"/>
      <choice name="ADAPTATIVE" value="adaptive"/>
      <choice name="OFF" value="off"/>
      <choice name="YIELD" value="yield"/>
    </feature>
    <feature name="INTEGER SCALING" group="GENERAL SETTINGS" value="dbs_integer_scaling" order="35">
      <choice name="VERTICAL" value="vertical"/>
      <choice name="HORIZONTAL" value="horizontal"/>
      <choice name="OFF" value="off"/>
    </feature>
    <feature submenu="EMULATION" name="CPU TYPE" group="ADVANCED SETTINGS" value="dbs_cputype" order="101">
      <choice name="386" value="386"/>
      <choice name="386 FAST" value="386_fast"/>
      <choice name="386 PREFETCH" value="386_prefetch"/>
      <choice name="486" value="486"/>
      <choice name="PENTIUM" value="pentium"/>
      <choice name="PENTIUM MMX" value="pentium_mmx"/>
    </feature>
    <feature submenu="EMULATION" name="CPU CYCLES" group="ADVANCED SETTINGS" value="dbs_cpu_cycles" order="102">
      <choice name="8088 (4.77 MHz)" value="300"/>
      <choice name="286-8" value="700"/>
      <choice name="286-12" value="1500"/>
      <choice name="386SX-20" value="3000"/>
      <choice name="386DX-33" value="6000"/>
      <choice name="386DX-40" value="8000"/>
      <choice name="486DX-33" value="12000"/>
      <choice name="486DX/2-66" value="25000"/>
      <choice name="Pentium 90" value="50000"/>
      <choice name="Pentium MMX-166" value="100000"/>
      <choice name="Pentium II 300" value="200000"/>
      <choice name="MAXIMUM" value="max"/>
    </feature>
    <feature submenu="EMULATION" name="CPU CYCLES(PROTECTED MODE)" group="ADVANCED SETTINGS" value="dbs_cpu_cycles_protected" order="103">
      <choice name="8088 (4.77 MHz)" value="300"/>
      <choice name="286-8" value="700"/>
      <choice name="286-12" value="1500"/>
      <choice name="386SX-20" value="3000"/>
      <choice name="386DX-33" value="6000"/>
      <choice name="386DX-40" value="8000"/>
      <choice name="486DX-33" value="12000"/>
      <choice name="486DX/2-66" value="25000"/>
      <choice name="Pentium 90" value="50000"/>
      <choice name="Pentium MMX-166" value="100000"/>
      <choice name="Pentium II 300" value="200000"/>
      <choice name="MAXIMUM" value="max"/>
    </feature>
    <feature submenu="EMULATION" name="CPU THROTTLE" group="ADVANCED SETTINGS" value="dbs_cpu_throttle" description="Throttle down the number of emulated CPU cycles dynamically if your host CPU cannot keep up (disabled by default)" preset="switchauto" order="104"/>
    <feature submenu="EMULATION" name="CORE" group="ADVANCED SETTINGS" value="dbs_core" description="Type of CPU emulation core to use." order="106">
      <choice name="NORMAL" value="normal"/>
      <choice name="SIMPLE" value="simple"/>
      <choice name="DYNAMIC" value="dynamic"/>
    </feature>
    <feature submenu="EMULATION" name="AUTOMOUNT C" group="ADVANCED SETTINGS" value="dbs_automount" description="Mount automatically drive C: at startup." preset="switchauto" order="110"/>
    <feature submenu="EMULATION" name="MEMORY SIZE" group="ADVANCED SETTINGS" value="dbs_memsize" description="The amount of high memory size the emulated machine has." order="111">
      <choice name="4MB" value="4"/>
      <choice name="8MB" value="8"/>
      <choice name="16MB(DEFAULT)" value="16"/>
      <choice name="24MB" value="24"/>
      <choice name="32MB" value="32"/>
      <choice name="64MB" value="64"/>
      <choice name="96MB" value="96"/>
      <choice name="128MB" value="128"/>
      <choice name="224MB" value="224"/>
      <choice name="256MB" value="256"/>
      <choice name="512MB" value="512"/>
      <choice name="1024MB" value="1024"/>
    </feature>
    <feature submenu="EMULATION" name="FORCE EXE TO RUN" group="ADVANCED SETTINGS" value="dosbox_exerun" preset="files" order="136"/>
    <feature submenu="EMULATION" name="TRY TO RUN GAME SETUP" group="ADVANCED SETTINGS" value="dosbox_runsetup" description="Try and run the game setup." preset="switchauto" order="137"/>
    <feature submenu="EMULATION" name="SETUP EXECUTABLE" group="ADVANCED SETTINGS" value="dosbox_setupcommand" preset="files" order="138"/>
    <feature submenu="EMULATION" name="IGNORE BAT FILES" group="ADVANCED SETTINGS" value="dosbox_ignorebat" description="Use this setting to ignore run.bat, autoexec.bat or dosbox.bat files in game folder." preset="switchauto" order="130"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="152"/>
    <feature submenu="VIDEO" name="EMULATED GRAPHIC CHIP" group="ADVANCED SETTINGS" value="dbs_machine" description="The type of emulated graphic chip." order="155">
      <choice name="SVGA" value="svga"/>
      <choice name="VGA" value="vga"/>
      <choice name="EGA" value="ega"/>
      <choice name="CGA" value="cga"/>
      <choice name="CGA MONO" value="cga_mono"/>
      <choice name="TANDY" value="tandy"/>
      <choice name="HERCULES" value="hercules"/>
      <choice name="PCJR" value="pcjr"/>
      <choice name="SVGA PARADISE" value="svga_paradise"/>
      <choice name="Tseng Labs ET3000 SVGA" value="svga_et3000"/>
      <choice name="Tseng Labs ET4000 SVGA" value="svga_et4000"/>
      <choice name="S3 Trio64" value="svga_s3"/>
      <choice name="S3 Trio64 (VESA VBE 1.2)" value="vesa_oldvbe"/>
      <choice name="S3 Trio64 (NO LINEAR HACK)" value="vesa_nolfb"/>
    </feature>
    <feature submenu="VIDEO" name="VIDEO MEMORY SIZE" group="ADVANCED SETTINGS" value="dbs_vmemsize" description="The amount of video memory." order="156">
      <choice name="1MB" value="1"/>
      <choice name="2MB" value="2"/>
      <choice name="4MB" value="4"/>
      <choice name="8MB" value="8"/>
      <choice name="256MB" value="256"/>
      <choice name="512MB" value="512"/>
      <choice name="1024MB" value="1024"/>
      <choice name="2048MB" value="2048"/>
      <choice name="4096MB" value="4096"/>
      <choice name="8192MB" value="8192"/>
    </feature>
    <feature submenu="VIDEO" name="ENABLE REEL MAGIC" group="ADVANCED SETTINGS" value="dbs_reelmagic" description="ReelMagic MPEG playback support." order="157">
      <choice name="OFF" value="off"/>
      <choice name="CARD (WITHOUT FMPDRV DRIVER)" value="cardonly"/>
      <choice name="ON" value="on"/>
    </feature>
    <feature submenu="VIDEO" name="HOST REFRESH RATE" group="ADVANCED SETTINGS" value="dbs_host_rate" description="Set the host's refresh rate." order="165">
      <choice name="SERIAL DEVICE INTERFACE" value="sdi"/>
      <choice name="VRR" value="vrr"/>
    </feature>
    <feature submenu="VIDEO" name="PRESENTATION MODE" group="ADVANCED SETTINGS" value="dbs_presentation_mode" description="Select the frame presentation mode." order="166">
      <choice name="CONSTANTE FRAME RATE" value="cfr"/>
      <choice name="VARIABLE FRAME RATE" value="vfr"/>
    </feature>
    <feature submenu="VOODOO" name="ENABLE 3DFX VOODOO EMULATION" group="ADVANCED SETTINGS" value="dbs_voodoo" preset="switchauto" order="180"/>
    <feature submenu="VOODOO" name="VOODOO MEMORY SIZE" group="ADVANCED SETTINGS" value="dbs_voodoo_memsize" order="181">
      <choice name="4MB" value="4"/>
      <choice name="12MB" value="12"/>
    </feature>
    <feature submenu="VOODOO" name="BILINEAR FILTERING" group="ADVANCED SETTINGS" value="dbs_voodoo_bilinear_filtering" preset="switchauto" order="183"/>
    <feature submenu="VISUAL RENDERING" name="ACCURATE PER-SCANLINE VGA RENDERING" group="ADVANCED SETTINGS" value="dbs_vga_render_per_scanline" description="A few games need this option disabled." preset="switchauto" order="250"/>
    <feature submenu="AUDIO" name="MIDI OUTPUT" group="ADVANCED SETTINGS" value="dosbox_midi" description="Select the soundfont file or interface used for MIDI output." order="300">
      <choice name="SYSTEM" value="system"/>
      <choice name="NO" value="disabled"/>
      <choice name="ROLAND SC-55" value="Roland_SC-55.sf2"/>
      <choice name="ROLAND SC-88" value="Roland_SC-88.sf2"/>
      <choice name="ROLAND MT-32" value="MT32_CONTROL.ROM"/>
    </feature>
    <feature submenu="AUDIO" name="SOUNDBLASTER SETTINGS" group="ADVANCED SETTINGS" value="dosbox_sblaster_conf" description="Set the adress, interrupt, low 8 bit and high 16 bit DMA." order="301">
      <choice name="Port 220 IRQ 7 DMA 1/5" value="A220 I7 D1 H5"/>
      <choice name="Port 220 IRQ 5 DMA 1/5" value="A220 I5 D1 H5"/>
      <choice name="Port 240 IRQ 7 DMA 1/5" value="A240 I7 D1 H5"/>
      <choice name="Port 240 IRQ 7 DMA 3/7" value="A240 I7 D3 H7"/>
      <choice name="Port 240 IRQ 2 DMA 3/7" value="A240 I2 D3 H7"/>
      <choice name="Port 240 IRQ 5 DMA 3/5" value="A240 I5 D3 H5"/>
      <choice name="Port 240 IRQ 5 DMA 1/5" value="A240 I5 D1 H5"/>
      <choice name="Port 240 IRQ 10 DMA 3/7" value="A240 I10 D3 H7"/>
      <choice name="Port 280 IRQ 10 DMA 0/6" value="A280 I10 D0 H6"/>
      <choice name="Port 280 IRQ 5 DMA 1/5" value="A280 I5 D1 H5"/>
    </feature>
    <feature submenu="AUDIO" name="GRAVIS ULTRASOUND" group="ADVANCED SETTINGS" value="dbs_gus" description="Enable Gravis Ultrasound emulation." preset="switchauto" order="310"/>
    <feature submenu="AUDIO" name="IBM MUSIC CARD" group="ADVANCED SETTINGS" value="dbs_imfc" description="Enable the IBM Music Feature Card (disabled by default)." preset="switchauto" order="311"/>
    <feature submenu="AUDIO" name="TANDY SOUND" group="ADVANCED SETTINGS" value="dbs_tandy" description="Enable Tandy Sound emulation." order="312">
      <choice name="ON" value="on"/>
      <choice name="ONLY 3-VOICE SOUND GENERATOR" value="psg"/>
      <choice name="OFF" value="off"/>
    </feature>
    <feature submenu="AUDIO" name="PARALLEL PORT DAC TYPE" group="ADVANCED SETTINGS" value="dbs_lpt_dac" order="314">
      <choice name="OFF" value="off"/>
      <choice name="DISNEY SOUND SOURCE" value="disney"/>
      <choice name="COVOX SPEECH THING" value="covox"/>
      <choice name="STEREO-ON-1 DAC" value="ston1"/>
    </feature>
    <feature submenu="AUDIO" name="IBM PS/1 AUDIO EMULATION" group="ADVANCED SETTINGS" value="dbs_ps1audio" description="Enable IBM PS/1 Audio emulation (disabled by default)." preset="switchauto" order="316"/>
    <feature submenu="USER INTERFACE" name="STARTUP VERBOSITY" group="ADVANCED SETTINGS" value="dbs_startup_verbosity" description="Controls verbosity prior to displaying the program." order="452">
      <choice name="WELCOME AND STDOUT" value="high"/>
      <choice name="STDOUT ONLY" value="low"/>
      <choice name="QUIET" value="quiet"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW CONSOLE" group="ADVANCED SETTINGS" value="dosbox_showconsole" preset="switchauto" order="454"/>
    <feature submenu="USER INTERFACE" name="NO EXIT" group="ADVANCED SETTINGS" value="dosbox_noexit" description="Keep DOS shell active if quitting game or when launch fails." preset="switchauto" order="455"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="dbs_output" description="Select which graphics API to use internally." order="400">
      <choice name="OpenGL" value="opengl"/>
      <choice name="SDL TEXTURE(BILINEAR)" value="texture"/>
      <choice name="SDL TEXTURE(NEAREST NEIGHBOUR)" value="texturenb"/>
    </feature>
    <feature submenu="DRIVERS" name="TEXTURE RENDERER" group="ADVANCED SETTINGS" value="dbs_texture_renderer" description="Select which graphics API to use when using texture renderer." order="401">
      <choice name="DIRECT3D" value="direct3d"/>
      <choice name="DIRECT3D 11" value="direct3d11"/>
      <choice name="DIRECT3D 12" value="direct3d12"/>
      <choice name="OPENGL" value="opengl"/>
      <choice name="OPENGLES 2" value="opengles2"/>
      <choice name="SOFTWARE" value="software"/>
    </feature>
    <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="dbs_joysticktype" order="500">
      <choice name="2 AXIS" value="2axis"/>
      <choice name="4 AXIS (FIRST ONLY)" value="4axis"/>
      <choice name="4 AXIS (TWO)" value="4axis_2"/>
      <choice name="THRUSTMASTER FCS" value="fcs"/>
      <choice name="CH FLIGHTSTICK" value="ch"/>
      <choice name="HIDDEN" value="hidden"/>
      <choice name="DISABLED" value="disabled"/>
    </feature>
    <feature submenu="CONTROLS" name="TIMED INTERVALS FOR AXIS" group="ADVANCED SETTINGS" value="dbs_timed" description="Experiment with this option, if your joystick drifts away (enabled by default)." preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="AUTOFIRE" group="ADVANCED SETTINGS" value="dbs_autofire" description="Fire continuously as long as the button is pressed." preset="switchauto" order="502"/>
  </emulator>
  <!-- DUCKSTATION -->
  <emulator name="duckstation" features="cheevos">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internal_resolution" order="20">
      <choice name="1X (NATIVE)" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X (720P)" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X (1080P)" value="5"/>
      <choice name="6X (1440P)" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X" value="8"/>
      <choice name="9X (4K)" value="9"/>
      <choice name="10X" value="10"/>
      <choice name="11X" value="11"/>
      <choice name="12X" value="12"/>
      <choice name="13X" value="13"/>
      <choice name="14X" value="14"/>
      <choice name="15X" value="15"/>
      <choice name="16X" value="16"/>
      <choice name="17X" value="17"/>
      <choice name="18X" value="18"/>
      <choice name="19X" value="19"/>
      <choice name="20X" value="20"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="psx_ratio" order="25">
      <choice name="NATIVE" value="Auto (Game Native)"/>
      <choice name="4/3" value="4:3"/>
      <choice name="16/9" value="16:9"/>
      <choice name="19/9" value="19:9"/>
      <choice name="20/9" value="20:9"/>
      <choice name="PAR 1:1" value="PAR 1:1"/>
      <choice name="STRETCH" value="Stretch To Fill"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="VSync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="Widescreen_Hack" description="Display the emulated framebuffer at a widescreen aspect ratio. Get best results with full 3D games." preset="switchauto" order="152"/>
    <feature submenu="VIDEO" name="DEINTERLACING MODE" group="ADVANCED SETTINGS" value="duckstation_deinterlace" description="Some game might require interlaced rendering." order="153">
      <choice name="PROGRESSIVE" value="Progressive"/>
      <choice name="ADAPTATIVE" value="Adaptive"/>
      <choice name="WEAVE" value="Weave"/>
      <choice name="BLEND (Blur)" value="Blend"/>
      <choice name="DISABLED" value="Disabled"/>
    </feature>
    <feature submenu="VIDEO" name="DISABLE FULLSCREEN" group="ADVANCED SETTINGS" value="disable_fullscreen" description="Use this option if duckstation is not displaying on the correct monitor." preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="USE INTERNAL BEZEL" group="ADVANCED SETTINGS" value="duckstation_internalBezel" preset="switchauto" order="155"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="Texture_Enhancement" description="Smooths out the blockyness of magnified textures on 3D objects by using filtering." order="250">
      <choice name="Nearest Neighbor" value="Nearest"/>
      <choice name="Bilinear" value="Bilinear"/>
      <choice name="Bilinear (No Edge Blending)" value="BilinearBinAlpha"/>
      <choice name="JINC2" value="JINC2"/>
      <choice name="JINC2 (No Edge Blending)" value="JINC2BinAlpha"/>
      <choice name="xBR" value="xBR"/>
      <choice name="xBR (No Edge Blending)" value="xBRBinAlpha"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SHADER" group="ADVANCED SETTINGS" value="duck_shaders" description="Enable this to use Duckstation's provided shaders." order="251">
      <choice name="FXAA" value="anti-aliasing/fxaa"/>
      <choice name="CCALIBRATOR" value="Cccalibrator"/>
      <choice name="CRT-LOTTES" value="crt-lottes"/>
      <choice name="DOLPHIN CRT HYLLIAN" value="dolphinfx/crt/CRT-HYLLIAN"/>
      <choice name="DOLPHIN EDGE SMOOTHING DDT" value="dolphinfx/edge-smoothing/DDT"/>
      <choice name="DOLPHIN EDGE SMOOTHING XBR" value="dolphinfx/edge-smoothing/XBR"/>
      <choice name="DOLPHIN PIXELLATE" value="dolphinfx/pixel-art/PIXELLATE"/>
      <choice name="DOLPHIN SCANLINES" value="dolphinfx/scanlines"/>
      <choice name="SUPER XBR" value="edge-smoothing/super-xbr"/>
      <choice name="INTERPOLATION BICUBIC" value="interpolation/bicubic"/>
      <choice name="CRT NEW PIXIE" value="CRT-NewPixie"/>
      <choice name="CRT-LOTTES 2" value="CRTLottes2"/>
      <choice name="DALTONIZE" value="Daltonize"/>
      <choice name="DEBAND" value="Deband"/>
      <choice name="FILM GRAIN" value="FilmGrain2"/>
      <choice name="LUT" value="LUT"/>
      <choice name="MULTI-LUT" value="misc/multi-LUT"/>
      <choice name="NTSC ADAPTIVE LITE" value="ntsc/ntsc-adaptive-lite"/>
      <choice name="SCANLINES ABS" value="scanlines-abs"/>
      <choice name="SIMPLE BRIGHTNESS" value="simple-brightness"/>
      <choice name="SIMPLE FLIP" value="simple-flip"/>
      <choice name="SIMPLE GAMMA" value="simple-gamma"/>
      <choice name="SIMPLE SHARPEN" value="simple-sharpen"/>
      <choice name="UI MASK" value="UIMask"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="MULTISAMPLE" group="ADVANCED SETTINGS" value="duck_msaa" order="252">
      <choice name="NONE" value="msaa_1"/>
      <choice name="2x MSAA" value="msaa_2"/>
      <choice name="4x MSAA" value="msaa_4"/>
      <choice name="8x MSAA" value="msaa_8"/>
      <choice name="2x SSAA" value="ssaa_2"/>
      <choice name="4x SSAA" value="ssaa_4"/>
      <choice name="8x SSAA" value="ssaa_8"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE CORRECTION(PGXP)" group="ADVANCED SETTINGS" value="duck_pgxp" description="Eliminates distortion and warping of textures when upscaling." preset="switchauto" order="253"/>
    <feature submenu="VISUAL RENDERING" name="TRUE COLORS - 24 BITS" group="ADVANCED SETTINGS" value="duck_ditheringmode" description="Controls how dithering is applied." order="255">
      <choice name="TRUE COLOR" value="TrueColor"/>
      <choice name="TRUE COLOR (FULL)" value="TrueColorFull"/>
      <choice name="UNSCALED" value="Unscaled"/>
      <choice name="UNSCALED (SHADER BLENDING)" value="UnscaledShaderBlend"/>
      <choice name="SCALED" value="Scaled"/>
      <choice name="SCALED (SHADER BLENDING)" value="ScaledShaderBlend"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="duck_custom_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="256"/>
    <feature submenu="VISUAL RENDERING" name="PREFETCH CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="duck_preload_textures" description="Preload custom textures on startup." preset="switchauto" order="257"/>
    <feature submenu="SCREEN SYNC" name="OPTIMAL FRAME PACING" group="ADVANCED SETTINGS" value="duckstation_optimalframepacing" description="Enable this if you have a gsync/freesync monitor, can cause audio glitches." preset="switchauto" order="200"/>
    <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="fullboot" description="Skips the BIOS boot animation displayed when loading content." preset="switchauto" order="100"/>
    <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="psx_region" order="101">
      <choice name="PAL" value="PAL"/>
      <choice name="NTSC US" value="NTSC-U"/>
      <choice name="NTSC JAPAN" value="NTSC-J"/>
    </feature>
    <feature submenu="EMULATION" name="FORCE BIOS" group="ADVANCED SETTINGS" value="duck_bios" order="102">
      <choice name="PSX ON PSP BIOS" value="psxonpsp660.bin"/>
      <choice name="PS1 JP (SCPH5500)" value="scph5500.bin"/>
      <choice name="PS1 US (SCPH5501)" value="scph5501.bin"/>
      <choice name="PS1 EU (SCPH5502)" value="scph5502.bin"/>
      <choice name="Version 2.0 (SCPH1001)" value="scph1001.bin"/>
      <choice name="Version 4.1 (SCPH7001)" value="scph7001.bin"/>
      <choice name="Version 4.5 (SCPH101)" value="scph101.bin"/>
    </feature>
    <feature submenu="EMULATION" name="CPU DECODER" group="ADVANCED SETTINGS" value="ExecutionMode" description="Recompiler is fastest, Interpreter is more accurate." order="103">
      <choice name="Recompiler (fastest)" value="Recompiler"/>
      <choice name="Cached Interpreter (fast)" value="CachedInterpreter"/>
      <choice name="Interpreter (slowest)" value="Interpreter"/>
    </feature>
    <feature submenu="EMULATION" name="MEMORY CARD TYPE" group="ADVANCED SETTINGS" value="duckstation_memcardtype" order="104">
      <choice name="PER GAME (TITLE)" value="PerGameTitle"/>
      <choice name="SHARED" value="Shared"/>
      <choice name="PER GAME (FILE TITLE)" value="PerGameFileTitle"/>
      <choice name="PER GAME (ID)" value="PerGame"/>
    </feature>
    <feature submenu="EMULATION" name="DISABLE ALL ENHANCEMENTS" group="ADVANCED SETTINGS" value="duckstation_disable_enhancement" description="This will run game without any selected graphical or cpu enhancement." preset="switchauto" order="105"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="106"/>
    <feature submenu="EMULATION" name="ENABLE 8MB RAM" group="ADVANCED SETTINGS" value="duckstation_ram" description="Enable additional developer ram, might break games." preset="switchauto" order="107"/>
    <feature submenu="EMULATION" name="EMULATION SPEED" group="ADVANCED SETTINGS" value="duck_EmulationSpeed" preset="sliderauto" preset-parameters="0.5 2 0.1 x" order="107"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="gfxbackend" description="Select which graphics API to use internally." order="400">
      <choice name="OpenGL" value="OpenGL"/>
      <choice name="Vulkan" value="Vulkan"/>
      <choice name="DirectX 11" value="D3D11"/>
      <choice name="DirectX 12" value="D3D12"/>
      <choice name="SOFTWARE" value="Software"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="audiobackend" order="401">
      <choice name="CUBEB" value="Cubeb"/>
      <choice name="SDL" value="SDL"/>
    </feature>
    <feature submenu="DRIVERS" name="FORCE SDL DRIVER FOR GAMEPAD" group="ADVANCED SETTINGS" value="input_forceSDL" description="Force usage of SDL driver for controllers, set this if more than 4 controllers are used, as XInput limits to 4 players." preset="switchauto" order="402"/>
    <feature submenu="LATENCY REDUCTION" name="RUN-AHEAD FRAMES" group="ADVANCED SETTINGS" value="runahead" preset="sliderauto" preset-parameters="0 10 1" order="350"/>
    <feature submenu="USER INTERFACE" name="PERFORMANCE STATISTICS" value="performance_overlay" group="ADVANCED SETTINGS" description="Show performance statistics overlay in-game." order="450">
      <choice name="OFF" value="off"/>
      <choice name="FPS ONLY" value="simple"/>
      <choice name="DETAILED" value="detailed"/>
    </feature>
    <feature submenu="USER INTERFACE" name="OSD MESSAGES" group="ADVANCED SETTINGS" value="duckstation_osd_enabled" description="Show emulator notifications." preset="switchauto" order="451"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="452"/>
    <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" value="duck_controller1" group="ADVANCED SETTINGS" order="500">
      <choice name="DUALSHOCK" value="AnalogController"/>
      <choice name="DIGITAL CONTROLLER" value="DigitalController"/>
      <choice name="ANALOG JOYSTICK" value="AnalogJoystick"/>
      <choice name="GUNCON" value="GunCon"/>
      <choice name="MOUSE" value="PlayStationMouse"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" value="duck_controller2" group="ADVANCED SETTINGS" order="501">
      <choice name="DUALSHOCK" value="AnalogController"/>
      <choice name="DIGITAL CONTROLLER" value="DigitalController"/>
      <choice name="ANALOG JOYSTICK" value="AnalogJoystick"/>
      <choice name="MOUSE" value="PlayStationMouse"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" value="duck_controller3" group="ADVANCED SETTINGS" order="502">
      <choice name="DUALSHOCK" value="AnalogController"/>
      <choice name="DIGITAL CONTROLLER" value="DigitalController"/>
      <choice name="ANALOG JOYSTICK" value="AnalogJoystick"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" value="duck_controller4" group="ADVANCED SETTINGS" order="503">
      <choice name="DUALSHOCK" value="AnalogController"/>
      <choice name="DIGITAL CONTROLLER" value="DigitalController"/>
      <choice name="ANALOG JOYSTICK" value="AnalogJoystick"/>
    </feature>
    <feature submenu="CONTROLS" name="USE TRIGGERS TO BRAKE/ACCELERATE" group="ADVANCED SETTINGS" value="psx_triggerswap" description="Can be useful for Gran Turismo, triggers will be mapped to right analog stick." preset="switchauto" order="504"/>
    <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" value="stick_deadzone" group="ADVANCED SETTINGS" description="Use this only if the analog stick is drifting." preset="sliderauto" preset-parameters="0.00 0.50 0.02 %" order="505"/>
    <feature submenu="CONTROLS" name="ANALOG TRIGGER DEADZONE" value="trigger_deadzone" group="ADVANCED SETTINGS" description="Sets the deadzone of the Gamepad analog triggers." preset="sliderauto" preset-parameters="0.00 0.50 0.02 %" order="506"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    <feature submenu="GUNS" name="CROSSHAIR" group="ADVANCED SETTINGS" value="duck_custom_crosshair" description="Place custom 'crosshair.png' file in 'cross' subfolder of the emulator." preset="switchauto" order="551"/>
    <feature submenu="GUNS" name="CROSSHAIR SIZE" value="duck_crosshair" group="ADVANCED SETTINGS" description="Values above 1.00 will increase size, values below will reduce." preset="sliderauto" preset-parameters="0.00 2.00 0.10 %" order="552"/>
    <feature submenu="GUNS" name="GUN MAPPING A/B" value="duck_gun_ab" group="ADVANCED SETTINGS" description="Define how to map A and B buttons of the GunCon, this is useful for games like Time Crisis." order="553">
      <choice name="Keyboard PageUp/PageDown" value="key_1"/>
      <choice name="Keyboard K/L" value="key_2"/>
      <choice name="Keyboard 1/5" value="key_6"/>
      <choice name="Keyboard LEFT/RIGHT" value="key_3"/>
      <choice name="Keyboard VOL+/VOL-" value="key_5"/>
      <choice name="Wiimote mode 2 LEFT/PLUS" value="key_4"/>
      <choice name="CONTROLLER A/B" value="controller_1"/>
    </feature>
    <feature submenu="GUNS" name="MAP GUN TO PLAYER 2" value="duck_gunp2" group="ADVANCED SETTINGS" description="Plug the GunCon in port 2, to use for Die Hard Trilogy." preset="switchauto" order="554"/>
    <feature submenu="GUNS" name="INVERT TRIGGER AND SECONDARY BUTTON" group="ADVANCED SETTINGS" value="gun_invert" description="Activate this when using WiiZapper to invert trigger and reload buttons." preset="switchauto" order="555"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_reload_button" order="556"/>
  </emulator>
  <!-- EDEN -->
  <emulator name="eden">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="eden_resolution_setup" description="Improve fidelity of 3D models at the cost of increased performance requirements." order="20">
      <choice name="0.25x (180p/270p)" value="0"/>
      <choice name="0.5x (360p/540p)" value="1"/>
      <choice name="0.75x (540p/810p)" value="2"/>
      <choice name="1x (720p/1080p)" value="3"/>
      <choice name="1.25x (900p/1350p)" value="4"/>
      <choice name="1.5x (1080p/1620p)" value="5"/>
      <choice name="2x (1440p/2160p)" value="6"/>
      <choice name="3x (2160p/3240p)" value="7"/>
      <choice name="4x (2880p/4320p)" value="8"/>
      <choice name="5x (3600p/5400p)" value="9"/>
      <choice name="6x (4320p/6480p)" value="10"/>
      <choice name="7x (5040p/7560p)" value="11"/>
      <choice name="8x (5760p/8640p)" value="12"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="eden_use_vsync" order="30">
      <choice name="FIFO (Vsync ON)" value="2"/>
      <choice name="NO" value="0"/>
      <choice name="YES (MAILBOX) - Vulkan only" value="1"/>
      <choice name="FIFO RELAX - vulkan only" value="3"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="eden_ratio" order="25">
      <choice name="DEFAULT" value="0"/>
      <choice name="FORCE 4/3" value="1"/>
      <choice name="FORCE 21/9" value="2"/>
      <choice name="FORCE 16/10" value="3"/>
      <choice name="STRETCH" value="4"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="GPU ACCURACY" group="ADVANCED SETTINGS" value="eden_gpu_accuracy" description="Default is 'HIGH', set to 'NORMAL' to increase performance at the cost of accuracy." order="152">
      <choice name="HIGH" value="1"/>
      <choice name="NORMAL" value="0"/>
      <choice name="EXTREME (VERY SLOW)" value="2"/>
    </feature>
    <feature submenu="VIDEO" name="USE ASYNCHRONOUS SHADER COMPILATION" group="ADVANCED SETTINGS" value="eden_use_asynchronous_shaders" description="Can reduce lags when compiling shaders, experimental." preset="switchauto" order="153"/>
    <feature submenu="VIDEO" name="ASTC RECOMPRESSION" group="ADVANCED SETTINGS" value="eden_astc_recompression" description="For games using ASTC textures, switch to medium when using 6GB VRAM GPU and low when using 4GB-2GB VRAM GPU." order="154">
      <choice name="UNCOMPRESSED (default, best quality)" value="0"/>
      <choice name="MEDIUM QUALITY" value="2"/>
      <choice name="LOW QUALITY" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="eden_anti_aliasing" description="Set Anti Aliasing for rendered content." order="250">
      <choice name="NONE" value="0"/>
      <choice name="FXAA" value="1"/>
      <choice name="SMAA" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SCALING FILTER" group="ADVANCED SETTINGS" value="eden_scaling_filter" description="Set scaling filter for rendered content." order="251">
      <choice name="Nearest Neighbor" value="0"/>
      <choice name="Bilinear" value="1"/>
      <choice name="Bicubic" value="2"/>
      <choice name="Gaussian" value="3"/>
      <choice name="Lanczos" value="4"/>
      <choice name="ScaleForce" value="5"/>
      <choice name="AMD's FidelityFX Super Resolution" value="6"/>
      <choice name="Area" value="7"/>
      <choice name="MMPX" value="12"/>
      <choice name="Zero-Tangent" value="8"/>
      <choice name="B-Spline" value="9"/>
      <choice name="Mitchell" value="10"/>
      <choice name="Spline-1" value="11"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="eden_anisotropy" description="Enhance the quality of textures on surface." order="252">
      <choice name="DEFAULT" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="3"/>
      <choice name="8x" value="4"/>
      <choice name="16x" value="5"/>
      <choice name="32x" value="6"/>
      <choice name="64x" value="7"/>
      <choice name="NONE" value="8"/>
    </feature>
    <feature submenu="AUDIO" name="AUDIO CHANNELS" group="ADVANCED SETTINGS" value="eden_sound_index" order="300">
      <choice name="STEREO" value="1"/>
      <choice name="SURROUND" value="2"/>
      <choice name="MONO" value="0"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="eden_language" order="100">
      <choice name="American English" value="1"/>
      <choice name="日本語 (Japanese)" value="0"/>
      <choice name="Français" value="2"/>
      <choice name="Español" value="5"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Italiano" value="4"/>
      <choice name="Nederlands" value="8"/>
      <choice name="Português" value="9"/>
      <choice name="Русский (Russian)" value="10"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="Chinese" value="6"/>
      <choice name="Taiwanese" value="11"/>
      <choice name="British" value="12"/>
      <choice name="French (Canadian)" value="13"/>
      <choice name="Spanish (Latin America)" value="14"/>
      <choice name="简化字 (Chinese - simplified)" value="15"/>
      <choice name="簡化字 (Chinese - traditional)" value="16"/>
      <choice name="Português (Brazil)" value="17"/>
    </feature>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="eden_region_value" description="Force the region of the system." order="101">
      <choice name="JAPAN" value="0"/>
      <choice name="USA" value="1"/>
      <choice name="EUROPE" value="2"/>
      <choice name="AUSTRALIA" value="3"/>
      <choice name="CHINA" value="4"/>
      <choice name="KOREA" value="5"/>
      <choice name="TAIWAN" value="6"/>
    </feature>
    <feature submenu="EMULATION" name="USE UNDOCKED MODE" group="ADVANCED SETTINGS" value="eden_undock" description="Can increase performance on some lower-end systems." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="CPU ACCURACY" group="ADVANCED SETTINGS" value="eden_cpu_accuracy" description="Leave AUTO as default except the game requires specific setting." order="103">
      <choice name="ACCURATE" value="1"/>
      <choice name="UNSAFE" value="2"/>
      <choice name="PARANOID" value="3"/>
    </feature>
    <feature submenu="EMULATION" name="MULTICORE CPU EMULATION" group="ADVANCED SETTINGS" value="eden_multicore" preset="switchauto" order="104"/>
    <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="eden_memory" order="105">
      <choice name="4GB (Default)" value="0"/>
      <choice name="6GB (Unsafe)" value="1"/>
      <choice name="8GB (Unsafe)" value="2"/>
      <choice name="10GB (Unsafe)" value="3"/>
      <choice name="12GB (Unsafe)" value="4"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="eden_backend" order="400">
      <choice name="OPENGL GLSL" value="0"/>
      <choice name="VULKAN" value="1"/>
      <choice name="OPENGL GLASM (NVIDIA)" value="3"/>
      <choice name="OPENGL SPIR-V (AMD)" value="4"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="eden_audio_backend" order="401">
      <choice name="CUBEB" value="cubeb"/>
      <choice name="SDL2" value="sdl2"/>
    </feature>
    <feature submenu="DRIVERS" name="DISABLE RAW INPUT" group="ADVANCED SETTINGS" value="eden_norawinput" preset="switchauto" order="402"/>
    <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="eden_player_0_type" description="Sets the player controller type." order="500">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="HANDHELD" value="4"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="eden_player_1_type" order="501">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="eden_player_2_type" order="502">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="eden_player_3_type" order="503">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="ENABLE MOTION" group="ADVANCED SETTINGS" value="switch_enable_motion" description="Can only be used if the controller is compatible with motion control." preset="switchauto" order="504"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="switch_gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="505"/>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="eden_deadzone" preset="sliderauto" preset-parameters="0 50 5 %" order="506"/>
    <feature submenu="CONTROLS" name="DISABLE CONTROLLER APPLET" group="ADVANCED SETTINGS" value="eden_controller_applet" description="Disable the controller applet that appears in multiplayer games to select the connected controllers." preset="switchauto" order="507"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
  </emulator>
  <!-- EDUKE32 -->
  <emulator name="eduke32">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="eduke_resolution" order="20">
      <choice name="1920x1080" value="1920x1080"/>
      <choice name="1680x1050" value="1680x1050"/>
      <choice name="1600x900" value="1600x900"/>
      <choice name="1440x900" value="1440x900"/>
      <choice name="1400x1050" value="1400x1050"/>
      <choice name="1366x768" value="1366x768"/>
      <choice name="1360x768" value="1360x768"/>
      <choice name="1280x1024" value="1280x1024"/>
      <choice name="1280x960" value="1280x960"/>
      <choice name="1280x800" value="1280x800"/>
      <choice name="1280x768" value="1280x768"/>
      <choice name="1280x720" value="1280x720"/>
      <choice name="1280x600" value="1280x600"/>
      <choice name="1152x864" value="1152x864"/>
      <choice name="1024x768" value="1024x768"/>
      <choice name="800x600" value="800x600"/>
      <choice name="640x480" value="640x480"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="VSync" preset="switchauto" order="30"/>
    <feature name="AUTOLOAD CONTENT" group="GENERAL SETTINGS" value="autoload" description="Use this to autoload content like HD packs." preset="switchauto" order="39"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="151"/>
  </emulator>
  <!-- EKA2L1 -->
  <emulator name="eka2l1">
    <feature name="SCREEN SIZE" group="GENERAL SETTINGS" value="eka2l1_upscale" order="20">
      <choice name="4x" value="4"/>
      <choice name="8x" value="8"/>
      <choice name="2x" value="2"/>
      <choice name="1x" value="1"/>
      <choice name="STRETCH TO SCREEN" value="-1"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="eka2l1_rotate" order="152">
      <choice name="NO" value="0"/>
      <choice name="ROTATE RIGHT" value="90"/>
      <choice name="ROTATE LEFT" value="270"/>
      <choice name="ROTATE MIRROR" value="180"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="eka2l1_nearest_neighbor_filter" description="Control the texture filtering of the emulation." preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE UPSCALING" group="ADVANCED SETTINGS" value="eka2l1_upscale_filter" description="Efficient graphics filters improving the rendering of games." order="251">
      <choice name="NONE" value="false"/>
      <choice name="2xBR" value="2xBR"/>
      <choice name="4xBR" value="4xBR"/>
      <choice name="4xhq" value="4xhq"/>
      <choice name="5xBR" value="5xBR"/>
      <choice name="5xBR-lv2" value="5xBR-lv2"/>
      <choice name="CRT-Hyllian" value="CRT-Hyllian"/>
      <choice name="CRT-Lottes" value="CRT-Lottes"/>
      <choice name="dot" value="dot"/>
      <choice name="fxaa" value="fxaa"/>
      <choice name="scanline" value="scanline"/>
      <choice name="sharpen" value="sharpen"/>
      <choice name="zfast_lcd" value="zfast_lcd"/>
      <choice name="zfast_lcd_mobile" value="zfast_lcd_mobile"/>
    </feature>
    <feature submenu="EMULATION" name="SYMBIAN DEVICE" group="ADVANCED SETTINGS" value="eka2l1_device" description="Define Symbian device to run." order="100">
      <choice name="N-GAGE (S60v1)" value="NEM-4"/>
      <choice name="N95 (S60v3)" value="RM-320"/>
      <choice name="N70 (S60v2)" value="RM-84"/>
      <choice name="N-GAGE QD (S60v1)" value="RH-29"/>
      <choice name="XPress Music 5320d-1 (S60v3)" value="RM-409"/>
      <choice name="5230 (S60v5)" value="RM-588"/>
      <choice name="9300 (S60 7.0)" value="RAE-6"/>
      <choice name="X7-00 (Belle)" value="RM-707"/>
    </feature>
  </emulator>
  <!-- FBNEO -->
  <emulator name="fbneo">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
	<sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <feature submenu="EMULATION" name="ENABLE HISCORES" group="ADVANCED SETTINGS" value="fbneo_hiscore" preset="switchauto" order="100"/>
    <feature submenu="EMULATION" name="ENABLE IPS PATCH" group="ADVANCED SETTINGS" value="fbneo_ips" description="Enable ips patches." preset="switchauto" order="101"/>
    <feature submenu="EMULATION" name="ENABLE IPS PATCH" group="ADVANCED SETTINGS" value="fbneo_patch" description="Specify IPS patch to enable, if not set all patches defined in ips .ini will be used." preset="files" order="102"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="152"/>
    <feature submenu="VIDEO" name="VERTICAL MONITOR INDEX" group="ADVANCED SETTINGS" value="VerticalMonitorIndex" description="Vertical games will be displayed on the monitor corresponding to the selected index." order="153">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
      <choice name="9" value="9"/>
      <choice name="10" value="10"/>
    </feature>
    <feature submenu="VIDEO" name="FORCE 60HZ" group="ADVANCED SETTINGS" value="fbneo_force60hz" description="Forces 60Hz refresh rate." preset="switchauto" order="154"/>
    <feature submenu="VISUAL RENDERING" name="SCANLINES" group="ADVANCED SETTINGS" value="fbneo_scanlines" order="250">
      <choice name="NONE" value="0"/>
      <choice name="LIGHT" value="-1061109568"/>
      <choice name="MODERATE" value="-2139062144"/>
      <choice name="INTENSE" value="1094795585"/>
      <choice name="VERY INTENSE" value="max"/>
    </feature>
    <feature submenu="LATENCY REDUCTION" name="ENABLE RUN-AHEAD" group="ADVANCED SETTINGS" value="fbneo_runahead" description="Enable run-ahead mode for the reduction of input lag." preset="switchauto" order="350"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="fbneo_renderer" order="400">
      <choice name="DIRECTX9" value="3"/>
      <choice name="DIRECTX9 (ALT)" value="4"/>
      <choice name="BASIC" value="0"/>
      <choice name="SOFTX" value="2"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="fbneo_audiodriver" order="401">
      <choice name="DIRECT SOUND" value="0"/>
      <choice name="XAUDIO 2" value="1"/>
    </feature>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="controller_layout" order="500"/>
    <feature submenu="CONTROLS" name="USE ALTERNATE INDEX" group="ADVANCED SETTINGS" value="fbneo_dinput_index" preset="switchauto" order="503"/>
  </emulator>
  <!-- FLYCAST -->
  <emulator name="flycast" features="cheevos">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="flycast_resolution" order="20">
      <choice name="640x480 (NATIVE)" value="480"/>
      <choice name="320x240 (HALF)" value="240"/>
      <choice name="960x720 (x1.5)" value="720"/>
      <choice name="1280x960 (x2)" value="960"/>
      <choice name="1600x1200 (x2.5)" value="1200"/>
      <choice name="1920x1440 (x3)" value="1440"/>
      <choice name="2560x1920 (x4)" value="1920"/>
      <choice name="2880x2160 (x4.5)" value="2160"/>
      <choice name="3200x2400 (x5)" value="2400"/>
      <choice name="3840x2880 (x6)" value="2880"/>
      <choice name="4480x3360 (x7)" value="3360"/>
      <choice name="5120x3840 (x8)" value="3840"/>
      <choice name="5760x4320 (x9)" value="4320"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="flycast_ratio" order="25">
      <choice name="4/3" value="normal"/>
      <choice name="16/9" value="wide"/>
      <choice name="STRETCH" value="stretch"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="flycast_vsync" order="30">
      <choice name="YES" value="yes"/>
      <choice name="NO" value="no"/>
      <choice name="Duplicate frames" value="dupframes"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="EMULATED CABLE TYPE" group="ADVANCED SETTINGS" value="flycast_cable" description="Apply a video filter to mimic various signals." order="152">
      <choice name="VGA" value="0"/>
      <choice name="TV (RGB)" value="2"/>
      <choice name="COMPOSITE" value="3"/>
    </feature>
    <feature submenu="VIDEO" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="flycast_broadcast" description="Select a video format for output." order="153">
      <choice name="NTSC" value="0"/>
      <choice name="PAL (WORLD)" value="1"/>
      <choice name="PAL-N (ARGENTINA, URUGUAY, PARAGUAY)" value="3"/>
      <choice name="PAL-M (BRAZIL)" value="2"/>
    </feature>
    <feature submenu="VIDEO" name="TATE MODE" group="ADVANCED SETTINGS" value="flycast_rotate" description="Rotate display for vertical games." preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="AUTO FRAMESKIP" group="ADVANCED SETTINGS" value="flycast_autoframeskip" description="Automatically skip frames to improve performance (smoothless)." order="155">
      <choice name="DISABLED" value="0"/>
      <choice name="NORMAL" value="1"/>
      <choice name="MAXIMUM" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ALPHA SORTING" group="ADVANCED SETTINGS" value="flycast_transparent_sorting" description="Enhance graphics accuracy at the cost of inscreased performance requirements." order="250">
      <choice name="per-pixel (accurate)" value="pixel"/>
      <choice name="per-strip (fast, least accurate)" value="strip"/>
      <choice name="per-triangle (normal)" value="triangle"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="flycast_fxaa" description="Enhance the quality of textures on surface." order="251">
      <choice name="DISABLED" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
      <choice name="8x" value="8"/>
      <choice name="16x" value="16"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="flycast_texture_filter" description="Control the texture filtering of the emulation." order="252">
      <choice name="NEAREST NEIGHBOR" value="1"/>
      <choice name="LINEAR" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="WIDESCREEN CHEATS" group="ADVANCED SETTINGS" value="flycast_widescreen_hack" description="Activate cheats that allow certain games to display in widescreen format." preset="switchauto" order="253"/>
    <feature submenu="VISUAL RENDERING" name="DISABLE SHADOWS" group="ADVANCED SETTINGS" value="flycast_shadows" description="Disable modifier volumes used to render shadows." preset="switchauto" order="254"/>
    <feature submenu="VISUAL RENDERING" name="DISABLE FOG" group="ADVANCED SETTINGS" value="flycast_fog" description="Disable fog effects." preset="switchauto" order="255"/>
    <feature submenu="VISUAL RENDERING" name="THREADS FOR TEXTURE UPSCALING" group="ADVANCED SETTINGS" value="flycast_threads" description="Maximum number of CPU threads to use for texture upscaling. Use total number of threads minus 1." preset="sliderauto" preset-parameters="1 8 1" order="257"/>
    <feature submenu="VISUAL RENDERING" name="COPY TEXTURES TO VRAM" group="ADVANCED SETTINGS" value="flycast_copytovram" description="Copy textures to VRAM, slower but more accurate. Disable this to save performance." preset="switchauto" order="258"/>
    <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="flycast_custom_textures" preset="switchauto" order="259"/>
    <feature submenu="VISUAL RENDERING" name="LINEAR INTERPOLATION" group="ADVANCED SETTINGS" value="flycast_linearinterpolation" preset="switchauto" order="260"/>
    <feature submenu="AUDIO" name="DSP EMULATION" group="ADVANCED SETTINGS" value="flycast_dsp" description="Enable Digital Sound Processor. Enhance sound accuracy at the cost of inscreased performance requirements." preset="switchauto" order="300"/>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="flycast_region" order="100">
      <choice name="Japan" value="0"/>
      <choice name="USA" value="1"/>
      <choice name="Europe" value="2"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="flycast_language" order="101">
      <choice name="English" value="1"/>
      <choice name="Français" value="3"/>
      <choice name="Deutsch" value="2"/>
      <choice name="Español" value="4"/>
      <choice name="Italiano" value="5"/>
      <choice name="日本語 (Japanese)" value="0"/>
    </feature>
    <feature submenu="EMULATION" name="ENABLE SERVICE MENU" group="ADVANCED SETTINGS" value="flycast_service_menu" description="Switch this on to activate service menu via R3 and L3 buttons." preset="switchauto" order="103"/>
    <feature submenu="EMULATION" name="PER GAME VMU" group="ADVANCED SETTINGS" value="flycast_vmupergame" description="When enabled, each game will have its own VMU in port 1." preset="switchauto" order="104"/>
    <feature submenu="EMULATION" name="32MB RAM MOD" group="ADVANCED SETTINGS" value="flycast_ram32" description="Enable 32MB Ram mod for dreamcast, may affect compatibility." preset="switchauto" order="105"/>
    <feature submenu="EMULATION" name="USE HLE BIOS" group="ADVANCED SETTINGS" value="flycast_hlebios" preset="switchauto" order="106"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="flycast_video" order="400">
      <choice name="VULKAN" value="vulkan"/>
      <choice name="OPENGL" value="opengl"/>
      <choice name="DIRECTX 11" value="dx11"/>
      <choice name="DIRECTX 9" value="dx9"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="flycast_audio" order="401">
      <choice name="DIRECTSOUND" value="directsound"/>
      <choice name="SDL2" value="sdl2"/>
    </feature>
    <feature submenu="USER INTERFACE" name="DISPLAY FPS" value="flycast_fps" group="ADVANCED SETTINGS" description="Show FPS overlay in-game." preset="switchauto" order="450"/>
    <feature submenu="NETWORK" name="NETWORK TYPE" value="flycast_network" group="ADVANCED SETTINGS" order="700">
      <choice name="DISABLED" value="disabled"/>
      <choice name="GGPO" value="ggpo"/>
      <choice name="NAOMI" value="naomi"/>
      <choice name="BATTLE CABLE" value="battle"/>
    </feature>
    <feature submenu="NETWORK" name="HOST GAME" value="flycast_host" group="ADVANCED SETTINGS" description="Act as player 1 and host the game." preset="switchauto" order="701"/>
    <feature submenu="NETWORK" name="SERVER" value="flycast_server" group="ADVANCED SETTINGS" description="Enter server address." preset="input" order="702"/>
    <feature submenu="NETWORK" name="USE DCNET" value="flycast_dcnet" group="ADVANCED SETTINGS" order="703"/>
    <feature submenu="NETWORK" name="UDP PORT" value="flycast_localport" group="ADVANCED SETTINGS" description="Enter local UDP post to use for hosting." preset="input" order="705"/>
    <feature submenu="NETWORK" name="ENABLE UPNP" value="flycast_upnp" group="ADVANCED SETTINGS" preset="switchauto" order="706"/>
    <feature submenu="NETWORK" name="BROADCAST DIGITAL OUTPUTS" value="flycast_output" group="ADVANCED SETTINGS" description="Broadcast input feedback on TCP port 8000." preset="switchauto" order="707"/>
    <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="flycast_controller1" order="501">
      <choice name="CONTROLLER" value="0"/>
      <choice name="LIGHT GUN" value="7"/>
      <choice name="KEYBOARD" value="5"/>
      <choice name="MOUSE" value="6"/>
      <choice name="ASCII STICK" value="4"/>
      <choice name="TWIN STICK" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 1 EXTENSION" group="ADVANCED SETTINGS" value="flycast_extension1" description="Select the extension to add to the controller." order="502">
      <choice name="NONE" value="10"/>
      <choice name="VMU" value="1"/>
      <choice name="PURUPURU" value="3"/>
      <choice name="MICROPHONE" value="2"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="flycast_controller2" order="503">
      <choice name="CONTROLLER" value="0"/>
      <choice name="LIGHT GUN" value="7"/>
      <choice name="KEYBOARD" value="5"/>
      <choice name="MOUSE" value="6"/>
      <choice name="ASCII STICK" value="4"/>
      <choice name="TWIN STICK" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 EXTENSION" group="ADVANCED SETTINGS" value="flycast_extension2" order="504">
      <choice name="NONE" value="10"/>
      <choice name="VMU" value="1"/>
      <choice name="PURUPURU" value="3"/>
      <choice name="MICROPHONE" value="2"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="flycast_controller3" order="505">
      <choice name="CONTROLLER" value="0"/>
      <choice name="ASCII STICK" value="4"/>
      <choice name="TWIN STICK" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 3 EXTENSION" group="ADVANCED SETTINGS" value="flycast_extension3" order="506">
      <choice name="NONE" value="10"/>
      <choice name="VMU" value="1"/>
      <choice name="PURUPURU" value="3"/>
      <choice name="MICROPHONE" value="2"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="flycast_controller4" order="507">
      <choice name="CONTROLLER" value="0"/>
      <choice name="ASCII STICK" value="4"/>
      <choice name="TWIN STICK" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 4 EXTENSION" group="ADVANCED SETTINGS" value="flycast_extension4" order="508">
      <choice name="NONE" value="10"/>
      <choice name="VMU" value="1"/>
      <choice name="PURUPURU" value="3"/>
      <choice name="MICROPHONE" value="2"/>
    </feature>
    <sharedFeature submenu="WHEELS" group="ADVANCED SETTINGS" value="use_wheel" order="600"/>
    <sharedFeature submenu="WHEELS" group="ADVANCED SETTINGS" value="wheel_nogearstick" order="601"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="551"/>
    <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="flycast_crosshair" preset="switchauto" order="552"/>
    <feature submenu="GUNS" name="INVERT TRIGGER/RELOAD" group="ADVANCED SETTINGS" value="gun_invert" description="Activate this when using WiiZapper to invert trigger and reload buttons." preset="switchauto" order="553"/>
    <feature submenu="GUNS" name="MOUSE MAPPING" group="ADVANCED SETTINGS" value="flycast_mousegunbuttons" description="Define mapping for mouse buttons (left/right/middle), defaut is a/reload/start." order="554">
      <choice name="A/reload/start" value="a_r_s"/>
      <choice name="X/B/start" value="x_b_s"/>
      <choice name="X/A/start" value="x_a_s"/>
      <choice name="A/B/start" value="a_b_s"/>
    </feature>
    <feature submenu="GUNS" name="SWITCH GUN INDEX" group="ADVANCED SETTINGS" value="gun_index_revert" description="Switch this to use lightgun 1 for player 2 and lightgun 2 for player 1." preset="switchauto" order="555"/>
    <feature submenu="GUNS" name="USE DEMULSHOOTER" group="ADVANCED SETTINGS" value="use_demulshooter" description="Launch DemulShooter for gun games." preset="switchauto" order="556"/>
    <feature submenu="GUNS" name="OUTPUT GAME DATA" group="ADVANCED SETTINGS" value="ds_output" description="Enable this option when using mamehooker with LEDs, solenoids, rumble..." order="557">
      <choice name="TO WINDOW" value="win"/>
      <choice name="TO NETWORK" value="net"/>
      <choice name="TO BOTH" value="both"/>
    </feature>
    <feature submenu="GUNS" name="VERBOSE MODE" group="ADVANCED SETTINGS" value="ds_verbose" description="Enable verbose mode for debugging." preset="switchauto" order="558"/>
    <feature submenu="GUNS" name="USE MAMEHOOKER" group="ADVANCED SETTINGS" value="use_mamehooker" description="Launch MameHooker for outputs management." preset="switchauto" order="559"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="560"/>
    <system name="atomiswave">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="controller_layout" order="500"/>
      <feature submenu="CONTROLS" name="USE DPAD" group="ADVANCED SETTINGS" value="flycast_usedpad" description="Switch this on to use dpad instead of left analog stick." preset="switchauto" order="510"/>
      <feature submenu="WHEELS" name="WHEEL BUTTON LAYOUT" group="ADVANCED SETTINGS" value="flycast_arcadewheel_layout" description="Change this setting depending on the game's controls." order="610">
        <choice name="B BUTTON FOR REVERSE (CRAZY TAXI)" value="b_reverse"/>
        <choice name="X BUTTON FOR REVERSE (ROUTE66)" value="x_reverse"/>
        <choice name="A/B FOR GEARS UP AND DOWN (INITIAL D)" value="ab_gearup"/>
        <choice name="DPAD UP/DOWN GEARS (ATOMISWAVE)" value="dpadup_gearup"/>
      </feature>
    </system>
    <system name="dreamcast">
      <feature submenu="CONTROLS" name="USE R1 AND L1" group="ADVANCED SETTINGS" value="dreamcast_use_shoulders" description="Use shoulder buttons instead of triggers." preset="switchauto" order="510"/>
      <feature submenu="WHEELS" name="USE RACING CONTROLLER" group="ADVANCED SETTINGS" value="flycast_racing_controller" description="Map controller to Racing Controller, games that were not compatible with Racing Wheel will not work." preset="switchauto" order="610"/>
      <feature submenu="WHEELS" name="WHEEL BUTTON LAYOUT" group="ADVANCED SETTINGS" value="flycast_wheel_layout" description="Change this setting depending on the game's controls, left of the / sign is the original game button for acceleration and brakes, right for gears." order="611">
        <choice name="TRIGGERS (speed)/ AX (gear up/down)" value="triggers_ax"/>
        <choice name="TRIGGERS (speed)/ ABXY (manual gears)" value="triggers_manual"/>
        <choice name="AX (speed)/ triggers (gear up/down)" value="ax_triggers"/>
        <choice name="AX (speed)/ BY (gear up/down)" value="ax_by"/>
      </feature>
    </system>
    <system name="naomi,naomi2">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="controller_layout" order="500"/>
      <feature submenu="EMULATION" name="FREE PLAY" group="ADVANCED SETTINGS" value="flycast_freeplay" description="Modify the coin setting to Free Play." preset="switchauto" order="110"/>
      <feature submenu="CONTROLS" name="USE DPAD" group="ADVANCED SETTINGS" value="flycast_usedpad" description="Switch this on to use dpad instead of left analog stick." preset="switchauto" order="510"/>
      <feature submenu="WHEELS" name="WHEEL BUTTON LAYOUT" group="ADVANCED SETTINGS" value="flycast_arcadewheel_layout" description="Change this setting depending on the game's controls." order="610">
        <choice name="B BUTTON FOR REVERSE (CRAZY TAXI)" value="b_reverse"/>
        <choice name="X BUTTON FOR REVERSE (ROUTE66)" value="x_reverse"/>
        <choice name="A/B FOR GEARS UP AND DOWN (INITIAL D)" value="ab_gearup"/>
        <choice name="DPAD UP/DOWN GEARS (ATOMISWAVE)" value="dpadup_gearup"/>
      </feature>
    </system>
    <feature submenu="EMULATION" name="CPU MODE" value="flycast_dynarec" group="ADVANCED SETTINGS" description="Use interpreter for best compatibility, dynarec for performance." order="120">
      <choice name="Dynarec" value="yes"/>
      <choice name="Interpreter" value="no"/>
    </feature>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="121"/>
    <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" group="ADVANCED SETTINGS" value="flycast_deadzone" preset="sliderauto" preset-parameters="0 50 2 %" order="530"/>
    <feature submenu="CONTROLS" name="GAMEPAD RUMBLE" group="ADVANCED SETTINGS" value="flycast_rumble" preset="sliderauto" preset-parameters="0 100 5 %" order="531"/>
  </emulator>
  <!-- FUTURE PINBALL -->
  <emulator name="fpinball" features="padtokeyboard">
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ratio" order="25">
      <choice name="16/9" value="16/9"/>
      <choice name="4/3" value="4/3"/>
    </feature>
    <feature group="GENERAL SETTINGS" name="VSYNC" value="fp_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="152"/>
    <feature submenu="VIDEO" name="CAMERA" group="ADVANCED SETTINGS" value="DefaultCamera" order="153">
      <choice name="FULL TABLE" value="0"/>
      <choice name="FULL TABLE 2" value="1"/>
      <choice name="SCROLLING 1" value="2"/>
      <choice name="SCROLLING 2" value="3"/>
      <choice name="LOW ANGLE 1" value="4"/>
      <choice name="LOW ANGLE 2" value="5"/>
      <choice name="FIXED VIEW" value="6"/>
    </feature>
    <feature submenu="VIDEO" name="TATE MODE" group="ADVANCED SETTINGS" value="arcademode" description="Rotate display for vertical screen." preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="CAMERA FOLLOWS THE BALL" group="ADVANCED SETTINGS" value="camerafollowball" preset="switchauto" order="155"/>
    <feature submenu="VISUAL RENDERING" name="PRESET" group="ADVANCED SETTINGS" value="preset" order="250">
      <choice name="MAX" value="max"/>
      <choice name="MEDIUM" value="medium"/>
      <choice name="MIN" value="min"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="fp_texture_filter" description="Control the texture filtering of the emulation." order="251">
      <choice name="NONE" value="0"/>
      <choice name="BILINEAR" value="1"/>
      <choice name="TRILINEAR" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="fp_anisotropic" description="Enhance the quality of textures on surface." preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="fp_antialiasing" description="Set Anti Aliasing for rendered content." order="253">
      <choice name="NO" value="0"/>
      <choice name="2X" value="2"/>
      <choice name="4X" value="4"/>
      <choice name="6X" value="6"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="HIDE GAME ROOM" group="ADVANCED SETTINGS" value="fp_hide_gameroom" preset="switchauto" order="254"/>
    <feature submenu="VISUAL RENDERING" name="HIDE ORNAMENTS" group="ADVANCED SETTINGS" value="fp_hide_ornaments" preset="switchauto" order="255"/>
    <feature submenu="DMD" name="USE EXTERNAL DMD" group="ADVANCED SETTINGS" value="fpinball_dmdext" preset="switchauto" order="280"/>
    <feature submenu="DMD" name="ENABLE VIRTUAL DMD" group="ADVANCED SETTINGS" value="fpinball_virtualdmd" preset="switchauto" order="281"/>
    <feature submenu="DMD" name="ENABLE ZEDMD" group="ADVANCED SETTINGS" value="fpinball_zedmd" preset="switchauto" order="282"/>
    <feature submenu="DMD" name="ENABLE PIXELCADE" group="ADVANCED SETTINGS" value="fpinball_pixelcade" preset="switchauto" order="283"/>
    <feature submenu="DMD" name="ENABLE PIN2DMD" group="ADVANCED SETTINGS" value="fpinball_pin2dmd" preset="switchauto" order="284"/>
  </emulator>
  <!-- GEMRB -->
  <emulator name="gemrb">
    <feature name="INTERNAL RESOLUTION" value="resolution" group="GENERAL SETTINGS" description="Depending on games, higher resolution than 640x480 might not work. You maybe need to install a widescreen mod. Type a resolution like '1920x1080' or 'desktop' to run a game with your desktop resolution or leave empty for game's native res." preset="input" order="20"/>
    <feature submenu="EMULATION" name="LANGUAGE ENCODING" group="ADVANCED SETTINGS" value="Encoding" description="Specific language font encoding used by the game." order="100">
      <choice name="DEFAULT" value="default"/>
      <choice name="GERMAN" value="german"/>
      <choice name="POLISH" value="polish"/>
      <choice name="CZECH" value="czech"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="FOG OF WAR" group="ADVANCED SETTINGS" value="SpriteFogOfWar" description="For nostalgia. By default it looks like accelerated FoW in BG2" order="250">
      <choice name="ACCELERATED" value="0"/>
      <choice name="SPRITE" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="BITS PER PIXEL" group="ADVANCED SETTINGS" value="Bpp" order="251">
      <choice name="32" value="32"/>
      <choice name="16" value="16"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="150"/>
    <feature submenu="DEBUG" name="LOGGING" group="ADVANCED SETTINGS" value="Logging" preset="switchauto" order="120"/>
    <feature submenu="DEBUG" name="SHOW FPS" group="ADVANCED SETTINGS" value="DrawFPS" preset="switchauto" order="121"/>
    <feature submenu="DEBUG" name="VIDEO INTRO" group="ADVANCED SETTINGS" value="SkipIntroVideos" preset="switchauto" order="122"/>
    <feature submenu="DEBUG" name="CHEAT KEYS" group="ADVANCED SETTINGS" value="EnableCheatKeys" preset="switchauto" order="123"/>
    <feature submenu="DEBUG" name="DEVELOPER MODE" group="ADVANCED SETTINGS" value="DebugMode" order="124">
      <choice name="OFF" value="0"/>
      <choice name="count references" value="1"/>
      <choice name="display cutscene warnings" value="2"/>
      <choice name="display variable warnings" value="4"/>
      <choice name="display action warnings" value="8"/>
      <choice name="display trigger warnings" value="16"/>
      <choice name="enable views debug mode" value="32"/>
      <choice name="enable window debug mode" value="64"/>
      <choice name="enable font debug mode" value="128"/>
      <choice name="enable text debug mode" value="256"/>
      <choice name="enable pathfinding debug mode" value="512"/>
    </feature>
  </emulator>
  <!-- GOPHER64 -->
  <emulator name="gopher64">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="gopher64_resolution" order="20">
      <choice name="1X" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="4X" value="4"/>
      <choice name="8X" value="8"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <feature submenu="EMULATION" name="DISABLE EXPANSION PACK" group="ADVANCED SETTINGS" value="gopher64_disable_expansion_pak" preset="switchauto" order="100"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="STRETCH TO SCREEN" group="ADVANCED SETTINGS" value="gopher64_widescreen" preset="switchauto" order="152"/>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P1" value="gopher64_inputprofile1" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="510">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P2" value="gopher64_inputprofile2" group="ADVANCED SETTINGS" order="512">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P3" value="gopher64_inputprofile3" group="ADVANCED SETTINGS" order="514">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P4" value="gopher64_inputprofile4" group="ADVANCED SETTINGS" order="516">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="gopher64_deadzone" preset="sliderauto" preset-parameters="1 50 5 %" order="520"/>
  </emulator>
  <!-- GSPLUS -->
  <emulator name="gsplus" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
  </emulator>
  <!-- GZDOOM -->
  <emulator name="gzdoom" features="padtokeyboard">
  <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="gzdoom_scalemode" order="20">
      <choice name="NORMAL" value="0"/>
      <choice name="LOWEST POSSIBLE SCALE" value="1"/>
      <choice name="320x200" value="6"/>
      <choice name="640x400" value="2"/>
      <choice name="960x600" value="3"/>
      <choice name="1280x800" value="4"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="gzdoom_ratio" order="25">
      <choice name="4/3" value="3"/>
      <choice name="16/10" value="2"/>
      <choice name="16/9" value="1"/>
      <choice name="17/10" value="5"/>
      <choice name="5/4" value="4"/>
      <choice name="21/9" value="6"/>
    </feature>
    <feature group="GENERAL SETTINGS" name="VSYNC" value="gzdoom_vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="enable_hdr" order="152"/>
    <feature submenu="VISUAL RENDERING" name="STRETCH TO SCREEN" group="ADVANCED SETTINGS" value="gzdoom_cropaspect" preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="RENDER MODE" group="ADVANCED SETTINGS" value="gzdoom_rendermode" order="251">
      <choice name="HARDWARE ACCELERATED" value="4"/>
      <choice name="SOFTWARE" value="0"/>
      <choice name="TRUE COLOR SOFTWARE" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="gzdoom_texture_filter" description="Control the texture filtering of the emulation." order="252">
      <choice name="NONE" value="0"/>
      <choice name="LINEAR" value="2"/>
      <choice name="BILINEAR" value="3"/>
      <choice name="TRILINEAR" value="4"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="gzdoom_anisotropic_filtering" description="Enhance the quality of textures on surface." order="253">
      <choice name="NO" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
      <choice name="8x" value="8"/>
      <choice name="16x" value="16"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="MULTISAMPLE" group="ADVANCED SETTINGS" value="gzdoom_msaa" order="254">
      <choice name="NO" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
      <choice name="8x" value="8"/>
      <choice name="16x" value="16"/>
      <choice name="32x" value="32"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="FXAA" group="ADVANCED SETTINGS" value="gzdoom_fxaa" order="255">
      <choice name="NONE" value="0"/>
      <choice name="LOW" value="1"/>
      <choice name="MEDIUM" value="2"/>
      <choice name="HIGH" value="3"/>
      <choice name="EXTREME" value="4"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="gzdoom_renderer" order="400">
      <choice name="OPENGL" value="0"/>
      <choice name="VULKAN" value="1"/>
      <choice name="OPENGL ES" value="2"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO (MIDI DEVICE)" group="ADVANCED SETTINGS" value="gzdoom_mididevice" order="401">
      <choice name="FLUIDSYNTH" value="-5"/>
      <choice name="GUS EMULATION" value="-4"/>
      <choice name="OPL SYNTH EMULATION" value="-3"/>
      <choice name="TIMIDITY++" value="-2"/>
      <choice name="MS GS WAVETABLE SYNTH" value="0"/>
      <choice name="libOPN" value="-8"/>
      <choice name="libADL" value="-7"/>
      <choice name="WildMIDI" value="-6"/>
    </feature>
    <feature submenu="CONTROLS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="gzdoom_crosshair" order="500">
      <choice name="NONE" value="false"/>
      <choice name="CROSS 1" value="1"/>
      <choice name="CROSS 2" value="2"/>
      <choice name="X" value="3"/>
      <choice name="CIRCLE" value="4"/>
      <choice name="ANGLE" value="5"/>
      <choice name="TRIANGLE" value="6"/>
      <choice name="DOT" value="7"/>
    </feature>
    <feature submenu="CONTROLS" name="CROSSHAIR COLOR" group="ADVANCED SETTINGS" value="gzdoom_crosshair_color" order="501">
      <choice name="SHOW HEALTH" value="health"/>
      <choice name="GREEN" value="00_ff_00"/>
      <choice name="RED" value="ff_00_00"/>
      <choice name="BLUE" value="00_00_ff"/>
    </feature>
  </emulator>
  <!-- HATARI -->
  <emulator name="hatari" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature group="GENERAL SETTINGS" name="VSYNC" value="hatari_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="MACHINE TYPE" value="hatari_machine" order="100">
      <choice name="ATARI ST" value="st"/>
      <choice name="MEGA ST" value="megast"/>
      <choice name="ATARI STE" value="ste"/>
      <choice name="MEGA STE" value="megaste"/>
    </feature>
    <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="TOS" value="hatari_tos" order="101">
      <choice name="TOS 2.06" value="tos206.img"/>
      <choice name="TOS 1.06" value="tos106.img"/>
      <choice name="TOS 1.04" value="tos104.img"/>
      <choice name="TOS 1.02" value="tos102.img"/>
      <choice name="EMUTOS" value="emutos.img"/>
    </feature>
    <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="CPU FREQUENCY" value="hatari_frequency" description="Use 8mhz for better compatibility." order="102">
      <choice name="8 MHZ" value="8"/>
      <choice name="16 MHZ" value="16"/>
      <choice name="32 MHZ" value="32"/>
    </feature>
    <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="RAM SIZE" value="hatari_memory" order="103">
      <choice name="1MB" value="1024"/>
      <choice name="256kb" value="256"/>
      <choice name="512kb" value="512"/>
      <choice name="2MB" value="2048"/>
      <choice name="4MB" value="4096"/>
      <choice name="8MB" value="8192"/>
      <choice name="10MB" value="10240"/>
      <choice name="14MB" value="14336"/>
    </feature>
    <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="FAST BOOT" value="hatari_fastboot" preset="switchauto" order="104"/>
    <feature submenu="EMULATION" group="ADVANCED SETTINGS" name="AUTOSAVE" value="hatari_autosave" preset="switchauto" order="105"/>
    <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="ENABLE AUTOFIRE" value="hatari_autofire" preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" group="ADVANCED SETTINGS" name="USE JAGUAR JOYPADS (STE)" value="hatari_joypad" description="Enable the emulation of Jaguar joypads which are plugged in the enhanced joystick ports of the Atari STE." preset="switchauto" order="501"/>
  </emulator>
  <!-- IKEMEN -->
  <emulator name="ikemen" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="VRetrace" preset="switchauto" order="30"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="resolution" description="If the internal resolution is set on 'AUTO' it will take the current resolution of the screen." order="20">
      <choice name="1920x1080" value="1920_1080"/>
      <choice name="1700x1080" value="1700_1080"/>
      <choice name="1280x960" value="1280_960"/>
      <choice name="1200x762" value="1200_762"/>
      <choice name="1280x720" value="1280_720"/>
      <choice name="960x720" value="960_720"/>
      <choice name="640x480" value="640_480"/>
      <choice name="400x254" value="400_254"/>
      <choice name="320x240" value="320_240"/>
      <choice name="SAME AS SCREEN" value="screen"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="ANTI ALIASING (MSAA)" group="ADVANCED SETTINGS" value="ikemen_msaa" description="Set Multi-Sampled Anti Aliasing level for rendered content." preset="switchauto" order="250"/>
  </emulator>
  <!-- JGENESIS -->
  <emulator name="jgenesis">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="SHADER" group="GENERAL SETTINGS" value="jgen_shader" order="5">
      <choice name="NONE" value="None"/>
      <choice name="HORIZONTAL BLUR (2px)" value="HorizontalBlurTwoPixels"/>
      <choice name="HORIZONTAL BLUR (3px)" value="HorizontalBlurThreePixels"/>
      <choice name="HORIZONTAL BLUR (Snes adaptative)" value="HorizontalBlurSnesAdaptive"/>
      <choice name="ANTI-DITHER (conservative)" value="AntiDitherWeak"/>
      <choice name="ANTI-DITHER (aggressive)" value="AntiDitherStrong"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="jgen_vsync" order="30">
      <choice name="ENABLED" value="Enabled"/>
      <choice name="FAST" value="Fast"/>
      <choice name="DISABLED" value="Disabled"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="FILTER MODE" group="ADVANCED SETTINGS" value="jgen_filter" order="250">
      <choice name="LINEAR" value="Linear"/>
      <choice name="NEAREST NEIGHBOR" value="Nearest"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="PRESCALING" group="ADVANCED SETTINGS" value="jgen_prescale" preset="sliderauto" preset-parameters="1 16 1" order="251"/>
    <feature submenu="VISUAL RENDERING" name="SCANLINES" group="ADVANCED SETTINGS" value="jgen_scanlines" order="252">
      <choice name="NONE" value="None"/>
      <choice name="DIM" value="Dim"/>
      <choice name="BLACK" value="Black"/>
    </feature>
    <feature submenu="AUDIO" name="AUDIO SYNC" group="ADVANCED SETTINGS" value="jgen_async" preset="switchauto" order="300"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="jgen_renderer" order="400">
      <choice name="VULKAN" value="Vulkan"/>
      <choice name="DIRECTX12" value="DirectX12"/>
      <choice name="OPENGL" value="OpenGl"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW GUI" group="ADVANCED SETTINGS" value="jgen_gui" description="Runs 'jgenesis-gui.exe' instead of cli version." preset="switchauto" order="450"/>
    <system name="gamegear">
      <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="jgen_gg_ratio" order="25">
        <choice name="GAMEGEAR LCD" value="GgLcd"/>
        <choice name="SQUARE PIXELS" value="SquarePixels"/>
        <choice name="STRETCHED" value="Stretched"/>
      </feature>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="jgen_spritelimit" description="Remove the sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="160"/>
      <feature submenu="AUDIO" name="ENABLE FM CHIP" group="ADVANCED SETTINGS" value="jgen_sms_fmchip" preset="switchauto" order="310"/>
      <feature submenu="EMULATION" name="FORCE REGION" group="ADVANCED SETTINGS" value="jgen_sms_region" order="100">
        <choice name="INTERNATIONAL" value="International"/>
        <choice name="JAPAN" value="Domestic"/>
      </feature>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="jgen_sms_timing" order="101">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
      </feature>
      <feature submenu="EMULATION" name="CONSOLE MODEL" group="ADVANCED SETTINGS" value="jgen_sms_model" order="102">
        <choice name="SMS 1" value="Sms1"/>
        <choice name="SMS 2" value="Sms2"/>
      </feature>
    </system>
    <system name="gb">
      <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="jgen_gb_ratio" order="25">
        <choice name="SQUARE PIXELS" value="SquarePixels"/>
        <choice name="STRETCHED" value="Stretched"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="PALETTE" group="ADVANCED SETTINGS" value="jgen_gb_palette" order="260">
        <choice name="GREEN TINT" value="GreenTint"/>
        <choice name="BLACK AND WHITE" value="BlackAndWhite"/>
        <choice name="LIME GREEN" value="LimeGreen"/>
      </feature>
      <feature submenu="EMULATION" name="TARGET 60 FPS" group="ADVANCED SETTINGS" value="jgen_gb_60fps" description="Target 60fps instead of native 59.73fps." preset="switchauto" order="100"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </system>
    <system name="gbc">
      <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="jgen_gb_ratio" order="25">
        <choice name="SQUARE PIXELS" value="SquarePixels"/>
        <choice name="STRETCHED" value="Stretched"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR CORRECTION" group="ADVANCED SETTINGS" value="jgen_gbc_colorcorrect" order="260">
        <choice name="GAMEBOY COLOR LCD" value="GbcLcd"/>
        <choice name="GAMEBOY ADVANCE LCD" value="GbaLcd"/>
        <choice name="NONE" value="None"/>
      </feature>
      <feature submenu="EMULATION" name="TARGET 60 FPS" group="ADVANCED SETTINGS" value="jgen_gb_60fps" description="Target 60fps instead of native 59.73fps." preset="switchauto" order="100"/>
      <feature submenu="EMULATION" name="FORCE GB MODE" group="ADVANCED SETTINGS" value="jgen_gb_dmg" description="Force GameBoy mode for GameBoy Color." preset="switchauto" order="101"/>
      <feature submenu="EMULATION" name="PRETEND TO BE A GBA" group="ADVANCED SETTINGS" value="jgen_gb_gba" description="Force GBC software that alters behavior when run on GBA." preset="switchauto" order="102"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </system>
    <system name="gba">
      <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="jgen_gba_ratio" order="25">
        <choice name="SQUARE PIXELS" value="SquarePixels"/>
        <choice name="STRETCHED" value="Stretched"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="COLOR CORRECTION" group="ADVANCED SETTINGS" value="jgen_gba_colorcorrection" preset="switchauto" order="260"/>
      <feature submenu="VISUAL RENDERING" name="FRAME BLENDING" group="ADVANCED SETTINGS" value="jgen_gba_frameblending" preset="switchauto" order="261"/>
      <feature submenu="AUDIO" name="AUDIO INTERPOLATION" group="ADVANCED SETTINGS" value="jgen_gba_audio_interpolation" order="310">
        <choice name="NEAREST NEIGHBOR" value="NearestNeighbor"/>
        <choice name="CUBIC HERMITE" value="CubicHermite"/>
        <choice name="WINDOWED SINC" value="WindowedSinc"/>
      </feature>
      <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="jgen_gba_skipbios" preset="switchauto" order="100"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </system>
    <system name="mastersystem">
      <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="jgen_sms_ratio" order="25">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
        <choice name="SQUARE PIXELS" value="SquarePixels"/>
        <choice name="STRETCHED" value="Stretched"/>
      </feature>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="jgen_spritelimit" description="Remove the sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="160"/>
      <feature submenu="VISUAL RENDERING" name="CROP VERTICAL" group="ADVANCED SETTINGS" value="jgen_sms_cropvert" preset="switchauto" order="260"/>
      <feature submenu="VISUAL RENDERING" name="CROP LEFT" group="ADVANCED SETTINGS" value="jgen_sms_cropleft" preset="switchauto" order="261"/>
      <feature submenu="AUDIO" name="ENABLE FM CHIP" group="ADVANCED SETTINGS" value="jgen_sms_fmchip" preset="switchauto" order="310"/>
      <feature submenu="EMULATION" name="FORCE REGION" group="ADVANCED SETTINGS" value="jgen_sms_region" order="100">
        <choice name="INTERNATIONAL" value="International"/>
        <choice name="JAPAN" value="Domestic"/>
      </feature>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="jgen_sms_timing" order="101">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
      </feature>
      <feature submenu="EMULATION" name="CONSOLE MODEL" group="ADVANCED SETTINGS" value="jgen_sms_model" order="102">
        <choice name="SMS 1" value="Sms1"/>
        <choice name="SMS 2" value="Sms2"/>
      </feature>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" preset="switchauto" order="500"/>
    </system>
    <system name="megadrive,genesis">
      <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="jgen_genesis_ratio" order="25">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
        <choice name="SQUARE PIXELS" value="SquarePixels"/>
        <choice name="STRETCHED" value="Stretched"/>
      </feature>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="jgen_spritelimit" description="Remove the sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="160"/>
      <feature submenu="VISUAL RENDERING" name="ADJUST ASPECT FOR DOUBLE SCREEN GAMES" group="ADVANCED SETTINGS" value="jgen_gen_aspectadjust" preset="switchauto" order="260"/>
      <feature submenu="EMULATION" name="FORCE REGION" group="ADVANCED SETTINGS" value="jgen_genesis_region" order="100">
        <choice name="EUROPE" value="Europe"/>
        <choice name="AMERICAS" value="Americas"/>
        <choice name="JAPAN" value="Japan"/>
      </feature>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="jgen_genesis_timing" order="101">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
      </feature>
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="megadrive_control_layout" order="500">
        <choice name="L/R as X/Z" value="lr_xz"/>
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as Y/B" value="lr_yb"/>
        <choice name="L/R as B/Y" value="lr_by"/>
      </feature>
      <feature submenu="CONTROLS" name="USE 3 BUTTON CONTROLLER" value="md_3buttons" group="ADVANCED SETTINGS" description="Default emulated pad is a 6-button pad." preset="switchauto" order="501"/>
      <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad" preset="switchauto" order="502"/>
    </system>
    <system name="nes,famicom">
      <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="jgen_nes_ratio" order="25">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
        <choice name="SQUARE PIXELS" value="SquarePixels"/>
        <choice name="STRETCHED" value="Stretched"/>
      </feature>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="jgen_spritelimit" description="Remove the sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="160"/>
      <feature submenu="VIDEO" name="RENDER PAL BLACK BORDER" group="ADVANCED SETTINGS" value="jgen_nes_palborder" description="Crops the image from 256x240 to 252x239." preset="switchauto" order="161"/>
      <feature submenu="VISUAL RENDERING" name="CROP SIZE SIDES" group="ADVANCED SETTINGS" value="jgen_nes_crop_sides" description="Define the number of pixels to crop." preset="sliderauto" preset-parameters="0 24 1 px" order="260"/>
      <feature submenu="VISUAL RENDERING" name="CROP SIZE TOP/BOTTOM" group="ADVANCED SETTINGS" value="jgen_nes_crop_topdown" description="Define the number of pixels to crop." preset="sliderauto" preset-parameters="0 24 1 px" order="261"/>
      <feature submenu="AUDIO" name="ENABLE AUDIO 60HZ/50HZ HACK" group="ADVANCED SETTINGS" value="jgen_nes_audiohack" preset="switchauto" order="310"/>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="jgen_nes_timing" order="100">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
      </feature>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Rotate face buttons to change layout." preset="switchauto" order="500"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    </system>
    <system name="sega32x">
      <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="jgen_genesis_ratio" order="25">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
        <choice name="SQUARE PIXELS" value="SquarePixels"/>
        <choice name="STRETCHED" value="Stretched"/>
      </feature>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="jgen_spritelimit" description="Remove the sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="160"/>
      <feature submenu="VISUAL RENDERING" name="ADJUST ASPECT FOR DOUBLE SCREEN GAMES" group="ADVANCED SETTINGS" value="jgen_gen_aspectadjust" preset="switchauto" order="260"/>
      <feature submenu="EMULATION" name="FORCE REGION" group="ADVANCED SETTINGS" value="jgen_genesis_region" order="100">
        <choice name="EUROPE" value="Europe"/>
        <choice name="AMERICAS" value="Americas"/>
        <choice name="JAPAN" value="Japan"/>
      </feature>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="jgen_genesis_timing" order="101">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
      </feature>
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="megadrive_control_layout" order="500">
        <choice name="L/R as X/Z" value="lr_xz"/>
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as Y/B" value="lr_yb"/>
        <choice name="L/R as B/Y" value="lr_by"/>
      </feature>
      <feature submenu="CONTROLS" name="USE 3 BUTTON CONTROLLER" value="md_3buttons" group="ADVANCED SETTINGS" description="Default emulated pad is a 6-button pad." preset="switchauto" order="501"/>
      <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad" preset="switchauto" order="502"/>
    </system>
    <system name="megacd,segacd">
      <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="jgen_genesis_ratio" order="25">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
        <choice name="SQUARE PIXELS" value="SquarePixels"/>
        <choice name="STRETCHED" value="Stretched"/>
      </feature>
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="jgen_spritelimit" description="Remove the sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="160"/>
      <feature submenu="VISUAL RENDERING" name="ADJUST ASPECT FOR DOUBLE SCREEN GAMES" group="ADVANCED SETTINGS" value="jgen_gen_aspectadjust" preset="switchauto" order="260"/>
      <feature submenu="EMULATION" name="FORCE REGION" group="ADVANCED SETTINGS" value="jgen_genesis_region" order="100">
        <choice name="EUROPE" value="Europe"/>
        <choice name="AMERICAS" value="Americas"/>
        <choice name="JAPAN" value="Japan"/>
      </feature>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="jgen_genesis_timing" order="101">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
      </feature>
      <feature submenu="EMULATION" name="RAM CART" group="ADVANCED SETTINGS" value="jgen_segacd_ramcart" description="Enable Sega CD RAM cartridge." preset="switchauto" order="102"/>
      <feature submenu="EMULATION" name="LOAD GAME TO RAM" group="ADVANCED SETTINGS" value="jgen_segacd_loadtoram" description="Increases RAM usage and initial launch time but reduces reading from disk after startup." preset="switchauto" order="103"/>
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="megadrive_control_layout" order="500">
        <choice name="L/R as X/Z" value="lr_xz"/>
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as Y/B" value="lr_yb"/>
        <choice name="L/R as B/Y" value="lr_by"/>
      </feature>
      <feature submenu="CONTROLS" name="USE 3 BUTTON CONTROLLER" value="md_3buttons" group="ADVANCED SETTINGS" description="Default emulated pad is a 6-button pad." preset="switchauto" order="501"/>
      <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad" preset="switchauto" order="502"/>
    </system>
    <system name="snes,sfc">
      <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="jgen_snes_ratio" order="25">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
        <choice name="SQUARE PIXELS" value="SquarePixels"/>
        <choice name="STRETCHED" value="Stretched"/>
      </feature>
      <feature submenu="AUDIO" name="ENABLE AUDIO 60HZ/50HZ HACK" group="ADVANCED SETTINGS" value="jgen_snes_audiohack" preset="switchauto" order="310"/>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="jgen_snes_timing" order="100">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
      </feature>
      <feature submenu="EMULATION" name="OVERCLOCK SUPERFX CHIP" group="ADVANCED SETTINGS" value="jgen_snes_superfx_overclock" preset="sliderauto" preset-parameters="1 4 1 x" order="101"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="501"/>
    </system>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
  </emulator>
  <!-- JYNX -->
  <emulator name="jynx" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="DISABLE FULLSCREEN" group="ADVANCED SETTINGS" value="jynx_fullscreen" description="Switch this option on to disable fullscreen and run emulator in a windowed mode." preset="switchauto" order="152"/>
    <feature submenu="VISUAL RENDERING" name="COLOR SET" group="ADVANCED SETTINGS" value="jynx_colourset" order="250">
      <choice name="DEFAULT" value="0"/>
      <choice name="GREEN SCREEN" value="4"/>
      <choice name="BLACK AND WHITE TV" value="3"/>
      <choice name="LEVEL 9 GAMES" value="2"/>
      <choice name="GREEN CHANNEL ONLY" value="1"/>
    </feature>
    <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="jynx_machine" description="Type of LYNX to emulate, default to 48k." order="100">
      <choice name="LYNX 48K (default)" value="0"/>
      <choice name="LYNX 96K" value="1"/>
      <choice name="LYNX 96K - SCORPION" value="2"/>
    </feature>
  </emulator>
  <!-- JZINTV -->
  <emulator name="jzintv" features="padtokeyboard">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="jzintv_internal_resolution" order="20">
      <choice name="320x200,8bpp" value="0"/>
      <choice name="640x480,8bpp" value="1"/>
      <choice name="320x240,16bpp" value="2"/>
      <choice name="1024x768,8bpp" value="3"/>
      <choice name="1680x1050,8bpp" value="4"/>
      <choice name="800x400,16bpp" value="5"/>
      <choice name="1600x1200,32bpp" value="6"/>
      <choice name="3280x1200,32bpp" value="7"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="BIT DEPTH" group="ADVANCED SETTINGS" value="jzintv_bitdepth" order="152">
      <choice name="8bpp" value="8"/>
      <choice name="16bpp" value="16"/>
      <choice name="32bpp" value="32"/>
    </feature>
    <feature submenu="EMULATION" name="ENABLE ECS" group="ADVANCED SETTINGS" value="jzintv_useECS" preset="switchauto" order="100"/>
    <feature submenu="EMULATION" name="FORCE PAL" group="ADVANCED SETTINGS" value="jzintv_usePAL" preset="switchauto" order="101"/>
    <feature submenu="EMULATION" name="GRAM SIZE" group="ADVANCED SETTINGS" value="jzintv_gram_size" order="102">
      <choice name="64 tiles (standard)" value="0"/>
      <choice name="128 tiles" value="1"/>
      <choice name="256 tiles (INTV88)" value="2"/>
    </feature>
    <feature submenu="CONTROLS" name="USE OWN KBHACK FILE" group="ADVANCED SETTINGS" value="jzintv_inputfile" preset="files" order="500"/>
    <feature submenu="CONTROLS" name="USE RIGHT PAD FOR PLAYER 1" group="ADVANCED SETTINGS" value="intv_right_pad" preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="JOYSTICK PUSH VALUE" group="ADVANCED SETTINGS" value="intv_joystick_push" preset="sliderauto" preset-parameters="0 100 3 %" order="502"/>
    <feature submenu="CONTROLS" name="JOYSTICK RELS VALUE" group="ADVANCED SETTINGS" value="intv_joystick_rels" preset="sliderauto" preset-parameters="0 100 3 %" order="503"/>
    <feature submenu="CONTROLLER MAPPING" name="SOUTH FACE BUTTON" group="ADVANCED SETTINGS" value="intv_button_a" order="550">
      <choice name="TOP SIDE BUTTONS" value="A_T"/>
      <choice name="LOWER LEFT BUTTON" value="A_L"/>
      <choice name="LOWER RIGHT BUTTON" value="A_R"/>
      <choice name="KP0" value="KP0"/>
      <choice name="KP1" value="KP1"/>
      <choice name="KP2" value="KP2"/>
      <choice name="KP3" value="KP3"/>
      <choice name="KP4" value="KP4"/>
      <choice name="KP5" value="KP5"/>
      <choice name="KP6" value="KP6"/>
      <choice name="KP7" value="KP7"/>
      <choice name="KP8" value="KP8"/>
      <choice name="KP9" value="KP9"/>
      <choice name="KP CLEAR" value="KPC"/>
      <choice name="KP ENTER" value="KPE"/>
      <choice name="NO MAPPING" value="NA"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="EAST FACE BUTTON" group="ADVANCED SETTINGS" value="intv_button_b" order="551">
      <choice name="TOP SIDE BUTTONS" value="A_T"/>
      <choice name="LOWER LEFT BUTTON" value="A_L"/>
      <choice name="LOWER RIGHT BUTTON" value="A_R"/>
      <choice name="KP0" value="KP0"/>
      <choice name="KP1" value="KP1"/>
      <choice name="KP2" value="KP2"/>
      <choice name="KP3" value="KP3"/>
      <choice name="KP4" value="KP4"/>
      <choice name="KP5" value="KP5"/>
      <choice name="KP6" value="KP6"/>
      <choice name="KP7" value="KP7"/>
      <choice name="KP8" value="KP8"/>
      <choice name="KP9" value="KP9"/>
      <choice name="KP CLEAR" value="KPC"/>
      <choice name="KP ENTER" value="KPE"/>
      <choice name="NO MAPPING" value="NA"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="NORTH FACE BUTTON" group="ADVANCED SETTINGS" value="intv_button_x" order="552">
      <choice name="TOP SIDE BUTTONS" value="A_T"/>
      <choice name="LOWER LEFT BUTTON" value="A_L"/>
      <choice name="LOWER RIGHT BUTTON" value="A_R"/>
      <choice name="KP0" value="KP0"/>
      <choice name="KP1" value="KP1"/>
      <choice name="KP2" value="KP2"/>
      <choice name="KP3" value="KP3"/>
      <choice name="KP4" value="KP4"/>
      <choice name="KP5" value="KP5"/>
      <choice name="KP6" value="KP6"/>
      <choice name="KP7" value="KP7"/>
      <choice name="KP8" value="KP8"/>
      <choice name="KP9" value="KP9"/>
      <choice name="KP CLEAR" value="KPC"/>
      <choice name="KP ENTER" value="KPE"/>
      <choice name="NO MAPPING" value="NA"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="WEST FACE BUTTON" group="ADVANCED SETTINGS" value="intv_button_y" order="553">
      <choice name="TOP SIDE BUTTONS" value="A_T"/>
      <choice name="LOWER LEFT BUTTON" value="A_L"/>
      <choice name="LOWER RIGHT BUTTON" value="A_R"/>
      <choice name="KP0" value="KP0"/>
      <choice name="KP1" value="KP1"/>
      <choice name="KP2" value="KP2"/>
      <choice name="KP3" value="KP3"/>
      <choice name="KP4" value="KP4"/>
      <choice name="KP5" value="KP5"/>
      <choice name="KP6" value="KP6"/>
      <choice name="KP7" value="KP7"/>
      <choice name="KP8" value="KP8"/>
      <choice name="KP9" value="KP9"/>
      <choice name="KP CLEAR" value="KPC"/>
      <choice name="KP ENTER" value="KPE"/>
      <choice name="NO MAPPING" value="NA"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="LEFT SHOULDER" group="ADVANCED SETTINGS" value="intv_button_leftshoulder" order="554">
      <choice name="TOP SIDE BUTTONS" value="A_T"/>
      <choice name="LOWER LEFT BUTTON" value="A_L"/>
      <choice name="LOWER RIGHT BUTTON" value="A_R"/>
      <choice name="KP0" value="KP0"/>
      <choice name="KP1" value="KP1"/>
      <choice name="KP2" value="KP2"/>
      <choice name="KP3" value="KP3"/>
      <choice name="KP4" value="KP4"/>
      <choice name="KP5" value="KP5"/>
      <choice name="KP6" value="KP6"/>
      <choice name="KP7" value="KP7"/>
      <choice name="KP8" value="KP8"/>
      <choice name="KP9" value="KP9"/>
      <choice name="KP CLEAR" value="KPC"/>
      <choice name="KP ENTER" value="KPE"/>
      <choice name="NO MAPPING" value="NA"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="RIGHT SHOULDER" group="ADVANCED SETTINGS" value="intv_button_rightshoulder" order="555">
      <choice name="TOP SIDE BUTTONS" value="A_T"/>
      <choice name="LOWER LEFT BUTTON" value="A_L"/>
      <choice name="LOWER RIGHT BUTTON" value="A_R"/>
      <choice name="KP0" value="KP0"/>
      <choice name="KP1" value="KP1"/>
      <choice name="KP2" value="KP2"/>
      <choice name="KP3" value="KP3"/>
      <choice name="KP4" value="KP4"/>
      <choice name="KP5" value="KP5"/>
      <choice name="KP6" value="KP6"/>
      <choice name="KP7" value="KP7"/>
      <choice name="KP8" value="KP8"/>
      <choice name="KP9" value="KP9"/>
      <choice name="KP CLEAR" value="KPC"/>
      <choice name="KP ENTER" value="KPE"/>
      <choice name="NO MAPPING" value="NA"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="LEFT STICK BUTTON" group="ADVANCED SETTINGS" value="intv_button_leftstick" order="556">
      <choice name="TOP SIDE BUTTONS" value="A_T"/>
      <choice name="LOWER LEFT BUTTON" value="A_L"/>
      <choice name="LOWER RIGHT BUTTON" value="A_R"/>
      <choice name="KP0" value="KP0"/>
      <choice name="KP1" value="KP1"/>
      <choice name="KP2" value="KP2"/>
      <choice name="KP3" value="KP3"/>
      <choice name="KP4" value="KP4"/>
      <choice name="KP5" value="KP5"/>
      <choice name="KP6" value="KP6"/>
      <choice name="KP7" value="KP7"/>
      <choice name="KP8" value="KP8"/>
      <choice name="KP9" value="KP9"/>
      <choice name="KP CLEAR" value="KPC"/>
      <choice name="KP ENTER" value="KPE"/>
      <choice name="NO MAPPING" value="NA"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="RIGHT STICK BUTTON" group="ADVANCED SETTINGS" value="intv_button_rightstick" order="557">
      <choice name="TOP SIDE BUTTONS" value="A_T"/>
      <choice name="LOWER LEFT BUTTON" value="A_L"/>
      <choice name="LOWER RIGHT BUTTON" value="A_R"/>
      <choice name="KP0" value="KP0"/>
      <choice name="KP1" value="KP1"/>
      <choice name="KP2" value="KP2"/>
      <choice name="KP3" value="KP3"/>
      <choice name="KP4" value="KP4"/>
      <choice name="KP5" value="KP5"/>
      <choice name="KP6" value="KP6"/>
      <choice name="KP7" value="KP7"/>
      <choice name="KP8" value="KP8"/>
      <choice name="KP9" value="KP9"/>
      <choice name="KP CLEAR" value="KPC"/>
      <choice name="KP ENTER" value="KPE"/>
      <choice name="NO MAPPING" value="NA"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="LEFT TRIGGER" group="ADVANCED SETTINGS" value="intv_button_lefttrigger" order="558">
      <choice name="TOP SIDE BUTTONS" value="A_T"/>
      <choice name="LOWER LEFT BUTTON" value="A_L"/>
      <choice name="LOWER RIGHT BUTTON" value="A_R"/>
      <choice name="KP0" value="KP0"/>
      <choice name="KP1" value="KP1"/>
      <choice name="KP2" value="KP2"/>
      <choice name="KP3" value="KP3"/>
      <choice name="KP4" value="KP4"/>
      <choice name="KP5" value="KP5"/>
      <choice name="KP6" value="KP6"/>
      <choice name="KP7" value="KP7"/>
      <choice name="KP8" value="KP8"/>
      <choice name="KP9" value="KP9"/>
      <choice name="KP CLEAR" value="KPC"/>
      <choice name="KP ENTER" value="KPE"/>
      <choice name="NO MAPPING" value="NA"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="RIGHT TRIGGER" group="ADVANCED SETTINGS" value="intv_button_righttrigger" order="559">
      <choice name="TOP SIDE BUTTONS" value="A_T"/>
      <choice name="LOWER LEFT BUTTON" value="A_L"/>
      <choice name="LOWER RIGHT BUTTON" value="A_R"/>
      <choice name="KP0" value="KP0"/>
      <choice name="KP1" value="KP1"/>
      <choice name="KP2" value="KP2"/>
      <choice name="KP3" value="KP3"/>
      <choice name="KP4" value="KP4"/>
      <choice name="KP5" value="KP5"/>
      <choice name="KP6" value="KP6"/>
      <choice name="KP7" value="KP7"/>
      <choice name="KP8" value="KP8"/>
      <choice name="KP9" value="KP9"/>
      <choice name="KP CLEAR" value="KPC"/>
      <choice name="KP ENTER" value="KPE"/>
      <choice name="NO MAPPING" value="NA"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="DPAD" group="ADVANCED SETTINGS" value="intv_button_dpad" order="560">
      <choice name="KEYPAD" value="keypad"/>
      <choice name="DIRECTIONS" value="directions"/>
      <choice name="OPPOSITE PAD DIRECTIONS" value="directionsopposite"/>
      <choice name="NO MAPPING" value="na"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="LEFT STICK" group="ADVANCED SETTINGS" value="intv_button_leftjoy" order="561">
      <choice name="DIRECTIONS" value="directions"/>
      <choice name="OPPOSITE PAD DIRECTIONS" value="directionsopposite"/>
      <choice name="NO MAPPING" value="na"/>
    </feature>
    <feature submenu="CONTROLLER MAPPING" name="RIGHT STICK" group="ADVANCED SETTINGS" value="intv_button_rightjoy" order="5662">
      <choice name="DIRECTIONS" value="directions"/>
      <choice name="OPPOSITE PAD DIRECTIONS" value="directionsopposite"/>
      <choice name="NO MAPPING" value="na"/>
    </feature>
  </emulator>
  <!-- KEGA FUSION -->
  <emulator name="kega-fusion">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="kega_internal_resolution" order="20">
      <choice name="640x480" value="224,1,128,2"/>
      <choice name="800x600" value="88,2,32,3"/>
      <choice name="1024x768" value="0,3,0,4"/>
      <choice name="1280x720" value="208,2,0,5"/>
      <choice name="1280x768" value="0,3,0,5"/>
      <choice name="1280x800" value="32,3,0,5"/>
      <choice name="1280x960" value="192,3,0,5"/>
      <choice name="1280x1024" value="0,4,0,5"/>
      <choice name="1440x900" value="132,3,160,5"/>
      <choice name="1600x900" value="132,3,64,6"/>
      <choice name="1920x1080" value="56,4,128,7"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="SCANLINES" group="ADVANCED SETTINGS" value="kega_scanlines" order="250">
      <choice name="NONE" value="4"/>
      <choice name="25%" value="3"/>
      <choice name="50%" value="2"/>
      <choice name="75%" value="1"/>
      <choice name="100%" value="0"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SCALER" group="ADVANCED SETTINGS" value="kega_scaler" order="251">
      <choice name="2xPM HQ" value="1"/>
      <choice name="2xPM LQ" value="2"/>
      <choice name="2xSaI" value="3"/>
      <choice name="Double" value="4"/>
      <choice name="Double raw" value="5"/>
      <choice name="HQ 2x" value="6"/>
      <choice name="HQ 3x" value="7"/>
      <choice name="HQ 4x" value="8"/>
      <choice name="MD NTSC" value="9"/>
      <choice name="Quad" value="10"/>
      <choice name="Quad raw" value="11"/>
      <choice name="Scale2x" value="12"/>
      <choice name="Scale3x" value="13"/>
      <choice name="Scale4x" value="14"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="NEAREST MULTIPLE" group="ADVANCED SETTINGS" value="kega_nearest" preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="BILINEAR FILTERING" group="ADVANCED SETTINGS" value="kega_filter" description="Use bilinear filtering to smooth the overall picture." preset="switchauto" order="253"/>
    <feature submenu="VISUAL RENDERING" name="BRIGHTEN PICTURE" group="ADVANCED SETTINGS" value="kega_brighten" preset="switchauto" order="254"/>
    <feature submenu="VISUAL RENDERING" name="USE NTSC ASPECT" group="ADVANCED SETTINGS" value="kega_ntsc_aspect" preset="switchauto" order="255"/>
    <feature submenu="VISUAL RENDERING" name="RENDER MODE" group="ADVANCED SETTINGS" value="kega_rendermode" order="256">
      <choice name="NORMAL" value="0"/>
      <choice name="TV CVBS" value="2"/>
      <choice name="TV RF" value="1"/>
    </feature>
    <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="kega_region" order="100">
      <choice name="USA" value="0"/>
      <choice name="JAP" value="1"/>
      <choice name="EUR" value="2"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="kega_fps" preset="switchauto" order="450"/>
    <system name="mastersystem">
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" preset="switchauto" order="500"/>
    </system>
    <system name="megadrive,genesis">
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="megadrive_control_layout" order="500">
        <choice name="L/R as X/Z" value="lr_xz"/>
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as Y/B" value="lr_yb"/>
        <choice name="L/R as B/Y" value="lr_by"/>
      </feature>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="kega_multitap" order="501">
        <choice name="NO" value="0"/>
        <choice name="PORT 1" value="1"/>
        <choice name="PORT 2" value="2"/>
        <choice name="BOTH PORTS" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad_kega" order="502">
        <choice name="NO" value="0"/>
        <choice name="YES(DPAD)" value="1"/>
        <choice name="YES(ANALOG)" value="2"/>
      </feature>
    </system>
    <system name="sega32x">
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="megadrive_control_layout" order="500">
        <choice name="L/R as X/Z" value="lr_xz"/>
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as Y/B" value="lr_yb"/>
        <choice name="L/R as B/Y" value="lr_by"/>
      </feature>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="kega_multitap" order="501">
        <choice name="NO" value="0"/>
        <choice name="PORT 1" value="1"/>
        <choice name="PORT 2" value="2"/>
        <choice name="BOTH PORTS" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad_kega" order="502">
        <choice name="NO" value="0"/>
        <choice name="YES(DPAD)" value="1"/>
        <choice name="YES(ANALOG)" value="2"/>
      </feature>
    </system>
    <system name="megacd,segacd">
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="megadrive_control_layout" order="500">
        <choice name="L/R as X/Z" value="lr_xz"/>
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as Y/B" value="lr_yb"/>
        <choice name="L/R as B/Y" value="lr_by"/>
      </feature>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="kega_multitap" order="501">
        <choice name="NO" value="0"/>
        <choice name="PORT 1" value="1"/>
        <choice name="PORT 2" value="2"/>
        <choice name="BOTH PORTS" value="3"/>
      </feature>
      <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad_kega" order="502">
        <choice name="NO" value="0"/>
        <choice name="YES(DPAD)" value="1"/>
        <choice name="YES(ANALOG)" value="2"/>
      </feature>
    </system>
  </emulator>
  <!-- KRONOS -->
  <emulator name="kronos">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="kronos_vsync" preset="switchauto" order="30"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="kronos_resolution" order="20">
      <choice name="ORIGINAL" value="1"/>
      <choice name="2X" value="8"/>
      <choice name="4X" value="32"/>
      <choice name="SAME AS SCREEN" value="64"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="kronos_ratio" order="25">
      <choice name="PRESERVE ASPECT" value="0"/>
      <choice name="STRETCH TO SCREEN" value="1"/>
      <choice name="INTEGER SCALE (Fullscreen)" value="2"/>
      <choice name="INTEGER SCALE" value="3"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="VIDEO SCALER" value="kronos_scaler" group="ADVANCED SETTINGS" description="Efficient graphics filters improving the rendering of games." order="250">
      <choice name="NONE" value="0"/>
      <choice name="HQ 4x" value="1"/>
      <choice name="4x BRZ" value="2"/>
      <choice name="6x BRZ" value="3"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="kronos_filtering" description="Control the texture filtering of the emulation." order="251">
      <choice name="NONE" value="0"/>
      <choice name="BILINEAR" value="1"/>
      <choice name="BICUBIC" value="2"/>
      <choice name="DEINTERLACING ADAPTATIVE" value="3"/>
      <choice name="DEBUG DEINTERLACING" value="4"/>
      <choice name="BOB DEINTERLACING" value="5"/>
      <choice name="SCANLINE" value="6"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="MESH MODE" group="ADVANCED SETTINGS" value="kronos_mesh" preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="BANDING MODE" group="ADVANCED SETTINGS" value="kronos_bandingmode" preset="switchauto" order="253"/>
    <feature submenu="EMULATION" name="CONSOLE LANGUAGE" group="ADVANCED SETTINGS" value="saturn_language" order="100">
      <choice name="english" value="0"/>
      <choice name="français" value="2"/>
      <choice name="deutsch" value="1"/>
      <choice name="español" value="3"/>
      <choice name="italiano" value="4"/>
      <choice name="日本語 (japanese)" value="5"/>
    </feature>
    <feature submenu="EMULATION" name="DISC NUMBER" group="ADVANCED SETTINGS" value="saturn_discnumber" description="In case of multidisc games, when using .m3u file, specify the disc number to run." order="101">
      <choice name="1" value="0"/>
      <choice name="2" value="1"/>
      <choice name="3" value="2"/>
      <choice name="4" value="3"/>
    </feature>
    <feature submenu="EMULATION" name="START BIOS" group="ADVANCED SETTINGS" value="saturn_startbios" description="This will run the console BIOS instead of a game." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="FORCE BIOS" group="ADVANCED SETTINGS" value="kronos_force_bios" description="Define BIOS to use for emulation." order="103">
      <choice name="Multi-region" value="saturn_bios.bin"/>
      <choice name="JAP" value="sega_101.bin"/>
      <choice name="EUR/US" value="mpr-17933.bin"/>
      <choice name="HLE" value="hle"/>
    </feature>
    <feature submenu="EMULATION" name="CARTRIDGE TYPE" group="ADVANCED SETTINGS" value="kronos_cartridge" order="104">
      <choice name="DRAM 32 Mbit" value="7"/>
      <choice name="DRAM 8 Mbit" value="6"/>
      <choice name="NONE" value="0"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="kronos_audiocore" order="400">
      <choice name="DIRECTX" value="2"/>
      <choice name="SDL" value="1"/>
    </feature>
    <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="kronos_padlayout" order="500">
      <choice name="L/R as Y/Z" value="lr_yz"/>
      <choice name="L/R as Z/C" value="lr_zc"/>
      <choice name="L/R as X/Z" value="lr_xz"/>
    </feature>
    <feature submenu="CONTROLS" name="USE ANALOG STICK" group="ADVANCED SETTINGS" value="kronos_leftstick" description="Use Left analog stick instead of D-PAD for controls." preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="kronos_multitap" order="502">
      <choice name="NO" value="0"/>
      <choice name="PORT 1" value="1"/>
      <choice name="PORT 2" value="2"/>
      <choice name="BOTH PORTS" value="both"/>
    </feature>
    <feature submenu="CONTROLS" name="USE SATURN-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="saturn_pad_kronos" order="503">
      <choice name="NO" value="0"/>
      <choice name="YES(DPAD)" value="1"/>
      <choice name="YES(ANALOG)" value="2"/>
    </feature>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="551"/>
    <feature submenu="GUNS" name="GUN PORT" group="ADVANCED SETTINGS" value="kronos_gunport" order="552">
      <choice name="PORT 2" value="2"/>
      <choice name="PORT 1" value="1"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="kronos_fps" preset="switchauto" order="450"/>
  </emulator>
  <!-- LIME3DS -->
  <emulator name="lime3ds" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="lime_resolution_factor" order="20">
      <choice name="NATIVE (400x240)" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X" value="8"/>
      <choice name="9X" value="9"/>
      <choice name="10X" value="10"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="lime_layout_option" description="Choose the disposition of the emulated screens." order="152">
      <choice name="TOP-BOTTOM SCREEN" value="0"/>
      <choice name="SINGLE SCREEN ONLY" value="1"/>
      <choice name="LARGE SCREEN / SMALL SCREEN" value="2"/>
      <choice name="SIDE BY SIDE" value="3"/>
      <choice name="SEPARATED WINDOWS" value="4"/>
      <choice name="HYBRID" value="5"/>
    </feature>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SWAP SCREEN" value="lime_swap_screen" description="Set the bottom screen as prominent." preset="switchauto" order="153"/>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="TEXTURE FILTERING" value="lime_texture_filter" order="251">
      <choice name="NONE" value="0"/>
      <choice name="ANIME4K" value="1"/>
      <choice name="BICUBIC" value="2"/>
      <choice name="SCALEFORCE" value="3"/>
      <choice name="xBRZ" value="4"/>
      <choice name="MMPX" value="5"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="lime_custom_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="PREFETCH CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="lime_PreloadTextures" description="Preload custom textures on startup." preset="switchauto" order="253"/>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="lime_region_value" description="Force the region of the system." order="100">
      <choice name="USA" value="1"/>
      <choice name="EUROPE" value="2"/>
      <choice name="JAPAN" value="0"/>
      <choice name="AUSTRALIA" value="3"/>
      <choice name="CHINA" value="4"/>
      <choice name="KOREA" value="5"/>
      <choice name="TAIWAN" value="6"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="n3ds_language" order="101">
      <choice name="Japanese" value="0"/>
      <choice name="English" value="1"/>
      <choice name="Français" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Italiano" value="4"/>
      <choice name="Español" value="5"/>
      <choice name="简化字 (Chinese - simplified)" value="6"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="Nederlands" value="8"/>
      <choice name="Português" value="9"/>
      <choice name="Русский (Russian)" value="10"/>
      <choice name="簡化字 (Chinese - traditional)" value="11"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="USE MOTION" group="ADVANCED SETTINGS" value="n3ds_motion" description="Enable motion control (gyro) either with mouse or with compatible controller." order="501">
      <choice name="MOUSE" value="mouse"/>
      <choice name="CONTROLLER" value="sdl"/>
      <choice name="CEMUHOOK" value="cemuhook"/>
    </feature>
    <feature submenu="CONTROLS" name="USE TOUCH PROFILE" group="ADVANCED SETTINGS" value="lime3ds_touchprofile" description="Enter touch profile to load." preset="input" order="502"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="graphics_api" order="400">
      <choice name="SOFTWARE" value="0"/>
      <choice name="OPENGL" value="1"/>
      <choice name="VULKAN" value="2"/>
    </feature>
  </emulator>
  <!-- MAGIC ENGINE -->
  <emulator name="magicengine">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="magicengine_ratio" order="25">
      <choice name="4/3" value="0,1"/>
      <choice name="3/2" value="0,2"/>
      <choice name="NONE" value="0,0"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="magicengine_vsync" description="Use the HGH FREQUENCY value for screens with higher refresh rate." order="30">
      <choice name="NORMAL" value="0,1"/>
      <choice name="HIGH FREQUENCY" value="0,2"/>
      <choice name="DISABLED" value="0,0"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="magicengine_frameskip" description="Skip frames to improve performance (smoothless)." preset="sliderauto" preset-parameters="0 10 1" order="152"/>
    <feature submenu="VISUAL RENDERING" name="HIGH RESOLUTION" group="ADVANCED SETTINGS" value="magicengine_hires" description="Use a high-res filter to improve rendering." preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="SCANLINES" group="ADVANCED SETTINGS" value="magicengine_scanlines" order="251">
      <choice name="NONE" value="0,0"/>
      <choice name="LOW" value="0,10"/>
      <choice name="MEDIUM" value="0,20"/>
      <choice name="HIGH" value="0,30"/>
      <choice name="VERY HIGH" value="0,40"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="magicengine_language" order="100">
      <choice name="ENGLISH" value="0"/>
      <choice name="FRENCH" value="1"/>
      <choice name="JAPANESE" value="2"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="magicengine_renderer" order="400">
      <choice name="OPENGL" value="1"/>
      <choice name="DIRECT3D" value="0"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="magicengine_showfps" preset="switchauto" order="450"/>
    <feature submenu="CONTROLS" name="FORCE PLAYER 1 PAD INDEX" group="ADVANCED SETTINGS" value="magicengine_p1_forceindex" description="Force P1 pad index, can be useful when using a controller on an arcade machine." order="500">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 2 PAD INDEX" group="ADVANCED SETTINGS" value="magicengine_p2_forceindex" order="501">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 3 PAD INDEX" group="ADVANCED SETTINGS" value="magicengine_p3_forceindex" order="502">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 4 PAD INDEX" group="ADVANCED SETTINGS" value="magicengine_p4_forceindex" order="503">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
  </emulator>
  <!-- MAME -->
  <emulator name="mame64, hbmame">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="mame_ratio" order="25">
      <choice name="DEFAULT" value="keep"/>
      <choice name="4:3" value="4:3"/>
      <choice name="16:9" value="16:9"/>
      <choice name="5:4" value="5:4"/>
      <choice name="STRETCH TO SCREEN" value="stretch"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="152"/>
    <feature submenu="VIDEO" name="TRIPLE BUFFERING" group="ADVANCED SETTINGS" value="triplebuffer" preset="switchauto" order="153"/>
    <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="mame_rotate" order="154">
      <choice name="NO" value="off"/>
      <choice name="CLOCKWISE" value="autoror"/>
      <choice name="COUNTER-CLOCKWISE" value="autorol"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="BGFX VIDEO FILTER" group="ADVANCED SETTINGS" value="bgfxshaders" description="Select shader to apply, only compatible with 'bgfx' video driver." order="250">
      <choice name="DEFAULT BILINEAR FILTERED OUTPUT" value="default"/>
      <choice name="NEAREST NEIGHBOR SAMPLED OUTPUT" value="unfiltered"/>
      <choice name="ARCCABVIEW (Advanced CRT Simulation)" value="ArcCabView"/>
      <choice name="CRT SIMULATION" value="crt-geom-deluxe"/>
      <choice name="LIGHTWEIGHT CRT SIMULATION" value="crt-geom"/>
      <choice name="LCD MATRIX SIMULATION" value="lcd-grid"/>
      <choice name="HQ2X" value="hq2x"/>
      <choice name="HQ3X" value="hq3x"/>
      <choice name="HQ4X" value="hq4x"/>
      <choice name="SUPER EAGLE" value="super-eagle"/>
      <choice name="FIGHTERS" value="Fighters"/>
      <choice name="HLSL" value="hlsl"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="GLSL VIDEO FILTER" group="ADVANCED SETTINGS" value="glslshaders" description="Select shader to apply, only compatible with 'openGL' video driver." order="251">
      <choice name="CRT (MAME-PSGS)" value="mame-psgs"/>
      <choice name="CRT APERTURE" value="crt-aperture"/>
      <choice name="CRT-GEOM (ARCADE SCREEN EFFECT)" value="osd"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="EFFECT" group="ADVANCED SETTINGS" value="effect" description="Select effect to apply, this has no effect when using shaders." order="252">
      <choice name="SCANLINES" value="scanlines"/>
      <choice name="APERTURE" value="aperture"/>
      <choice name="APERTURE GRID" value="aperture-grille"/>
      <choice name="MONOCHROME MATRIX" value="monochrome-matrix"/>
      <choice name="SHADOW MASK" value="shadow-mask"/>
      <choice name="SLOT MASK" value="slot-mask"/>
      <choice name="SLOT MASK ALIGNED" value="slot-mask-aligned"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="DISABLE ARTWORK" group="ADVANCED SETTINGS" value="disable_artwork" description="Disable the check of artworks in 'saves\mame\artwork' folder." preset="switchauto" order="253"/>
    <feature submenu="VISUAL RENDERING" name="ADJUST BRIGHTNESS" group="ADVANCED SETTINGS" value="brightness" description="Use this setting to decrease or increase brightness, not compatible with 'gdi' video driver." preset="sliderauto" preset-parameters="0.5 1.5 0.1" order="254"/>
    <feature submenu="VISUAL RENDERING" name="ADJUST CONTRAST" group="ADVANCED SETTINGS" value="contrast" description="Use this setting to decrease or increase contrast, not compatible with 'gdi' video driver." preset="sliderauto" preset-parameters="0.5 1.5 0.1" order="255"/>
    <feature submenu="VISUAL RENDERING" name="ADJUST GAMMA" group="ADVANCED SETTINGS" value="gamma" description="Use this setting to decrease or increase gamma, not compatible with 'gdi' video driver." preset="sliderauto" preset-parameters="0.5 1.5 0.1" order="256"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="100"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="101"/>
    <feature submenu="EMULATION" name="DISABLE THROTTLE" group="ADVANCED SETTINGS" value="mame_throttle" description="When throttling is disabled, MAME runs the emulation as fast as possible." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="IGNORE INI FILE" group="ADVANCED SETTINGS" value="noread_ini" description="Ignore existing ini files in 'bios\mame\ini' folder." order="103">
      <choice name="NO" value="0"/>
      <choice name="YES" value="1"/>
      <choice name="YES DELETE EXISTING INI" value="delete"/>
    </feature>
    <feature submenu="EMULATION" name="SEPARATE CFG FOLDER FROM LIBRETRO" group="ADVANCED SETTINGS" value="mame_separate_cfg" description="Use 'cfg64' folder for MAME standalone." preset="switchauto" order="104"/>
    <feature submenu="PLUGINS" name="CHEATS" group="ADVANCED SETTINGS" value="mame_cheats" description="Cheats need to be placed in 'cheats\mame' folder." preset="switchauto" order="110"/>
    <feature submenu="PLUGINS" name="HISCORES" group="ADVANCED SETTINGS" value="mame_hiscore" description="Saves the hiscores in supported games." preset="switchauto" order="111"/>
    <feature submenu="PLUGINS" name="LAYOUT" group="ADVANCED SETTINGS" value="layout_enable" preset="switchauto" order="112"/>
    <feature submenu="PLUGINS" name="AUTOFIRE" group="ADVANCED SETTINGS" value="mame_autofire" preset="switchauto" order="113"/>
    <feature submenu="DRIVERS" name="BGFX VIDEO DRIVER" group="ADVANCED SETTINGS" value="bgfxbackend" description="Select the driver used for shaders when using bgfx video driver." order="401">
      <choice name="VULKAN" value="vulkan"/>
      <choice name="OPENGL" value="opengl"/>
      <choice name="DIRECT3D 12" value="d3d12"/>
      <choice name="DIRECT3D 11" value="d3d11"/>
      <choice name="DIRECT3D 9" value="d3d9"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="mame_audio_driver" order="402">
      <choice name="DIRECTSOUND" value="dsound"/>
      <choice name="XAUDIO2" value="xaudio2"/>
      <choice name="PORTAUDIO" value="portaudio"/>
    </feature>
    <feature submenu="DRIVERS" name="CONTROLLER" group="ADVANCED SETTINGS" value="mame_joystick_driver" order="403">
      <choice name="WIN HYBRID" value="winhybrid"/>
      <choice name="XINPUT" value="xinput"/>
      <choice name="DINPUT" value="dinput"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER PROFILE" group="ADVANCED SETTINGS" value="mame_ctrlr_profile" description="The RetroBat team has prepared profiles for some common controllers, they are located in 'saves\mame\ctrlr' folder. CUSTOM can be used for saving one's own mappings." order="500">
      <choice name="RETROBAT AUTO" value="retrobat_auto"/>
      <choice name="X-ARCADE" value="X-Arcade"/>
      <choice name="IPAC2" value="ipac2"/>
      <choice name="NONE" value="none"/>
      <choice name="NONE" value="none"/>
      <choice name="GAME SPECIFIC" value="per_game"/>
      <choice name="CUSTOM 1" value="custom1"/>
      <choice name="CUSTOM 2" value="custom2"/>
      <choice name="CUSTOM 3" value="custom3"/>
      <choice name="CUSTOM 4" value="custom4"/>
      <choice name="CUSTOM 5" value="custom5"/>
      <choice name="CUSTOM 6" value="custom6"/>
      <choice name="CUSTOM 7" value="custom7"/>
      <choice name="CUSTOM 8" value="custom8"/>
    </feature>
    <system name="mame">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="controller_layout" order="501"/>
    </system>
    <feature submenu="CONTROLS" name="MULTI-MOUSE" group="ADVANCED SETTINGS" value="mame_multimouse" description="Turning this option on will enable MAME to report mouse movement and button presses on different mice independently." preset="switchauto" order="502"/>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="503"/>
    <feature submenu="CONTROLS" name="DO NOT MAP LEFT STICK" group="ADVANCED SETTINGS" value="mame_dpadandstick" description="Turn this off to map only the D-PAD for directions." preset="switchauto" order="504"/>
    <feature submenu="CONTROLS" name="MOUSE DEVICE" group="ADVANCED SETTINGS" value="mame_mouse" description="Define the connected device that emulates a mouse." order="505">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
    </feature>
    <feature submenu="CONTROLS" name="PEDAL DEVICE" group="ADVANCED SETTINGS" value="mame_pedal" description="Define the connected device that emulates a Pedal." order="506">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <feature submenu="CONTROLS" name="LIGHTGUN DEVICE" group="ADVANCED SETTINGS" value="mame_lightgun" description="Define the connected device that emulates a lightgun." order="507">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
    </feature>
    <feature submenu="CONTROLS" name="PADDLE DEVICE" group="ADVANCED SETTINGS" value="mame_paddle" description="Define the connected device that emulates a paddle." order="508">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <feature submenu="CONTROLS" name="ANALOG STICK DEVICE" group="ADVANCED SETTINGS" value="mame_adstick" description="Define the connected device that emulates an Analog Directional Stick." order="509">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <feature submenu="CONTROLS" name="POSITIONAL DEVICE" group="ADVANCED SETTINGS" value="mame_positional" description="Define the connected device that emulates a Positional device." order="510">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <feature submenu="CONTROLS" name="TRACKBALL DEVICE" group="ADVANCED SETTINGS" value="mame_trackball" description="Define the connected device that emulates a Trackball." order="511">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <feature submenu="CONTROLS" name="DIAL DEVICE" group="ADVANCED SETTINGS" value="mame_dial" description="Define the connected device that emulates a Dial device." order="512">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="revertXIndex" order="513"/>
    <feature submenu="CONTROLS" name="FORCE PLAYER 1 PAD INDEX" group="ADVANCED SETTINGS" value="mame_p1_forceindex" description="Force P1 pad index, can be useful when using a controller on an arcade machine." order="514">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 2 PAD INDEX" group="ADVANCED SETTINGS" value="mame_p2_forceindex" order="515">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 3 PAD INDEX" group="ADVANCED SETTINGS" value="mame_p3_forceindex" order="516">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 4 PAD INDEX" group="ADVANCED SETTINGS" value="mame_p4_forceindex" order="517">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    <feature submenu="GUNS" name="DISABLE CROSSHAIR" group="ADVANCED SETTINGS" value="mame_remove_crosshair" preset="switchauto" order="551"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="p1_gunIndex" order="552"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="p2_gunIndex" order="553"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="p3_gunIndex" order="554"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="p4_gunIndex" order="555"/>
    <feature submenu="GUNS" name="GUN RELOAD WITH BUTTON" group="ADVANCED SETTINGS" value="mame_offscreen_reload" description="Turn this on when using a lightgun that does not support offscreen reload." preset="switchauto" order="556"/>
    <feature submenu="GUNS" group="ADVANCED SETTINGS" name="FORCE ONE GUN ONLY" value="mame_forceOneGun" preset="switchauto" order="557"/>
    <feature submenu="GUNS" name="OUTPUT GAME DATA" group="ADVANCED SETTINGS" value="mame_output" description="Enable this option when using mamehooker with LEDs, solenoids, rumble..." order="558">
      <choice name="WINDOWS" value="windows"/>
      <choice name="NETWORK" value="network"/>
    </feature>
    <feature submenu="GUNS" group="ADVANCED SETTINGS" name="USE MAMEHOOKER" value="use_mamehooker" description="Launch MameHooker for outputs management." preset="switchauto" order="559"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="mame_video_driver" order="400">
      <choice name="D3D" value="d3d"/>
      <choice name="OPENGL" value="opengl"/>
      <choice name="BGFX" value="bgfx"/>
      <choice name="GDI" value="gdi"/>
    </feature>
      <system name="adam" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Adam cartridges" value="adam_cart"/>
          <choice name="Adam Cassettes" value="adam_cass"/>
          <choice name="ADAM diskettes" value="adam_flop"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cassette 1" value="cass1"/>
          <choice name="Cassette 2" value="cass2"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
          <choice name="Cartridge (Slot 3)" value="cart3"/>
          <choice name="Cartridge (Slot 4)" value="cart4"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="adam_joy" description="Type of joystick connected to the game port." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Colecovision Hand controller" value="hand"/>
          <choice name="Colecovision Super Action controller" value="sac"/>
        </feature>
      </system>
      <system name="advision">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="AdventureVision cartridges" value="advision"/>
        </feature>
      </system>
      <system name="apfm1000">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="APF M-1000 cartridges" value="apfm1000"/>
        </feature>
      </system>
      <system name="apple2" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Apple II cassettes" value="apple2_cass"/>
          <choice name="Apple II cleanly cracked disks" value="apple2_flop_clcracked"/>
          <choice name="Apple II miscellaneous disks" value="apple2_flop_misc"/>
          <choice name="Apple II original disks" value="apple2_flop_orig"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of APPLE II to emulate." order="121">
          <choice name="Apple IIe ENHANCED (default)" value="apple2ee"/>
          <choice name="Apple IIe" value="apple2e"/>
          <choice name="Apple II PLUS" value="apple2p"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Hard Drive Image" value="hard1"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Type of ROM file" order="125">
          <choice name="48k" value="48K"/>
          <choice name="16K" value="16K"/>
          <choice name="32K" value="32K"/>
          <choice name="64K (IIe ONLY)" value="64K"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="gameio" description="Type of joystick connected to the game port." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Apple (2x 2-button Analog)" value="joy"/>
          <choice name="Sirius/Atari (2x 1-button Digital, II+ Only)" value="joyport"/>
          <choice name="Gizmo (1-Button Digital)" value="gizmo"/>
        </feature>
        <feature submenu="EXPANSION SLOTS" name="4play Joystick Card" group="ADVANCED SETTINGS" value="4play" preset="switchauto" order="130"/>
        <feature submenu="EXPANSION SLOTS" name="6850 MIDI card" group="ADVANCED SETTINGS" value="midi" preset="switchauto" order="131"/>
        <feature submenu="EXPANSION SLOTS" name="CFFA 2.0 Compact Flash (65C02)" group="ADVANCED SETTINGS" value="cffa2" preset="switchauto" order="133"/>
      </system>
      <system name="apple2gs" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Apple IIgs cleanly cracked disks" value="apple2gs_flop_clcracked"/>
          <choice name="Apple IIgs miscellaneous disks" value="apple2gs_flop_misc"/>
          <choice name="Apple IIgs Original disks" value="apple2gs_flop_orig"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="5 1/4 Disk (Drive 1)" value="flop1"/>
          <choice name="5 1/4 Disk (Drive 2)" value="flop2"/>
          <choice name="3 1/2 Disk (Drive 3)" value="flop3"/>
          <choice name="3 1/2 Disk (Drive 4)" value="flop4"/>
          <choice name="Hard Drive Image" value="hard1"/> 
        </feature>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Type of ROM file" order="125">
          <choice name="1M" value="1M"/>
          <choice name="2M" value="2M"/>
          <choice name="4M" value="4M"/>
          <choice name="8M" value="8M"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="gameio" description="Type of joystick connected to the game port." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Apple (2x 2-button Analog)" value="joy"/>
          <choice name="Gizmo (1-Button Digital)" value="gizmo"/>
        </feature>
        <feature submenu="EXPANSION SLOTS" name="4play Joystick Card" group="ADVANCED SETTINGS" value="4play" preset="switchauto" order="130"/>
        <feature submenu="EXPANSION SLOTS" name="6850 MIDI card" group="ADVANCED SETTINGS" value="midi" preset="switchauto" order="131"/>
        <feature submenu="EXPANSION SLOTS" name="Sweet Micro Systems Mockingboard Sound/Speech I" group="ADVANCED SETTINGS" value="mockingboard" preset="switchauto" order="132"/>
        <feature submenu="EXPANSION SLOTS" name="CFFA 2.0 Compact Flash (65C02)" group="ADVANCED SETTINGS" value="cffa2" preset="switchauto" order="133"/>
      </system>
      <system name="aquarius" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Mattel Aquarius cartridges" value="aquarius_cart"/>
          <choice name="Mattel Aquarius cassettes" value="aquarius_cass"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" value="altmodel" group="ADVANCED SETTINGS" description="Select the machine to emulate." order="121">
          <choice name="Aquarius (NTSC)" value="aquarius"/>
          <choice name="Aquarius (PAL)" value="aquariusp"/>
          <choice name="Aquarius 2" value="aquarius2"/>
          <choice name="Aquarius (arabic)" value="aquarius_ar"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Cartridge" value="cart1"/>
          <choice name="Cartridge slot 2" value="cart2"/>
          <choice name="Cartridge slot 3" value="cart3"/>
        </feature>
      </system>
      <system name="arcadia">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Arcadia 2001 cartridges" value="arcadia"/>
        </feature>
      </system>
      <system name="archimedes" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Archimedes floppy disks" value="archimedes"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of Archimedes computer to emulate." order="121">
          <choice name="ARCHIMEDES 440/1 (Default)" value="aa4401"/>
          <choice name="ARCHIMEDES 305" value="aa305"/>
          <choice name="ARCHIMEDES 310" value="aa310"/>
          <choice name="ARCHIMEDES 440" value="aa440"/>
          <choice name="ARCHIMEDES 410/1" value="aa4101"/>
          <choice name="ARCHIMEDES 420/1" value="aa4201"/>
          <choice name="ARCHIMEDES A3000" value="aa3000"/>
          <choice name="ARCHIMEDES 540" value="aa540"/>
          <choice name="ARCHIMEDES 5000" value="aa5000"/>
          <choice name="ARCHIMEDES 3010" value="aa3010"/>
          <choice name="ARCHIMEDES 3020" value="aa3020"/>
          <choice name="ARCHIMEDES 4000" value="aa4000"/>
        </feature>
      </system>
      <system name="astrocade">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Astrocade cartridges" value="astrocde"/>
        </feature>
        <feature submenu="CONTROLS" name="PLUG ADDITIONAL CONTROLLERS" group="ADVANCED SETTINGS" value="astrocde_addjoy" description="Plug additional joysticks in ports 2, 3 and 4." preset="switchauto" order="520"/>
      </system>
      <system name="atom" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Atom cassettes" value="atom_cass"/>
          <choice name="Atom floppy disk" value="atom_flop"/>
          <choice name="Atom Utility ROMs" value="atom_rom"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Quickload" value="quik"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="122"/>
      </system>
      <system name="bbcmicro" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="BBC Micro cassettes" value="bbc_cass"/>
          <choice name="BBC Micro rom" value="bbc_rom"/>
          <choice name="BBC Micro Model B floppy disks" value="bbcb_flop"/>
          <choice name="BBC Micro Model B Original floppy disks" value="bbcb_flop_orig"/>
          <choice name="BBC Micro Model B US floppy disks" value="bbcb_flop_us"/>
          <choice name="BBC Micro Master 128 cartridge" value="bbcm_cart"/>
          <choice name="BBC Micro Master 128 floppy disks" value="bbcm_flop"/>
          <choice name="BBC Micro Master Compact floppy disks" value="bbcmc_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of BBC micro to emulate, default to MODEL B." order="121">
          <choice name="MODEL B (default)" value="bbcb"/>
          <choice name="MASTER 128" value="bbcm"/>
          <choice name="MASTER 512" value="bbcm512"/>
          <choice name="MASTER COMPACT" value="bbcmc"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="ROM (Slot 1)" value="rom1"/>
          <choice name="ROM (Slot 2)" value="rom2"/>
          <choice name="ROM (Slot 3)" value="rom3"/>
          <choice name="ROM (Slot 4)" value="rom4"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file or filename (brackets)." preset="switchauto" order="123"/>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="bbc_sticktype" description="Select which joystick to emulate (not compatible with MASTER COMPACT)." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Acorn Analogue Joysticks" value="acornjoy"/>
          <choice name="Acorn Bitstik" value="bitstik1"/>
          <choice name="Robo Bitstik 2" value="bitstik2"/>
          <choice name="Voltmace Delta 3b Twin Joysticks" value="voltmace3b"/>
        </feature>
      </system>
      <system name="camplynx" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Camputers Lynx cassettes" value="camplynx_cass"/>
          <choice name="Camputers Lynx floppy disk" value="camplynx_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of LYNX to emulate, default to 48k." order="121">
          <choice name="LYNX 48K (default)" value="lynx48k"/>
          <choice name="LYNX 128K" value="lynx128k"/>
          <choice name="LYNX 96K" value="lynx96k"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
      </system>
      <system name="loopy">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Casio Loopy cartridges" value="casloopy"/>
        </feature>
      </system>
      <system name="coco" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Color Computer cartridges" value="coco_cart"/>
          <choice name="Color Computer floppy disk" value="coco_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of Color Computer to emulate, default to coco3." order="121">
          <choice name="Color Computer 3 NTSC (default)" value="coco3"/>
          <choice name="Color Computer 3 PAL" value="coco3p"/>
          <choice name="Color Computer" value="coco"/>
          <choice name="Color Computer 2B" value="coco2b"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Cartridge" value="cart"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="HARD DRIVE" value="hard1"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
      </system>
      <system name="crvision">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="V-Tech Creativision cartridges" value="crvision"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
          <choice name="Cassette" value="cass"/>
        </feature>
      </system>
      <system name="electron" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Electron Tapes" value="electron_cass"/>
          <choice name="Electron ROM Cartridges" value="electron_cart"/>
          <choice name="Electron floppy disks" value="electron_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of BBC micro to emulate, default to MODEL B." order="121">
          <choice name="ELECTRON 64" value="electron64"/>
          <choice name="ELECTRON" value="electron"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk" value="flop"/>
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
      </system>
      <system name="fm7" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Fujitsu FM-77AV disk images" value="fm77av"/>
          <choice name="Fujitsu FM-7 cassettes" value="fm7_cass"/>
          <choice name="Fujitsu FM-7 disk images" value="fm7_disk"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of FM-7 to emulate, default to FM-7." order="121">
          <choice name="FM-7" value="fm7"/>
          <choice name="FM-77AV" value="fm77av"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
        </feature>
      </system>
      <system name="fmtowns" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="FM Towns CD-ROMs" value="fmtowns_cd"/>
          <choice name="FM Towns cracked floppy disk images" value="fmtowns_flop_cracked"/>
          <choice name="FM Towns miscellaneous floppy disk images" value="fmtowns_flop_misc"/>
          <choice name="FM Towns original floppy disk images" value="fmtowns_flop_orig"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" value="altmodel" group="ADVANCED SETTINGS" description="Type of FM Towns to emulate, default to FM TOWMS (MODEL 1/2)." order="121">
          <choice name="FM TOWNS (MODEL 1/2) (Default)" value="fmtowns"/>
          <choice name="FM TOWNS II UX" value="fmtownsux"/>
          <choice name="FM TOWNS MARTY" value="fmtmarty"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Disk Drive (FM TOWNS MARTY)" value="flop"/>
          <choice name="CD-ROM" value="cdrm"/>
          <choice name="HARD DRIVE (II UX)" value="hard1"/>
          <choice name="MEMCARD" value="memc"/>
        </feature>
        <feature submenu="EMULATION" name="ADD USER DISK" group="ADVANCED SETTINGS" value="addblankdisk" description="Insert a disk in floppy drive, is often used for CDROM games." order="123">
          <choice name="NO" value="none"/>
          <choice name="BLANK DISK" value="blank"/>
          <choice name="SYSTEM DISK" value="system"/>
        </feature>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Define how much RAM the emulated will have." order="124">
          <choice name="2MB" value="2M"/>
          <choice name="4MB" value="4M"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="fmtowns_joytype" description="Select which joystick to emulate." order="520">
          <choice name="NONE" value="none"/>
          <choice name="MSX digital joystick" value="joystick"/>
          <choice name="FM Towns Marty Pad" value="martypad"/>
          <choice name="X68000 Sega Controller Adapter" value="sega"/>
          <choice name="FM Towns 6-button Pad" value="towns6b"/>
          <choice name="FM Towns 2-button Pad" value="townspad"/>
        </feature>
      </system>
      <system name="gamate">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Gamate cartridges" value="gamate"/>
        </feature>
      </system>
      <system name="gamecom">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Tiger Game.com cartridges" value="gamecom"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
      </system>
      <system name="gamepock">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Game Pocket cartridges" value="gamepock"/>
        </feature>
      </system>
      <system name="gmaster">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Game Master cartridges" value="gmaster"/>
        </feature>
      </system>
      <system name="gp32">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="GP32 memcards" value="gp32"/>
        </feature>
      </system>
      <system name="megaduck">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Mega Duck cartridges" value="megaduck"/>
        </feature>
      </system>
      <system name="neogeo64">
        <feature submenu="EMULATION" name="SELECT BIOS" group="ADVANCED SETTINGS" value="mame_bios" order="120">
          <choice name="JAPAN" value="japan"/>
          <choice name="USA" value="us"/>
          <choice name="EXPORT" value="export"/>
          <choice name="KOREA" value="korea"/>
        </feature>
      </system>
      <system name="odyssey2" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Videopac - odyssey 2" value="videopac"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" value="altmodel" group="ADVANCED SETTINGS" description="Select the machine to emulate." order="121">
          <choice name="Videopac G7000 (Europe)" value="videopac"/>
          <choice name="Videopac+ G7400 (Europe)" value="videopacp"/>
          <choice name="Videopac C52 (France)" value="videopacf"/>
          <choice name="Odyssey 2 (US)" value="odyssey2"/>
          <choice name="Odyssey 3 Command Center (US-Prototype)" value="odyssey3"/>
          <choice name="Jopac JO7400 (France)" value="jopac"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
        <feature submenu="EMULATION" name="USE VOICE CARTRIDGE" group="ADVANCED SETTINGS" value="o2em_voice" description="Force voice cart in slot 1, needs 'voice.zip' bios file." preset="switchauto" order="123"/>
      </system>
      <system name="pegasus" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Pegasus cartridges" value="pegasus_cart"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of Computer to emulate." order="121">
          <choice name="Pegasus" value="pegasus"/>
          <choice name="Pegasus with RAM expansion" value="pegasusm"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="ROM 1" value="rom1"/>
          <choice name="ROM 2" value="rom2"/>
          <choice name="ROM 3" value="rom3"/>
          <choice name="ROM 4" value="rom4"/>
          <choice name="ROM 5" value="rom5"/>
        </feature>
      </system>
      <system name="pv1000">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Casio PV-1000 cartridges" value="pv1000"/>
        </feature>
      </system>
      <system name="scv">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Super Cassette Vision cartridges" value="scv"/>
        </feature>
      </system>
      <system name="segastv">
        <feature submenu="EMULATION" name="ST-V BIOS" group="ADVANCED SETTINGS" value="mame_bios" order="120">
          <choice name="JAPAN EPR-23603" value="jp"/>
          <choice name="JAPAN EPR-20091" value="jp1"/>
          <choice name="JAPAN EPR-19730" value="jp2"/>
          <choice name="JAPAN EPR-17951A" value="jp3"/>
          <choice name="JAPAN EPR-17740A" value="jp4"/>
          <choice name="JAPAN EPR-17740" value="jp5"/>
          <choice name="EUROPE EPR-17954A" value="euro"/>
          <choice name="USA EPR-17952A" value="us"/>
          <choice name="USA EPR-17741a" value="us1"/>
          <choice name="TAIWAN EPR-19854" value="tw"/>
          <choice name="TAIWAN EPR-17953A" value="tw1"/>
          <choice name="TAIWAN EPR-17742A" value="tw2"/>
          <choice name="Development 1.10" value="debug"/>
          <choice name="Development 1.061" value="dev"/>
        </feature>
      </system>
      <system name="supracan">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Super A'Can cartridges" value="supracan"/>
        </feature>
      </system>
      <system name="ti99" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="TI-99/4A Cartridges" value="ti99_cart"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cassette 1" value="cass1"/>
          <choice name="Cassette 2" value="cass2"/>
          <choice name="Cartridge" value="cart"/>
        </feature>
        <feature submenu="EXPANSION SLOTS" name="32K RAM EXPANSION" group="ADVANCED SETTINGS" value="ti99_32kram" description="32k RAM expansion card installed." preset="switchauto" order="130"/>
        <feature submenu="EXPANSION SLOTS" name="4M SAMS MEMORY EXPANSION" group="ADVANCED SETTINGS" value="ti99_samsmem" description="Expand SAMS memory card to 4M." preset="switchauto" order="132"/>
        <feature submenu="EXPANSION SLOTS" name="SPEECH ADAPTER" group="ADVANCED SETTINGS" value="ti99_speechadapter" description="TI-99 Speech Synthesizer connector adapter." preset="switchauto" order="133"/>
        <feature submenu="EXPANSION SLOTS" name="FLOPPY DISK CONTROLLER CARD" group="ADVANCED SETTINGS" value="ti99_tifdc" description="Standard Floppy Disk Controller Card." preset="switchauto" order="134"/>
      <feature submenu="EXPANSION SLOTS" name="SPEECH MODULE" group="ADVANCED SETTINGS" value="ti99_speech" description="Speech module installed." preset="switchauto" order="131"/>
      </system>
      <system name="tutor" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Tomy Tutor / Pyuuta cartridge" value="tutor"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cassette" value="cass"/>
          <choice name="Cartridge" value="cart"/>
        </feature>
      </system>
      <system name="vc4000" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Interton VC 4000 cartridges" value="vc4000"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
        </feature>
      </system>
      <system name="vg5k">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Philips VG-5000 cassette" value="vg5k"/>
        </feature>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Define how much RAM the emulated will have." order="121">
          <choice name="16K" value="16k"/>
          <choice name="32K" value="32k"/>
          <choice name="48K" value="48k"/>
        </feature>
      </system>
      <system name="vsmile">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="V.Smile cartridges" value="vsmile_cart"/>
          <choice name="V.Smile Motion cartridges" value="vsmilem_cart"/>
          <choice name="V.Smile Pro CD-ROM" value="vsmile_cd"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of V.Smile to emulate." order="121">
          <choice name="V.SMILE (Default)" value="vsmile"/>
          <choice name="V.SMILE MOTION" value="vsmilem"/>
          <choice name="V.SMILE PRO" value="vsmilpro"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cartridge" value="cart"/>
          <choice name="CD-ROM" value="cdrm"/>
        </feature>
      </system>
      <system name="xegs">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Atari XE Game System cartridges" value="xegs"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Disk (Drive 3)" value="flop3"/>
          <choice name="Disk (Drive 4)" value="flop4"/>
        </feature>
      </system>
  </emulator>
  <!-- GROOVYMAME -->
  <emulator name="groovymame">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="152"/>
    <feature submenu="VIDEO" name="SCREEN PROFILE" group="ADVANCED SETTINGS" value="groovy_profile" order="153">
      <choice name="LCD Arcade (Vewlix) / PC / Modern TV" value="LCD_ARCADE"/>
      <choice name="CRT TV 15 kHz" value="CRT_TV_15"/>
      <choice name="CRT Arcade 15 kHz" value="CRT_ARCADE_15"/>
      <choice name="CRT Arcade 25 kHz" value="CRT_ARCADE_25"/>
      <choice name="CRT Arcade 31 kHz VGA" value="CRT_ARCADE_31"/>
      <choice name="CRT 15 kHz + 25 kHz Combo" value="CRT_15_25"/>
      <choice name="CRT 15/25/31 kHz" value="CRT_15_25_31"/>
      <choice name="CRT PC 31 kHz 120 Hz" value="CRT_31_120"/>
      <choice name="PVM / BVM" value="PVM_BVM"/>
      <choice name="CRT TV PAL" value="CRT_TV_PAL"/>
    </feature>
    <feature submenu="VIDEO" name="TRIPLE BUFFERING" group="ADVANCED SETTINGS" value="triplebuffer" preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="mame_rotate" order="155">
      <choice name="NO" value="off"/>
      <choice name="CLOCKWISE" value="autoror"/>
      <choice name="COUNTER-CLOCKWISE" value="autorol"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="DISABLE ARTWORK" group="ADVANCED SETTINGS" value="disable_artwork" description="Disable the check of artworks in 'saves\mame\artwork' folder." preset="switchauto" order="253"/>
    <feature submenu="VISUAL RENDERING" name="ADJUST BRIGHTNESS" group="ADVANCED SETTINGS" value="brightness" description="Use this setting to decrease or increase brightness, not compatible with 'gdi' video driver." preset="sliderauto" preset-parameters="0.5 1.5 0.1" order="254"/>
    <feature submenu="VISUAL RENDERING" name="ADJUST CONTRAST" group="ADVANCED SETTINGS" value="contrast" description="Use this setting to decrease or increase contrast, not compatible with 'gdi' video driver." preset="sliderauto" preset-parameters="0.5 1.5 0.1" order="255"/>
    <feature submenu="VISUAL RENDERING" name="ADJUST GAMMA" group="ADVANCED SETTINGS" value="gamma" description="Use this setting to decrease or increase gamma, not compatible with 'gdi' video driver." preset="sliderauto" preset-parameters="0.5 1.5 0.1" order="256"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="100"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="101"/>
    <feature submenu="EMULATION" name="DISABLE THROTTLE" group="ADVANCED SETTINGS" value="mame_throttle" description="When throttling is disabled, MAME runs the emulation as fast as possible." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="SEPARATE CFG FOLDER FROM LIBRETRO" group="ADVANCED SETTINGS" value="mame_separate_cfg" description="Use 'cfg64' folder for MAME standalone." preset="switchauto" order="104"/>
    <feature submenu="PLUGINS" name="CHEATS" group="ADVANCED SETTINGS" value="mame_cheats" description="Cheats need to be placed in 'cheats\mame' folder." preset="switchauto" order="110"/>
    <feature submenu="PLUGINS" name="HISCORES" group="ADVANCED SETTINGS" value="mame_hiscore" description="Saves the hiscores in supported games." preset="switchauto" order="111"/>
    <feature submenu="PLUGINS" name="LAYOUT" group="ADVANCED SETTINGS" value="layout_enable" preset="switchauto" order="112"/>
    <feature submenu="PLUGINS" name="AUTOFIRE" group="ADVANCED SETTINGS" value="mame_autofire" preset="switchauto" order="113"/>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="mame_audio_driver" order="402">
      <choice name="DIRECTSOUND" value="dsound"/>
      <choice name="XAUDIO2" value="xaudio2"/>
      <choice name="PORTAUDIO" value="portaudio"/>
    </feature>
    <feature submenu="DRIVERS" name="CONTROLLER" group="ADVANCED SETTINGS" value="mame_joystick_driver" order="403">
      <choice name="WIN HYBRID" value="winhybrid"/>
      <choice name="XINPUT" value="xinput"/>
      <choice name="DINPUT" value="dinput"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER PROFILE" group="ADVANCED SETTINGS" value="mame_ctrlr_profile" description="The RetroBat team has prepared profiles for some common controllers, they are located in 'saves\mame\ctrlr' folder. CUSTOM can be used for saving one's own mappings." order="500">
      <choice name="RETROBAT AUTO" value="retrobat_auto"/>
      <choice name="X-ARCADE" value="X-Arcade"/>
      <choice name="IPAC2" value="ipac2"/>
      <choice name="NONE" value="none"/>
      <choice name="NONE" value="none"/>
      <choice name="GAME SPECIFIC" value="per_game"/>
      <choice name="CUSTOM 1" value="custom1"/>
      <choice name="CUSTOM 2" value="custom2"/>
      <choice name="CUSTOM 3" value="custom3"/>
      <choice name="CUSTOM 4" value="custom4"/>
      <choice name="CUSTOM 5" value="custom5"/>
      <choice name="CUSTOM 6" value="custom6"/>
      <choice name="CUSTOM 7" value="custom7"/>
      <choice name="CUSTOM 8" value="custom8"/>
    </feature>
    <system name="mame">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="controller_layout" order="501"/>
    </system>
    <feature submenu="CONTROLS" name="MULTI-MOUSE" group="ADVANCED SETTINGS" value="mame_multimouse" description="Turning this option on will enable MAME to report mouse movement and button presses on different mice independently." preset="switchauto" order="502"/>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="GameFocus" order="503"/>
    <feature submenu="CONTROLS" name="DO NOT MAP LEFT STICK" group="ADVANCED SETTINGS" value="mame_dpadandstick" description="Turn this off to map only the D-PAD for directions." preset="switchauto" order="504"/>
    <feature submenu="CONTROLS" name="MOUSE DEVICE" group="ADVANCED SETTINGS" value="mame_mouse" description="Define the connected device that emulates a mouse." order="505">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
    </feature>
    <feature submenu="CONTROLS" name="PEDAL DEVICE" group="ADVANCED SETTINGS" value="mame_pedal" description="Define the connected device that emulates a Pedal." order="506">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <feature submenu="CONTROLS" name="LIGHTGUN DEVICE" group="ADVANCED SETTINGS" value="mame_lightgun" description="Define the connected device that emulates a lightgun." order="507">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
    </feature>
    <feature submenu="CONTROLS" name="PADDLE DEVICE" group="ADVANCED SETTINGS" value="mame_paddle" description="Define the connected device that emulates a paddle." order="508">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <feature submenu="CONTROLS" name="ANALOG STICK DEVICE" group="ADVANCED SETTINGS" value="mame_adstick" description="Define the connected device that emulates an Analog Directional Stick." order="509">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <feature submenu="CONTROLS" name="POSITIONAL DEVICE" group="ADVANCED SETTINGS" value="mame_positional" description="Define the connected device that emulates a Positional device." order="510">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <feature submenu="CONTROLS" name="TRACKBALL DEVICE" group="ADVANCED SETTINGS" value="mame_trackball" description="Define the connected device that emulates a Trackball." order="511">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <feature submenu="CONTROLS" name="DIAL DEVICE" group="ADVANCED SETTINGS" value="mame_dial" description="Define the connected device that emulates a Dial device." order="512">
      <choice name="NONE" value="none"/>
      <choice name="MOUSE" value="mouse"/>
      <choice name="LIGHTGUN" value="lightgun"/>
      <choice name="JOYSTICK" value="joystick"/>
      <choice name="KEYBOARD" value="keyboard"/>
    </feature>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="revertXIndex" order="513"/>
    <feature submenu="CONTROLS" name="FORCE PLAYER 1 PAD INDEX" group="ADVANCED SETTINGS" value="mame_p1_forceindex" description="Force P1 pad index, can be useful when using a controller on an arcade machine." order="514">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 2 PAD INDEX" group="ADVANCED SETTINGS" value="mame_p2_forceindex" order="515">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 3 PAD INDEX" group="ADVANCED SETTINGS" value="mame_p3_forceindex" order="516">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 4 PAD INDEX" group="ADVANCED SETTINGS" value="mame_p4_forceindex" order="517">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    <feature submenu="GUNS" name="DISABLE CROSSHAIR" group="ADVANCED SETTINGS" value="mame_remove_crosshair" preset="switchauto" order="551"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="p1_gunIndex" order="552"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="p2_gunIndex" order="553"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="p3_gunIndex" order="554"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="p4_gunIndex" order="555"/>
    <feature submenu="GUNS" name="GUN RELOAD WITH BUTTON" group="ADVANCED SETTINGS" value="mame_offscreen_reload" description="Turn this on when using a lightgun that does not support offscreen reload." preset="switchauto" order="556"/>
    <feature submenu="GUNS" group="ADVANCED SETTINGS" name="FORCE ONE GUN ONLY" value="mame_forceOneGun" preset="switchauto" order="557"/>
    <feature submenu="GUNS" name="OUTPUT GAME DATA" group="ADVANCED SETTINGS" value="mame_output" description="Enable this option when using mamehooker with LEDs, solenoids, rumble..." order="558">
      <choice name="WINDOWS" value="windows"/>
      <choice name="NETWORK" value="network"/>
    </feature>
    <feature submenu="GUNS" group="ADVANCED SETTINGS" name="USE MAMEHOOKER" value="use_mamehooker" description="Launch MameHooker for outputs management." preset="switchauto" order="559"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="mame_video_driver" order="400">
      <choice name="D3D" value="d3d"/>
      <choice name="OPENGL" value="opengl"/>
    </feature>
      <system name="adam" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Adam cartridges" value="adam_cart"/>
          <choice name="Adam Cassettes" value="adam_cass"/>
          <choice name="ADAM diskettes" value="adam_flop"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cassette 1" value="cass1"/>
          <choice name="Cassette 2" value="cass2"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
          <choice name="Cartridge (Slot 3)" value="cart3"/>
          <choice name="Cartridge (Slot 4)" value="cart4"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="adam_joy" description="Type of joystick connected to the game port." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Colecovision Hand controller" value="hand"/>
          <choice name="Colecovision Super Action controller" value="sac"/>
        </feature>
      </system>
      <system name="advision">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="AdventureVision cartridges" value="advision"/>
        </feature>
      </system>
      <system name="apfm1000">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="APF M-1000 cartridges" value="apfm1000"/>
        </feature>
      </system>
      <system name="apple2" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Apple II cassettes" value="apple2_cass"/>
          <choice name="Apple II cleanly cracked disks" value="apple2_flop_clcracked"/>
          <choice name="Apple II miscellaneous disks" value="apple2_flop_misc"/>
          <choice name="Apple II original disks" value="apple2_flop_orig"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of APPLE II to emulate." order="121">
          <choice name="Apple IIe ENHANCED (default)" value="apple2ee"/>
          <choice name="Apple IIe" value="apple2e"/>
          <choice name="Apple II PLUS" value="apple2p"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Hard Drive Image" value="hard1"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Type of ROM file" order="125">
          <choice name="48k" value="48K"/>
          <choice name="16K" value="16K"/>
          <choice name="32K" value="32K"/>
          <choice name="64K (IIe ONLY)" value="64K"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="gameio" description="Type of joystick connected to the game port." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Apple (2x 2-button Analog)" value="joy"/>
          <choice name="Sirius/Atari (2x 1-button Digital, II+ Only)" value="joyport"/>
          <choice name="Gizmo (1-Button Digital)" value="gizmo"/>
        </feature>
        <feature submenu="EXPANSION SLOTS" name="4play Joystick Card" group="ADVANCED SETTINGS" value="4play" preset="switchauto" order="130"/>
        <feature submenu="EXPANSION SLOTS" name="6850 MIDI card" group="ADVANCED SETTINGS" value="midi" preset="switchauto" order="131"/>
        <feature submenu="EXPANSION SLOTS" name="CFFA 2.0 Compact Flash (65C02)" group="ADVANCED SETTINGS" value="cffa2" preset="switchauto" order="133"/>
      </system>
      <system name="apple2gs" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Apple IIgs cleanly cracked disks" value="apple2gs_flop_clcracked"/>
          <choice name="Apple IIgs miscellaneous disks" value="apple2gs_flop_misc"/>
          <choice name="Apple IIgs Original disks" value="apple2gs_flop_orig"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="5 1/4 Disk (Drive 1)" value="flop1"/>
          <choice name="5 1/4 Disk (Drive 2)" value="flop2"/>
          <choice name="3 1/2 Disk (Drive 3)" value="flop3"/>
          <choice name="3 1/2 Disk (Drive 4)" value="flop4"/>
          <choice name="Hard Drive Image" value="hard1"/> 
        </feature>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Type of ROM file" order="125">
          <choice name="1M" value="1M"/>
          <choice name="2M" value="2M"/>
          <choice name="4M" value="4M"/>
          <choice name="8M" value="8M"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="gameio" description="Type of joystick connected to the game port." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Apple (2x 2-button Analog)" value="joy"/>
          <choice name="Gizmo (1-Button Digital)" value="gizmo"/>
        </feature>
        <feature submenu="EXPANSION SLOTS" name="4play Joystick Card" group="ADVANCED SETTINGS" value="4play" preset="switchauto" order="130"/>
        <feature submenu="EXPANSION SLOTS" name="6850 MIDI card" group="ADVANCED SETTINGS" value="midi" preset="switchauto" order="131"/>
        <feature submenu="EXPANSION SLOTS" name="Sweet Micro Systems Mockingboard Sound/Speech I" group="ADVANCED SETTINGS" value="mockingboard" preset="switchauto" order="132"/>
        <feature submenu="EXPANSION SLOTS" name="CFFA 2.0 Compact Flash (65C02)" group="ADVANCED SETTINGS" value="cffa2" preset="switchauto" order="133"/>
      </system>
      <system name="aquarius" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Mattel Aquarius cartridges" value="aquarius_cart"/>
          <choice name="Mattel Aquarius cassettes" value="aquarius_cass"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" value="altmodel" group="ADVANCED SETTINGS" description="Select the machine to emulate." order="121">
          <choice name="Aquarius (NTSC)" value="aquarius"/>
          <choice name="Aquarius (PAL)" value="aquariusp"/>
          <choice name="Aquarius 2" value="aquarius2"/>
          <choice name="Aquarius (arabic)" value="aquarius_ar"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Cartridge" value="cart1"/>
          <choice name="Cartridge slot 2" value="cart2"/>
          <choice name="Cartridge slot 3" value="cart3"/>
        </feature>
      </system>
      <system name="arcadia">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Arcadia 2001 cartridges" value="arcadia"/>
        </feature>
      </system>
      <system name="archimedes" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Archimedes floppy disks" value="archimedes"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of Archimedes computer to emulate." order="121">
          <choice name="ARCHIMEDES 440/1 (Default)" value="aa4401"/>
          <choice name="ARCHIMEDES 305" value="aa305"/>
          <choice name="ARCHIMEDES 310" value="aa310"/>
          <choice name="ARCHIMEDES 440" value="aa440"/>
          <choice name="ARCHIMEDES 410/1" value="aa4101"/>
          <choice name="ARCHIMEDES 420/1" value="aa4201"/>
          <choice name="ARCHIMEDES A3000" value="aa3000"/>
          <choice name="ARCHIMEDES 540" value="aa540"/>
          <choice name="ARCHIMEDES 5000" value="aa5000"/>
          <choice name="ARCHIMEDES 3010" value="aa3010"/>
          <choice name="ARCHIMEDES 3020" value="aa3020"/>
          <choice name="ARCHIMEDES 4000" value="aa4000"/>
        </feature>
      </system>
      <system name="astrocade">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Astrocade cartridges" value="astrocde"/>
        </feature>
        <feature submenu="CONTROLS" name="PLUG ADDITIONAL CONTROLLERS" group="ADVANCED SETTINGS" value="astrocde_addjoy" description="Plug additional joysticks in ports 2, 3 and 4." preset="switchauto" order="520"/>
      </system>
      <system name="atom" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Atom cassettes" value="atom_cass"/>
          <choice name="Atom floppy disk" value="atom_flop"/>
          <choice name="Atom Utility ROMs" value="atom_rom"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Quickload" value="quik"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="122"/>
      </system>
      <system name="bbcmicro" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="BBC Micro cassettes" value="bbc_cass"/>
          <choice name="BBC Micro rom" value="bbc_rom"/>
          <choice name="BBC Micro Model B floppy disks" value="bbcb_flop"/>
          <choice name="BBC Micro Model B Original floppy disks" value="bbcb_flop_orig"/>
          <choice name="BBC Micro Model B US floppy disks" value="bbcb_flop_us"/>
          <choice name="BBC Micro Master 128 cartridge" value="bbcm_cart"/>
          <choice name="BBC Micro Master 128 floppy disks" value="bbcm_flop"/>
          <choice name="BBC Micro Master Compact floppy disks" value="bbcmc_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of BBC micro to emulate, default to MODEL B." order="121">
          <choice name="MODEL B (default)" value="bbcb"/>
          <choice name="MASTER 128" value="bbcm"/>
          <choice name="MASTER 512" value="bbcm512"/>
          <choice name="MASTER COMPACT" value="bbcmc"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="ROM (Slot 1)" value="rom1"/>
          <choice name="ROM (Slot 2)" value="rom2"/>
          <choice name="ROM (Slot 3)" value="rom3"/>
          <choice name="ROM (Slot 4)" value="rom4"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file or filename (brackets)." preset="switchauto" order="123"/>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="bbc_sticktype" description="Select which joystick to emulate (not compatible with MASTER COMPACT)." order="520">
          <choice name="NONE" value="none"/>
          <choice name="Acorn Analogue Joysticks" value="acornjoy"/>
          <choice name="Acorn Bitstik" value="bitstik1"/>
          <choice name="Robo Bitstik 2" value="bitstik2"/>
          <choice name="Voltmace Delta 3b Twin Joysticks" value="voltmace3b"/>
        </feature>
      </system>
      <system name="camplynx" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Camputers Lynx cassettes" value="camplynx_cass"/>
          <choice name="Camputers Lynx floppy disk" value="camplynx_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of LYNX to emulate, default to 48k." order="121">
          <choice name="LYNX 48K (default)" value="lynx48k"/>
          <choice name="LYNX 128K" value="lynx128k"/>
          <choice name="LYNX 96K" value="lynx96k"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
      </system>
      <system name="loopy">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Casio Loopy cartridges" value="casloopy"/>
        </feature>
      </system>
      <system name="coco" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Color Computer cartridges" value="coco_cart"/>
          <choice name="Color Computer floppy disk" value="coco_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of Color Computer to emulate, default to coco3." order="121">
          <choice name="Color Computer 3 NTSC (default)" value="coco3"/>
          <choice name="Color Computer 3 PAL" value="coco3p"/>
          <choice name="Color Computer" value="coco"/>
          <choice name="Color Computer 2B" value="coco2b"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Cartridge" value="cart"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="HARD DRIVE" value="hard1"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
      </system>
      <system name="crvision">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="V-Tech Creativision cartridges" value="crvision"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
          <choice name="Cassette" value="cass"/>
        </feature>
      </system>
      <system name="electron" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Electron Tapes" value="electron_cass"/>
          <choice name="Electron ROM Cartridges" value="electron_cart"/>
          <choice name="Electron floppy disks" value="electron_flop"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of BBC micro to emulate, default to MODEL B." order="121">
          <choice name="ELECTRON 64" value="electron64"/>
          <choice name="ELECTRON" value="electron"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk" value="flop"/>
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
        <feature submenu="EMULATION" name="TRY TO AUTOBOOT" group="ADVANCED SETTINGS" value="mess_hashboot" description="Let RetroBat try to retrieve the boot sequence from MAME hash file." preset="switchauto" order="123"/>
      </system>
      <system name="fm7" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Fujitsu FM-77AV disk images" value="fm77av"/>
          <choice name="Fujitsu FM-7 cassettes" value="fm7_cass"/>
          <choice name="Fujitsu FM-7 disk images" value="fm7_disk"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of FM-7 to emulate, default to FM-7." order="121">
          <choice name="FM-7" value="fm7"/>
          <choice name="FM-77AV" value="fm77av"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cassette" value="cass"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
        </feature>
      </system>
      <system name="fmtowns" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="FM Towns CD-ROMs" value="fmtowns_cd"/>
          <choice name="FM Towns cracked floppy disk images" value="fmtowns_flop_cracked"/>
          <choice name="FM Towns miscellaneous floppy disk images" value="fmtowns_flop_misc"/>
          <choice name="FM Towns original floppy disk images" value="fmtowns_flop_orig"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" value="altmodel" group="ADVANCED SETTINGS" description="Type of FM Towns to emulate, default to FM TOWMS (MODEL 1/2)." order="121">
          <choice name="FM TOWNS (MODEL 1/2) (Default)" value="fmtowns"/>
          <choice name="FM TOWNS II UX" value="fmtownsux"/>
          <choice name="FM TOWNS MARTY" value="fmtmarty"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Disk Drive (FM TOWNS MARTY)" value="flop"/>
          <choice name="CD-ROM" value="cdrm"/>
          <choice name="HARD DRIVE (II UX)" value="hard1"/>
          <choice name="MEMCARD" value="memc"/>
        </feature>
        <feature submenu="EMULATION" name="ADD USER DISK" group="ADVANCED SETTINGS" value="addblankdisk" description="Insert a disk in floppy drive, is often used for CDROM games." order="123">
          <choice name="NO" value="none"/>
          <choice name="BLANK DISK" value="blank"/>
          <choice name="SYSTEM DISK" value="system"/>
        </feature>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Define how much RAM the emulated will have." order="124">
          <choice name="2MB" value="2M"/>
          <choice name="4MB" value="4M"/>
        </feature>
        <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="fmtowns_joytype" description="Select which joystick to emulate." order="520">
          <choice name="NONE" value="none"/>
          <choice name="MSX digital joystick" value="joystick"/>
          <choice name="FM Towns Marty Pad" value="martypad"/>
          <choice name="X68000 Sega Controller Adapter" value="sega"/>
          <choice name="FM Towns 6-button Pad" value="towns6b"/>
          <choice name="FM Towns 2-button Pad" value="townspad"/>
        </feature>
      </system>
      <system name="gamate">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Gamate cartridges" value="gamate"/>
        </feature>
      </system>
      <system name="gamecom">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Tiger Game.com cartridges" value="gamecom"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
      </system>
      <system name="gamepock">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Game Pocket cartridges" value="gamepock"/>
        </feature>
      </system>
      <system name="gmaster">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Game Master cartridges" value="gmaster"/>
        </feature>
      </system>
      <system name="gp32">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="GP32 memcards" value="gp32"/>
        </feature>
      </system>
      <system name="megaduck">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Mega Duck cartridges" value="megaduck"/>
        </feature>
      </system>
      <system name="neogeo64">
        <feature submenu="EMULATION" name="SELECT BIOS" group="ADVANCED SETTINGS" value="mame_bios" order="120">
          <choice name="JAPAN" value="japan"/>
          <choice name="USA" value="us"/>
          <choice name="EXPORT" value="export"/>
          <choice name="KOREA" value="korea"/>
        </feature>
      </system>
      <system name="odyssey2" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Videopac - odyssey 2" value="videopac"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" value="altmodel" group="ADVANCED SETTINGS" description="Select the machine to emulate." order="121">
          <choice name="Videopac G7000 (Europe)" value="videopac"/>
          <choice name="Videopac+ G7400 (Europe)" value="videopacp"/>
          <choice name="Videopac C52 (France)" value="videopacf"/>
          <choice name="Odyssey 2 (US)" value="odyssey2"/>
          <choice name="Odyssey 3 Command Center (US-Prototype)" value="odyssey3"/>
          <choice name="Jopac JO7400 (France)" value="jopac"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cartridge (Slot 1)" value="cart1"/>
          <choice name="Cartridge (Slot 2)" value="cart2"/>
        </feature>
        <feature submenu="EMULATION" name="USE VOICE CARTRIDGE" group="ADVANCED SETTINGS" value="o2em_voice" description="Force voice cart in slot 1, needs 'voice.zip' bios file." preset="switchauto" order="123"/>
      </system>
      <system name="pegasus" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Pegasus cartridges" value="pegasus_cart"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of Computer to emulate." order="121">
          <choice name="Pegasus" value="pegasus"/>
          <choice name="Pegasus with RAM expansion" value="pegasusm"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="ROM 1" value="rom1"/>
          <choice name="ROM 2" value="rom2"/>
          <choice name="ROM 3" value="rom3"/>
          <choice name="ROM 4" value="rom4"/>
          <choice name="ROM 5" value="rom5"/>
        </feature>
      </system>
      <system name="pv1000">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Casio PV-1000 cartridges" value="pv1000"/>
        </feature>
      </system>
      <system name="scv">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Super Cassette Vision cartridges" value="scv"/>
        </feature>
      </system>
      <system name="segastv">
        <feature submenu="EMULATION" name="ST-V BIOS" group="ADVANCED SETTINGS" value="mame_bios" order="120">
          <choice name="JAPAN EPR-23603" value="jp"/>
          <choice name="JAPAN EPR-20091" value="jp1"/>
          <choice name="JAPAN EPR-19730" value="jp2"/>
          <choice name="JAPAN EPR-17951A" value="jp3"/>
          <choice name="JAPAN EPR-17740A" value="jp4"/>
          <choice name="JAPAN EPR-17740" value="jp5"/>
          <choice name="EUROPE EPR-17954A" value="euro"/>
          <choice name="USA EPR-17952A" value="us"/>
          <choice name="USA EPR-17741a" value="us1"/>
          <choice name="TAIWAN EPR-19854" value="tw"/>
          <choice name="TAIWAN EPR-17953A" value="tw1"/>
          <choice name="TAIWAN EPR-17742A" value="tw2"/>
          <choice name="Development 1.10" value="debug"/>
          <choice name="Development 1.061" value="dev"/>
        </feature>
      </system>
      <system name="supracan">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Super A'Can cartridges" value="supracan"/>
        </feature>
      </system>
      <system name="ti99" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="TI-99/4A Cartridges" value="ti99_cart"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cassette 1" value="cass1"/>
          <choice name="Cassette 2" value="cass2"/>
          <choice name="Cartridge" value="cart"/>
        </feature>
        <feature submenu="EXPANSION SLOTS" name="32K RAM EXPANSION" group="ADVANCED SETTINGS" value="ti99_32kram" description="32k RAM expansion card installed." preset="switchauto" order="130"/>
        <feature submenu="EXPANSION SLOTS" name="4M SAMS MEMORY EXPANSION" group="ADVANCED SETTINGS" value="ti99_samsmem" description="Expand SAMS memory card to 4M." preset="switchauto" order="132"/>
        <feature submenu="EXPANSION SLOTS" name="SPEECH ADAPTER" group="ADVANCED SETTINGS" value="ti99_speechadapter" description="TI-99 Speech Synthesizer connector adapter." preset="switchauto" order="133"/>
        <feature submenu="EXPANSION SLOTS" name="FLOPPY DISK CONTROLLER CARD" group="ADVANCED SETTINGS" value="ti99_tifdc" description="Standard Floppy Disk Controller Card." preset="switchauto" order="134"/>
      <feature submenu="EXPANSION SLOTS" name="SPEECH MODULE" group="ADVANCED SETTINGS" value="ti99_speech" description="Speech module installed." preset="switchauto" order="131"/>
      </system>
      <system name="tutor" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Tomy Tutor / Pyuuta cartridge" value="tutor"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cassette" value="cass"/>
          <choice name="Cartridge" value="cart"/>
        </feature>
      </system>
      <system name="vc4000" features="padtokeyboard">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Interton VC 4000 cartridges" value="vc4000"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
        </feature>
      </system>
      <system name="vg5k">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Philips VG-5000 cassette" value="vg5k"/>
        </feature>
        <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="ramsize" description="Define how much RAM the emulated will have." order="121">
          <choice name="16K" value="16k"/>
          <choice name="32K" value="32k"/>
          <choice name="48K" value="48k"/>
        </feature>
      </system>
      <system name="vsmile">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="V.Smile cartridges" value="vsmile_cart"/>
          <choice name="V.Smile Motion cartridges" value="vsmilem_cart"/>
          <choice name="V.Smile Pro CD-ROM" value="vsmile_cd"/>
        </feature>
        <feature submenu="EMULATION" name="MODEL TO EMULATE" group="ADVANCED SETTINGS" value="altmodel" description="Type of V.Smile to emulate." order="121">
          <choice name="V.SMILE (Default)" value="vsmile"/>
          <choice name="V.SMILE MOTION" value="vsmilem"/>
          <choice name="V.SMILE PRO" value="vsmilpro"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="122">
          <choice name="Cartridge" value="cart"/>
          <choice name="CD-ROM" value="cdrm"/>
        </feature>
      </system>
      <system name="xegs">
        <feature submenu="EMULATION" name="FORCE SOFTLIST" group="ADVANCED SETTINGS" value="force_softlist" description="Force usage of a specific softlist, software list needs to be in 'bios\mame\hash' folder." order="120">
          <choice name="No" value="none"/>
          <choice name="Atari XE Game System cartridges" value="xegs"/>
        </feature>
        <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Type of ROM file" order="121">
          <choice name="Cartridge" value="cart"/>
          <choice name="Disk (Drive 1)" value="flop1"/>
          <choice name="Disk (Drive 2)" value="flop2"/>
          <choice name="Disk (Drive 3)" value="flop3"/>
          <choice name="Disk (Drive 4)" value="flop4"/>
        </feature>
      </system>
  </emulator>
  <!-- MANDARINE -->
  <emulator name="mandarine" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="mandarine_resolution_factor" order="20">
      <choice name="NATIVE (400x240)" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X" value="8"/>
      <choice name="9X" value="9"/>
      <choice name="10X" value="10"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="mandarine_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SCREEN LAYOUT POSITIONING" value="mandarine_layout_option" description="Choose the disposition of the emulated screens." order="152">
      <choice name="TOP-BOTTOM SCREEN" value="0"/>
      <choice name="SINGLE SCREEN ONLY" value="1"/>
      <choice name="LARGE SCREEN / SMALL SCREEN" value="2"/>
      <choice name="SIDE BY SIDE" value="3"/>
      <choice name="SEPARATED WINDOWS" value="4"/>
      <choice name="HYBRID" value="5"/>
    </feature>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="SWAP SCREEN" value="mandarine_swap_screen" description="Set the bottom screen as prominent." preset="switchauto" order="153"/>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="TEXTURE FILTERING" value="mandarine_texture_filter" order="250">
      <choice name="ANIME4K" value="1"/>
      <choice name="BICUBIC" value="2"/>
      <choice name="SCALEFORCE" value="3"/>
      <choice name="xBRZ" value="4"/>
      <choice name="MMPX" value="5"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="mandarine_custom_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="251"/>
    <feature submenu="VISUAL RENDERING" name="PREFETCH CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="mandarine_PreloadTextures" description="Preload custom textures on startup." preset="switchauto" order="252"/>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="mandarine_region_value" description="Force the region of the system." order="100">
      <choice name="USA" value="1"/>
      <choice name="EUROPE" value="2"/>
      <choice name="JAPAN" value="0"/>
      <choice name="AUSTRALIA" value="3"/>
      <choice name="CHINA" value="4"/>
      <choice name="KOREA" value="5"/>
      <choice name="TAIWAN" value="6"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="n3ds_language" order="101">
      <choice name="Japanese" value="0"/>
      <choice name="English" value="1"/>
      <choice name="Français" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Italiano" value="4"/>
      <choice name="Español" value="5"/>
      <choice name="简化字 (Chinese - simplified)" value="6"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="Nederlands" value="8"/>
      <choice name="Português" value="9"/>
      <choice name="Русский (Russian)" value="10"/>
      <choice name="簡化字 (Chinese - traditional)" value="11"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="USE MOTION" group="ADVANCED SETTINGS" value="n3ds_motion" description="Enable motion control (gyro) either with mouse or with compatible controller." order="501">
      <choice name="MOUSE" value="mouse"/>
      <choice name="CONTROLLER" value="sdl"/>
      <choice name="CEMUHOOK" value="cemuhook"/>
    </feature>
    <feature submenu="CONTROLS" name="USE TOUCH PROFILE" group="ADVANCED SETTINGS" value="mandarine_touchprofile" description="Enter touch profile to load." preset="input" order="502"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="graphics_api" order="400">
      <choice name="SOFTWARE" value="0"/>
      <choice name="OPENGL" value="1"/>
      <choice name="VULKAN" value="2"/>
    </feature>
  </emulator>
  <!-- MEDNAFEN -->
  <emulator name="mednafen">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="mednafen_ratio" order="25">
      <choice name="PRESERVE ASPECT" value="aspect"/>
      <choice name="INTEGER SCALE (Preserve Aspect)" value="aspect_int"/>
      <choice name="INTEGER MULTIPLE-OF-2 SCALE (Preserve Aspect)" value="aspect_mult2"/>
      <choice name="STRETCH TO SCREEN" value="full"/>
      <choice name="NO STRETCH" value="0"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="mednafen_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="152"/>
    <feature submenu="VIDEO" name="DEINTERLACE MODE" group="ADVANCED SETTINGS" value="mednafen_interlace" order="153">
      <choice name="WEAVE" value="weave"/>
      <choice name="BOB" value="bob"/>
      <choice name="BOB OFFSET" value="bob_offset"/>
      <choice name="BLEND" value="blend"/>
      <choice name="BLEND RG" value="blend_rg"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="GAME ASPECT RATIO CORRECTION" group="ADVANCED SETTINGS" value="mednafen_ratio_correction" preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="VIDEO SCALER" value="mednafen_scaler" group="ADVANCED SETTINGS" description="Efficient graphics filters improving the rendering of games." order="251">
      <choice name="NONE" value="none"/>
      <choice name="HQ 2x" value="hq2x"/>
      <choice name="HQ 3x" value="hq3x"/>
      <choice name="HQ 4x" value="hq4x"/>
      <choice name="SCALE 2x" value="scale2x"/>
      <choice name="SCALE 3x" value="scale3x"/>
      <choice name="SCALE 4x" value="scale4x"/>
      <choice name="2x SAI" value="2xsai"/>
      <choice name="SUPER 2x SAI" value="super2xsai"/>
      <choice name="SUPER EAGLE" value="supereagle"/>
      <choice name="NEAREST NEIGHBOR 2X" value="nn2x"/>
      <choice name="NEAREST NEIGHBOR 3X" value="nn3x"/>
      <choice name="NEAREST NEIGHBOR 4X" value="nn4x"/>
    </feature>
    <feature submenu="AUDIO" name="FORCE MONO" group="ADVANCED SETTINGS" value="mednafen_forcemono" preset="switchauto" order="300"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="autosave" order="100"/>
    <feature submenu="EMULATION" name="ENABLE CHEATS" group="ADVANCED SETTINGS" value="mednafen_cheats" preset="switchauto" order="101"/>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="mednafen_fps_enable" preset="switchauto" order="450"/>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="mednafen_apu" order="400">
      <choice name="WASAPI (SHARED)" value="wasapish"/>
      <choice name="DIRECT SOUND" value="dsound"/>
      <choice name="WASAPI (EXCLUSIVE)" value="wasapi"/>
      <choice name="SDL" value="sdl"/>
    </feature>
    <core name="apple2">
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mednafen_controller_type" order="500">
        <choice name="JOYSTICK (2-AXIS 2-BUTTONS)" value="joystick"/>
        <choice name="GAMEPAD (D-PAD 2-BUTTONS)" value="gamepad"/>
        <choice name="ATARI JOYSTICK" value="atari"/>
      </feature>
    </core>
    <core name="gb">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </core>
    <core name="gbc">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </core>
    <core name="gba">
      <feature submenu="EMULATION" name="USE EXTERNAL BIOS" group="ADVANCED SETTINGS" value="mednafen_gba_bios" preset="switchauto" order="110"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </core>
    <core name="lynx">
      <feature submenu="AUDIO" name="AUDIO FILTER" group="ADVANCED SETTINGS" value="mednafen_lynx_lowpass" description="Enables a low pass audio filter to soften the harsh sound of some games." preset="switchauto" order="310"/>
      <feature submenu="CONTROLS" name="ROTATE D-PAD" group="ADVANCED SETTINGS" value="mednafen_lynx_rotate" description="Virtually rotate the D-pad when the screen is rotated." preset="switchauto" order="500"/>
    </core>
    <core name="mastersystem">
      <feature submenu="AUDIO" name="ENABLE FM SOUND" group="ADVANCED SETTINGS" value="mednafen_sms_fm" preset="switchauto" order="310"/>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" preset="switchauto" order="500"/>
    </core>
    <core name="megadrive">
      <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="mednafen_md_region" order="110">
        <choice name="EUROPE" value="overseas_pal"/>
        <choice name="NORTH AMERICA" value="overseas_ntsc"/>
        <choice name="JAPAN" value="domestic_ntsc"/>
      </feature>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mednafen_controller_type" order="500">
        <choice name="6 BUTTONS GAMEPAD" value="gamepad6"/>
        <choice name="3 BUTTONS GAMEPAD" value="gamepad"/>
        <choice name="2 BUTTONS GAMEPAD" value="gamepad2"/>
      </feature>
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="megadrive_control_layout" order="501">
        <choice name="L/R as X/Z" value="lr_xz"/>
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as Y/B" value="lr_yb"/>
        <choice name="L/R as B/Y" value="lr_by"/>
      </feature>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="mednafen_md_multitap" order="502">
        <choice name="NO" value="0"/>
        <choice name="PORT 1" value="1"/>
        <choice name="PORT 2" value="2"/>
        <choice name="BOTH PORTS" value="both"/>
      </feature>
      <feature submenu="CONTROLS" name="USE GENESIS-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="md_pad" preset="switchauto" order="503"/>
    </core>
    <core name="nes">
      <feature submenu="VIDEO" name="EMULATED VIDEO SIGNAL" group="ADVANCED SETTINGS" value="mednafen_nes_videopreset" description="Apply a video filter to mimic various signals." order="160">
        <choice name="NONE" value="none"/>
        <choice name="COMPOSITE" value="composite"/>
        <choice name="S-VIDEO" value="svideo"/>
        <choice name="RGB" value="rgb"/>
        <choice name="MONOCHROME" value="monochrome"/>
      </feature>
      <feature submenu="AUDIO" name="NAMCO 106 SOUND EMULATION" group="ADVANCED SETTINGS" value="mednafen_nes_106bs" description="Enable less-accurate, but better sounding, Namco 106(mapper 19) sound emulation." preset="switchauto" order="310"/>
      <feature submenu="EMULATION" name="FORCE PAL 50HZ" group="ADVANCED SETTINGS" value="mednafen_nes_pal50" description="Enable PAL(50Hz) NES emulation." preset="switchauto" order="110"/>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Rotate face buttons to change layout." preset="switchauto" order="500"/>
      <feature submenu="CONTROLS" name="ENABLE TURBO" group="ADVANCED SETTINGS" value="nes_turbo_enable" preset="switchauto" order="501"/>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="mednafen_nes_multitap" preset="switchauto" order="502"/>
      <feature submenu="GUNS" name="ENABLE GUN" group="ADVANCED SETTINGS" value="mednafen_gun" preset="switchauto" order="550"/>
    </core>
    <core name="ngp">
      <feature submenu="EMULATION" name="CONSOLE LANGUAGE" group="ADVANCED SETTINGS" value="mednafen_ngp_language" order="110">
        <choice name="ENGLISH" value="english"/>
        <choice name="JAPANESE" value="japanese"/>
      </feature>
    </core>
    <core name="pce">
      <feature submenu="AUDIO" name="VOLUME ADPCM" group="ADVANCED SETTINGS" value="pceadpcvolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="310"/>
      <feature submenu="AUDIO" name="VOLUME CDDA" group="ADVANCED SETTINGS" value="pcecddavolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="311"/>
      <feature submenu="AUDIO" name="VOLUME PSG CD" group="ADVANCED SETTINGS" value="pcecdpsvolume" description="Setting this too high may cause sample clipping." preset="sliderauto" preset-parameters="0 200 10 %" order="312"/>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="mednafen_pce_multitap" preset="switchauto" order="500"/>
    </core>
    <core name="pcfx">
      <feature submenu="EMULATION" name="CPU EMULATION MODE" group="ADVANCED SETTINGS" value="mednafen_pcfx_cpu" order="110">
        <choice name="FAST" value="fast"/>
        <choice name="ACCURATE" value="accurate"/>
      </feature>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="mednafen_pcfx_multitap" order="500">
        <choice name="NO" value="0"/>
        <choice name="PORT 1" value="1"/>
        <choice name="PORT 2" value="2"/>
        <choice name="BOTH PORTS" value="both"/>
      </feature>
      <feature submenu="CONTROLS" name="MODE 1 VALUE" group="ADVANCED SETTINGS" value="mednafen_pcfx_mode1" order="501">
        <choice name="A" value="a"/>
        <choice name="B" value="b"/>
      </feature>
      <feature submenu="CONTROLS" name="MODE 2 VALUE" group="ADVANCED SETTINGS" value="mednafen_pcfx_mode2" order="502">
        <choice name="A" value="a"/>
        <choice name="B" value="b"/>
      </feature>
    </core>
    <core name="psx">
      <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="mednafen_psx_region" order="110">
        <choice name="EUROPE" value="eu"/>
        <choice name="JAPAN" value="jp"/>
        <choice name="NORTH AMERICA" value="na"/>
      </feature>
      <feature submenu="EMULATION" name="EMULATED MEMCARDS" group="ADVANCED SETTINGS" value="mednafen_psx_memcards" description="Define the number of memory cards to emulate." order="111">
        <choice name="0" value="none"/>
        <choice name="1" value="1"/>
        <choice name="2" value="2"/>
        <choice name="3" value="3"/>
        <choice name="4" value="4"/>
      </feature>
      <feature submenu="EMULATION" name="USE SCPH LEGACY BIOS" group="ADVANCED SETTINGS" value="mednafen_psx_original_bios" description="RetroBat will use by default psxonpsp BIOS, enable this option to force usage of legacy SCPH550X bios file." preset="switchauto" order="112"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mednafen_controller_type" order="500">
        <choice name="DUALSHOCK" value="dualshock"/>
        <choice name="PLAYSTATION CONTROLLER" value="gamepad"/>
        <choice name="PLAYSTATION MOUSE" value="mouse"/>
      </feature>
      <feature submenu="CONTROLS" name="ANALOG TOGGLE COMBO" group="ADVANCED SETTINGS" value="mednafen_psx_analogcombo" description="Define the button combo to hold to toggle dualshock controller between analog and digital mode." order="501">
        <choice name="SELECT+R1+L1" value="0x0C01"/>
        <choice name="L3+R3" value="0x0006"/>
        <choice name="SELECT+R2+L2" value="0x0301"/>
        <choice name="START+L1+R1" value="0x0C08"/>
      </feature>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="mednafen_psx_multitap" order="502">
        <choice name="NO" value="0"/>
        <choice name="PORT 1" value="1"/>
        <choice name="PORT 2" value="2"/>
        <choice name="BOTH PORTS" value="both"/>
      </feature>
      <feature submenu="CONTROLS" name="USE MOUSE" group="ADVANCED SETTINGS" value="mednafen_psx_mouse" order="503">
        <choice name="PORT 1" value="1"/>
        <choice name="PORT 2" value="2"/>
        <choice name="BOTH PORTS" value="both"/>
      </feature>
      <feature submenu="CONTROLS" name="USE TRIGGERS TO BRAKE/ACCELERATE" group="ADVANCED SETTINGS" value="psx_triggerswap" description="Can be useful for Gran Turismo, triggers will be mapped to right analog stick." preset="switchauto" order="504"/>
      <feature submenu="GUNS" name="ENABLE GUN" group="ADVANCED SETTINGS" value="mednafen_gun" preset="switchauto" order="550"/>
      <feature submenu="GUNS" name="GUN TYPE" group="ADVANCED SETTINGS" value="mednafen_psx_gun" order="551">
        <choice name="GUNCON" value="guncon"/>
        <choice name="JUSTIFIER" value="justifier"/>
      </feature>
    </core>
    <core name="saturn">
      <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="mednafen_saturn_region" order="110">
        <choice name="EUROPE" value="eu"/>
        <choice name="JAPAN" value="jp"/>
        <choice name="NORTH AMERICA" value="na"/>
        <choice name="SOUTH KOREA" value="kr"/>
        <choice name="TAIWAN" value="tw"/>
        <choice name="CHINA" value="as"/>
        <choice name="BRAZIL" value="br"/>
        <choice name="LATIN AMERICA" value="la"/>
      </feature>
      <feature submenu="EMULATION" name="CONSOLE LANGUAGE" group="ADVANCED SETTINGS" value="mednafen_saturn_language" order="111">
        <choice name="english" value="english"/>
        <choice name="français" value="french"/>
        <choice name="deutsch" value="german"/>
        <choice name="español" value="spanish"/>
        <choice name="italiano" value="italian"/>
        <choice name="日本語 (japanese)" value="japanese"/>
      </feature>
      <feature submenu="EMULATION" name="EXPANSION CARTRIDGE" group="ADVANCED SETTINGS" value="mednafen_saturn_ramcart" order="112">
        <choice name="NONE" value="none"/>
        <choice name="Backup Memory (512KB)" value="backup"/>
        <choice name="1MB Extended RAM" value="extram1"/>
        <choice name="4MB Extended RAM" value="extram4"/>
        <choice name="16MB RAM mapped in A-bus CS1" value="cs1ram16"/>
      </feature>
      <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="saturn_padlayout" order="500">
        <choice name="L/R as Z/C" value="lr_zc"/>
        <choice name="L/R as Y/Z" value="lr_yz"/>
        <choice name="L/R as X/Z" value="lr_xz"/>
      </feature>
      <feature submenu="CONTROLS" name="INVERT TRIGGERS AND SHOULDERS" group="ADVANCED SETTINGS" value="saturn_invert_triggers" description="Use shoulder buttons for L and R instead of triggers." preset="switchauto" order="501"/>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="mednafen_ss_multitap" order="502">
        <choice name="NO" value="0"/>
        <choice name="PORT 1" value="1"/>
        <choice name="PORT 2" value="2"/>
        <choice name="BOTH PORTS" value="both"/>
      </feature>
      <feature submenu="CONTROLS" name="USE SATURN-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="saturn_pad" preset="switchauto" order="503"/>
      <feature submenu="GUNS" name="ENABLE GUN" group="ADVANCED SETTINGS" value="mednafen_gun" preset="switchauto" order="550"/>
    </core>
    <core name="snes">
      <feature submenu="VIDEO" name="HORIZONTAL BLEND" group="ADVANCED SETTINGS" value="mednafen_snes_h_blend" description="Enable horizontal blend (blur) filter." preset="switchauto" order="160"/>
      <feature submenu="AUDIO" name="APU OUTPUT RESAMPLER QUALITY" group="ADVANCED SETTINGS" value="mednafen_snes_resamp_quality" description="0 is lowest quality and latency and CPU usage, 10 is highest quality and latency and CPU usage." preset="sliderauto" preset-parameters="0 10 1" order="310"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mednafen_controller_type" order="501">
        <choice name="GAMEPAD" value="gamepad"/>
        <choice name="MOUSE" value="mouse"/>
      </feature>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="mednafen_snes_multitap" order="502">
        <choice name="NO" value="0"/>
        <choice name="PORT 1" value="1"/>
        <choice name="PORT 2" value="2"/>
        <choice name="BOTH PORTS" value="both"/>
      </feature>
      <feature submenu="GUNS" name="ENABLE GUN" group="ADVANCED SETTINGS" value="mednafen_gun" preset="switchauto" order="550"/>
    </core>
    <core name="wswan">
      <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="mednafen_wswan_lang" description="Language games should display text in." order="110">
        <choice name="ENGLISH" value="english"/>
        <choice name="JAPANESE" value="japanese"/>
      </feature>
      <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mednafen_controller_type" order="500">
        <choice name="BUILT-IN" value="gamepad"/>
        <choice name="BUILT-IN (VERTICAL)" value="gamepadraa"/>
      </feature>
    </core>
  </emulator>
  <!-- MELONDS -->
  <emulator name="melonds" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="melonds_internal_resolution" description="Resolution can only be changed when using OpenGL video driver." order="20">
      <choice name="NATIVE (256x192)" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="3x" value="3"/>
      <choice name="4x" value="4"/>
      <choice name="5x (1280x960)" value="5"/>
      <choice name="6x" value="6"/>
      <choice name="7x" value="7"/>
      <choice name="8x (2048x1536)" value="8"/>
      <choice name="9x" value="9"/>
      <choice name="10x" value="10"/>
      <choice name="11x" value="11"/>
      <choice name="12x" value="12"/>
      <choice name="13x" value="13"/>
      <choice name="14x" value="14"/>
      <choice name="15x" value="15"/>
      <choice name="16x" value="16"/>
    </feature>
    <feature name="GAME ASPECT RATIO TOP SCREEN" group="GENERAL SETTINGS" value="melonds_ratio_top" description="Change aspect ratio for top screen." order="25">
      <choice name="4:3" value="0"/>
      <choice name="5:3" value="4"/>
      <choice name="16:9" value="1"/>
      <choice name="21:9" value="2"/>
      <choice name="ADJUST TO FIT" value="3"/>
    </feature>
    <feature name="GAME ASPECT RATIO BOTTOM SCREEN" group="GENERAL SETTINGS" value="melonds_ratio_bottom" description="Change aspect ratio for bottom screen." order="26">
      <choice name="4:3" value="0"/>
      <choice name="5:3" value="4"/>
      <choice name="16:9" value="1"/>
      <choice name="21:9" value="2"/>
      <choice name="ADJUST TO FIT" value="3"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="melonds_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="SCREEN LAYOUT POSITIONING" group="ADVANCED SETTINGS" value="melonds_screen_layout" description="Choose the disposition of the emulated screens." order="152">
      <choice name="NATURAL" value="0"/>
      <choice name="VERTICAL" value="1"/>
      <choice name="HORIZONTAL" value="2"/>
      <choice name="HYBRID" value="3"/>
    </feature>
    <feature submenu="VIDEO" name="SWAP SCREEN" group="ADVANCED SETTINGS" value="melonds_swapscreen" preset="switchauto" order="153"/>
    <feature submenu="VIDEO" name="SCREEN SIZING" group="ADVANCED SETTINGS" value="melonds_screen_sizing" order="154">
      <choice name="EVEN (SAME SIZE)" value="0"/>
      <choice name="EMPHASIZE TOP" value="1"/>
      <choice name="EMPHASIZE BOTTOM" value="2"/>
      <choice name="TOP ONLY" value="4"/>
      <choice name="BOTTOM ONLY" value="5"/>
    </feature>
    <feature submenu="VIDEO" name="SCREEN GAP" group="ADVANCED SETTINGS" value="melonds_screengap" description="Configure gap between both screens in pixels." preset="sliderauto" preset-parameters="0 128 2 px" order="155"/>
    <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="melonds_rotate" order="156">
      <choice name="NO" value="0"/>
      <choice name="90 DEGREES CLOCKWISE" value="1"/>
      <choice name="180 DEGREES" value="2"/>
      <choice name="270 DEGREES CLOCKWISE" value="3"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="GL - IMPROVE POLYGON RENDERING" group="ADVANCED SETTINGS" value="melonds_polygon" description="Improve polygon rendering when using OpenGL renderer." preset="switchauto" order="250"/>
    <feature submenu="EMULATION" name="CONSOLE TYPE" group="ADVANCED SETTINGS" value="melonds_console" order="100">
      <choice name="DS" value="ds"/>
      <choice name="DSi" value="dsi"/>
    </feature>
    <feature submenu="EMULATION" name="CONSOLE LANGUAGE" group="ADVANCED SETTINGS" value="melonds_firmware_language" order="101">
      <choice name="English" value="1"/>
      <choice name="Français" value="2"/>      
      <choice name="日本語 (Japanese)" value="0"/>
      <choice name="Español" value="5"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Italiano" value="4"/>
    </feature>
    <feature submenu="EMULATION" name="USE EXTERNAL BIOS" group="ADVANCED SETTINGS" value="melonds_externalBIOS" description="Use the BIOS located in RetroBat 'bios' folder, Required to boot to BIOS." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="BOOT TO BIOS" group="ADVANCED SETTINGS" value="melonds_boottobios" description="Boot directly into the DS BIOS menu, needs external bios to be activated." preset="switchauto" order="103"/>
    <feature submenu="EMULATION" name="ENABLE CHEATS" group="ADVANCED SETTINGS" value="melonds_cheats" preset="switchauto" order="104"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="fastforward_toggle" order="105"/>
    <feature submenu="EMULATION" name="SLOW MOTION BEHAVIOR" value="slowmo_toggle" group="ADVANCED SETTINGS" description="Define whether the 'slow-motion' shortcuts acts as a toggle or needs to be held." order="106">
      <choice name="HOLD" value="0"/>
      <choice name="TOGGLE" value="1"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="melonds_renderer" order="400">
      <choice name="OPENGL(COMPUTE SHADERS)" value="2"/>
      <choice name="OPENGL" value="1"/>
      <choice name="SOFTWARE" value="0"/>
    </feature>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="xbox_layout" order="500"/>
    <feature submenu="CONTROLS" name="USE ANALOG STICK" group="ADVANCED SETTINGS" value="melonds_leftstick" description="Use Left analog stick instead of D-PAD for controls." preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="MICROPHONE EMULATION" value="melonds_micInputType" group="ADVANCED SETTINGS" description="Define the sound that the emulated microphone will receive ." order="510">
        <choice name="REAL MICROPHONE" value="1"/>
        <choice name="BLOW" value="2"/>
      </feature>
  </emulator>
  <!-- MESEN -->
  <emulator name="mesen">
    <feature name="SHADER SET" value="mesen_filter" group="GENERAL SETTINGS" description="Efficient graphics filters improving the rendering of games." order="5">
      <choice name="NONE" value="None"/>
      <choice name="NTSC (blargg)" value="NtscBlargg"/>
      <choice name="NTSC (bisqwit) - NES ONLY" value="NtscBisqwit"/>
      <choice name="XBRZ 2x" value="xBRZ2x"/>
      <choice name="XBRZ 3x" value="xBRZ3x"/>
      <choice name="XBRZ 4x" value="xBRZ4x"/>
      <choice name="XBRZ 5x" value="xBRZ5x"/>
      <choice name="XBRZ 6x" value="xBRZ6x"/>
      <choice name="HQ 2x" value="HQ2x"/>
      <choice name="HQ 3x" value="HQ3x"/>
      <choice name="HQ 4x" value="HQ4x"/>
      <choice name="SCALE 2x" value="Scale2x"/>
      <choice name="SCALE 3x" value="Scale3x"/>
      <choice name="SCALE 4x" value="Scale4x"/>
      <choice name="2x SAI" value="_2xSai"/>
      <choice name="SUPER 2x SAI" value="Super2xSai"/>
      <choice name="SUPER EAGLE" value="SuperEagle"/>
      <choice name="PRESCALE 2x" value="Prescale2x"/>
      <choice name="PRESCALE 3x" value="Prescale3x"/>
      <choice name="PRESCALE 4x" value="Prescale4x"/>
      <choice name="PRESCALE 6x" value="Prescale6x"/>
      <choice name="PRESCALE 8x" value="Prescale8x"/>
      <choice name="PRESCALE 10x" value="Prescale10x"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="mesen_ratio" order="25">
      <choice name="NO STRETCHING" value="NoStretching"/>
      <choice name="NTSC (8:7)" value="NTSC"/>
      <choice name="PAL (11:8)" value="PAL"/>
      <choice name="STANDARD (4:3)" value="Standard"/>
      <choice name="WIDE (16:9)" value="Widescreen"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="mesen_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="SCANLINES" group="ADVANCED SETTINGS" value="mesen_scanlines" preset="sliderauto" preset-parameters="0 100 5" order="250"/>
    <feature submenu="VISUAL RENDERING" name="BILINEAR FILTERING" group="ADVANCED SETTINGS" value="bilinear_filtering" description="Use bilinear filtering to smooth the overall picture." preset="switchauto" order="251"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
    <feature submenu="EMULATION" name="AUTOSAVE FREQUENCY" group="ADVANCED SETTINGS" value="mesen_autosave" description="Activate autosave feature and define delay between autosaves." order="101">
      <choice name="OFF" value="false"/>
      <choice name="EVERY MINUTE" value="1"/>
      <choice name="EVERY 2 MINUTES" value="2"/>
      <choice name="EVERY 3 MINUTES" value="3"/>
      <choice name="EVERY 4 MINUTES" value="4"/>
      <choice name="EVERY 5 MINUTES" value="5"/>
    </feature>
    <feature submenu="EMULATION" name="SOFTPATCHING" group="ADVANCED SETTINGS" value="mesen_patches" description="Enables custom patching functionality." preset="switchauto" order="102"/>
    <feature submenu="LATENCY REDUCTION" name="RUN-AHEAD FRAMES" group="ADVANCED SETTINGS" value="mesen_runahead" preset="sliderauto" preset-parameters="0 10 1" order="350"/>
    <feature submenu="USER INTERFACE" name="NOTIFICATIONS" group="ADVANCED SETTINGS" value="mesen_osd" description="Show notifications." preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="mesen_fps" preset="switchauto" order="451"/>
    <feature submenu="USER INTERFACE" name="SHOW GAME TIME COUNTER" group="ADVANCED SETTINGS" value="mesen_timecounter" preset="switchauto" order="452"/>
    <system name="colecovision">
      <feature submenu="EMULATION" name="SYSTEM REGION" group="ADVANCED SETTINGS" value="mesen_coleco_region" order="110">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
      </feature>
    </system>
    <system name="fds">
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="mesen_spritelimit" description="Remove the sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="160"/>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="mesen_customtextures" description="Replace original textures with custom textures pack." preset="switchauto" order="260"/>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="mesen_region" order="110">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
        <choice name="DENDY" value="Dendy"/>
      </feature>
      <feature submenu="EMULATION" name="AUTOMATICALLY INSERT DISK" group="ADVANCED SETTINGS" value="mesen_fdsautoinsertdisk" description="Automatically insert disk A side 1 when starting FDS game." preset="switchauto" order="111"/>
      <feature submenu="EMULATION" name="FAST FORWARD WHEN LOADING" group="ADVANCED SETTINGS" value="mesen_fdsfastforwardload" description="Automatically fast forward FDS game when disk is loading." preset="switchauto" order="112"/>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Rotate face buttons to change layout." preset="switchauto" order="500"/>
      <feature submenu="CONTROLS" name="ENABLE TURBO" group="ADVANCED SETTINGS" value="nes_turbo_enable" preset="switchauto" order="501"/>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="mesen_nes_multitap" description="Multitap must be set if more than 2 players intend to play." order="502">
        <choice name="NO" value="none"/>
        <choice name="FOURSCORE" value="single"/>
        <choice name="FOURSCORE + FOURPLAYER EXPANSION" value="dual"/>
      </feature>
      <feature submenu="GUNS" name="ENABLE GUN" value="mesen_zapper" group="ADVANCED SETTINGS" order="550">
        <choice name="NO" value="none"/>
        <choice name="IN PORT 1" value="Port1"/>
        <choice name="IN PORT 2" value="Port2"/>
      </feature>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" value="mesen_target" group="ADVANCED SETTINGS" preset="switchauto" order="551"/>
    </system>
    <system name="gb,gbc">
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </system>
    <system name="gba">
      <feature submenu="EMULATION" name="SKIP BOOT" group="ADVANCED SETTINGS" value="mesen_gba_skipboot" preset="switchauto" order="110"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
    </system>
    <system name="mastersystem">
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="mesen_spritelimit" description="Remove the sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="160"/>
      <feature submenu="AUDIO" name="ENABLE FM CHIP" group="ADVANCED SETTINGS" value="mesen_sms_fmaudio" preset="switchauto" order="300"/>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="mesen_region" order="110">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
      </feature>
      <feature submenu="EMULATION" name="CONSOLE REVISION" group="ADVANCED SETTINGS" value="mesen_sms_revision" order="111">
        <choice name="SMS 1" value="Sms1"/>
        <choice name="SMS 2" value="Sms2"/>
      </feature>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" preset="switchauto" order="500"/>
      <feature submenu="GUNS" name="ENABLE GUN" value="mesen_zapper" group="ADVANCED SETTINGS" order="550">
        <choice name="NO" value="none"/>
        <choice name="IN PORT 1" value="Port1"/>
        <choice name="IN PORT 2" value="Port2"/>
      </feature>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" value="mesen_target" group="ADVANCED SETTINGS" preset="switchauto" order="551"/>
      <feature submenu="GUNS" name="CONTROLLER IN OTHER PORT" value="mesen_sms_guncontroller" group="ADVANCED SETTINGS" description="Some games require the controller in the second port to throw grenades." preset="switchauto" order="552"/>
    </system>
    <system name="nes,famicom">
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="mesen_spritelimit" description="Remove the sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="160"/>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="mesen_customtextures" description="Replace original textures with custom textures pack." preset="switchauto" order="260"/>
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="mesen_region" order="110">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
        <choice name="DENDY" value="Dendy"/>
      </feature>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Rotate face buttons to change layout." preset="switchauto" order="500"/>
      <feature submenu="CONTROLS" name="ENABLE TURBO" group="ADVANCED SETTINGS" value="nes_turbo_enable" preset="switchauto" order="501"/>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="mesen_nes_multitap" description="Mutitap must be set if more than 2 players intend to play." order="502">
        <choice name="NO" value="none"/>
        <choice name="FOURSCORE" value="single"/>
        <choice name="FOURSCORE + FOURPLAYER EXPANSION" value="dual"/>
      </feature>
      <feature submenu="GUNS" name="ENABLE GUN" value="mesen_zapper" group="ADVANCED SETTINGS" order="550">
        <choice name="NO" value="none"/>
        <choice name="IN PORT 1" value="Port1"/>
        <choice name="IN PORT 2" value="Port2"/>
      </feature>
      <feature submenu="GUNS" name="SHOW CROSSHAIR" value="mesen_target" group="ADVANCED SETTINGS" preset="switchauto" order="551"/>
    </system>
    <system name="sgb">
      <feature submenu="VISUAL RENDERING" name="HIDE SGB BORDERS" group="ADVANCED SETTINGS" value="mesen_hidesgbborders" preset="switchauto" order="260"/>
      <feature submenu="EMULATION" name="USE SGB2" group="ADVANCED SETTINGS" value="mesen_sgb2" description="Use SGB2 timings and behaviour." preset="switchauto" order="110"/>
      <feature submenu="CONTROLS" name="ROTATE BUTTONS" group="ADVANCED SETTINGS" value="rotate_buttons" description="Use 'SOUTH' for A button and 'WEST' for B button." preset="switchauto" order="500"/>
    </system>
    <system name="snes,sfc">
      <feature submenu="EMULATION" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="mesen_region" order="110">
        <choice name="NTSC" value="Ntsc"/>
        <choice name="PAL" value="Pal"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mesen_controllertype1" order="500">
        <choice name="SNES CONTROLLER" value="SnesController"/>
        <choice name="SNES RUMBLE" value="SnesRumbleController"/>
        <choice name="MOUSE" value="SnesMouse"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mesen_controllertype2" order="501">
        <choice name="SNES CONTROLLER" value="SnesController"/>
        <choice name="MOUSE" value="SnesMouse"/>
      </feature>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="mesen_snes_multitap" description="Mutitap must be set if more than 2 players intend to play." order="502">
        <choice name="NO" value="none"/>
        <choice name="SINGLE MULTITAP" value="single"/>
        <choice name="DUAL MULTITAP" value="dual"/>
      </feature>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="503"/>
      <feature submenu="GUNS" name="USE SUPERSCOPE" value="mesen_superscope" group="ADVANCED SETTINGS" order="550">
        <choice name="NO" value="none"/>
        <choice name="IN PORT 1" value="Port1"/>
        <choice name="IN PORT 2" value="Port2"/>
      </feature>
    </system>
    <system name="pcengine,turbografx,pcenginecd,turbografxcd,supergrafx">
      <feature submenu="VIDEO" name="NO SPRITE LIMIT" group="ADVANCED SETTINGS" value="mesen_spritelimit" description="Remove the sprites per line limit which can reduce or remove sprite flicker in some games." preset="switchauto" order="160"/>
      <feature submenu="EMULATION" name="CONSOLE TYPE" group="ADVANCED SETTINGS" value="mesen_pce_console" order="110">
        <choice name="PC ENGINE (JP)" value="PcEngine"/>
        <choice name="SUPERGRAFX (JP)" value="SuperGrafx"/>
        <choice name="TURBOGRAFX-16 (US)" value="TurboGrafx"/>
      </feature>
      <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="mesen_controllertype1" order="500">
        <choice name="2-BUTTON CONTROLLER" value="PceController"/>
        <choice name="6-BUTTON CONTROLLER" value="PceAvenuePad6"/>
      </feature>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="mesen_pce_multitap" description="Mutitap must be set if more than 2 players intend to play." preset="switchauto" order="501"/>
    </system>
  </emulator>
  <!-- MGBA -->
  <emulator name="mgba">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internal_resolution" order="20">
      <choice name="1X (240x160)" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X (720x480)" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X (1200x800)" value="5"/>
      <choice name="6X (1440x960)" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X (1920x1280)" value="8"/>
      <choice name="9X" value="9"/>
      <choice name="10X" value="10"/>
      <choice name="11X" value="11"/>
      <choice name="12X (2880x1920)" value="12"/>
      <choice name="13X" value="13"/>
      <choice name="14X" value="14"/>
      <choice name="15X" value="15"/>
      <choice name="16X (3840x2560)" value="16"/>
    </feature>
    <feature name="SHADER SET" group="GENERAL SETTINGS" value="mgba_shader" order="5">
      <choice name="AGB001" value="agb001.shader"/>
      <choice name="AGS001" value="ags001.shader"/>
      <choice name="FISH" value="fish.shader"/>
      <choice name="GBA COLOR" value="gba-color.shader"/>
      <choice name="LCD" value="lcd.shader"/>
      <choice name="MOTION BLUR" value="motion_blur.shader"/>
      <choice name="PIXELATE" value="pixelate.shader"/>
      <choice name="SCANLINES" value="scanlines.shader"/>
      <choice name="SOFTEN" value="soften.shader"/>
      <choice name="VBA PIXELATE" value="vba_pixelate.shader"/>
      <choice name="VIGNETTE" value="vignette.shader"/>
      <choice name="WIIU" value="wiiu.shader"/>
      <choice name="XBR LEVEL 2" value="xbr-lv2.shader"/>
      <choice name="XBR LEVEL 3" value="xbr-lv3.shader"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="INTERFRAME BLENDING" group="ADVANCED SETTINGS" value="mgba_s_interframe_blending" description="Blend pixels from multiple successive frames to simulate LCD ghosting." preset="switchauto" order="250"/>
    <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="mgba_skipbios" description="Skips the BIOS boot animation when loading content." preset="switchauto" order="100"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="mgba_renderer" order="400">
      <choice name="OPENGL" value="0"/>
      <choice name="SOFTWARE" value="1"/>
    </feature>
    <feature submenu="USER INTERFACE" name="DISPLAY FPS" value="mgba_fps" group="ADVANCED SETTINGS" description="Show FPS overlay in-game." preset="switchauto" order="450"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="451"/>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="500"/>
  </emulator>
  <!-- MODEL2 -->
  <emulator name="m2emulator" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="VSYNC" group="GENERAL SETTINGS" value="VSync" preset="switchauto" order="30"/>
    <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="m2_widescreen" order="25">
      <choice name="4:3" value="0"/>
      <choice name="16:9" value="1"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="BILINEAR FILTERING" group="ADVANCED SETTINGS" value="bilinear_filtering" description="Use bilinear filtering to smooth the overall picture." preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="TRILINEAR FILTERING" group="ADVANCED SETTINGS" value="trilinear_filtering" description="Control the texture tri-filtering of the emulation." preset="switchauto" order="251"/>
    <feature submenu="VISUAL RENDERING" name="FORCE MANAGED TEXTURES" group="ADVANCED SETTINGS" value="m2_ForceManaged" description="Use this if the emulator crashes after loading or doesn't show anything." preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="AUTO MIPMAP" group="ADVANCED SETTINGS" value="m2_AutoMip" description="Enables Direct3D Automipmap generation." preset="switchauto" order="253"/>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="m2_fsaa" description="Enable full screen antialiasing in Direct3D, smooth polygons edges." preset="switchauto" order="254"/>
    <feature submenu="EMULATION" name="SERVICE MODE" group="ADVANCED SETTINGS" value="m2_enable_service" description="Enable R3 as Service button to enter settings." preset="switchauto" order="100"/>
    <feature submenu="DRIVERS" name="CONTROLLER" group="ADVANCED SETTINGS" value="m2_joystick_driver" order="400">
      <choice name="XINPUT" value="xinput"/>
      <choice name="DINPUT" value="dinput"/>
    </feature>
    <feature submenu="CONTROLS" name="USE SHOULDER BUTTONS FOR RACING GAMES" group="ADVANCED SETTINGS" value="m2_racingshoulder" description="Use R1 and L1 to accelerate and brake in racing games, only compatible with 'auto' gear shifting." preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="TYPE OF AUTOCONFIGURATION" group="ADVANCED SETTINGS" value="m2_joystick_autoconfig" description="'Templates' option copies files located in 'emulators\m2emulator\templatescfg' folder instead of performing dynamic autoconfiguration." order="501">
      <choice name="DYNAMIC" value="dynamic"/>
      <choice name="TEMPLATES" value="template"/>
    </feature>
    <feature submenu="CONTROLS" name="STICK DEADZONE" group="ADVANCED SETTINGS" value="m2_deadzone" preset="sliderauto" preset-parameters="1 50 2 %" order="502"/>
    <feature submenu="CONTROLS" name="SWITCH JOYPAD INDEX" group="ADVANCED SETTINGS" value="m2_indexswitch" description="When using XInput, this option will switch gamepads 1 and 2." preset="switchauto" order="503"/>
    <feature submenu="CONTROLS" name="FORCE PLAYER 1 PAD INDEX" group="ADVANCED SETTINGS" value="m2_forcep1index" description="Force P1 pad index, can be useful when using a controller on an arcade machine." order="504">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 2 PAD INDEX" group="ADVANCED SETTINGS" value="m2_forcep2index" description="Force P2 pad index, can be useful when using a controller on an arcade machine." order="505">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    <feature submenu="GUNS" name="USE DEMULSHOOTER" group="ADVANCED SETTINGS" value="use_demulshooter" description="Launch DemulShooter for gun games." preset="switchauto" order="551"/>
    <feature submenu="GUNS" name="ENABLE RAWINPUT" group="ADVANCED SETTINGS" value="m2_rawinput" description="Force Rawinput, there should be ne need to force this to ON." preset="switchauto" order="552"/>
    <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="m2_crosshair" description="Enable crosshairs in shooting games, options (DS) are only compatible with DemulShooter." order="553">
      <choice name="NO" value="0"/>
      <choice name="YES(DS TYPE 1)" value="1"/>
      <choice name="DS TYPE 2" value="2"/>
      <choice name="DS TYPE 3" value="3"/>
      <choice name="DS TYPE 4" value="4"/>
      <choice name="DS TYPE 5" value="5"/>
      <choice name="DS TYPE 6" value="6"/>
    </feature>
    <feature submenu="GUNS" name="FORCE KEYBOARD FOR START/COIN" group="ADVANCED SETTINGS" value="m2_gun_kb" preset="switchauto" order="554"/>
    <feature submenu="GUNS" name="P1 MOUSE INDEX" group="ADVANCED SETTINGS" value="m2_rawinput_p1" description="Define mouse index to use for player 1." order="555">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
    </feature>
    <feature submenu="GUNS" name="P2 MOUSE INDEX" group="ADVANCED SETTINGS" value="m2_rawinput_p2" description="Define mouse index to use for player 2." order="556">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
    </feature>
    <feature submenu="GUNS" name="OUTPUT GAME DATA" group="ADVANCED SETTINGS" value="ds_output" description="Enable this option when using mamehooker with LEDs, solenoids, rumble..." order="557">
      <choice name="TO WINDOW" value="win"/>
      <choice name="TO NETWORK" value="net"/>
      <choice name="TO BOTH" value="both"/>
    </feature>
    <feature submenu="GUNS" name="VERBOSE MODE" group="ADVANCED SETTINGS" value="ds_verbose" description="Enable verbose mode for debugging." preset="switchauto" order="560"/>
    <feature submenu="GUNS" name="USE MAMEHOOKER" group="ADVANCED SETTINGS" value="use_mamehooker" description="Launch MameHooker for outputs management." preset="switchauto" order="561"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="562"/>
    <sharedFeature submenu="WHEELS" group="ADVANCED SETTINGS" value="use_wheel" order="600"/>
    <sharedFeature submenu="WHEELS" group="ADVANCED SETTINGS" value="wheel_nogearstick" order="601"/>
    <feature submenu="WHEELS" name="ENABLE FORCE FEEDBACK" group="ADVANCED SETTINGS" value="m2_force_feedback" preset="switchauto" order="602"/>
    <sharedFeature submenu="WHEELS" group="ADVANCED SETTINGS" value="gearstick_deviceid" order="603"/>
    <feature submenu="WHEELS" name="HOLD GEARS" group="ADVANCED SETTINGS" value="m2_HoldGears" description="Set to YES to return to Neutral in driving games when the gear shift key is released." preset="switchauto" order="604"/>
  </emulator>
  <!-- MUGEN -->
  <emulator name="mugen" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="videomode" order="20"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="VRetrace" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
  </emulator>
  <!-- MUPEN64 -->
  <emulator name="mupen64">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="resolution" order="20">
      <choice name="SAME AS OUTPUT" value="0"/>
      <choice name="NATIVE" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="3x" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X" value="8"/>
      <choice name="9X" value="9"/>
      <choice name="10X" value="10"/>
      <choice name="11X" value="11"/>
      <choice name="12X" value="12"/>
      <choice name="13X" value="13"/>
      <choice name="14X" value="14"/>
      <choice name="15X" value="15"/>
      <choice name="16X" value="16"/>
    </feature>
    <feature name="INTERNAL RESOLUTION (PARALLEL)" group="GENERAL SETTINGS" value="parallel_upscaling" order="21">
      <choice name="1x" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
      <choice name="8x" value="8"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ratio" order="25">
      <choice name="4:3" value="1"/>
      <choice name="16:9" value="2"/>
      <choice name="STRETCH" value="0"/>
      <choice name="ADJUST TO FIT 4:3" value="3"/>
      <choice name="ADJUST TO FIT 16:9" value="4"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="CROP OVERSCAN" group="ADVANCED SETTINGS" value="mupen_CropOverscan" description="Zooms in to hide black borders. Borders are different per game." order="253">
      <choice name="OFF" value="none"/>
      <choice name="BORDERS 8 - TOP BOTTOM 12" value="t12_b12_l8_r8"/>
      <choice name="BOTTOM 15 - TOP 12 - LEFT 18 - RIGHT 13" value="t12_b15_l18_r13"/>
      <choice name="TOP 8 - BOTTOM 8" value="t8_b8_l0_r0"/>
      <choice name="LEFT 8 - RIGHT 8" value="t0_b0_l8_r8"/>
      <choice name="LEFT 8" value="t0_b0_l8_r0"/>
      <choice name="8 ALL SIDES" value="t8_b8_l8_r8"/>
    </feature>
    <feature submenu="VIDEO" name="NATIVE TEXTURE LOD" group="ADVANCED SETTINGS" value="mupen64plus-parallel-rdp-native-texture-lod" description="Use native texture LOD computation when upscaling." preset="switchauto" order="161"/>
    <feature submenu="VIDEO" name="ENABLE NATIVE RES 2D TEXTRECTS" group="ADVANCED SETTINGS" value="rmg_NativeTextRECT" description="Can fix misaligned 2D images like mario kart character selection." preset="switchauto" order="162"/>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="antialiasing" description="Set Anti Aliasing for rendered content." order="250">
      <choice name="NO" value="0"/>
      <choice name="FXAA" value="1"/>
      <choice name="MSAA 2X" value="2"/>
      <choice name="MSAA 4X" value="4"/>
      <choice name="MSAA 8X" value="8"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="anisotropic_filtering" description="Enhance the quality of textures on surface." preset="sliderauto" preset-parameters="0 16 1 x" order="251"/>
    <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="hires_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="252"/>
    <feature submenu="USER INTERFACE" name="SHOW EMULATOR GUI" group="ADVANCED SETTINGS" value="show_gui" preset="switchauto" order="450"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="451"/>
    <feature submenu="EMULATION" name="CPU CORE" value="cpucore" group="ADVANCED SETTINGS" description="Use interpreter for best compatibility, dynarec for performance." order="100">
      <choice name="pure interpreter" value="0"/>
      <choice name="cached interpreter" value="1"/>
      <choice name="dynamic recompiler" value="2"/>
    </feature>
    <feature submenu="EMULATION" name="RSP PLUGIN" value="rsp_plugin" group="ADVANCED SETTINGS" description="Reality Signal Processor plugin, forced to LLE when video driver is set to Parallel." order="101">
      <choice name="HLE Emulation RSP" value="mupen64plus-rsp-hle.dll"/>
      <choice name="Static Interpreter" value="mupen64plus-rsp-cxd4.dll"/>
      <choice name="LLE RSP" value="mupen64plus-rsp-parallel.dll"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" value="gfxplugin" group="ADVANCED SETTINGS" order="400">
      <choice name="GLIDEN64" value="glide"/>
      <choice name="PARALLEL" value="parallel"/>
      <choice name="ANGRYLION" value="angrylion"/>
    </feature>
    <feature submenu="DRIVERS" name="INPUT" value="inputplugin" group="ADVANCED SETTINGS" order="401">
      <choice name="MUPEN STANDARD" value="RMG-Input.dll"/>
      <choice name="GAMECUBE ADAPTER" value="mupen64plus_input_gca.dll"/>
      <choice name="RAPHNET ADAPTATOR" value="mupen64plus-input-raphnetraw.dll"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P1" value="mupen64_inputprofile1" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="510">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="P1 CONTROLLER EXTENSION" value="mupen64_pak1" group="ADVANCED SETTINGS" description="Choose the extension attached to the controller." order="511">
      <choice name="MEMORY PACK" value="0"/>
      <choice name="RUMBLE PACK" value="1"/>
      <choice name="TRANSFER PACK" value="2"/>
      <choice name="NONE" value="3"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P2" value="mupen64_inputprofile2" group="ADVANCED SETTINGS" order="512">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="P2 CONTROLLER EXTENSION" value="mupen64_pak2" group="ADVANCED SETTINGS" order="513">
      <choice name="MEMORY PACK" value="0"/>
      <choice name="RUMBLE PACK" value="1"/>
      <choice name="NONE" value="3"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P3" value="mupen64_inputprofile3" group="ADVANCED SETTINGS" order="514">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="P3 CONTROLLER EXTENSION" value="mupen64_pak3" group="ADVANCED SETTINGS" order="515">
      <choice name="MEMORY PACK" value="0"/>
      <choice name="RUMBLE PACK" value="1"/>
      <choice name="NONE" value="3"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P4" value="mupen64_inputprofile4" group="ADVANCED SETTINGS" order="516">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="P4 CONTROLLER EXTENSION" value="mupen64_pak4" group="ADVANCED SETTINGS" order="517">
      <choice name="MEMORY PACK" value="0"/>
      <choice name="RUMBLE PACK" value="1"/>
      <choice name="NONE" value="3"/>
    </feature>
    <feature submenu="CONTROLS" name="USE N64-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="n64_pad" preset="switchauto" order="520"/>
    <feature submenu="CONTROLS" name="TRANSFER PACK SYSTEM" value="mupen64_pak_system" group="ADVANCED SETTINGS" description="Select the source system for the transfer pack between GB and GBC." order="530">
      <choice name="GB" value="gb"/>
      <choice name="GBC" value="gbc"/>
    </feature>
    <feature submenu="CONTROLS" name="TRANSFER PACK ROM" value="mupen64_pak_rom" group="ADVANCED SETTINGS" description="Enter the first characters of the game rom used to transfer data." preset="input" order="531"/>
    <feature submenu="CONTROLS" name="TRANSFER PACK SAVE FILE" value="mupen64_pak_save" group="ADVANCED SETTINGS" description="Enter the first characters of the save file used to transfer data." preset="input" order="532"/>
    <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" value="mupen64_deadzone" group="ADVANCED SETTINGS" preset="sliderauto" preset-parameters="0 50 2 %" order="522"/>
    <feature submenu="CONTROLS" name="ANALOG SENSITIVITY" value="mupen64_sensitivity" group="ADVANCED SETTINGS" preset="sliderauto" preset-parameters="70 130 5 %" order="523"/>
    <feature submenu="CONTROLS" name="PAUSE ON FOCUS LOST" group="ADVANCED SETTINGS" value="mupen64_pause_on_focus_lost" preset="switchauto" order="535"/>
  </emulator>
  <!-- NOSGBA -->
  <emulator name="nosgba">
    <feature submenu="EMULATION" name="NUMBER OF PLAYERS" value="gba_nbplayers" group="ADVANCED SETTINGS" order="100">
      <choice name="2" value="-Two Machines"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="VIDEO OUTPUT MODE" value="gba_video_output" group="ADVANCED SETTINGS" order="152">
      <choice name="24 BIT COLOR" value="24bit True Color"/>
      <choice name="8 BIT (MONOCHROME)" value="8bit Monochrome"/>
      <choice name="15 BIT COLOR" value="15bit Color"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="COLOR MODE" value="gba_colors" group="ADVANCED SETTINGS" description="Select which color filter to apply." order="250">
      <choice name="BACKLIGHT" value="GBA SP (backlight)"/>
      <choice name="NO BACKLIGHT" value="GBA (no backlight)"/>
      <choice name="BLURRY" value="NDS in GBA mode (blurry)"/>
      <choice name="POPPY" value="NDS-Lite in GBA mode (poppy)"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO RENDERER" value="gba_video_renderer" group="ADVANCED SETTINGS" order="400">
      <choice name="NOCASH" value="nocash"/>
      <choice name="OPENGL" value="opengl"/>
    </feature>
  </emulator>
  <!-- OPENBOR -->
  <emulator name="openbor">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <core name="openbor">
      <feature name="SHADER SET" value="filter" group="GENERAL SETTINGS" description="Efficient graphics filters improving the rendering of games." order="5">
        <choice name="SIMPLE 2X" value="0"/>
        <choice name="BILINEAR" value="1"/>
        <choice name="2XSAI" value="2"/>
        <choice name="SUPER 2XSAI" value="3"/>
        <choice name="SUPER EAGLE" value="4"/>
        <choice name="ADVANCE MAME2X" value="5"/>
        <choice name="LQ2X" value="6"/>
        <choice name="HQ2X" value="7"/>
        <choice name="SCANLINES" value="8"/>
        <choice name="SCANLINES TV" value="9"/>
        <choice name="TV 2X" value="10"/>
        <choice name="DOT MATRIX" value="11"/>
      </feature>
      <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ratio" order="25">
        <choice name="STRETCH" value="1"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    </core>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
  </emulator>
  <!-- OPENGOAL -->
  <emulator name="opengoal">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="opengoal_ratio" order="25">
      <choice name="4:3" value="4_3"/>
      <choice name="16:9" value="16_9"/>
      <choice name="4:3 (PS2)" value="4_3_ps2"/>
      <choice name="16:9 (PS2)" value="16_9_ps2"/>
      <choice name="16:10" value="16_10"/>
      <choice name="21:9" value="21_9"/>
      <choice name="64:27" value="64_27"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="opengoal_vsync" preset="switchauto" order="30"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="opengoal_resolution" order="20">
      <choice name="1920x1080" value="1920 1080"/>
      <choice name="1680x1050" value="1680 1050"/>
      <choice name="1600x900" value="1600 900"/>
      <choice name="1400x1050" value="1400 1050"/>
      <choice name="1600x900" value="1600 900"/>
      <choice name="1280x1024" value="1280 1024"/>
      <choice name="1440x900" value="1440 900"/>
      <choice name="1280x960" value="1280 960"/>
      <choice name="1366x768" value="1366 768"/>
      <choice name="1360x768" value="1360 768"/>
      <choice name="1280x800" value="1280 800"/>
      <choice name="1152x864" value="1152 864"/>
      <choice name="1280x768" value="1280 768"/>
      <choice name="1280x720" value="1280 720"/>
      <choice name="1024x768" value="1024 768"/>
      <choice name="1280x600" value="1280 600"/>
      <choice name="800x600" value="800 600"/>
      <choice name="640x480" value="640 480"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
	<sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="152"/>
    <feature submenu="VISUAL RENDERING" name="ANTI ALIASING (MSAA)" group="ADVANCED SETTINGS" value="opengoal_msaa" description="Set Multi-Sampled Anti Aliasing level for rendered content." order="250">
      <choice name="OFF" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="4X" value="4"/>
      <choice name="8X" value="8"/>
      <choice name="16X" value="16"/>
    </feature>
    <feature submenu="EMULATION" name="FORCE GAME REGION" group="ADVANCED SETTINGS" value="opengoal_region" order="100">
      <choice name="EUROPE" value="1"/>
      <choice name="AMERICA" value="0"/>
      <choice name="JAPAN" value="2"/>
      <choice name="KOREA" value="3"/>
    </feature>
    <feature submenu="EMULATION" name="GAME LANGUAGE" group="ADVANCED SETTINGS" value="opengoal_language" order="101">
      <choice name="English" value="0"/>
      <choice name="Français" value="1"/>
      <choice name="Deutsch" value="2"/>
      <choice name="Español" value="3"/>
      <choice name="Italiano" value="4"/>
      <choice name="日本語 (Japanese)" value="5"/>
      <choice name="한국어 (Korean)" value="6"/>
    </feature>
    <feature submenu="EMULATION" name="SHOW SUBTITLES" group="ADVANCED SETTINGS" value="opengoal_subtitles" preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="SUBTITLE LANGUAGE" group="ADVANCED SETTINGS" value="opengoal_sublang" order="103">
      <choice name="English" value="0"/>
      <choice name="Français" value="1"/>
      <choice name="Deutsch" value="2"/>
      <choice name="Español" value="3"/>
      <choice name="Italiano" value="4"/>
      <choice name="English (UK)" value="6"/>
      <choice name="Suomi" value="8"/>
      <choice name="Svenska" value="9"/>
      <choice name="Dansk" value="10"/>
      <choice name="Nederlands" value="12"/>
      <choice name="Portugues do Brasil" value="13"/>
      <choice name="Polski" value="19"/>
      <choice name="Lietuvu" value="20"/>
    </feature>
    <feature submenu="EMULATION" name="JAK1 ISO PATH" group="ADVANCED SETTINGS" value="opengoal_isopath_jak1" preset="files" order="110"/>
    <feature submenu="EMULATION" name="JAK2 ISO PATH" group="ADVANCED SETTINGS" value="opengoal_isopath_jak2" preset="files" order="111"/>
    <feature submenu="EMULATION" name="JAK3 ISO PATH" group="ADVANCED SETTINGS" value="opengoal_isopath_jak3" preset="files" order="112"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
    <feature submenu="USER INTERFACE" name="INTERFACE LANGUAGE" group="ADVANCED SETTINGS" value="opengoal_menulang" order="451">
      <choice name="English" value="0"/>
      <choice name="Français" value="1"/>
      <choice name="Deutsch" value="2"/>
      <choice name="Español" value="3"/>
      <choice name="Italiano" value="4"/>
      <choice name="English(UK) (jak1)/ Korean (jak2)" value="6"/>
      <choice name="Portugues (jak1) / English(UK) (jak2)" value="7"/>
      <choice name="Suomi" value="8"/>
      <choice name="Svenska" value="9"/>
      <choice name="Dansk" value="10"/>
      <choice name="Norsk" value="11"/>
      <choice name="Nederlands" value="12"/>
      <choice name="Portugues do Brasil" value="13"/>
      <choice name="Magyar" value="14"/>
      <choice name="Polski" value="19"/>
      <choice name="Lietuvu" value="20"/>
    </feature>
  </emulator>
  <!-- OPENJAZZ -->
  <emulator name="openjazz">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="openjazz_resolution" order="20">
      <choice name="320x200" value="320x200"/>
      <choice name="320x240" value="320x240"/>
      <choice name="640x400" value="640x400"/>
      <choice name="640x480" value="640x480"/>
      <choice name="960x600" value="960x600"/>
      <choice name="960x720" value="960x720"/>
      <choice name="1024x640" value="1024x640"/>
      <choice name="1024x720" value="1024x720"/>
      <choice name="1280x720" value="1280x720"/>
      <choice name="1280x800" value="1280x800"/>
      <choice name="1400x864" value="1400x864"/>
      <choice name="1440x900" value="1440x900"/>
      <choice name="1440x1024" value="1440x1024"/>
      <choice name="1440x1080" value="1440x1080"/>
      <choice name="1600x1024" value="1600x1024"/>
      <choice name="1600x1080" value="1600x1080"/>
      <choice name="1920x1080" value="1920x1080"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
  </emulator>
  <!-- OPENMSX -->
  <emulator name="openmsx" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="msx_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="DISABLE FULLSCREEN" value="msx_fullscreen" group="ADVANCED SETTINGS" order="152" preset="switchauto"/>
    <feature submenu="VIDEO" name="UPSCALE RATIO" value="msx_scale" group="ADVANCED SETTINGS" order="153" preset="sliderauto" preset-parameters="2 4 1 x"/>
    <feature submenu="VIDEO" name="UPSCALE ALGORYTHM" value="msx_scale_algo" group="ADVANCED SETTINGS" description="Select the algorythm used for upscaling." order="154">
      <choice name="SIMPLE" value="simple"/>
      <choice name="TV" value="TV"/>
      <choice name="HQ" value="hq"/>
      <choice name="HQ LITE" value="hqlite"/>
      <choice name="RGB TRIPLET" value="RGBtriplet"/>
      <choice name="SCALE NX" value="ScaleNx"/>
    </feature>
    <feature submenu="AUDIO" name="RESAMPLER" value="msx_resampler" group="ADVANCED SETTINGS" order="300">
      <choice name="BLIP (Good speed\quality)" value="blip"/>
      <choice name="FAST (Low Quality)" value="fast"/>
      <choice name="HQ (Best)" value="hq"/>
    </feature>
    <feature submenu="EMULATION" name="FAST LOADING" value="msx_loadfullspeed" group="ADVANCED SETTINGS" order="100" preset="switchauto"/>
    <system name="msx1">
      <feature submenu="EMULATION" name="MACHINE" group="ADVANCED SETTINGS" value="msx_machine" description="Select the machine to emulate." order="110">
        <choice name="MSX1 (JP) (National CF-3300)" value="National_CF-3300"/>
        <choice name="MSX1 (EU) (Philips VG 8020)" value="Philips_VG_8020"/>
        <choice name="MSX1 (JP) Laserdisc (Pioneer PX-7)" value="Pioneer_PX-7"/>
        <choice name="MSX2 (JP) (National FS-5500 F2)" value="National_FS-5500F2"/>
        <choice name="MSX2 (EU) (Philips NMS 8245))" value="Philips_NMS_8245"/>
        <choice name="MSX2+ (Panasonic FS-A1WSX)" value="Panasonic_FS-A1WSX"/>
        <choice name="MSX2 Turbo-R (Panasonic FS-A1GT)" value="Panasonic_FS-A1GT"/>
      </feature>
      <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Force the type of media file" order="111">
        <choice name="Cartridge (Slot A)" value="carta"/>
        <choice name="Cartridge (Slot B)" value="cartb"/>
        <choice name="Disk (Drive A)" value="diska"/>
        <choice name="Disk (Drive B)" value="diskb"/>
        <choice name="Cassette" value="cassetteplayer"/>
        <choice name="Laserdisc" value="laserdisc"/>
      </feature>
      <feature submenu="EMULATION" name="SLOT EXTENSION" group="ADVANCED SETTINGS" value="cart_extension" description="Choose a MSX extension to be added to the second cartridge slot." order="112">
        <choice name="Panasoft SW-M004 FMPAC" value="fmpac"/>
        <choice name="Konami Sound Cartridge SCC+" value="scc+"/>
        <choice name="Popolon + Repro Factory Musical Memory Mapper" value="Musical_Memory_Mapper"/>
      </feature>
      <feature submenu="EMULATION" name="Enable Sunrise Video9000" group="ADVANCED SETTINGS" value="ext_video9000" description="Insert Video9000 extension in I\O slot." order="113" preset="switchauto"/>
      <feature submenu="EMULATION" name="Enable Sunrise MoonSound" group="ADVANCED SETTINGS" value="ext_moonsound" description="Insert MoonSound extension in I\O slot." order="114" preset="switchauto"/>
    </system>
    <system name="msx2">
      <feature submenu="EMULATION" name="MACHINE" group="ADVANCED SETTINGS" value="msx_machine" description="Select the machine to emulate." order="110">
        <choice name="MSX1 (JP) (National CF-3300)" value="National_CF-3300"/>
        <choice name="MSX1 (EU) (Philips VG 8020)" value="Philips_VG_8020"/>
        <choice name="MSX1 (JP) Laserdisc (Pioneer PX-7)" value="Pioneer_PX-7"/>
        <choice name="MSX2 (JP) (National FS-5500 F2)" value="National_FS-5500F2"/>
        <choice name="MSX2 (EU) (Philips NMS 8245))" value="Philips_NMS_8245"/>
        <choice name="MSX2+ (Panasonic FS-A1WSX)" value="Panasonic_FS-A1WSX"/>
        <choice name="MSX2 Turbo-R (Panasonic FS-A1GT)" value="Panasonic_FS-A1GT"/>
      </feature>
      <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Force the type of media file" order="111">
        <choice name="Cartridge (Slot A)" value="carta"/>
        <choice name="Cartridge (Slot B)" value="cartb"/>
        <choice name="Disk (Drive A)" value="diska"/>
        <choice name="Disk (Drive B)" value="diskb"/>
        <choice name="Cassette" value="cassetteplayer"/>
        <choice name="Laserdisc" value="laserdisc"/>
      </feature>
      <feature submenu="EMULATION" name="SLOT EXTENSION" group="ADVANCED SETTINGS" value="cart_extension" description="Choose a MSX extension to be added to the second cartridge slot." order="112">
        <choice name="Panasoft SW-M004 FMPAC" value="fmpac"/>
        <choice name="Konami Sound Cartridge SCC+" value="scc+"/>
        <choice name="Popolon + Repro Factory Musical Memory Mapper" value="Musical_Memory_Mapper"/>
      </feature>
      <feature submenu="EMULATION" name="Enable Sunrise Video9000" group="ADVANCED SETTINGS" value="ext_video9000" description="Insert Video9000 extension in I\O slot." order="113" preset="switchauto"/>
      <feature submenu="EMULATION" name="Enable Sunrise MoonSound" group="ADVANCED SETTINGS" value="ext_moonsound" description="Insert MoonSound extension in I\O slot." order="114" preset="switchauto"/>
    </system>
    <system name="msx2+">
      <feature submenu="EMULATION" name="MACHINE" group="ADVANCED SETTINGS" value="msx_machine" description="Select the machine to emulate." order="110">
        <choice name="MSX1 (JP) (National CF-3300)" value="National_CF-3300"/>
        <choice name="MSX1 (EU) (Philips VG 8020)" value="Philips_VG_8020"/>
        <choice name="MSX1 (JP) Laserdisc (Pioneer PX-7)" value="Pioneer_PX-7"/>
        <choice name="MSX2 (JP) (National FS-5500 F2)" value="National_FS-5500F2"/>
        <choice name="MSX2 (EU) (Philips NMS 8245))" value="Philips_NMS_8245"/>
        <choice name="MSX2+ (Panasonic FS-A1WSX)" value="Panasonic_FS-A1WSX"/>
        <choice name="MSX2 Turbo-R (Panasonic FS-A1GT)" value="Panasonic_FS-A1GT"/>
      </feature>
      <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Force the type of media file" order="111">
        <choice name="Cartridge (Slot A)" value="carta"/>
        <choice name="Cartridge (Slot B)" value="cartb"/>
        <choice name="Disk (Drive A)" value="diska"/>
        <choice name="Disk (Drive B)" value="diskb"/>
        <choice name="Cassette" value="cassetteplayer"/>
        <choice name="Laserdisc" value="laserdisc"/>
      </feature>
      <feature submenu="EMULATION" name="SLOT EXTENSION" group="ADVANCED SETTINGS" value="cart_extension" description="Choose a MSX extension to be added to the second cartridge slot." order="112">
        <choice name="Panasoft SW-M004 FMPAC" value="fmpac"/>
        <choice name="Konami Sound Cartridge SCC+" value="scc+"/>
        <choice name="Popolon + Repro Factory Musical Memory Mapper" value="Musical_Memory_Mapper"/>
      </feature>
      <feature submenu="EMULATION" name="Enable Sunrise Video9000" group="ADVANCED SETTINGS" value="ext_video9000" description="Insert Video9000 extension in I\O slot." order="113" preset="switchauto"/>
      <feature submenu="EMULATION" name="Enable Sunrise MoonSound" group="ADVANCED SETTINGS" value="ext_moonsound" description="Insert MoonSound extension in I\O slot." order="114" preset="switchauto"/>
    </system>
    <system name="msxturbor">
      <feature submenu="EMULATION" name="MACHINE" group="ADVANCED SETTINGS" value="msx_machine" description="Select the machine to emulate." order="110">
        <choice name="MSX1 (JP) (National CF-3300)" value="National_CF-3300"/>
        <choice name="MSX1 (EU) (Philips VG 8020)" value="Philips_VG_8020"/>
        <choice name="MSX1 (JP) Laserdisc (Pioneer PX-7)" value="Pioneer_PX-7"/>
        <choice name="MSX2 (JP) (National FS-5500 F2)" value="National_FS-5500F2"/>
        <choice name="MSX2 (EU) (Philips NMS 8245))" value="Philips_NMS_8245"/>
        <choice name="MSX2+ (Panasonic FS-A1WSX)" value="Panasonic_FS-A1WSX"/>
        <choice name="MSX2 Turbo-R (Panasonic FS-A1GT)" value="Panasonic_FS-A1GT"/>
      </feature>
      <feature submenu="EMULATION" name="FORCE MEDIA TYPE" group="ADVANCED SETTINGS" value="altromtype" description="Force the type of media file" order="111">
        <choice name="Cartridge (Slot A)" value="carta"/>
        <choice name="Cartridge (Slot B)" value="cartb"/>
        <choice name="Disk (Drive A)" value="diska"/>
        <choice name="Disk (Drive B)" value="diskb"/>
        <choice name="Cassette" value="cassetteplayer"/>
        <choice name="Laserdisc" value="laserdisc"/>
      </feature>
      <feature submenu="EMULATION" name="SLOT EXTENSION" group="ADVANCED SETTINGS" value="cart_extension" description="Choose a MSX extension to be added to the second cartridge slot." order="112">
        <choice name="Panasoft SW-M004 FMPAC" value="fmpac"/>
        <choice name="Konami Sound Cartridge SCC+" value="scc+"/>
        <choice name="Popolon + Repro Factory Musical Memory Mapper" value="Musical_Memory_Mapper"/>
      </feature>
      <feature submenu="EMULATION" name="Enable Sunrise Video9000" group="ADVANCED SETTINGS" value="ext_video9000" description="Insert Video9000 extension in I\O slot." order="113" preset="switchauto"/>
      <feature submenu="EMULATION" name="Enable Sunrise MoonSound" group="ADVANCED SETTINGS" value="ext_moonsound" description="Insert MoonSound extension in I\O slot." order="114" preset="switchauto"/>
    </system>
    <feature submenu="CONTROLS" name="USE USER JOYSTICK SCRIPT" group="ADVANCED SETTINGS" value="msx_custom_gamepad" description="Override RetroBat gamepad mapping with user own mapping placed in emulator script folder." order="500">
      <choice name="USER MAPPING 1" value="userjoystick1"/>
      <choice name="USER MAPPING 2" value="userjoystick2"/>
      <choice name="USER MAPPING 3" value="userjoystick3"/>
    </feature>
    <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="msx_joytype" order="501">
      <choice name="MSX JOYSTICK" value="msxjoystick"/>
      <choice name="MEGADRIVE JOYSTICK" value="joymega"/>
    </feature>
    <feature submenu="CONTROLS" name="USE LEFT STICK" group="ADVANCED SETTINGS" value="msx_useStick" description="Use analog stick instead of dpad." order="502" preset="switchauto"/>
    <feature submenu="CONTROLS" name="USE MOUSE" group="ADVANCED SETTINGS" value="msx_mouse" description="Plug a mouse in joyport, this will remove plugged joysticks." order="503" preset="switchauto"/>
  </emulator>
  <!-- ORICUTRON -->
  <emulator name="oricutron" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <feature submenu="EMULATION" name="MACHINE" group="ADVANCED SETTINGS" value="oricutron_machine" order="100">
      <choice name="ATMOS" value="atmos"/>
      <choice name="ORIC-1" value="oric1"/>
      <choice name="ORIC-1 16K" value="oric1-16k"/>
      <choice name="TELESTRAT" value="telestrat"/>
      <choice name="PRAVETZ" value="pravetz"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="MAINTAIN ASPECT RATIO" group="ADVANCED SETTINGS" value="oricutron_aratio" description="Maintain correct aspect ratio in 50Hz/60Hz modes." preset="switchauto" order="152"/>
    <feature submenu="VIDEO" name="HORIZONTAL STRETCH" group="ADVANCED SETTINGS" value="oricutron_hstretch" description="In OpenGL only." preset="switchauto" order="153"/>
    <feature submenu="VISUAL RENDERING" name="SCANLINES" group="ADVANCED SETTINGS" value="oricutron_scanlines" preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="PAL GHOSTING" group="ADVANCED SETTINGS" value="oricutron_palghosting" preset="switchauto" order="251"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="oricutron_rendermode" order="400">
      <choice name="OPENGL" value="opengl"/>
      <choice name="SOFTWARE" value="soft"/>
    </feature>
    <feature submenu="CONTROLS" name="JOYSTICK INTERFACE" group="ADVANCED SETTINGS" value="oricutron_joyinterface" order="500">
      <choice name="NONE" value="none"/>
      <choice name="ALTAI" value="altai"/>
      <choice name="PASE" value="pase"/>
      <choice name="IJK" value="ijk"/>
    </feature>
  </emulator>
  <!-- PCSX2 -->
  <emulator name="pcsx2" features="cheevos">
    <core name="pcsx2" features="cheevos">
      <feature name="SHADER SET" group="GENERAL SETTINGS" value="TVShader" order="5">
        <choice name="NO" value="0"/>
        <choice name="SCANLINES" value="1"/>
        <choice name="DIAGONAL FILTER" value="2"/>
        <choice name="TRIANGULAR FILTER" value="3"/>
        <choice name="WAVE FILTER" value="4"/>
        <choice name="LOTTES CRT" value="5"/>
        <choice name="4xRGSS" value="6"/>
        <choice name="NxAGSS" value="7"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
      <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
      <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
      <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
      <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ratio" order="25">
        <choice name="4/3 2/2" value="Auto 4:3/3:2"/>
        <choice name="4/3" value="4:3"/>
        <choice name="16/9" value="16:9"/>
        <choice name="10/7" value="10:7"/>
        <choice name="STRETCH FIT TO WINDOW" value="Stretch"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
      <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="pcsx2_vsync" preset="switchauto" order="30"/>
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internalresolution" order="20">
        <choice name="NATIVE (PS2)" value="1"/>
        <choice name="x2 (720p)" value="2"/>
        <choice name="x3 (1080p)" value="3"/>
        <choice name="x4 (1440p)" value="4"/>
        <choice name="x5 (1620p)" value="5"/>
        <choice name="x6 (4K)" value="6"/>
        <choice name="x7 (2520p)" value="7"/>
        <choice name="x8 (2880p)" value="8"/>
        <choice name="x9 (3240p)" value="9"/>
        <choice name="x10 (6K)" value="10"/>
        <choice name="x11 (3960p)" value="11"/>
        <choice name="x12 (8K)" value="12"/>
      </feature>
      <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
      <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="152"/>
      <feature submenu="VIDEO" name="FMV RATIO" group="ADVANCED SETTINGS" value="fmv_ratio" description="Set the aspect ratio of the FMV cinematics." order="153">
        <choice name="OFF" value="Off"/>
        <choice name="4/3 3/2" value="Auto 4:3/3:2"/>
        <choice name="4/3" value="4:3"/>
        <choice name="16/9" value="16:9"/>
        <choice name="10/7" value="10:7"/>
      </feature>
      <feature submenu="VIDEO" name="DEINTERLACE MODE" group="ADVANCED SETTINGS" value="interlace" description="Force the rendering and display of frames to progressive mode." order="154">
        <choice name="NONE" value="1"/>
        <choice name="WEAVE (Top first)" value="2"/>
        <choice name="WEAVE (Bottom first)" value="3"/>
        <choice name="BOB (Top first)" value="4"/>
        <choice name="BOB (Bottom first)" value="5"/>
        <choice name="BLEND (Top first)" value="6"/>
        <choice name="BLEND (Bottom first)" value="7"/>
        <choice name="ADAPTATIVE (Top first)" value="8"/>
        <choice name="ADAPTATIVE (Bottom first)" value="9"/>
      </feature>
      <feature submenu="VIDEO" name="DISABLE INTERLACE OFFSET" group="ADVANCED SETTINGS" value="disable_interlace_offset" description="Switching this on when using a dedicated deinterlace mode can help reduce blur." preset="switchauto" order="155"/>
      <feature submenu="VIDEO" name="WIDESCREEN PATCHES" group="ADVANCED SETTINGS" value="widescreen_patch" description="Automatically load widescreen patches on game start-up." preset="switchauto" order="156"/>
      <feature submenu="VIDEO" name="NO-INTERLACING PATCHES" group="ADVANCED SETTINGS" value="interlacing_patch" description="Automatically load no-interlacing patches on game start-up." preset="switchauto" order="157"/>
      <feature submenu="VIDEO" name="DISABLE FULLSCREEN" group="ADVANCED SETTINGS" value="disable_fullscreen" description="Use this option if PCSX2 is not displaying on the correct monitor." preset="switchauto" order="158"/>
      <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="fxaa" description="Set Anti Aliasing for rendered content." preset="switchauto" order="250"/>
      <feature submenu="VISUAL RENDERING" name="BILINEAR FILTERING" group="ADVANCED SETTINGS" value="bilinear_filtering" description="Use bilinear filtering to smooth the overall picture." order="251">
        <choice name="YES (SMOOTH)" value="1"/>
        <choice name="YES (SHARP)" value="2"/>
        <choice name="NO" value="0"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="texture_filtering" description="Control the texture filtering of the emulation." order="252">
        <choice name="BILINEAR (PS2)" value="2"/>
        <choice name="NEAREST" value="0"/>
        <choice name="BILINEAR (FORCED)" value="1"/>
        <choice name="BILINEAR (FORCED EXCLUDING SPRITE)" value="3"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="TRILINEAR FILTERING" group="ADVANCED SETTINGS" value="trilinear_filtering" description="Control the texture tri-filtering of the emulation." order="253">
        <choice name="OFF" value="0"/>
        <choice name="TRILINEAR (PS2)" value="1"/>
        <choice name="TRILINEAR (FORCED)" value="2"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="anisotropic_filtering" description="Enhance the quality of textures on surface." order="254">
        <choice name="OFF" value="0"/>
        <choice name="2x" value="2"/>
        <choice name="4x" value="4"/>
        <choice name="8x" value="8"/>
        <choice name="16x" value="16"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="SCREEN OFFSETS" group="ADVANCED SETTINGS" value="pcrtc_offsets" description="Useful for games with screenshake effects such as Wipeout Fusion, can make the picture blury." preset="switchauto" order="255"/>
      <feature submenu="VISUAL RENDERING" name="ANTI BLUR" group="ADVANCED SETTINGS" value="pcrtc_antiblur" description="Enables anti blur hack, less accurate but makes games less blurry." preset="switchauto" order="256"/>
      <feature submenu="VISUAL RENDERING" name="MIP MAPPING" group="ADVANCED SETTINGS" value="mipmap" description="Mipmapping is necessary for some games." preset="switchauto" order="257"/>
      <feature submenu="VISUAL RENDERING" name="BLENDING ACCURACY" group="ADVANCED SETTINGS" value="blending_accuracy" description="Control the accuracy level of GS blending unit. Higher values will emulate blending more accurately in the shader." preset="sliderauto" preset-parameters="0 5 1" order="258"/>
      <feature submenu="VISUAL RENDERING" name="DITHERING FILTER" group="ADVANCED SETTINGS" value="dithering" description="Improves color depth." order="259">
        <choice name="UNSCALED" value="2"/>
        <choice name="OFF" value="0"/>
        <choice name="SCALED" value="1"/>
        <choice name="FORCE 32 BITS" value="3"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CONTRAST ADAPTATIVE SHARPENING" group="ADVANCED SETTINGS" value="pcsx2_casmode" description="Enable FidelityFX contrast adaptative sharpening." order="260">
        <choice name="OFF" value="0"/>
        <choice name="SHARPEN ONLY" value="1"/>
        <choice name="SHARPEN AND SCALE" value="2"/>
      </feature>
      <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="hires_textures" description="Replace original textures with custom textures pack." order="261">
        <choice name="NO" value="0"/>
        <choice name="YES (PRECACHE)" value="1"/>
        <choice name="YES (NO PRECACHE)" value="2"/>
      </feature>
      <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="fullboot" description="Skips the BIOS boot animation displayed when loading content." preset="switchauto" order="100"/>
      <feature submenu="EMULATION" name="FAST BOOT" group="ADVANCED SETTINGS" value="pcsx2_fastboot" description="Boost emulation during boot." preset="switchauto" order="101"/>
      <feature submenu="EMULATION" name="FORCE BIOS" group="ADVANCED SETTINGS" value="pcsx2_forcebios" description="Force the emulator to use a specific BIOS file." order="102">
        <choice name="USA 230" value="ps2-0230a-20080220.bin"/>
        <choice name="EUR 230" value="ps2-0230e-20080220.bin"/>
        <choice name="EUR 250" value="ps2-0250e-20100415.bin"/>
        <choice name="JAP 230" value="ps2-0230j-20080220.bin"/>
        <choice name="PS3 PS2 FIRMWARE" value="ps3_ps2_emu_bios.bin"/>
      </feature>
      <feature submenu="EMULATION" name="SLOT 1 MEMORY CARD" group="ADVANCED SETTINGS" value="pcsx2_slot1_memory" order="103">
        <choice name="STANDARD MEMORY CARD" value="standard"/>
        <choice name="FOLDER" value="folder"/>
        <choice name="PER GAME MEMORY CARD" value="game"/>
      </feature>
      <feature submenu="EMULATION" name="ENABLE CHEATS" group="ADVANCED SETTINGS" value="enable_cheats" description="Automatically loads and applies cheats on game start." preset="switchauto" order="104"/>
      <feature submenu="EMULATION" name="START BIOS" group="ADVANCED SETTINGS" value="pcsx2_startbios" description="This will run the console BIOS instead of a game." preset="switchauto" order="105"/>
      <feature submenu="EMULATION" name="MULTITHREAD VU1" group="ADVANCED SETTINGS" value="pcsx2_vuthread" description="Improve performance for cpu with more than 4 cores, default is enabled." preset="switchauto" order="106"/>
      <feature submenu="EMULATION" name="EMULATION SPEED" group="ADVANCED SETTINGS" value="pcsx2_NominalScalar" preset="sliderauto" preset-parameters="0.5 2 0.1 x" order="107"/>
      <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="fastforward_toggle" order="120"/>
      <feature submenu="MANUAL HACKS" name="MANUAL RENDERER FIXES" group="ADVANCED SETTINGS" value="UserHacks" description="Enable manual hacks below, otherwise hacks will be apllied automatically." preset="switchauto" order="120"/>
      <feature submenu="MANUAL HACKS" name="SKIPDRAW START (HACK)" group="ADVANCED SETTINGS" value="UserHacks_SkipDraw_Start" description="Skips drawing surfaces for the area defined left and right." preset="sliderauto" preset-parameters="0 50 1" order="121"/>
      <feature submenu="MANUAL HACKS" name="SKIPDRAW END (HACK)" group="ADVANCED SETTINGS" value="UserHacks_SkipDraw_End" preset="sliderauto" preset-parameters="0 50 1" order="122"/>
      <feature submenu="MANUAL HACKS" name="DISABLE SAFE FEATURES" group="ADVANCED SETTINGS" value="UserHacks_Disable_Safe_Features" description="Disabling safe features can help various games such as Xenosaga, Kingdom Hearts..." preset="switchauto" order="123"/>
      <feature submenu="MANUAL HACKS" name="HALF PIXEL OFFSET" group="ADVANCED SETTINGS" value="UserHacks_HalfPixelOffset" description="Might fix some misaligned fog, bloom or blend effect." order="124">
        <choice name="OFF" value="0"/>
        <choice name="NORMAL (VERTEX)" value="1"/>
        <choice name="SPECIAL (TEXTURE)" value="2"/>
        <choice name="SPECIAL (TEXTURE AGRESSIVE)" value="3"/>
        <choice name="ALIGN TO NATIVE" value="4"/>
      </feature>
      <feature submenu="MANUAL HACKS" name="ROUND SPRITE" group="ADVANCED SETTINGS" value="UserHacks_round_sprite_offset" description="Correct the sampling of 2D sprite textures when upscaling." order="125">
        <choice name="OFF" value="0"/>
        <choice name="HALF" value="1"/>
        <choice name="FULL" value="2"/>
      </feature>
      <feature submenu="MANUAL HACKS" name="ALIGN SPRITE" group="ADVANCED SETTINGS" value="UserHacks_align_sprite_X" description="Fix issues with upscaling in Namco games (Ace Combat, Tekken, SoulCalibur...)." preset="switchauto" order="126"/>
      <feature submenu="MANUAL HACKS" name="MERGE SPRITE" group="ADVANCED SETTINGS" value="UserHacks_merge_pp_sprite" description="Replaces post-processing multiple paving sprites by a single fat sprite." preset="switchauto" order="127"/>
      <feature submenu="MANUAL HACKS" name="WILD ARMS HACK" group="ADVANCED SETTINGS" value="UserHacks_forceEvenSpritePosition" description="Lower the GS precision to avoid gap between pixels when upscaling. Fix Wild Arms text, SoulCalibur ghosting." preset="switchauto" order="128"/>
      <feature submenu="MANUAL HACKS" name="TEXTURE OFFSETS (HACK)" group="ADVANCED SETTINGS" value="TextureOffsets" description="Offset for the ST/UV texture coordinates." order="129">
        <choice name="X:0500 Y:0500 (Persona 3, Haunting Ground)" value="1"/>
        <choice name="X:0000 Y:1000 (Xenosaga)" value="2"/>
      </feature>
      <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="renderer" description="Select which graphics API to use internally. Software mode disable graphics enhancements." order="400">
        <choice name="DIRECT3D 11" value="3"/>
        <choice name="DIRECT3D 12" value="15"/>
        <choice name="OPENGL" value="12"/>
        <choice name="VULKAN" value="14"/>
        <choice name="SOFTWARE" value="13"/>
      </feature>
      <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="pcsx2_apu" order="401">
        <choice name="CUBEB" value="Cubeb"/>
        <choice name="SDL" value="SDL"/>
      </feature>
      <feature submenu="DRIVERS" name="INPUT" group="ADVANCED SETTINGS" value="pcsx2_input_driver_force" description="Force usage of SDL or DInput driver for controllers, set this if more than 4 controllers are used, as XInput limits to 4 players." order="402">
        <choice name="FORCE SDL" value="1"/>
        <choice name="FORCE DINPUT" value="dinput"/>
      </feature>
      <feature submenu="USER INTERFACE" name="BIGPICTURE MODE" group="ADVANCED SETTINGS" value="bigpicture" preset="switchauto" order="450"/>
      <feature submenu="USER INTERFACE" name="DRAW STATISTICS" group="ADVANCED SETTINGS" value="DrawFramerate" description="Enable performance statistics." preset="switchauto" order="451"/>
      <feature submenu="USER INTERFACE" name="NOTIFICATIONS" group="ADVANCED SETTINGS" value="Notifications" description="Show notifications." preset="switchauto" order="452"/>
      <feature submenu="USER INTERFACE" name="SHOW GUI" group="ADVANCED SETTINGS" value="pcsx2_gui" preset="switchauto" order="453"/>
      <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="454"/>
      <feature submenu="USER INTERFACE" name="OSD MESSAGES POSITION" group="ADVANCED SETTINGS" value="pcsx2_osdposition" order="460">
        <choice name="BOTTOM CENTER" value="8"/>
        <choice name="TOP LEFT" value="1"/>
        <choice name="TOP CENTER" value="2"/>
        <choice name="TOP RIGHT" value="3"/>
        <choice name="CENTER LEFT" value="4"/>
        <choice name="CENTER" value="5"/>
        <choice name="CENTER RIGHT" value="6"/>
        <choice name="BOTTOM LEFT" value="7"/>
        <choice name="BOTTOM RIGHT" value="9"/>
        <choice name="NONE" value="0"/>
      </feature>
      <feature submenu="USER INTERFACE" name="OSD PERFORMANCE POSITION" group="ADVANCED SETTINGS" value="pcsx2_perfposition" order="461">
        <choice name="TOP CENTER" value="2"/>
        <choice name="TOP LEFT" value="1"/>
        <choice name="TOP RIGHT" value="3"/>
        <choice name="CENTER LEFT" value="4"/>
        <choice name="CENTER" value="5"/>
        <choice name="CENTER RIGHT" value="6"/>
        <choice name="BOTTOM LEFT" value="7"/>
        <choice name="BOTTOM CENTER" value="8"/>
        <choice name="BOTTOM RIGHT" value="9"/>
        <choice name="NONE" value="0"/>
      </feature>
      <feature submenu="USER INTERFACE" name="ACHIEVEMENT NOTIFICATIONS POSITION" group="ADVANCED SETTINGS" value="pcsx2_achievposition" order="462">
        <choice name="TOP CENTER" value="2"/>
        <choice name="TOP LEFT" value="1"/>
        <choice name="TOP RIGHT" value="3"/>
        <choice name="CENTER LEFT" value="4"/>
        <choice name="CENTER" value="5"/>
        <choice name="CENTER RIGHT" value="6"/>
        <choice name="BOTTOM LEFT" value="7"/>
        <choice name="BOTTOM CENTER" value="8"/>
        <choice name="BOTTOM RIGHT" value="9"/>
        <choice name="NONE" value="0"/>
      </feature>
      <feature submenu="NETWORK" name="ENABLE NETWORK" group="ADVANCED SETTINGS" value="pcsx2_ethenable" preset="switchauto" order="700"/>
      <feature submenu="NETWORK" name="DNS1 MODE" group="ADVANCED SETTINGS" value="pcsx2_modedns1" description="When selecting 'MANUAL', specify an address in the next setting." order="701">
        <choice name="AUTOMATIC" value="Auto"/>
        <choice name="MANUAL ADRESS" value="Manual"/>
        <choice name="INTERNAL" value="Internal"/>
      </feature>
      <feature submenu="NETWORK" name="DNS1 ADDRESS" group="ADVANCED SETTINGS" value="pcsx2_dns1" description="When an address is entered, the mode will automatically be set as 'MANUAL'." preset="input" order="702"/>
      <feature submenu="NETWORK" name="DNS2 MODE" group="ADVANCED SETTINGS" value="pcsx2_modedns2" description="When selecting 'MANUAL', specify an address in the next setting." order="703">
        <choice name="AUTOMATIC" value="Auto"/>
        <choice name="MANUAL ADRESS" value="Manual"/>
        <choice name="INTERNAL" value="Internal"/>
      </feature>
      <feature submenu="NETWORK" name="DNS2 ADDRESS" group="ADVANCED SETTINGS" value="pcsx2_dns2" description="When an address is entered, the mode will automatically be set as 'MANUAL'." preset="input" order="704"/>
      <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="pcsx2_multitap" order="500">
        <choice name="NO" value="none"/>
        <choice name="PORT 1" value="port1"/>
        <choice name="PORT 2" value="port2"/>
        <choice name="BOTH PORTS" value="both"/>
      </feature>
      <feature submenu="CONTROLS" name="USE GUITAR" group="ADVANCED SETTINGS" value="use_guitar" preset="switchauto" order="501"/>
      <feature submenu="CONTROLS" name="USE LEFT STICK AS DPAD" group="ADVANCED SETTINGS" value="pcsx2_stick_dpad" preset="switchauto" order="502"/>
      <feature submenu="CONTROLS" name="USE TRIGGERS TO BRAKE/ACCELERATE" group="ADVANCED SETTINGS" value="pcsx2_triggersdriving" description="Can be useful for Gran Turismo, triggers will be mapped to different buttons." order="503">
        <choice name="TRIGGERS AS SQUARE AND CROSS" value="square_cross"/>
        <choice name="TRIGGERS AS RIGHT STICK" value="righty"/>
        <choice name="TRIGGERS AS LEFT STICK" value="lefty"/>
      </feature>
      <feature submenu="CONTROLS" name="PRESSURE MODIFIER BUTTON" group="ADVANCED SETTINGS" value="pcsx2_pressure" description="Can be useful for Metal Gear, to simulate pressure sensitivity." order="504">
        <choice name="LEFT STICK" value="leftstick"/>
        <choice name="RIGHT STICK" value="rightstick"/>
      </feature>
      <feature submenu="CONTROLS" name="PRESSURE MODIFIER QUANTITY" group="ADVANCED SETTINGS" value="pcsx2_pressure_modifier" preset="sliderauto" preset-parameters="0.01 0.75 0.02 %" order="505"/>
      <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" group="ADVANCED SETTINGS" value="pcsx2_deadzone" preset="sliderauto" preset-parameters="0.00 0.50 0.02 %" order="510"/>
      <feature submenu="CONTROLS" name="ANALOG SENSITIVITY" group="ADVANCED SETTINGS" value="pcsx2_axisscale" preset="sliderauto" preset-parameters="0.50 1.50 0.05 %" order="511"/>
      <feature submenu="CONTROLS" name="RUMBLE STRENGTH" group="ADVANCED SETTINGS" value="pcsx2_rumble_strength" preset="sliderauto" preset-parameters="0.00 1.00 0.05 %" order="512"/>
      <feature submenu="CONTROLS" name="TRIGGERS DEADZONE" group="ADVANCED SETTINGS" value="pcsx2_trigger_deadzone" preset="sliderauto" preset-parameters="0.00 0.50 0.02 %" order="513"/>
      <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="revertXIndex" order="514"/>
      <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
      <feature submenu="GUNS" name="PLAYER 1 GUN PORT" group="ADVANCED SETTINGS" value="pcsx2_gun" order="551">
        <choice name="USB 1" value="USB1"/>
        <choice name="USB 2" value="USB2"/>
      </feature>
      <feature submenu="GUNS" name="GUNCON BUTTON MAPPING" group="ADVANCED SETTINGS" value="pcsx2_gunmapping" description="Define how to map the guncon2 buttons." order="552">
        <choice name="KB &amp; MOUSE (MOUSE MID\LEFT as START\A)" value="keyboard_middle"/>
        <choice name="KB (RETURN as START)" value="keyboard_return"/>
        <choice name="KB (VOL+ &amp; VOL- as A/B)" value="keyboard_volume"/>
        <choice name="GAMEPAD" value="controller"/>
      </feature>
      <feature submenu="GUNS" name="INVERT TRIGGER/RELOAD" group="ADVANCED SETTINGS" value="gun_invert" description="Activate this when using WiiZapper to invert trigger and reload buttons." preset="switchauto" order="553"/>
      <feature submenu="GUNS" name="CALIBRATION BUTTON" group="ADVANCED SETTINGS" value="gun_calibrate" description="By default, calibration is done with middle mouse button, this setting allows to set an alternative button for the calibration shot." order="554">
        <choice name="MIDDLE MOUSE" value="middle_mouse"/>
        <choice name="TRIGGER" value="trigger"/>
        <choice name="KEYBOARD LEFT SHIFT" value="leftshift"/>
        <choice name="GAMEPAD R1" value="gamepadr"/>
      </feature>
      <feature submenu="GUNS" name="CROSSHAIR" group="ADVANCED SETTINGS" value="pcsx2_crosshair" description="Place custom 'crosshair.png' file in 'cross' subfolder of the emulator or select file below." order="555">
        <choice name="NONE" value="disabled"/>
        <choice name="MOUSE CURSOR" value="mouse"/>
        <choice name="CUSTOM" value="custom"/>
      </feature>
      <feature submenu="GUNS" name="CUSTOM CROSSHAIR FILE" group="ADVANCED SETTINGS" value="pcsx2_crosshairpath" description="Use 'custom' crosshair to enable the crosshair file selected." preset="files" order="556"/>
      <feature submenu="GUNS" name="CUSTOM CROSSHAIR SIZE" value="pcsx2_crosshair_size" description="Values above 1.00 will increase size, values below will reduce." group="ADVANCED SETTINGS" preset="sliderauto" preset-parameters="0.01 2.00 0.05 %" order="557"/>
      <sharedFeature submenu="WHEELS" group="ADVANCED SETTINGS" value="use_wheel" order="600"/>
      <feature submenu="WHEELS" name="ENABLE FORCE FEEDBACK" group="ADVANCED SETTINGS" value="pcsx2_force_feedback" preset="switchauto" order="601"/>
      <feature submenu="WHEELS" name="WHEEL TYPE PLAYER 1" group="ADVANCED SETTINGS" value="pcsx2_wheeltype" order="602">
        <choice name="DRIVING FORCE" value="0"/>
        <choice name="DRIVING FORCE PRO" value="1"/>
        <choice name="DRIVING FORCE PRO(REV11.02)" value="2"/>
        <choice name="GT FORCE" value="3"/>
      </feature>
      <feature submenu="WHEELS" name="WHEEL TYPE PLAYER 2" group="ADVANCED SETTINGS" value="pcsx2_wheeltype2" order="603">
        <choice name="DRIVING FORCE" value="0"/>
        <choice name="DRIVING FORCE PRO" value="1"/>
        <choice name="DRIVING FORCE PRO(REV11.02)" value="2"/>
        <choice name="GT FORCE" value="3"/>
      </feature>
      <feature submenu="WHEELS" name="SIMULATE WHEEL WITH GAMEPAD" group="ADVANCED SETTINGS" value="pcsx2_emulatedwheel" preset="switchauto" order="604"/>
      <feature submenu="WHEELS" name="FORCE WHEEL 1 INDEX" group="ADVANCED SETTINGS" value="pcsx2_wheel1_index" description="Force wheel index, can be useful if RetroBat sets wrong index." order="605">
        <choice name="0" value="0"/>
        <choice name="1" value="1"/>
        <choice name="2" value="2"/>
        <choice name="3" value="3"/>
        <choice name="4" value="4"/>
        <choice name="5" value="5"/>
        <choice name="6" value="6"/>
        <choice name="7" value="7"/>
        <choice name="8" value="8"/>
      </feature>
      <feature submenu="WHEELS" name="FORCE WHEEL 2 INDEX" group="ADVANCED SETTINGS" value="pcsx2_wheel2_index" description="Force wheel index, can be useful if RetroBat sets wrong index." order="606">
        <choice name="0" value="0"/>
        <choice name="1" value="1"/>
        <choice name="2" value="2"/>
        <choice name="3" value="3"/>
        <choice name="4" value="4"/>
        <choice name="5" value="5"/>
        <choice name="6" value="6"/>
        <choice name="7" value="7"/>
        <choice name="8" value="8"/>
      </feature>
      <feature submenu="GAME FIXES" name="FPU MULTIPLY" group="ADVANCED SETTINGS" value="FpuMulHack" description="For Tales of Destiny." preset="switchauto" order="800"/>
      <feature submenu="GAME FIXES" name="SOFTWARE RENDERER FOR FMV" group="ADVANCED SETTINGS" value="SoftwareRendererFMVHack" preset="switchauto" order="801"/>
      <feature submenu="GAME FIXES" name="SKIP MPEG" group="ADVANCED SETTINGS" value="SkipMPEGHack" description="Skip videos/FMVs." preset="switchauto" order="802"/>
      <feature submenu="GAME FIXES" name="PRELOAD TLB" group="ADVANCED SETTINGS" value="GoemonTlbHack" description="For Goemon." preset="switchauto" order="803"/>
      <feature submenu="GAME FIXES" name="EE TIMING HACK" group="ADVANCED SETTINGS" value="EETimingHack" description="General purpose timing hack." preset="switchauto" order="804"/>
      <feature submenu="GAME FIXES" name="INSTANT DMA HACK" group="ADVANCED SETTINGS" value="InstantDMAHack" description="Good for cache emulation problems." preset="switchauto" order="805"/>
      <feature submenu="GAME FIXES" name="OPH FLAG HACK" group="ADVANCED SETTINGS" value="OPHFlagHack" description="For Bleach Blade Battlers." preset="switchauto" order="806"/>
      <feature submenu="GAME FIXES" name="EMULATE GIF FIFO" group="ADVANCED SETTINGS" value="GIFFIFOHack" description="Correct but slower." preset="switchauto" order="807"/>
      <feature submenu="GAME FIXES" name="DMA BUSY HACK" group="ADVANCED SETTINGS" value="DMABusyHack" description="Deny writes when busy." preset="switchauto" order="808"/>
      <feature submenu="GAME FIXES" name="DELAY VIF1 STALLS" group="ADVANCED SETTINGS" value="VIF1StallHack" description="For SOCOM 2 HUD/Spy Hunter." preset="switchauto" order="809"/>
      <feature submenu="GAME FIXES" name="EMULATE VIF FIFO" group="ADVANCED SETTINGS" value="VIFFIFOHack" description="Correct but slower." preset="switchauto" order="810"/>
      <feature submenu="GAME FIXES" name="VU I BIT HACK" group="ADVANCED SETTINGS" value="IbitHack" description="For Scarface The World is Yours and Crash Tag Team Racing." preset="switchauto" order="811"/>
      <feature submenu="GAME FIXES" name="VU ADD HACK" group="ADVANCED SETTINGS" value="VuAddSubHack" description="For Tri-Ace Games." preset="switchauto" order="812"/>
      <feature submenu="GAME FIXES" name="VU OVERFLOW HACK" group="ADVANCED SETTINGS" value="VUOverflowHack" description="For Superman Returns." preset="switchauto" order="813"/>
      <feature submenu="GAME FIXES" name="VU SYNC" group="ADVANCED SETTINGS" value="VUSyncHack" description="For Run Behind and M-bit Games." preset="switchauto" order="814"/>
      <feature submenu="GAME FIXES" name="VU XGKICK SYNC" group="ADVANCED SETTINGS" value="XgKickHack" description="Correct but slower." preset="switchauto" order="815"/>
      <feature submenu="GAME FIXES" name="FORCE BLIT INTERNAL FPS DETECTION" group="ADVANCED SETTINGS" value="BlitInternalFPSHack" description="When auto-detection fails." preset="switchauto" order="816"/>
    </core>
  </emulator>
  <emulator name="pcsx2-16">
    <feature name="SHADER SET" group="GENERAL SETTINGS" value="TVShader" order="5">
      <choice name="NO" value="0"/>
      <choice name="SCANLINES" value="1"/>
      <choice name="DIAGONAL FILTER" value="2"/>
      <choice name="TRIANGULAR FILTER" value="3"/>
      <choice name="WAVE FILTER" value="4"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ratio" order="25">
      <choice name="4/3" value="4:3"/>
      <choice name="16/9" value="16:9"/>
      <choice name="STRETCH" value="Stretch"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="VSync" order="30">
      <choice name="NO" value="0"/>
      <choice name="STANDARD" value="1"/>
      <choice name="ADAPTATIVE" value="2"/>
    </feature>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="internalresolution" order="20">
      <choice name="NATIVE (PS2)" value="1"/>
      <choice name="x2 (720p)" value="2"/>
      <choice name="x3 (1080p)" value="3"/>
      <choice name="x4 (1440p)" value="4"/>
      <choice name="x5" value="5"/>
      <choice name="x6 (4K)" value="6"/>
      <choice name="x8" value="8"/>
      <choice name="DESKTOP" value="0"/>
      <choice name="1024x1024 (SQUARE)" value="1024"/>
      <choice name="2048x2048 (SQUARE)" value="2048"/>
      <choice name="4096x4096 (SQUARE)" value="4096"/>
      <choice name="1366x768" value="768"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="EMULATION" name="FORCE BIOS" group="ADVANCED SETTINGS" value="lrps2_bios" description="Force the emulator to use a specific BIOS file." order="100">
      <choice name="USA 230" value="ps2-0230a-20080220.bin"/>
      <choice name="EUR 230" value="ps2-0230e-20080220.bin"/>
      <choice name="EUR 250" value="ps2-0250e-20100415.bin"/>
      <choice name="JAP 230" value="ps2-0230j-20080220.bin"/>
      <choice name="PS3 PS2 FIRMWARE" value="ps3_ps2_emu_bios.bin"/>
    </feature>
    <feature submenu="EMULATION" name="GRAPHICS PLUGINS" group="ADVANCED SETTINGS" value="gs_plugin" description="Select the graphics plugin used by the emulator. Depends on hardware compatibility." order="101">
      <choice name="AVX2" value="GSdx32-AVX2.dll"/>
      <choice name="SSE2" value="GSdx32-SSE2.dll"/>
      <choice name="SSE4" value="GSdx32-SSE4.dll"/>
    </feature>
    <feature submenu="EMULATION" name="MANUAL HACKS" group="ADVANCED SETTINGS" value="UserHacks" description="Enable manual hacks below, otherwise hacks will be apllied automatically." preset="switchauto" order="110"/>
    <feature submenu="EMULATION" name="LOWER GS PRECISION (HACK)" group="ADVANCED SETTINGS" value="Offset" description="Avoid gap between pixels when upscaling. Fix Wild Arms text, SoulCalibur ghosting." preset="switchauto" order="111"/>
    <feature submenu="EMULATION" name="HALF-SCREEN (HACK)" group="ADVANCED SETTINGS" value="UserHacks_Half_Bottom_Override" description="'Auto' will controls the half-screen fix detection on texture shuffling." order="113">
      <choice name="FORCE DISABLE (For Xenosaga games)" value="0"/>
      <choice name="FORCE ENABLE (If issues on Auto)" value="1"/>
    </feature>
    <feature submenu="EMULATION" name="HALF PIXEL OFFSET (HACK)" group="ADVANCED SETTINGS" value="UserHacks_HalfPixelOffset" description="Might fix some misaligned fog, bloom or blend effect." order="114">
      <choice name="NO" value="0"/>
      <choice name="NORMAL (VERTEX)" value="1"/>
      <choice name="SPECIAL (TEXTURE)" value="2"/>
      <choice name="SPECIAL (TEXTURE AGRESSIVE)" value="3"/>
    </feature>
    <feature submenu="EMULATION" name="ROUND SPRITE (HACK)" group="ADVANCED SETTINGS" value="UserHacks_round_sprite_offset" description="Correct the sampling of 2D sprite textures when upscaling." order="115">
      <choice name="NO" value="0"/>
      <choice name="HALF" value="1"/>
      <choice name="FULL" value="2"/>
    </feature>
    <feature submenu="EMULATION" name="ALIGN SPRITE (HACK)" group="ADVANCED SETTINGS" value="align_sprite" description="Fix issues with upscaling in Namco games (Ace Combat, Tekken, SoulCalibur...)." preset="switchauto" order="116"/>
    <feature submenu="EMULATION" name="MERGE SPRITE (HACK)" group="ADVANCED SETTINGS" value="UserHacks_merge_pp_sprite" description="Replaces post-processing multiple paving sprites by a single fat sprite." preset="switchauto" order="117"/>
    <feature submenu="EMULATION" name="TEXTURE OFFSETS (HACK)" group="ADVANCED SETTINGS" value="TextureOffsets" description="Offset for the ST/UV texture coordinates." order="118">
      <choice name="X:0500 Y:0500 (Persona 3, Haunting Ground)" value="1"/>
      <choice name="X:0000 Y:1000 (Xenosaga)" value="2"/>
    </feature>
    <feature submenu="EMULATION" name="SAFE FEATURES (HACK)" group="ADVANCED SETTINGS" value="UserHacks_Disable_Safe_Features" description="Disabling safe features can help various games such as Xenosaga, Kingdom Hearts..." preset="switchauto" order="119"/>
    <feature submenu="EMULATION" name="SKIPDRAW START (HACK)" group="ADVANCED SETTINGS" value="UserHacks_SkipDraw_Start" description="A shadows and colors fix needed for some games such as Tony Hawk Proving Ground." preset="sliderauto" preset-parameters="0 20 1" order="120"/>
    <feature submenu="EMULATION" name="SKIPDRAW END (HACK)" group="ADVANCED SETTINGS" value="UserHacks_SkipDraw_End" preset="sliderauto" preset-parameters="0 20 1" order="121"/>
    <feature submenu="EMULATION" name="CRC LEVEL (HACK)" group="ADVANCED SETTINGS" value="crc_hack_level" description="Controls the number of Auto-CRC fixes and hacks applied to games." order="122">
      <choice name="AGRESSIVE" value="4"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="renderer" description="Select which graphics API to use internally. Software mode disable graphics enhancements." order="400">
      <choice name="OPENGL (HARDWARE)" value="12"/>
      <choice name="DIRECTX 11 (HARDWARE)" value="3"/>
      <choice name="OPENGL (SOFTWARE)" value="13"/>
      <choice name="DIRECTX 11 (SOFTWARE)" value="4"/>
    </feature>
    <feature submenu="VIDEO" name="FMV RATIO" group="ADVANCED SETTINGS" value="fmv_ratio" description="Set the aspect ratio of the FMV cinematics." order="152">
      <choice name="4/3" value="4:3"/>
      <choice name="16/9" value="16:9"/>
    </feature>
    <feature submenu="VIDEO" name="DEINTERLACE" group="ADVANCED SETTINGS" value="interlace" description="Force the rendering and display of frames to progressive mode." preset="switchauto" order="153"/>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="fxaa" description="Set Anti Aliasing for rendered content." preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="LINEAR FILTERING" group="ADVANCED SETTINGS" value="bilinear_filtering" description="Use bilinear filtering when upscaling/downscaling the image to the screen." preset="switchauto" order="251"/>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="anisotropic_filtering" description="Enhance the quality of textures on surface." order="252">
      <choice name="NO" value="0"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
      <choice name="8x" value="8"/>
      <choice name="16x" value="16"/>
    </feature>
    <feature submenu="EMULATION" name="SKIP BIOS" group="ADVANCED SETTINGS" value="fullboot" description="Skips the BIOS boot animation displayed when loading content." preset="switchauto" order="113"/>
    <feature submenu="EMULATION" name="SPEED HACKS" group="ADVANCED SETTINGS" value="negdivhack" description="Significantly improves performances for CPU with 3+ cores." preset="switchauto" order="114"/>
    <feature submenu="USER INTERFACE" name="DRAW STATISTICS" group="ADVANCED SETTINGS" value="DrawFramerate" description="Enable monitoring." preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="NOTIFICATIONS" group="ADVANCED SETTINGS" value="Notifications" description="Show notifications." preset="switchauto" order="451"/>
  </emulator>
  <!-- PDARK -->
  <emulator name="pdark">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="VSYNC" group="GENERAL SETTINGS" value="pdark_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="pdark_texturefilter" description="Control the texture filtering of the emulation." order="250">
      <choice name="BILINEAR" value="1"/>
      <choice name="NEAREST NEIGHBOR" value="0"/>
      <choice name="THREE POINT" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="DETAIL TEXTURES" group="ADVANCED SETTINGS" value="pdark_detailtexture" preset="switchauto" order="251"/>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="pdark_region" order="100">
      <choice name="Europe" value="EUR"/>
      <choice name="USA" value="USA"/>
      <choice name="Japan" value="JPN"/>
    </feature>
    <feature submenu="CONTROLS" name="RUMBLE STRENGTH" group="ADVANCED SETTINGS" value="pdark_rumble" preset="sliderauto" preset-parameters="0 1 0.1 %" order="500"/>
  </emulator>
  <!-- PHOENIX -->
  <emulator name="phoenix">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="VSYNC" group="GENERAL SETTINGS" value="phoenix_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <sharedFeature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" value="smooth" order="250"/>
    <system name="3do">
      <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="phoenix_renderer" order="400">
        <choice name="SOFTWARE (APPROX)" value="0"/>
        <choice name="SOFTWARE (ORIGINAL)" value="1"/>
        <choice name="HARDWARE (EXPERIMENTAL)" value="2"/>
      </feature>
    </system>
    <feature submenu="CONTROLS" name="USE DPAD" group="ADVANCED SETTINGS" value="phoenix_dpad" preset="switchauto" order="500"/>
  </emulator>
  <!-- PICO8 -->
  <emulator name="pico8">
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
  </emulator>
  <!-- PINBALLFX -->
  <emulator name="pinballfx" features="padtokeyboard">
    <system name="pinballfx">
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
      <feature submenu="GAME OPTIONS" name="GAME MODE" group="ADVANCED SETTINGS" value="pinballfx_gamemode" order="100">
        <choice name="Classic" value="Classic"/>
        <choice name="Pro" value="Pro"/>
        <choice name="Practice" value="Practice"/>
        <choice name="Hotseat 2 Players" value="Hotseat_2"/>
        <choice name="Hotseat 3 Players" value="Hotseat_3"/>
        <choice name="Hotseat 4 Players" value="Hotseat_4"/>
        <choice name="1 ball challenge" value="Challenge_BallLimited"/>
        <choice name="5 minute time challenge" value="Challenge_TimeLimited"/>
        <choice name="Distance challenge" value="Challenge_DistanceLimited"/>
        <choice name="Flips challenge" value="Challenge_FlipLimited"/>
      </feature>
    </system>
    <system name="pinballfx3">
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
      <feature submenu="GAME OPTIONS" name="NUMBER OF PLAYERS" group="ADVANCED SETTINGS" value="pinballfx3_players" order="100">
        <choice name="1" value="1"/>
        <choice name="2" value="2"/>
        <choice name="3" value="3"/>
        <choice name="4" value="4"/>
      </feature>
      <feature submenu="GAME OPTIONS" name="CLASSIC MODE" group="ADVANCED SETTINGS" value="pinballfx3_classic" preset="switchauto" order="101"/>
      <feature submenu="GAME OPTIONS" name="OFFLINE MODE" group="ADVANCED SETTINGS" value="pinballfx3_offline" preset="switchauto" order="102"/>
    </system>
    <system name="pinballm">
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
      <feature submenu="GAME OPTIONS" name="GAME MODE" group="ADVANCED SETTINGS" value="pinballm_gamemode" order="100">
        <choice name="Classic" value="Classic"/>
        <choice name="Pro" value="Pro"/>
        <choice name="Practice" value="Practice"/>
        <choice name="Hotseat 2 Players" value="Hotseat_2"/>
        <choice name="Hotseat 3 Players" value="Hotseat_3"/>
        <choice name="Hotseat 4 Players" value="Hotseat_4"/>
        <choice name="1 ball challenge" value="Challenge_BallLimited"/>
        <choice name="5 minute time challenge" value="Challenge_TimeLimited"/>
        <choice name="Distance challenge" value="Challenge_DistanceLimited"/>
        <choice name="Flips challenge" value="Challenge_FlipLimited"/>
      </feature>
    </system>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="killsteam" order="110"/>
  </emulator>
  <!-- PLAY -->
  <emulator name="play">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="play_resolution" order="20">
      <choice name="NATIVE (480p)" value="1"/>
      <choice name="x2 (960p)" value="2"/>
      <choice name="x4 (1920p)" value="4"/>
      <choice name="x8 (4320p - 8K)" value="8"/>
      <choice name="x16 (7680p - 16K)" value="16"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="play_presentation" order="25">
      <choice name="FIT SCREEN" value="1"/>
      <choice name="STRETCH TO FILL" value="0"/>
      <choice name="ORIGINAL SIZE" value="2"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="play_widescreen" preset="switchauto" order="152"/>
    <feature submenu="EMULATION" name="THROTTLE" group="ADVANCED SETTINGS" value="play_limitframerate" preset="switchauto" order="100"/>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="play_language" order="101">
      <choice name="English" value="1"/>
      <choice name="Français" value="2"/>
      <choice name="日本語 (Japanese)" value="0"/>
      <choice name="Español" value="3"/>
      <choice name="Deutsch" value="4"/>
      <choice name="Italiano" value="5"/>
      <choice name="Nederlands" value="6"/>
      <choice name="Portugues" value="7"/>
      <choice name="Russian" value="8"/>
      <choice name="한국어 (Korean)" value="9"/>
      <choice name="簡化字 (Chinese - traditional)" value="10"/>
      <choice name="简化字 (Chinese - simplified)" value="11"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="play_renderer" order="400">
      <choice name="OPENGL" value="0"/>
      <choice name="VULKAN" value="1"/>
    </feature>
    <feature submenu="CONTROLS" name="DISABLE RUMBLE" group="ADVANCED SETTINGS" value="play_rumble" preset="switchauto" order="500"/>
  </emulator>
  <!-- POWER BOMBERMAN -->
  <emulator name="powerbomberman">
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="pb_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
  </emulator>
  <!-- PPSSPP -->
  <emulator name="ppsspp" features="cheevos">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="ppsspp_resolution" order="20">
      <choice name="NATIVE" value="1"/>
      <choice name="x2" value="2"/>
      <choice name="x3" value="3"/>
      <choice name="x4" value="4"/>
      <choice name="x5" value="5"/>
      <choice name="x6" value="6"/>
      <choice name="x7" value="7"/>
      <choice name="x8" value="8"/>
      <choice name="x9" value="9"/>
      <choice name="x10" value="10"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ppsspp_ratio" order="25">
      <choice name="16:9" value="1.000000"/>
      <choice name="4:3" value="0.750000"/>
      <choice name="1:1" value="0.562500"/>
      <choice name="STRETCH" value="stretch"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="ppsspp_vsync" preset="switchauto" order="30"/>
    <feature name="INTEGER SCALING" group="GENERAL SETTINGS" value="Integer_Scaling" preset="switchauto" order="35"/>
    <feature name="SHADER SET" group="GENERAL SETTINGS" value="ppsspp_shader" description="Select a shader to apply." order="5">
      <choice name="GLSL HQ x4" value="4xHqGLSL"/>
      <choice name="5xBR" value="5xBR"/>
      <choice name="5xBR-lv2" value="5xBR-lv2"/>
      <choice name="BEAD" value="Bead"/>
      <choice name="BEAD + PSP COLOR" value="Bead + PSP Color"/>
      <choice name="COLOR ANTIALIASING" value="AAColor"/>
      <choice name="BICUBIC UPSCALER" value="UpscaleBicubic"/>
      <choice name="BLOOM" value="Bloom"/>
      <choice name="BLOOM(NO BLUR)" value="BloomNoBlur"/>
      <choice name="CRT" value="CRT"/>
      <choice name="CARTOON" value="Cartoon"/>
      <choice name="COLOR CORRECTION" value="ColorCorrection"/>
      <choice name="DOT" value="Dot"/>
      <choice name="DOT + PSP COLOR" value="Dot + PSP Color"/>
      <choice name="FAKE REFLECTIONS" value="FakeReflections"/>
      <choice name="FXAA" value="FXAA"/>
      <choice name="LCD PERSISTENCE" value="LCDPersistence"/>
      <choice name="LCD1X SHARP" value="LCD1x Sharp"/>
      <choice name="LCD1X SHARP + PSP COLOR" value="LCD1x Sharp + PSP Color"/>
      <choice name="LCD3X" value="LCD3x"/>
      <choice name="LCD3X + PSP COLOR" value="LCD3x + PSP Color"/>
      <choice name="NATURAL COLORS" value="Natural"/>
      <choice name="NATURAL COLORS (NO BLUR)" value="NaturalA"/>
      <choice name="PSP COLOR" value="PSPColor"/>
      <choice name="SCANLINES" value="Scanlines"/>
      <choice name="SHARPEN" value="Sharpen"/>
      <choice name="UPSCALE SHARP BILINEAR" value="UpscaleSharpBilinear"/>
      <choice name="UPSCALE SPLINE36" value="UpscaleSpline36"/>
      <choice name="GAUSSIAN (SSAA)" value="SSAA(Gauss)"/>
      <choice name="VIDEO SMOOTHING AA" value="VideoSmoothingAA"/>
      <choice name="VIGNETTE" value="Vignette"/>
      <choice name="ZFAST LCD" value="zfast LCD"/>
      <choice name="ZFAST LCD + PSP COLOR" value="zfast LCD + PSP Color"/>
      <choice name="ZFAST LCD HD" value="zfast LCD HD"/>
      <choice name="ZFAST LCD HD + PSP COLOR" value="zfast LCD HD + PSP Color"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="retroachievements.hardcore" order="40"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="ppsspp_frame_skipping" description="Skip frames to improve performance (smoothless)." preset="sliderauto" preset-parameters="0 8 1" order="153"/>
    <feature submenu="VIDEO" name="FRAMESKIP TYPE" group="ADVANCED SETTINGS" value="ppsspp_frameskip_type" description="Type of Frame skipping." order="154">
      <choice name="NUMBER OF FRAMES" value="0"/>
      <choice name="AUTOMATIC" value="auto"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI ALIASING (MSAA)" group="ADVANCED SETTINGS" value="ppsspp_msaa" description="Set Multi-Sampled Anti Aliasing level for rendered content." order="250">
      <choice name="OFF" value="0"/>
      <choice name="2X" value="1"/>
      <choice name="4X" value="2"/>
      <choice name="8X" value="3"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="UPSCALE FILTER" group="ADVANCED SETTINGS" value="ppsspp_textureenhancement" description="Choose between various texture enhancement filters." order="251">
      <choice name="xBRZ" value="0"/>
      <choice name="Hybrid" value="1"/>
      <choice name="Bicubic" value="2"/>
      <choice name="Hybrid + Bicubic" value="3"/>
      <choice name="HARDWARE 2xBRZ (VULKAN ONLY)" value="Tex2xBRZ"/>
      <choice name="HARDWARE 4xBRZ (VULKAN ONLY)" value="Tex4xBRZ"/>
      <choice name="HARDWARE MMPX (VULKAN ONLY)" value="TexMMPX"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE UPSCALING" group="ADVANCED SETTINGS" value="ppsspp_textureenhancement_level" description="Choose level of textures scaling." preset="sliderauto" preset-parameters="1 5 1 x" order="252"/>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTER" group="ADVANCED SETTINGS" value="ppsspp_anisotropicfilter" description="Enhance the quality of textures on surface." order="253">
      <choice name="OFF" value="0"/>
      <choice name="2X" value="1"/>
      <choice name="4X" value="2"/>
      <choice name="8X" value="3"/>
      <choice name="16X" value="4"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="ppsspp_texture_filtering" description="Select texture filtering mode." order="254">
      <choice name="NEAREST NEIGHBOR" value="2"/>
      <choice name="LINEAR" value="3"/>
      <choice name="AUTO MAX QUALITY" value="4"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SMART 2D TEXTURE FILTER" group="ADVANCED SETTINGS" value="ppsspp_smart2d" description="Enhance the quality of 2D textures." preset="switchauto" order="255"/>
    <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="ppsspp_texture_replacement" description="Replace original textures with custom textures pack (\saves\psp\TEXTURES\%GAMEID%)." preset="switchauto" order="256"/>
    <feature submenu="VISUAL RENDERING" name="ENHANCE TEXTURES" group="ADVANCED SETTINGS" value="ppsspp_TexDeposterize" description="Fix the banding that might appear in upscaled textures." preset="switchauto" order="257"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="ppsspp_backend" order="400">
      <choice name="OPENGL" value="0 (OPENGL)"/>
      <choice name="DIRECT3D 11" value="2 (DIRECT3D11)"/>
      <choice name="VULKAN" value="3 (VULKAN)"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="ppsspp_lang" order="100">
      <choice name="English (US)" value="1"/>
      <choice name="Français" value="2"/>
      <choice name="Deutsch" value="4"/>
      <choice name="Español" value="3"/>
      <choice name="Italiano" value="5"/>
      <choice name="Nederlands" value="6"/>
      <choice name="Portugues" value="7"/>
      <choice name="日本語 (Japanese)" value="0"/>
      <choice name="简化字 (Chinese - simplified)" value="10"/>
      <choice name="簡化字 (Chinese - traditional)" value="11"/>
      <choice name="한국어 (Korean)" value="9"/>
      <choice name="Русский" value="8"/>
    </feature>
    <feature submenu="EMULATION" name="ENABLE CHEATS" group="ADVANCED SETTINGS" value="ppsspp_cheats" preset="switchauto" order="101"/>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="ppsspp_audiobackend" order="401">
      <choice name="DIRECTSOUND (compatible)" value="1"/>
      <choice name="WASAPI (fast)" value="2"/>
    </feature>
    <feature submenu="CONTROLS" name="USE MOUSE" group="ADVANCED SETTINGS" value="ppsspp_mouse" preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="USE O TO CONFIRM (EAST)" group="ADVANCED SETTINGS" value="ppsspp_confirmbutton" preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="FORCE CONTROLLER INDEX" group="ADVANCED SETTINGS" value="ppsspp_forceindex" order="502">
      <choice name="1" value="0"/>
      <choice name="2" value="1"/>
      <choice name="3" value="2"/>
      <choice name="4" value="3"/>
      <choice name="5" value="4"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
  </emulator>
  <!-- PROJECT64 -->
  <emulator name="project64">
    <feature name="SHADER SET" group="GENERAL SETTINGS" value="p64_shader" description="Efficient graphics filters improving the rendering of games." order="5">
      <choice name="NO" value="0"/>
      <choice name="STORE" value="1"/>
      <choice name="X2" value="2"/>
      <choice name="X2SAI" value="3"/>
      <choice name="HQ2X" value="4"/>
      <choice name="HQ2XS" value="5"/>
      <choice name="LQ2X" value="6"/>
      <choice name="LQ2XS" value="7"/>
      <choice name="HQ4X" value="8"/>
      <choice name="2XBRZ" value="9"/>
      <choice name="3XBRZ" value="10"/>
      <choice name="4XBRZ" value="11"/>
      <choice name="5XBRZ" value="12"/>
      <choice name="6XBRZ" value="13"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="p64_resolution" preset="sliderauto" preset-parameters="0 16 1 x" order="20"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="p64_ratio" order="25">
      <choice name="4:3" value="1"/>
      <choice name="16:9" value="2"/>
      <choice name="TRY TO ADJUST GAME TO FIT" value="3"/>
      <choice name="STRETCH" value="0"/>
    </feature>
    <feature group="GENERAL SETTINGS" name="VSYNC" value="p64_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="THREADED VIDEO" value="p64_threadedvideo" preset="switchauto" order="152"/>
    <feature submenu="VIDEO" group="ADVANCED SETTINGS" name="ENABLE CUSTOM PER-GAME SETTING" value="p64_videocustom" description="Enable this to use your owned Project64 per-game settings." preset="switchauto" order="153"/>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="p64_antialiasing" description="Set Anti Aliasing for rendered content." order="250">
      <choice name="NONE" value="none"/>
      <choice name="FXAA" value="fxaa"/>
      <choice name="2X MSAA" value="msaa2"/>
      <choice name="4X MSAA" value="msaa4"/>
      <choice name="8X MSAA" value="msaa8"/>
      <choice name="16X MSAA" value="msaa16"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="p64_anisotropy" preset="sliderauto" preset-parameters="0 16 1 x" order="251"/>
    <feature submenu="VISUAL RENDERING" name="BILINEAR FILTERING MODE" group="ADVANCED SETTINGS" value="p64_bilinear" description="Select a bilinear filtering method." order="252">
      <choice name="STANDARD" value="1"/>
      <choice name="3 POINT (ORIGINAL)" value="0"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="RENDER 2D ELEMENTS IN N64 RESOLUTION" group="ADVANCED SETTINGS" value="p64_nativerestexrects" order="253">
      <choice name="DISABLE" value="0"/>
      <choice name="ENABLE (OPTIMIZED)" value="1"/>
      <choice name="ENABLE (UNOPTIMIZED)" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="FIX BLACK LINES BETWEEN 2D ELEMENTS" group="ADVANCED SETTINGS" value="p64_correcttexrectcoords" order="254">
      <choice name="NEVER" value="0"/>
      <choice name="ALWAYS" value="2"/>
      <choice name="FOR ADJACENT 2D ELEMENTS" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="p64_texture_filter" description="Select texture filtering mode." order="255">
      <choice name="NO" value="0"/>
      <choice name="Smooth 1" value="1"/>
      <choice name="Smooth 2" value="2"/>
      <choice name="Smooth 3" value="3"/>
      <choice name="Smooth 4" value="4"/>
      <choice name="Sharp 1" value="5"/>
      <choice name="Sharp 2" value="6"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="CUSTOM TEXTURES" group="ADVANCED SETTINGS" value="p64_custom_textures" description="Replace original textures with custom textures pack." preset="switchauto" order="260"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
    <feature submenu="DRIVERS" name="USE RAPHNET ADAPTER" group="ADVANCED SETTINGS" value="p64_raphnet" preset="switchauto" order="400"/>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P1" value="mupen64_inputprofile1" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="500">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P2" value="mupen64_inputprofile2" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="501">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P3" value="mupen64_inputprofile3" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="502">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P4" value="mupen64_inputprofile4" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="503">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" value="p64_deadzone" group="ADVANCED SETTINGS" preset="sliderauto" preset-parameters="0 50 2 %" order="510"/>
    <feature submenu="USER INTERFACE" name="SHOW PERFORMANCE STATISTICS" value="p64_perfstats" group="ADVANCED SETTINGS" description="Display different levels of informations about statistics of performance." order="450">
      <choice name="OFF" value="off"/>
      <choice name="FPS ONLY" value="fps"/>
      <choice name="STATISTICS" value="all"/>
    </feature>
  </emulator>
  <!-- PSXMAME -->
  <emulator name="psxmame">
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="psxmame_frameskipping" description="Skip frames to improve performance (smoothless)." preset="switchauto" order="153"/>
    <feature submenu="VIDEO" name="RUN IN A WINDOW" group="ADVANCED SETTINGS" value="psxmame_window" preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="GPU RENDERING PLUGIN" group="ADVANCED SETTINGS" value="psxmame_gpu_plugin" description="Select the GPU plugin, RetroBat options will not work on non-default plugin, they can be configured from emulators folder with config.exe." order="155">
      <choice name="OPENGL (default)" value="ogl_renderer.znc"/>
      <choice name="D3D" value="d3d_renderer.znc"/>
      <choice name="PETE OPENGL 2" value="gpuPeteOpenGL2.dll"/>
      <choice name="BLADESOFT" value="gpuBladeSoft-1.64.dll"/>
      <choice name="PEOPS OPENGL" value="gpuPeopsOpenGL.dll"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="psxmame_antialiasing" description="Enable antialiasing, smooth polygons edges." preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="ENABLE SCANLINES" group="ADVANCED SETTINGS" value="psxmame_scanlines" order="251">
      <choice name="NO" value="0"/>
      <choice name="BLACK SCANLINES" value="1"/>
      <choice name="BRIGHT SCANLINES" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="psxmame_depth32" order="252">
      <choice name="32 BITS" value="1"/>
      <choice name="16 BITS" value="0"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTERING" group="ADVANCED SETTINGS" value="psxmame_filtering" description="Can cause glitches." order="253">
      <choice name="NO" value="0"/>
      <choice name="LOW" value="1"/>
      <choice name="MEDIUM" value="2"/>
      <choice name="HIGH" value="3"/>
    </feature>
    <feature submenu="AUDIO" name="SAMPLE RATE" group="ADVANCED SETTINGS" value="psxmame_samplerate" order="300">
      <choice name="48000" value="48000"/>
      <choice name="44100" value="44100"/>
      <choice name="22050" value="22050"/>
      <choice name="11025" value="11025"/>
    </feature>
    <feature submenu="USER INTERFACE" name="DISPLAY FPS" value="psxmame_fps" group="ADVANCED SETTINGS" description="Show FPS overlay in-game." preset="switchauto" order="450"/>
    <feature submenu="EMULATION" name="THROTTLE" group="ADVANCED SETTINGS" value="psxmame_throttle" description="Default is ON, use this setting to remove the 60hz limit, might break games." preset="switchauto" order="100"/>
    <feature submenu="EMULATION" name="ENABLE CHEATS" group="ADVANCED SETTINGS" value="psxmame_cheats" description="Cheats need to be placed in 'cheats\psxmame' folder." preset="switchauto" order="101"/>
    <feature submenu="EMULATION" name="SLEEP WHEN POSSIBLE" group="ADVANCED SETTINGS" value="psxmame_sleep" description="Default ON." preset="switchauto" order="102"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="psxmame_video" order="400">
      <choice name="GDI" value="gdi"/>
      <choice name="DIRECT DRAW" value="ddraw"/>
      <choice name="DIRECT 3D" value="d3d"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER PROFILE" group="ADVANCED SETTINGS" value="psxmame_controller_configmode" description="Select 'game specific' to use game specific cfg file located in emulators\psxmame\ctrlr folder." order="500">
      <choice name="RETROBAT AUTO" value="retrobat_auto"/>
      <choice name="GAME SPECIFIC" value="per_game"/>
    </feature>
    <feature submenu="CONTROLS" name="ANALOG TO D-PAD" group="ADVANCED SETTINGS" value="psxmame_analog_to_dpad" description="Use left stick as d-pad." preset="switchauto" order="501"/>
  </emulator>
  <!-- RAINE -->
  <emulator name="raine">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <!--<feature name="SHADER SET" group="GENERAL SETTINGS" value="raine_shader" description="Efficient graphics filters improving the rendering of games." order="6">
      <choice name="NO" value="None"/>
      <choice name="CRT INTERLACED" value="\shaders\CRT-interlaced.shader"/>
      <choice name="CRT" value="\shaders\CRT.shader"/>
      <choice name="CURVATURE" value="\shaders\Curvature.shader"/>
      <choice name="HQ 2X" value="\shaders\HQ2x.OpenGL.shader"/>
      <choice name="INTEGER SCALE" value="\shaders\Integer-Scale.OpenGL.shader"/>
      <choice name="NTSC" value="\shaders\NTSC.shader"/>
      <choice name="PHOSPHORE" value="\shaders\Phosphor-simple.shader"/>
      <choice name="PIXELLATE SCANLINE" value="\shaders\Pixellate-scanlines.shader"/>
      <choice name="PIXELLATE" value="\shaders\Pixellate.OpenGL.shader"/>
      <choice name="SABR" value="\shaders\SABR.shader"/>
      <choice name="SCALE 2X" value="\shaders\Scale2x.OpenGL.shader"/>
      <choice name="SCALE 4X" value="\shaders\Scale4xHQ.shader"/>
      <choice name="SCANLINE 3X" value="\shaders\scanline-3x.shader"/>
      <choice name="SCANLINE 4X" value="\shaders\scanline-4x.shader"/>
    </feature>-->
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="raine_ratio" description="Fit to the original ratio of the game." order="25">
      <choice name="NO" value="0"/>
      <choice name="CLOSE TO 4:3" value="1"/>
      <choice name="ALWAYS ROUND TO 4:3" value="2"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="KEEP ASPECT RATIO" group="ADVANCED SETTINGS" value="raine_keep_ratio" preset="switchauto" order="152"/>
    <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="raine_rotate" order="153">
      <choice name="Normal" value="0"/>
      <choice name="90°" value="1"/>
      <choice name="180°" value="2"/>
      <choice name="270°" value="3"/>
    </feature>
    <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="raine_frame_skip" description="Skip frames to improve performance (smoothless)." preset="sliderauto" preset-parameters="0 9 1" order="154"/>
    <feature submenu="VISUAL RENDERING" name="RENDERER" group="ADVANCED SETTINGS" value="raine_render" order="250">
      <choice name="TEXTURE" value="1"/>
      <choice name="DRAWPIXELS°" value="0"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="raine_filter" order="251">
      <choice name="NEAREST NEIGHBOR" value="9728"/>
      <choice name="LINEAR°" value="9729"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="DOUBLE BUFFERING" group="ADVANCED SETTINGS" value="raine_doublebuffer" order="252">
      <choice name="ADAPTATIVE" value="1"/>
      <choice name="NO" value="0"/>
      <choice name="FORCED" value="2"/>
    </feature>
    <feature submenu="AUDIO" name="SAMPLE RATE" group="ADVANCED SETTINGS" value="raine_sample_rate" order="300">
      <choice name="44100" value="44100"/>
      <choice name="48000" value="48000"/>
      <choice name="22050" value="22050"/>
      <choice name="11025" value="11025"/>
    </feature>
    <system name="neogeo">
      <feature submenu="EMULATION" name="BIOS" group="ADVANCED SETTINGS" value="raine_bios" description="The Neo Geo bios used by the emulator. UNIVERSE BIOS generally offer the best compatibility." order="110">
        <choice name="UNIVERSE BIOS V3.2" value="25"/>
        <choice name="UNIVERSE BIOS V3.3" value="26"/>
        <choice name="UNIVERSE BIOS V4.0" value="27"/>
        <choice name="EUROPE MVS V2" value="0"/>
        <choice name="EUROPE MVS V1" value="1"/>
        <choice name="US MVS V2" value="2"/>
        <choice name="US MVS V1" value="3"/>
        <choice name="ASIA MVS V3" value="4"/>
        <choice name="JAPAN MVS V3" value="5"/>
        <choice name="JAPAN MVS V2" value="6"/>
        <choice name="NEO-MVH MV1C" value="8"/>
        <choice name="ASIA AES" value="22"/>
        <choice name="JAPAN AES" value="23"/>
      </feature>
    </system>
    <system name="neogeomvs">
      <feature submenu="EMULATION" name="BIOS" group="ADVANCED SETTINGS" value="raine_bios" description="The Neo Geo bios used by the emulator. UNIVERSE BIOS generally offer the best compatibility." order="110">
        <choice name="UNIVERSE BIOS V3.2" value="25"/>
        <choice name="UNIVERSE BIOS V3.3" value="26"/>
        <choice name="UNIVERSE BIOS V4.0" value="27"/>
        <choice name="EUROPE MVS V2" value="0"/>
        <choice name="EUROPE MVS V1" value="1"/>
        <choice name="US MVS V2" value="2"/>
        <choice name="US MVS V1" value="3"/>
        <choice name="ASIA MVS V3" value="4"/>
        <choice name="JAPAN MVS V3" value="5"/>
        <choice name="JAPAN MVS V2" value="6"/>
        <choice name="NEO-MVH MV1C" value="8"/>
      </feature>
    </system>
    <system name="neogeocd">
      <feature submenu="AUDIO" name="CD MUSIC VOLUME" group="ADVANCED SETTINGS" value="raine_music_volume" description="Ajusts the volume of the music track." preset="slider" preset-parameters="0 200 10" order="310"/>
      <feature submenu="AUDIO" name="CD SFX VOLUME" group="ADVANCED SETTINGS" value="raine_sfx_volume" description="Ajusts the volume of the sound effects." preset="slider" preset-parameters="0 200 10" order="311"/>
      <feature submenu="EMULATION" name="IMPROVE CD LOADING SPEED" group="ADVANCED SETTINGS" value="raine_cd_speed" description="Improves the data loading speed." order="110">
        <choice name="NO" value="0"/>
        <choice name="1X" value="1"/>
        <choice name="2X" value="2"/>
        <choice name="4X" value="4"/>
        <choice name="8X" value="8"/>
        <choice name="16X" value="16"/>
        <choice name="32X" value="32"/>
        <choice name="48X" value="48"/>
      </feature>
    </system>
    <feature submenu="EMULATION" name="THROTTLE" group="ADVANCED SETTINGS" value="raine_throttle" description="Default is ON, use this setting to remove the 60hz limit, might break games." preset="switchauto" order="120"/>
    <feature submenu="EMULATION" name="PERFORMANCE MODE" group="ADVANCED SETTINGS" value="raine_speed_hack" description="Improves the emulation performance at the cost of accuracy." preset="switchauto" order="121"/>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="raine_showfps" preset="switchauto" order="450"/>
    <feature submenu="CONTROLS" name="USE HAT AND STICK" group="ADVANCED SETTINGS" value="raine_hat_for_moves" description="Use hat for movement in addition to joystick." preset="switchauto" order="500"/>
  </emulator>
  <!-- RAZE -->
  <emulator name="raze" features="padtokeyboard">
  <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="raze_scalemode" order="20">
      <choice name="NORMAL" value="0"/>
      <choice name="LOWEST POSSIBLE SCALE" value="1"/>
      <choice name="320x200" value="6"/>
      <choice name="640x400" value="2"/>
      <choice name="960x600" value="3"/>
      <choice name="1280x800" value="4"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="raze_ratio" order="25">
      <choice name="4/3" value="3"/>
      <choice name="16/10" value="2"/>
      <choice name="16/9" value="1"/>
      <choice name="17/10" value="5"/>
      <choice name="5/4" value="4"/>
      <choice name="21/9" value="6"/>
    </feature>
    <feature group="GENERAL SETTINGS" name="VSYNC" value="raze_vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="152"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="enable_hdr" order="153"/>
    <feature submenu="VISUAL RENDERING" name="STRETCH TO SCREEN" group="ADVANCED SETTINGS" value="raze_cropaspect" preset="switchauto" order="150"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="raze_texture_filter" description="Control the texture filtering of the emulation." order="151">
      <choice name="NONE" value="0"/>
      <choice name="LINEAR" value="2"/>
      <choice name="BILINEAR" value="3"/>
      <choice name="TRILINEAR" value="4"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="raze_anisotropic_filtering" description="Enhance the quality of textures on surface." order="152">
      <choice name="NO" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
      <choice name="8x" value="8"/>
      <choice name="16x" value="16"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="MULTISAMPLE" group="ADVANCED SETTINGS" value="raze_msaa" order="153">
      <choice name="NO" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
      <choice name="8x" value="8"/>
      <choice name="16x" value="16"/>
      <choice name="32x" value="32"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="FXAA" group="ADVANCED SETTINGS" value="raze_fxaa" order="154">
      <choice name="NONE" value="0"/>
      <choice name="LOW" value="1"/>
      <choice name="MEDIUM" value="2"/>
      <choice name="HIGH" value="3"/>
      <choice name="EXTREME" value="4"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="raze_renderer" order="400">
      <choice name="OPENGL" value="0"/>
      <choice name="VULKAN" value="1"/>
      <choice name="OPENGL ES" value="2"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO (MIDI DEVICE)" group="ADVANCED SETTINGS" value="raze_mididevice" order="401">
      <choice name="FLUIDSYNTH" value="-5"/>
      <choice name="MS GS WAVETABLE SYNTH" value="0"/>
    </feature>
    <feature submenu="CONTROLS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="raze_crosshair" order="500">
      <choice name="OFF" value="off"/>
      <choice name="STANDARD" value="0"/>
      <choice name="CROSS 1" value="1"/>
      <choice name="CROSS 2" value="2"/>
      <choice name="X" value="3"/>
      <choice name="CIRCLE" value="4"/>
      <choice name="ANGLE" value="5"/>
      <choice name="TRIANGLE" value="6"/>
      <choice name="DOT" value="7"/>
    </feature>
  </emulator>
  <!-- REDREAM -->
  <emulator name="redream">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="VSYNC" group="GENERAL SETTINGS" value="redream_vsync" preset="switchauto" order="30"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="redream_aspect" order="25">
      <choice name="4/3" value="4:3"/>
      <choice name="16/9" value="16:9"/>
      <choice name="stretch" value="stretch"/>
    </feature>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="redream_res" description="Requires a Redream key." order="20">
      <choice name="1X (NATIVE)" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="EMULATED CABLE TYPE" group="ADVANCED SETTINGS" value="redream_cable" description="Apply a video filter to mimic various signals." order="152">
      <choice name="TV (RGB)" value="rgb"/>
      <choice name="COMPOSITE" value="composite"/>
      <choice name="VGA" value="vga"/>
    </feature>
    <feature submenu="VIDEO" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="redream_broadcast" description="Select a video format for output." order="153">
      <choice name="NTSC" value="ntsc"/>
      <choice name="PAL (WORLD)" value="pal"/>
      <choice name="PAL-N (ARGENTINA, URUGUAY, PARAGUAY)" value="pal_n"/>
      <choice name="PAL-M (BRAZIL)" value="pal_m"/>
    </feature>
    <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="redream_frameskip" description="Skip frames to improve performance (smoothless)." preset="switchauto" order="154"/>
    <feature submenu="VISUAL RENDERING" name="ALPHA SORTING" group="ADVANCED SETTINGS" value="redream_alpha_sorting" description="Enhance graphics accuracy at the cost of inscreased performance requirements." order="250">
      <choice name="per-strip (fast, least accurate)" value="0"/>
      <choice name="per-pixel (32)" value="32"/>
      <choice name="per-pixel (64)" value="64"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="redream_language" order="100">
      <choice name="English" value="english"/>
      <choice name="Deutsch" value="german"/>
      <choice name="Español" value="spanish"/>
      <choice name="Français" value="french"/>
      <choice name="Italiano" value="italian"/>
      <choice name="日本語 (Japanese)" value="japanese"/>
    </feature>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="redream_region" order="101">
      <choice name="Japan" value="japan"/>
      <choice name="USA" value="usa"/>
      <choice name="Europe" value="europe"/>
    </feature>
    <feature submenu="EMULATION" name="M3U DISC NUMBER" group="ADVANCED SETTINGS" value="dreamcast_m3uindex" order="102">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
    </feature>
    <feature submenu="CONTROLS" name="USE REDREAM CONTROLLER CONFIGURATION" group="ADVANCED SETTINGS" value="redream_controller_autoconfig" preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="USE R1 AND L1" group="ADVANCED SETTINGS" value="dreamcast_use_shoulders" description="Use shoulder buttons instead of triggers." preset="switchauto" order="501"/>
  </emulator>
  <!-- RPCS3 -->
  <emulator name="rpcs3" features="padtokeyboard">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="rpcs3_internal_resolution" order="20">
      <choice name="NATIVE (1280x720)" value="100"/>
      <choice name="0.5X (640x360)" value="50"/>
      <choice name="0.75X (960x540)" value="75"/>
      <choice name="1.25X (1600x900)" value="125"/>
      <choice name="1.5X (1920x1080)" value="150"/>
      <choice name="2X (2560x1440)" value="200"/>
      <choice name="3X (3840x2160)" value="300"/>
      <choice name="4X (5120x2880)" value="400"/>
      <choice name="6X (7680x4320)" value="600"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="rpcs3_ratio" description="Leave this on 16:9 unless you have a 4:3 monitor." order="25">
      <choice name="16/9" value="16:9"/>
      <choice name="4/3" value="4:3"/>
    </feature>
    <feature name="VSYNC" group="GENERAL SETTINGS" value="rpcs3_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="152"/>
    <feature submenu="VIDEO" name="FULLSCREEN MODE" group="ADVANCED SETTINGS" value="rpcs3_fullscreen_mode" order="153">
      <choice name="BORDERLESS" value="Disable"/>
      <choice name="EXCLUSIVE" value="Enable"/>
    </feature>
    <feature submenu="VIDEO" name="RESOLUTION SCALE THRESHOLD" group="ADVANCED SETTINGS" value="rpcs3_resolution_scale" description="Only framebuffer greater than this size will be upscaled, can fix some issues in certain games." preset="sliderauto" preset-parameters="1 1024 1" order="154"/>
    <feature submenu="VIDEO" name="FRAMELIMIT" group="ADVANCED SETTINGS" value="framelimit" description="Only use framelimiter if a game runs too fast without it. Some games may crash if the framerate is too high. If that happens, set value to anything other than Off." order="155">
      <choice name="NATIVE" value="PS3 Native"/>
      <choice name="AS DISPLAY" value="Display"/>
      <choice name="50" value="50"/>
      <choice name="60" value="60"/>
      <choice name="120" value="120"/>
      <choice name="30" value="30"/>
      <choice name="INFINITE" value="Infinite"/>
      <choice name="OFF" value="Off"/>
    </feature>
    <feature submenu="VIDEO" name="SHADERS COMPILATION METHOD" group="ADVANCED SETTINGS" value="shadermode" order="156">
      <choice name="ASYNC (MULTI THREADED)" value="Async Shader Recompiler"/>
      <choice name="LEGACY (SINGLE THREADED)" value="Shader Recompiler"/>
      <choice name="ASYNC WITH INTERPRETER" value="Async with Shader Interpreter"/>
    </feature>
    <feature submenu="VIDEO" name="SHADER QUALITY" group="ADVANCED SETTINGS" value="shader_quality" description="Low shader quality can improve performance but cause glitches." order="157">
      <choice name="HIGH" value="High"/>
      <choice name="ULTRA" value="Ultra"/>
      <choice name="LOW" value="Low"/>
    </feature>
    <feature submenu="VIDEO" name="ZCULL ACCURACY" group="ADVANCED SETTINGS" value="zcull_accuracy" description="Precise is the most accurate and relaxed can increase performance but break some games." order="158">
      <choice name="PRECISE" value="Precise"/>
      <choice name="APPROXIMATE" value="Approximate"/>
      <choice name="RELAXED" value="Relaxed"/>
    </feature>
    <feature submenu="VIDEO" name="WRITE COLOR BUFFERS" group="ADVANCED SETTINGS" value="writecolorbuffers" description="Enable this option if you get missing graphics or broken lighting ingame." preset="switchauto" order="159"/>
    <feature submenu="VIDEO" name="WRITE DEPTH BUFFERS" group="ADVANCED SETTINGS" value="writedepthbuffers" description="Writes depth buffer values to vm memory. Default off." preset="switchauto" order="160"/>
    <feature submenu="VIDEO" name="READ COLOR BUFFERS" group="ADVANCED SETTINGS" value="readcolorbuffers" description="Initializes render target memory using vm memory. Default off." preset="switchauto" order="161"/>
    <feature submenu="VIDEO" name="READ DEPTH BUFFERS" group="ADVANCED SETTINGS" value="readdepthbuffers" description="Initializes render target memory using vm memory. Default off." preset="switchauto" order="162"/>
    <feature submenu="VIDEO" name="FORCE CPU BLIT EMULATION" group="ADVANCED SETTINGS" value="cpu_blit" description="Forces emulation of blit and image manipulation on the CPU, more accurate in some cases and required for games like GT6." preset="switchauto" order="163"/>
    <feature submenu="VIDEO" name="DISABLE ZCULL OCCLUSION QUERIES" group="ADVANCED SETTINGS" value="disable_zcull_queries" description="Performance boost, can also bring stability for some games like GT6." preset="switchauto" order="164"/>
    <feature submenu="VIDEO" name="DRIVER WAKE-UP DELAY" group="ADVANCED SETTINGS" value="driver_wake" description="Change this setting when encountering unstable games. The higher value, the better stability it may provide. 200μs and 400μs are generally good for most games." preset="sliderauto" preset-parameters="0 800 10 μs" order="165"/>
    <feature submenu="VISUAL RENDERING" name="SCALING FILTER" group="ADVANCED SETTINGS" value="rpcs3_scaling_filter" description="Set scaling filter for rendered content." order="250">
      <choice name="Bilinear" value="Bilinear"/>
      <choice name="Nearest Neighbor" value="Nearest"/>
      <choice name="AMD's FidelityFX Super Resolution" value="FidelityFX Super Resolution"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="msaa" description="Emulates PS3 multisampling layout. Can fix some visual artifacts in some games." preset="switchauto" order="251"/>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="anisotropicfilter" description="Modern GPUs can handle this setting fine, even at 16x. Keep this on Auto if you want to use the original settings used by a real PS3." order="252">
      <choice name="AUTO" value="0"/>
      <choice name="2X" value="2"/>
      <choice name="4X" value="4"/>
      <choice name="8X" value="8"/>
      <choice name="16X" value="16"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="STRETCH TO SCREEN" group="ADVANCED SETTINGS" value="stretchtodisplay" description="Overrides the aspect ratio and stretches the image to the full display area. Useful for games that have an ultrawide (21:9 or 32:9) patch available." preset="switchauto" order="253"/>
    <feature submenu="VISUAL RENDERING" name="STRICT RENDERING MODE" group="ADVANCED SETTINGS" value="strict_rendering" description="Enforces strict compliance to the API specification. Might result in degraded performance in some games. Can resolve rare cases of missing graphics and flickering." preset="switchauto" order="254"/>
    <feature submenu="VISUAL RENDERING" name="DISABLE VERTEX CACHE" group="ADVANCED SETTINGS" value="disablevertex" description="Disables the vertex cache. Might resolve missing or flickering graphics output. May degrade performance." preset="switchauto" order="255"/>
    <feature submenu="VISUAL RENDERING" name="MULTITHREADED RSX" group="ADVANCED SETTINGS" value="multithreadedrsx" description="May improve performance for some high-core processors. May cause slowdown in some situations due to the extra worker thread load." preset="switchauto" order="256"/>
    <feature submenu="VISUAL RENDERING" name="ENABLE 3D" group="ADVANCED SETTINGS" value="enable3d" order="257">
      <choice name="NO" value="Disabled"/>
      <choice name="ANAGLYPH RED GREEN" value="Anaglyph Red-Green"/>
      <choice name="ANAGLYPH RED BLUE" value="Anaglyph Red-Blue"/>
      <choice name="ANAGLYPH RED CYAN" value="Anaglyph Red-Cyan"/>
      <choice name="ANAGLYPH MAGENTA CYAN" value="Anaglyph Magenta-Cyan"/>
      <choice name="ANAGLYPH TRIOSCOPIC" value="Anaglyph Trioscopic"/>
      <choice name="ANAGLYPH AMBER BLUE" value="Anaglyph Amber-Blue"/>
      <choice name="SIDE BY SIDE" value="Side-by-Side"/>
      <choice name="OVER-UNDER" value="Over-Under"/>
      <choice name="INTERLACED" value="Interlaced"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ASYNCHRONOUS TEXTURE STREAMING" group="ADVANCED SETTINGS" value="asynctexturestream" description="Can improve performance on more powerful GPUs that have spare headroom. Only works with Vulkan renderer." preset="switchauto" order="258"/>
    <feature submenu="AUDIO" name="AUDIO CHANNELS" group="ADVANCED SETTINGS" value="audiochannels" description="Configure this setting if you want to switch between stereo and surround sound." order="300">
      <choice name="STEREO" value="Stereo"/>
      <choice name="SURROUND 5.1" value="Surround 5.1"/>
      <choice name="SURROUND 7.1" value="Surround 7.1"/>
    </feature>
    <feature submenu="AUDIO" name="TIME STRETCHING" group="ADVANCED SETTINGS" value="time_stretching" description="Reduces crackle and stutter, but may cause a very noticeable reduction in audio quality on slower CPUs, leave AUTO to disable." order="301">
      <choice name="LOW" value="low"/>
      <choice name="MEDIUM" value="medium"/>
      <choice name="HIGH" value="high"/>
    </feature>
    <feature submenu="AUDIO" name="ENABLE AUDIO BUFFER" group="ADVANCED SETTINGS" value="audio_buffering" preset="switchauto" order="302"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="gfxbackend" description="Select which graphics API to use internally." order="400">
      <choice name="VULKAN" value="Vulkan"/>
      <choice name="OPENGL" value="OpenGL"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="audiobackend" order="401">
      <choice name="CUBEB" value="Cubeb"/>
      <choice name="XAUDIO2" value="XAudio2"/>
    </feature>
    <feature submenu="DRIVERS" name="FORCE SDL DRIVER FOR GAMEPAD" group="ADVANCED SETTINGS" value="rpcs3_forceSDL" description="Can fix some issues with XBOX controllers." preset="switchauto" order="403"/>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="ps3_region" description="Force the region of the system." order="100">
      <choice name="AMERICA" value="SCEA"/>
      <choice name="CHINA" value="SCH"/>
      <choice name="EUROPE" value="SCEE"/>
      <choice name="JAPAN" value="SCEJ"/>
      <choice name="KOREA" value="SCEK"/>
      <choice name="SOUTHEAST ASIA" value="SCEH"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="ps3_language" order="101">
      <choice name="English (US)" value="English (US)"/>
      <choice name="Français" value="French"/>
      <choice name="Deutsch" value="German"/>
      <choice name="Español" value="Spanish"/>
      <choice name="Italiano" value="Italian"/>
      <choice name="Nederlands" value="Dutch"/>
      <choice name="Polski" value="Polish"/>
      <choice name="Portugues" value="Portuguese (Portugal)"/>
      <choice name="Portugues do Brasil" value="Portuguese (Brazil)"/>
      <choice name="日本語 (Japanese)" value="Japanese"/>
      <choice name="简化字 (Chinese - simplified)" value="Chinese (Simplified)"/>
      <choice name="簡化字 (Chinese - traditional)" value="Chinese (Traditional)"/>
      <choice name="한국어 (Korean)" value="Korean"/>
      <choice name="English (UK)" value="English (UK)"/>
      <choice name="Dansk" value="Danish"/>
      <choice name="Suomalainen" value="Finnish"/>
      <choice name="Svenska" value="Swedish"/>
      <choice name="Norsk" value="Norwegian"/>
      <choice name="Türkçe" value="Turkish"/>
      <choice name="Русский" value="Russian"/>
    </feature>
    <feature submenu="EMULATION" name="PPU DECODER" group="ADVANCED SETTINGS" value="ppudecoder" description="LLVM is fastest, use the Interpreter settings if there are issues." order="102">
      <choice name="LLVM Recompiler" value="Recompiler (LLVM)"/>
      <choice name="Interpreter (static)" value="Interpreter (static)"/>
    </feature>
    <feature submenu="EMULATION" name="PPU LVM PRECOMPILATION" group="ADVANCED SETTINGS" value="lvmprecomp" description="If disabled, these modules will only be compiled when needed. Depending on the game, this might interrupt the gameplay unexpectedly and possibly frequently." preset="switchauto" order="103"/>
    <feature submenu="EMULATION" name="SPU DECODER" group="ADVANCED SETTINGS" value="spudecoder" description="LLVM is the fastest option with very good compatibility. If you experience issues, use the ASMJIT Recompiler." order="104">
      <choice name="LLVM Recompiler" value="Recompiler (LLVM)"/>
      <choice name="ASMJIT Recompiler" value="Recompiler (ASMJIT)"/>
      <choice name="Interpreter (static)" value="Interpreter (static)"/>
      <choice name="Interpreter (dynamic)" value="Interpreter (dynamic)"/>
    </feature>
    <feature submenu="EMULATION" name="PREFERRED SPU THREADS" group="ADVANCED SETTINGS" value="sputhreads" description="Some SPU stages are sensitive to race conditions and allowing a limited number at a time helps alleviate performance stalls. Setting this to a smaller value might improve performance and reduce stuttering in some games." preset="sliderauto" preset-parameters="0 6 1" order="105"/>
    <feature submenu="EMULATION" name="ENABLE SPU LOOP DETECTION" group="ADVANCED SETTINGS" value="spuloopdetect" description="Try to detect loop conditions in SPU kernels and use them as scheduling hints. Default off" preset="switchauto" order="106"/>
    <feature submenu="EMULATION" name="SPU BLOCK SIZE" group="ADVANCED SETTINGS" value="spublocksize" description="This option controls the SPU analyser, particularly the size of compiled units.Use the safe mode for maximum compatibility." order="107">
      <choice name="SAFE" value="Safe"/>
      <choice name="MEGA" value="Mega"/>
      <choice name="GIGA" value="Giga"/>
    </feature>
    <feature submenu="EMULATION" name="ACCURATE RSX RESERVATION ACCESS" group="ADVANCED SETTINGS" value="accuratersx" description="Improves stability in some games but reduces performance." preset="switchauto" order="108"/>
    <feature submenu="EMULATION" name="RSX FIFO ACCURACY" group="ADVANCED SETTINGS" value="rpcs3_rsxfifoaccuracy" description="Fast is less accurate, ordered and atomic is accurate but slower." order="109">
      <choice name="FAST" value="Fast"/>
      <choice name="ATOMIC" value="Atomic"/>
      <choice name="ORDERED AND ATOMIC" value="&quot;Ordered &amp; Atomic&quot;"/>
    </feature>
    <feature submenu="EMULATION" name="ACCURATE XFLOAT" group="ADVANCED SETTINGS" value="rpcs3_xfloat" description="Higher accuracy fixes bugs in some games at cost of performance. Only used if SPU decoder is set to Dynamic or LLVM." order="110">
      <choice name="ACCURATE" value="Accurate"/>
      <choice name="APPROXIMATE" value="Approximate"/>
      <choice name="RELAXED" value="Relaxed"/>
    </feature>
    <feature submenu="EMULATION" name="ACCURATE PPU VECTOR NAN" group="ADVANCED SETTINGS" value="vectornan" description="Respect Non-Java Mode bit values for vector ops in PPU backends. If unsure, do not modify this setting. Default off." preset="switchauto" order="111"/>
    <feature submenu="EMULATION" name="USE CUSTOM CONFIG" group="ADVANCED SETTINGS" value="rpcs3_custom_config" description="Enable this setting to start game using game custom config." preset="switchauto" order="112"/>
    <feature submenu="USER INTERFACE" name="PERFORMANCE STATISTICS" value="performance_overlay" group="ADVANCED SETTINGS" description="Display different levels of informations about statistics of performance." order="450">
      <choice name="OFF" value="off"/>
      <choice name="SIMPLE" value="simple"/>
      <choice name="DETAILED" value="detailed"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW TROPHIES" group="ADVANCED SETTINGS" value="show_trophy" preset="switchauto" order="451"/>
    <feature submenu="USER INTERFACE" name="HIDE HINTS" value="rpcs3_hidehints" group="ADVANCED SETTINGS" description="Hide shader and PPU compilation hints." preset="switchauto" order="452"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="453"/>
    <feature submenu="USER INTERFACE" name="SHOW GUI" group="ADVANCED SETTINGS" value="rpcs3_gui" preset="switchauto" order="454"/>
    <feature submenu="USER INTERFACE" name="SHOW MOUSE CURSOR" value="rpcs3_mouse_cursor" group="ADVANCED SETTINGS" preset="switchauto" order="455"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" value="rpcs3_gamepadbuttons" group="ADVANCED SETTINGS" description="Invert A/B and X/Y buttons." preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="ENABLE RUMBLE" value="rpcs3_rumble" group="ADVANCED SETTINGS" preset="switchauto" order="502"/>
    <feature submenu="CONTROLS" name="KEYBOARD HANDLER" value="rpcs3_keyboard" group="ADVANCED SETTINGS" order="503">
      <choice name="BASIC" value="Basic"/>
    </feature>
    <feature submenu="CONTROLS" name="MOUSE HANDLER" value="rpcs3_mouse" group="ADVANCED SETTINGS" order="504">
      <choice name="BASIC" value="Basic"/>
      <choice name="RAW" value="Raw"/>
    </feature>
    <feature submenu="CONTROLS" name="PS MOVE HANDLER" value="rpcs3_move" group="ADVANCED SETTINGS" order="505">
      <choice name="FAKE" value="Fake"/>
      <choice name="MOUSE" value="Mouse"/>
      <choice name="RAW MOUSE" value="Raw Mouse"/>
    </feature>
    <feature submenu="CONTROLS" name="CAMERA INPUT" value="rpcs3_camera" group="ADVANCED SETTINGS" order="506">
      <choice name="FAKE" value="Fake"/>
      <choice name="QT" value="Qt"/>
    </feature>
    <feature submenu="CONTROLS" name="CAMERA TYPE" value="rpcs3_cameraType" group="ADVANCED SETTINGS" order="507">
      <choice name="EYETOY" value="EyeToy"/>
      <choice name="PS EYE" value="PS Eye"/>
      <choice name="UVC 1.1" value="UVC 1.1"/>
    </feature>
    <feature submenu="GUNS" name="ENABLE GUN" value="rpcs3_guns" group="ADVANCED SETTINGS" order="550">
      <choice name="NO" value="none"/>
      <choice name="RAW MOUSE" value="raw"/>
      <choice name="PS EYE" value="pseye"/>
    </feature>
    <feature submenu="GUNS" name="USE PORT 1 FOR GUNCON" value="rpcs3_guns_start1" group="ADVANCED SETTINGS" description="By default, RPCS3 requires guncon in player port 3, use this to force it in port 1." preset="switchauto" order="551"/>
  </emulator>
  <!-- RealRTCW -->
  <emulator name="rtcw" features="padtokeyboard">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="rtcw_resolution" order="20">
      <choice name="AUTOMATIC(NATIVE)" value="-2"/>
      <choice name="320x240" value="0"/>
      <choice name="400x300" value="1"/>
      <choice name="512x384" value="2"/>
      <choice name="640x480" value="3"/>
      <choice name="800x600" value="4"/>
      <choice name="960x720" value="5"/>
      <choice name="1024x768" value="6"/>
      <choice name="1152x864" value="7"/>
      <choice name="1280x1024" value="8"/>
      <choice name="1600x1200" value="9"/>
      <choice name="2048x1536" value="10"/>
      <choice name="856x480" value="11"/>
      <choice name="640x360" value="12"/>
      <choice name="640x400" value="13"/>
      <choice name="800x450" value="14"/>
      <choice name="800x500" value="15"/>
      <choice name="1024x640" value="16"/>
      <choice name="1024x576" value="17"/>
      <choice name="1280x720" value="18"/>
      <choice name="1280x768" value="19"/>
      <choice name="1280x800" value="20"/>
      <choice name="1280x960" value="21"/>
      <choice name="1440x900" value="22"/>
      <choice name="1600x900" value="23"/>
      <choice name="1600x1000" value="24"/>
      <choice name="1680x1050" value="25"/>
      <choice name="1920x1080" value="26"/>
      <choice name="1920x1200" value="27"/>
      <choice name="1920x1440" value="28"/>
      <choice name="2560x1600" value="29"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="rtcw_aspect" order="25">
      <choice name="OFF" value="0"/>
      <choice name="4/3" value="1"/>
      <choice name="WIDESCREEN" value="2"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="rtcw_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTERING" group="ADVANCED SETTINGS" value="rtcw_texturefilter" description="Control the texture filtering of the emulation." order="251">
      <choice name="TRILINEAR" value="GL_LINEAR_MIPMAP_LINEAR"/>
      <choice name="BILINEAR" value="GL_LINEAR_MIPMAP_NEAREST"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="TEXTURE QUALITY" group="ADVANCED SETTINGS" value="rtcw_texturequality" order="252">
      <choice name="HIGH" value="0"/>
      <choice name="MEDIUM" value="1"/>
      <choice name="LOW" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="LIGHTING" group="ADVANCED SETTINGS" value="rtcw_lighting" order="255">
      <choice name="LIGHT MAP (HIGH)" value="0"/>
      <choice name="VERTEX (LOW)" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="rtcw_anisotropic" preset="switchauto" order="255"/>
    <feature submenu="USER INTERFACE" name="SHOW FPS" value="rtcw_showfps" group="ADVANCED SETTINGS" preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="ENABLE SUBTITLES" value="rtcw_subtitles" group="ADVANCED SETTINGS" preset="switchauto" order="451"/>
  </emulator>
  <!-- RUFFLE -->
  <emulator name="ruffle" features="padtokeyboard">
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="VIDEO QUALITY" group="ADVANCED SETTINGS" value="ruffle_quality" order="250">
      <choice name="HIGH" value="high"/>
      <choice name="LOW" value="low"/>
      <choice name="MEDIUM" value="medium"/>
      <choice name="BEST" value="best"/>
      <choice name="8x AA" value="high8x8"/>
      <choice name="8x AA LINEAR" value="high8x8-linear"/>
      <choice name="16x AA" value="high16x16"/>
      <choice name="16x AA LINEAR" value="high16x16-linear"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="ruffle_renderer" order="400">
      <choice name="VULKAN" value="vulkan"/>
      <choice name="DIRECTX 12" value="dx12"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW EMULATOR GUI" group="ADVANCED SETTINGS" value="ruffle_gui" preset="switchauto" order="450"/>
  </emulator>
  <!-- RYUJINX -->
  <emulator name="ryujinx">
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="ryujinx_vsync" order="30">
      <choice name="SWITCH" value="0"/>
      <choice name="UNBOUNDED" value="1"/>
      <choice name="CUSTOM" value="2"/>
    </feature>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="res_scale" order="20">
      <choice name="Native (720p/1080p)" value="1"/>
      <choice name="2x (1440p/2160p)" value="2"/>
      <choice name="3x (2160p/3240p)" value="3"/>
      <choice name="4x (2880p/4320p)" value="4"/>
      <choice name="0,5x (custom)" value="0.5"/>
      <choice name="0,8x (custom)" value="0.8"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="aspect_ratio" order="25">
      <choice name="4/3" value="Fixed4x3"/>
      <choice name="16/9" value="Fixed16x9"/>
      <choice name="16/10" value="Fixed16x10"/>
      <choice name="21/9" value="Fixed21x9"/>
      <choice name="32/9" value="Fixed32x9"/>
      <choice name="STRETCH" value="Stretched"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="GRAPHICS BACKEND MULTITHREADING" group="ADVANCED SETTINGS" value="backend_threading" description="Executes Graphics backend on second thread, improves performance, reduces stutter and speeds up shader compilation." preset="switchauto" order="152"/>
    <feature submenu="VISUAL RENDERING" name="SCALING FILTER" group="ADVANCED SETTINGS" value="ryujinx_scaling_filter" description="Set scaling filter for rendered content." order="250">
      <choice name="Bilinear" value="Bilinear"/>
      <choice name="Nearest Neighbor" value="Nearest"/>
      <choice name="FSR" value="Fsr"/>
      <choice name="AREA" value="Area"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SHADER CACHE" group="ADVANCED SETTINGS" value="enable_shader_cache" description="Pre-coompile shader cache at game startup, leave ON for less stuttering in game." preset="switchauto" order="251"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE RECOMPRESSION" group="ADVANCED SETTINGS" value="enable_texture_recompression" description="Reduces VRAM usage at the cost of quality, may increase stuttering." preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="ryujinx_antialiasing" description="Set Anti Aliasing for rendered content." order="253">
      <choice name="NONE" value="None"/>
      <choice name="FXAA" value="Fxaa"/>
      <choice name="SMAA LOW" value="SmaaLow"/>
      <choice name="SMAA MEDIUM" value="SmaaMedium"/>
      <choice name="SMAA HIGH" value="SmaaHigh"/>
      <choice name="SMAA ULTRA" value="SmaaUltra"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="max_anisotropy" description="Enhance the quality of textures on surface." order="254">
      <choice name="NO" value="-1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
      <choice name="8x" value="8"/>
      <choice name="16x" value="16"/>
    </feature>
    <feature submenu="EMULATION" name="USE UNDOCKED MODE" group="ADVANCED SETTINGS" value="ryujinx_undock" description="Can increase performance on some lower-end systems." preset="switchauto" order="100"/>
    <feature submenu="EMULATION" name="ENABLE PPTC" group="ADVANCED SETTINGS" value="enable_ptc" description="Reduces stuttering and speeds up boot after first boot." preset="switchauto" order="101"/>
    <feature submenu="EMULATION" name="FS INTEGRITY CHECKS" group="ADVANCED SETTINGS" value="enable_fs_integrity_checks" description="Checks for corrupt files when booting a game." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="system_region" description="Force the region of the system." order="103">
      <choice name="JAPAN" value="Japan"/>
      <choice name="USA" value="USA"/>
      <choice name="EUROPE" value="Europe"/>
      <choice name="AUSTRALIA" value="Australia"/>
      <choice name="CHINA" value="China"/>
      <choice name="KOREA" value="Korea"/>
      <choice name="TAIWAN" value="Taiwan"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="switch_language" order="104">
      <choice name="English (US)" value="AmericanEnglish"/>
      <choice name="Français" value="French"/>
      <choice name="Deutsch" value="German"/>
      <choice name="Español" value="Spanish"/>
      <choice name="Italiano" value="Italian"/>
      <choice name="Nederlands" value="Dutch"/>
      <choice name="Portugues" value="Portuguese"/>
      <choice name="Portugues do Brasil" value="BrazilianPortuguese"/>
      <choice name="日本語 (Japanese)" value="Japanese"/>
      <choice name="简化字 (Chinese)" value="Chinese"/>
      <choice name="简化字 (Chinese - simplified)" value="SimplifiedChinese"/>
      <choice name="簡化字 (Chinese - traditional)" value="TraditionalChinese"/>
      <choice name="한국어 (Korean)" value="Korean"/>
      <choice name="Taiwanese" value="Taiwanese"/>
      <choice name="English (UK)" value="BritishEnglish"/>
      <choice name="Français (Canada)" value="CanadianFrench"/>
      <choice name="Español (Spanish - South America)" value="LatinAmericanSpanish"/>
      <choice name="Русский" value="Russian"/>
    </feature>
    <feature submenu="EMULATION" name="MEMORY MANAGER MODE" group="ADVANCED SETTINGS" value="memory_manager_mode" description="Greatly affects CPU performance." order="105">
      <choice name="SOFTWARE" value="SoftwarePageTable"/>
      <choice name="HOST (fast)" value="HostMapped"/>
      <choice name="HOST UNCHECKED (fastest)" value="HostMappedUnsafe"/>
    </feature>
    <feature submenu="EMULATION" name="IGNORE MISSING SERVICES" group="ADVANCED SETTINGS" value="ignore_missing_services" description="Ignore Horizon OS Services, can solve crashes on some games." preset="switchauto" order="106"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="backend" order="400">
      <choice name="OPENGL" value="OpenGl"/>
      <choice name="VULKAN" value="Vulkan"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="audio_backend" order="401">
      <choice name="OPENAL" value="OpenAl"/>
      <choice name="SDL3" value="SDL3"/>
      <choice name="SDL2" value="SDL2"/>
      <choice name="SOUNDIO" value="SoundIo"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="ryujinx_padtype1" description="Sets the player controller type." order="500">
      <choice name="PRO CONTROLLER" value="ProController"/>
      <choice name="DUAL JOYCON" value="JoyconPair"/>
      <choice name="LEFT JOYCON" value="JoyconLeft"/>
      <choice name="RIGHT JOYCON" value="JoyconRight"/>
      <choice name="HANDHELD" value="Handheld"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="ryujinx_padtype2" order="501">
      <choice name="PRO CONTROLLER" value="ProController"/>
      <choice name="DUAL JOYCON" value="JoyconPair"/>
      <choice name="LEFT JOYCON" value="JoyconLeft"/>
      <choice name="RIGHT JOYCON" value="JoyconRight"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="ryujinx_padtype3" order="502">
      <choice name="PRO CONTROLLER" value="ProController"/>
      <choice name="DUAL JOYCON" value="JoyconPair"/>
      <choice name="LEFT JOYCON" value="JoyconLeft"/>
      <choice name="RIGHT JOYCON" value="JoyconRight"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="ryujinx_padtype4" order="503">
      <choice name="PRO CONTROLLER" value="ProController"/>
      <choice name="DUAL JOYCON" value="JoyconPair"/>
      <choice name="LEFT JOYCON" value="JoyconLeft"/>
      <choice name="RIGHT JOYCON" value="JoyconRight"/>
    </feature>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="ryujinx_gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="504"/>
    <feature submenu="CONTROLS" name="RUMBLE" group="ADVANCED SETTINGS" value="ryujinx_enable_rumble" description="Enable controller's rumble effects." preset="switchauto" order="510"/>
    <feature submenu="CONTROLS" name="MOTION CONTROL" group="ADVANCED SETTINGS" value="ryujinx_enable_motion" description="Can only be used if the controller is compatible with motion control." preset="switchauto" order="511"/>
    <feature submenu="CONTROLS" name="FORCE NUMBER OF PLAYERS" group="ADVANCED SETTINGS" value="ryujinx_maxcontrollers" description="By default RetroBat configures as many players as connected controllers, use this to override." order="520">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="DISABLE CONTROLLER APPLET" group="ADVANCED SETTINGS" value="ryujinx_controller_applet" description="Disable the controller applet that appears in multiplayer games to select the connected controllers." preset="switchauto" order="521"/>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="ryujinx_deadzone" description="Ignore analog stick movement below this threshold." preset="sliderauto" preset-parameters="0 0.5 0.05 %" order="530"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
    <feature submenu="NETWORK" name="MULTIPLAYER MODE" group="ADVANCED SETTINGS" value="ryujinx_network" order="700">
      <choice name="NO" value="no"/>
      <choice name="LOCAL" value="local"/>
      <choice name="INTERNET" value="internet"/>
    </feature>
  </emulator>
  <!-- SCUMMVM -->
  <emulator name="scummvm" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="DISABLE RATIO CORRECTION" group="ADVANCED SETTINGS" value="ratio" preset="switchauto" order="152"/>
    <feature submenu="VIDEO" name="RENDER METHOD" group="ADVANCED SETTINGS" value="render_mode" order="153">
      <choice name="HERCULES GREEN" value="hercGreen"/>
      <choice name="HERCULES AMBER" value="hercAmber"/>
      <choice name="CGA" value="cga"/>
      <choice name="EGA" value="ega"/>
      <choice name="VGA" value="vga"/>
      <choice name="AMIGA" value="amiga"/>
      <choice name="FM TOWNS" value="fmtowns"/>
      <choice name="PC-9821 (256 colors)" value="pc98-256c"/>
      <choice name="PC-9801 (16 colors)" value="pc98-16c"/>
      <choice name="PC-9801 (8 colors)" value="pc98-8c"/>
      <choice name="APPLE 2 GS" value="2gs"/>
      <choice name="ATARI ST" value="atari"/>
      <choice name="MACINTOSH" value="macintosh"/>
      <choice name="MACINTOSH BW" value="macintoshbw"/>
      <choice name="VGA GreyScale" value="vgaGrey"/>
      <choice name="WINDOWS 256 COLORS" value="win256c"/>
      <choice name="WINDOWS 16 COLORS" value="win16c"/>
    </feature>
    <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="scumm_rotation" order="154">
      <choice name="NO" value="0"/>
      <choice name="CLOCKWISE" value="90"/>
      <choice name="180 DEGREES" value="180"/>
      <choice name="COUNTER-CLOCKWISE" value="270"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="VIDEO SCALER" group="ADVANCED SETTINGS" value="scaler" order="250">
      <choice name="Normal 1x" value="normal1"/>
      <choice name="Normal 2x" value="normal2"/>
      <choice name="Normal 3x" value="normal3"/>
      <choice name="Normal 4x" value="normal4"/>
      <choice name="Normal 5x" value="normal5"/>
      <choice name="HQ 2x" value="hq2"/>
      <choice name="HQ 3x" value="hq3"/>
      <choice name="Edge 2x" value="edge2"/>
      <choice name="Edge 3x" value="edge3"/>
      <choice name="AdvMame 2x" value="advmame2"/>
      <choice name="AdvMame 3x" value="advmame3"/>
      <choice name="AdvMame 4x" value="advmame4"/>
      <choice name="Sai 2x" value="sai2"/>
      <choice name="SuperSai 2x" value="supersai2"/>
      <choice name="SuperEagle 2x" value="supereagle2"/>
      <choice name="PM 2x" value="pm2"/>
      <choice name="DotMatrix 2x" value="dotmatrix2"/>
      <choice name="TV 2x" value="tv2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="antialiasing" description="Set Anti Aliasing for rendered content." order="251">
      <choice name="NO" value="0"/>
      <choice name="2X" value="2"/>
      <choice name="4X" value="4"/>
      <choice name="8X" value="8"/>
      <choice name="16X" value="16"/>
    </feature>
    <feature submenu="AUDIO" name="TEXT AND VOICES" group="ADVANCED SETTINGS" value="scumm_subtitles" order="300">
      <choice name="BOTH" value="both"/>
      <choice name="SUBTITLES ONLY" value="subtitles"/>
      <choice name="VOICE ONLY" value="voice"/>
    </feature>
    <feature submenu="EMULATION" name="ALLOW UNSUPPORTED GAMES" group="ADVANCED SETTINGS" value="unsupported_games" description="Disable warning when running games that are not fully supported." preset="switchauto" order="100"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="gfx_mode" order="400">
      <choice name="OPENGL" value="opengl"/>
      <choice name="SDL SURFACE" value="surfacesdl"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
  </emulator>
  <!-- SHADPS4 -->
  <emulator name="shadps4">
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="enable_hdr" order="152"/>
    <feature submenu="USER INTERFACE" name="SHOW GUI" group="ADVANCED SETTINGS" value="shadps4_gui" description="Show emulator GUI." preset="switchauto" order="450"/>
    <feature submenu="EMULATION" name="PS4 PRO" group="ADVANCED SETTINGS" value="shadps4_isps4pro" preset="switchauto" order="100"/>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="shadps4_lang" order="101">
      <choice name="English (US)" value="1"/>
      <choice name="Français" value="2"/>
      <choice name="Deutsch" value="4"/>
      <choice name="Español" value="3"/>
      <choice name="Italiano" value="5"/>
      <choice name="Nederlands" value="6"/>
      <choice name="Polski" value="16"/>
      <choice name="Portugues" value="7"/>
      <choice name="Portugues do Brasil" value="17"/>
      <choice name="Español (Latin America)" value="20"/>
      <choice name="Français (Canada)" value="22"/>
      <choice name="日本語 (Japanese)" value="0"/>
      <choice name="简化字 (Chinese - simplified)" value="11"/>
      <choice name="簡化字 (Chinese - traditional)" value="10"/>
      <choice name="한국어 (Korean)" value="9"/>
      <choice name="English (UK)" value="18"/>
      <choice name="Dansk" value="14"/>
      <choice name="Suomalainen" value="12"/>
      <choice name="Svenska" value="13"/>
      <choice name="Norsk" value="15"/>
      <choice name="Türkçe" value="19"/>
      <choice name="Русский" value="8"/>
      <choice name="Arabic" value="21"/>
      <choice name="Czech" value="23"/>
      <choice name="Hungarian" value="24"/>
      <choice name="Greek" value="25"/>
      <choice name="Romanian" value="26"/>
      <choice name="Thai" value="27"/>
      <choice name="Vietnamese" value="28"/>
      <choice name="Indonesian" value="29"/>
    </feature>
    <feature submenu="EMULATION" name="EMULATOR VERSION" group="ADVANCED SETTINGS" value="shadps4_version" order="120">
      <choice name="0.13.0" value="0.13.0"/>
	  <choice name="0.12.5" value="0.12.5"/>
	  <choice name="PRE-RELEASE" value="Pre-release"/>
	  <choice name="0.12.0" value="0.12.0"/>
      <choice name="0.11.0" value="0.11.0"/>
      <choice name="DEFAULT" value="default"/>
    </feature>
    <feature submenu="USER INTERFACE" name="USER NAME" group="ADVANCED SETTINGS" value="shadps4_username" preset="input" order="451"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="452"/>
    <feature submenu="CONTROLS" name="ENABLE MOTION" group="ADVANCED SETTINGS" value="shadps4_motion" description="Can only be used if the controller is compatible with motion control." preset="switchauto" order="500"/>
  </emulator>
  <!-- SIMCOUPE -->
  <emulator name="simcoupe" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
  </emulator>
  <!-- SIMPLE64 -->
  <emulator name="simple64">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="parallel_upscaling" order="20">
      <choice name="1x" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="4"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="STRETCH TO SCREEN" group="ADVANCED SETTINGS" value="n64_widescreen" preset="switchauto" order="152"/>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="antialiasing" description="Set Anti Aliasing for rendered content." preset="switchauto" order="153"/>
    <feature submenu="EMULATION" name="DISABLE 4MB RAM PACK" group="ADVANCED SETTINGS" value="n64_mempack" description="Disabling the 4MB expansion RAM pack may be necessary for some games." preset="switchauto" order="100"/>
    <feature submenu="USER INTERFACE" name="SHOW EMULATOR GUI" group="ADVANCED SETTINGS" value="show_gui" preset="switchauto" order="450"/>
    <feature submenu="DRIVERS" name="INPUT" value="simple64_inputplugin" group="ADVANCED SETTINGS" order="400">
      <choice name="STANDARD" value="simple64-input-qt.dll"/>
      <choice name="RAPHNET ADAPTATOR" value="simple64-input-raphnetraw.dll"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P1" value="mupen64_inputprofile1" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="500">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="P1 CONTROLLER EXTENSION" value="simple64_pak1" group="ADVANCED SETTINGS" description="Choose the extension attached to the controller." order="501">
     <choice name="MEMORY" value="Memory"/>
      <choice name="RUMBLE PACK" value="Rumble"/>
      <choice name="NONE" value="None"/>
      <choice name="TRANSFER PACK" value="Transfer"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P2" value="mupen64_inputprofile2" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="502">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="P2 CONTROLLER EXTENSION" value="simple64_pak2" group="ADVANCED SETTINGS" order="503">
      <choice name="MEMORY" value="Memory"/>
      <choice name="RUMBLE PACK" value="Rumble"/>
      <choice name="NONE" value="None"/>
      <choice name="TRANSFER PACK" value="Transfer"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P3" value="mupen64_inputprofile3" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="504">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="P3 CONTROLLER EXTENSION" value="simple64_pak3" group="ADVANCED SETTINGS" order="505">
      <choice name="MEMORY" value="Memory"/>
      <choice name="RUMBLE PACK" value="Rumble"/>
      <choice name="NONE" value="None"/>
      <choice name="TRANSFER PACK" value="Transfer"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER LAYOUT P4" value="mupen64_inputprofile4" group="ADVANCED SETTINGS" description="Select between the different controller layouts." order="506">
      <choice name="C-BUTTONS=RIGHT-STICK Z=LEFT-TRIGGER" value="c_stick_zl"/>
      <choice name="C-BUTTONS=FACE Z=LEFT-TRIGGER" value="c_face_zl"/>
      <choice name="C-BUTTONS=RIGHT-STICK Z=RIGHT-TRIGGER" value="c_stick"/>
      <choice name="C-BUTTONS=FACE Z=RIGHT-TRIGGER" value="c_face"/>
      <choice name="XBOX" value="xbox"/>
    </feature>
    <feature submenu="CONTROLS" name="P4 CONTROLLER EXTENSION" value="simple64_pak4" group="ADVANCED SETTINGS" order="507">
      <choice name="MEMORY" value="Memory"/>
      <choice name="RUMBLE PACK" value="Rumble"/>
      <choice name="NONE" value="None"/>
      <choice name="TRANSFER PACK" value="Transfer"/>
    </feature>
    <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" value="mupen64_deadzone" group="ADVANCED SETTINGS" preset="sliderauto" preset-parameters="0 50 2 %" order="515"/>
    <feature submenu="CONTROLS" name="ANALOG SENSITIVITY" value="mupen64_sensitivity" group="ADVANCED SETTINGS" preset="sliderauto" preset-parameters="70 130 5 %" order="516"/>
    <feature submenu="CONTROLS" name="USE N64-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="n64_pad" preset="switchauto" order="510"/>
  </emulator>
  <!-- SINGE2 -->
  <emulator name="singe2" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="USER INTERFACE" name="SHOW DEBUG CONSOLE" group="ADVANCED SETTINGS" value="singe2_debug" preset="switchauto" order="450"/>
    <feature submenu="CONTROLS" name="FORCE GAMEPAD INDEX" group="ADVANCED SETTINGS" value="singe2_padIndex" order="500">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="singe2_deadzone" preset="sliderauto" preset-parameters="0 50 5 %" order="501"/>
    <feature submenu="GUNS" name="FORCE INDEX" group="ADVANCED SETTINGS" value="singe2_mouseIndex" order="550">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
    </feature>
    <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="singe2_crosshair" preset="switchauto" order="551"/>
  </emulator>
  <!-- SNES9X -->
  <emulator name="snes9x" features="padtokeyboard">
    <!--feature name="SHADER SET" group="GENERAL SETTINGS" value="snes9x_shader" order="5">
      <choice name="CURVATURE" value="crt\crt-geom"/>
      <choice name="SCANLINES" value="crt\GritsScanlines"/>
      <choice name="OSSC SLOT" value="scanlines\ossc_slot.slangp"/>
      <choice name="CRT MATTIAS" value="crt\crt-mattias"/>
      <choice name="CRT NEW PIXIE" value="crt\newpixie-crt.slangp"/>
      <choice name="DOT" value="handheld\dot"/>
      <choice name="ZFAST-LCD" value="handheld\zfast-lcd"/>
      <choice name="SUPER EAGLE" value="eagle\super-eagle.glslp"/>
      <choice name="SABR" value="sabr\sabr"/>
      <choice name="SCALE HQ 2X" value="scalehq\2xScaleHQ.glslp"/>
      <choice name="SCALE HQ 4X" value="scalehq\4xScaleHQ.glslp"/>
    </feature>-->
    <feature name="SHADER SET" group="GENERAL SETTINGS" value="snes9x_ntsc_filters" description="Apply a video filter to the output image." order="5">
      <choice name="NONE" value="0"/>
      <choice name="Forced 1X" value="1"/>
      <choice name="Simple 2X" value="2"/>
      <choice name="Scanlines" value="3"/>
      <choice name="TV Mode" value="4"/>
      <choice name="Blargg's NTSC (RF)" value="5"/>
      <choice name="Blargg's NTSC (Composite)" value="6"/>
      <choice name="Blargg's NTSC (S-Video)" value="7"/>
      <choice name="Blargg's NTSC (RGB)" value="8"/>
      <choice name="SuperEagle" value="9"/>
      <choice name="Super2xSaI" value="10"/>
      <choice name="2xSaI" value="11"/>
      <choice name="hq2x" value="12"/>
      <choice name="hq2xS" value="13"/>
      <choice name="hq2xBold" value="14"/>
      <choice name="EPX A" value="15"/>
      <choice name="EPX B" value="16"/>
      <choice name="EPX C" value="17"/>
      <choice name="Simple 3X" value="18"/>
      <choice name="TV Mode 3X" value="19"/>
      <choice name="Dot Matrix 3X" value="20"/>
      <choice name="hq3x" value="21"/>
      <choice name="hq3xS" value="22"/>
      <choice name="hq3xBold" value="23"/>
      <choice name="lq3xBold" value="24"/>
      <choice name="EPX3" value="25"/>
      <choice name="Simple 4X" value="26"/>
      <choice name="hq4x" value="27"/>
      <choice name="2xBRZ" value="28"/>
      <choice name="3xBRZ" value="29"/>
      <choice name="4xBRZ" value="30"/>
      <choice name="5xBRZ" value="31"/>
      <choice name="6xBRZ" value="32"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="snes9x_ratio" order="25">
      <choice name="4/3" value="4/3"/>
      <choice name="8/7" value="8/7"/>
      <choice name="Full keep aspect 4/3" value="full_43"/>
      <choice name="Full keep aspect 8/7" value="full_87"/>
      <choice name="STRETCH" value="stretch"/>
    </feature>
    <feature name="INTEGER SCALING (PIXEL PERFECT)" group="GENERAL SETTINGS" value="snes9x_integer" preset="switchauto" order="35"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="snes9x_vsync" preset="switchauto" order="30"/>
    <feature name="SMOOTH GAMES (BILINEAR FILTERING)" group="GENERAL SETTINGS" value="snes9x_bilinear" preset="switchauto" order="32"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="SCANLINES ON NTESC FILTERS" group="ADVANCED SETTINGS" value="snes9x_scanlines" preset="switchauto" order="250"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="snes9x_renderer" order="400">
      <choice name="OPENGL" value="2"/>
      <choice name="VULKAN" value="3"/>
      <choice name="DIRECTDRAW" value="0"/>
      <choice name="DIRECT3D" value="1"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW EMULATOR MENU BAR" group="ADVANCED SETTINGS" value="snes9x_showmenu" preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="SHOW FRAMERATE" group="ADVANCED SETTINGS" value="snes9x_framerate" preset="switchauto" order="451"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="rewind" order="100"/>
    <feature submenu="CONTROLS" name="USE ANALOG STICK" group="ADVANCED SETTINGS" value="snes9x_analog" description="Use left analog stick instead of dpad." preset="switchauto" order="500"/>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="buttonsInvert" order="501"/>
    <feature submenu="CONTROLS" name="DISABLE DIAGONALS" group="ADVANCED SETTINGS" value="snes9x_allowdiagonals" preset="switchauto" order="502"/>
    <feature submenu="CONTROLS" name="USE MOUSE" group="ADVANCED SETTINGS" value="snes9x_mouse" order="503">
      <choice name="NO" value="no"/>
      <choice name="PORT 1" value="port1"/>
      <choice name="PORT 2" value="port2"/>
    </feature>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    <feature submenu="GUNS" name="GUN TYPE" group="ADVANCED SETTINGS" value="snes9x_guntype" order="551">
      <choice name="Superscope" value="superscope"/>
      <choice name="Justifier" value="justifier"/>
      <choice name="2 Justifier" value="justifiers"/>
    </feature>
  </emulator>
  <!-- 2 SHIP 2 HARKINIAN -->
  <emulator name="2ship">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="ship2_resolution" order="20">
      <choice name="2X(480)" value="480"/>
      <choice name="FULL HD" value="1080"/>
      <choice name="4K" value="2160"/>
      <choice name="NATIVE" value="240"/>
      <choice name="3X(720)" value="720"/>
      <choice name="4X(960)" value="960"/>
      <choice name="5X(1200)" value="1200"/>
      <choice name="6X(1440)" value="1440"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ship2_ratio" order="25">
      <choice name="NATIVE (4:3)" value="native"/>
      <choice name="WIDESCREEN (16:9)" value="widescreen"/>
      <choice name="3DS (5:3)" value="3ds"/>
      <choice name="16:10" value="16:10"/>
      <choice name="ULTRAWIDE (21:9)" value="ultrawide"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="ship2_texturefilter" order="250">
      <choice name="THREE POINT" value="0"/>
      <choice name="LINEAR" value="1"/>
      <choice name="NONE" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI ALIASING (MSAA)" group="ADVANCED SETTINGS" value="ship2_msaa" description="Multi-Sampling Anti Aliasing level." preset="sliderauto" preset-parameters="1 8 1 x" order="252"/>
    <feature submenu="EMULATION" name="MATCH FPS TO DISPLAY RATE" group="ADVANCED SETTINGS" value="ship2_matchfps" preset="switchauto" order="109"/>
    <feature submenu="EMULATION" name="TARGET FPS" group="ADVANCED SETTINGS" value="ship2_fps" preset="sliderauto" preset-parameters="20 360 5" order="110"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="ship2_backend" order="400">
      <choice name="DIRECTX" value="0_DirectX"/>
      <choice name="OPENGL" value="1_OpenGL"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="ship2_audiobackend" order="401">
      <choice name="WASAPI" value="wasapi"/>
      <choice name="SDL" value="sdl"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROL LAYOUT" group="ADVANCED SETTINGS" value="ship2_controllayout" order="501">
      <choice name="STANDARD (Z LEFTTRIGGER)" value="z_left"/>
      <choice name="STANDARD (Z RIGHTTRIGGER)" value="z_right"/>
    </feature>
    <feature submenu="CONTROLS" name="USE N64-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="n64_pad" preset="switchauto" order="506"/>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="ship2_deadzone" description="Ignore analog stick movement below this threshold." preset="sliderauto" preset-parameters="0 50 2 %" order="510"/>
    <feature submenu="CONTROLS" name="ENABLE RUMBLE" group="ADVANCED SETTINGS" value="ship2_rumble" description="Enables joypad rumble." preset="switchauto" order="511"/>
    <feature submenu="CONTROLS" name="RUMBLE STRENGTH" group="ADVANCED SETTINGS" value="ship2_rumblestrength" preset="sliderauto" preset-parameters="0 100 5 %" order="512"/>
    <feature submenu="CONTROLS" name="ENABLE MOTION" group="ADVANCED SETTINGS" value="ship2_gyro" description="Can only be used if the controller is compatible with motion control." preset="switchauto" order="513"/>
    <feature submenu="CONTROLS" name="GYRO SENSITIVITY" group="ADVANCED SETTINGS" value="ship2_gyroSensivity" preset="sliderauto" preset-parameters="0 1 0.05 %" order="514"/>
  </emulator>
  <!-- SHIP OF HARKINIAN -->
  <emulator name="soh">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="soh_resolution" order="20">
      <choice name="2X(480)" value="480"/>
      <choice name="FULL HD" value="1080"/>
      <choice name="4K" value="2160"/>
      <choice name="NATIVE" value="240"/>
      <choice name="3X(720)" value="720"/>
      <choice name="4X(960)" value="960"/>
      <choice name="5X(1200)" value="1200"/>
      <choice name="6X(1440)" value="1440"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="soh_Ratio" order="25">
      <choice name="NATIVE (4:3)" value="native"/>
      <choice name="WIDESCREEN (16:9)" value="widescreen"/>
      <choice name="3DS (5:3)" value="3ds"/>
      <choice name="16:10" value="16:10"/>
      <choice name="ULTRAWIDE (21:9)" value="ultrawide"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="soh_texturefilter" order="250">
      <choice name="THREE POINT" value="0"/>
      <choice name="LINEAR" value="1"/>
      <choice name="NONE" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI ALIASING (MSAA)" group="ADVANCED SETTINGS" value="soh_msaa" description="Multi-Sampling Anti Aliasing level." preset="sliderauto" preset-parameters="1 8 1 x" order="251"/>
    <feature submenu="EMULATION" name="MATCH FPS TO DISPLAY RATE" group="ADVANCED SETTINGS" value="soh_matchfps" preset="switchauto" order="109"/>
    <feature submenu="EMULATION" name="TARGET FPS" group="ADVANCED SETTINGS" value="soh_fps" preset="sliderauto" preset-parameters="20 360 5" order="110"/>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="soh_language" order="100">
      <choice name="ENGLISH" value="0"/>
      <choice name="DEUTSCH" value="1"/>
      <choice name="FRENCH" value="2"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="soh_backend" order="400">
      <choice name="DIRECTX" value="0_DirectX"/>
      <choice name="OPENGL" value="1_OpenGL"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="soh_audiobackend" order="401">
      <choice name="WASAPI" value="wasapi"/>
      <choice name="SDL" value="sdl"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROL LAYOUT" group="ADVANCED SETTINGS" value="soh_controllayout" order="501">
      <choice name="STANDARD (Z LEFTTRIGGER)" value="z_left"/>
      <choice name="STANDARD (Z RIGHTTRIGGER)" value="z_right"/>
    </feature>
    <feature submenu="CONTROLS" name="USE N64-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="n64_pad" preset="switchauto" order="506"/>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="soh_deadzone" description="Ignore analog stick movement below this threshold." preset="sliderauto" preset-parameters="0 50 2 %" order="510"/>
    <feature submenu="CONTROLS" name="ENABLE RUMBLE" group="ADVANCED SETTINGS" value="soh_rumble" description="Enables joypad rumble." preset="switchauto" order="511"/>
    <feature submenu="CONTROLS" name="RUMBLE STRENGTH" group="ADVANCED SETTINGS" value="soh_rumblestrength" preset="sliderauto" preset-parameters="0 100 5 %" order="512"/>
    <feature submenu="CONTROLS" name="ENABLE MOTION" group="ADVANCED SETTINGS" value="soh_gyro" description="Can only be used if the controller is compatible with motion control." preset="switchauto" order="513"/>
    <feature submenu="CONTROLS" name="GYRO SENSITIVITY" group="ADVANCED SETTINGS" value="soh_gyroSensivity" preset="sliderauto" preset-parameters="0 1 0.05 %" order="514"/>
  </emulator>
  <!-- SOLARUS -->
  <emulator name="solarus, solarus2" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
  </emulator>
  <!-- SONIC 3 AIR -->
  <emulator name="sonic3air">
    <feature name="SHADER SET" group="GENERAL SETTINGS" value="sonic3_shader" order="5">
      <choice name="SHARP" value="0"/>
      <choice name="SOFT 1" value="1"/>
      <choice name="SOFT 2" value="2"/>
      <choice name="xBRZ" value="3"/>
      <choice name="HQ2x" value="4"/>
      <choice name="HQ3x" value="5"/>
      <choice name="HQ4x" value="6"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="sonic3_vsync" order="30">
      <choice name="YES" value="1"/>
      <choice name="NO" value="0"/>
      <choice name="YES WITH FPS CAP" value="2"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="152"/>
    <feature submenu="VISUAL RENDERING" name="SCANLINES" group="ADVANCED SETTINGS" value="sonic3_scanlines" description="Scanlines are not compatible with HQ or xBRZ shaders." preset="sliderauto" preset-parameters="0 100 25 %" order="250"/>
    <feature submenu="CONTROLS" name="RUMBLE LEVEL" group="ADVANCED SETTINGS" value="sonic3_rumble" preset="sliderauto" preset-parameters="0 100 20 %" order="500"/>
    <feature submenu="DRIVER" name="VIDEO" group="ADVANCED SETTINGS" value="sonic3_renderer" order="400">
      <choice name="OPENGL" value="opengl-full"/>
      <choice name="OPENGL SOFTWARE" value="opengl-soft"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="sonic3_showfps" preset="switchauto" order="450"/>
  </emulator>
  <!-- SONIC MANIA -->
  <emulator name="sonicmania">
    <feature name="SHADER SET" group="GENERAL SETTINGS" value="sonicmania_shader" order="5">
      <choice name="NONE" value="0"/>
      <choice name="CLEAN" value="1"/>
      <choice name="SHARP" value="2"/>
      <choice name="SOFT TV" value="3"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="sonicmania_vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="FORCE 60HZ" group="ADVANCED SETTINGS" value="sonicmania_force60hz" preset="switchauto" order="152"/>
    <feature submenu="VISUAL RENDERING" name="TRIPLE BUFFERING" group="ADVANCED SETTINGS" value="sonicmania_triple_buffering" preset="switchauto" order="250"/>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="sonicmania_lang" order="100">
      <choice name="English" value="0"/>
      <choice name="Français" value="1"/>
      <choice name="Italiano" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Español" value="4"/>
      <choice name="日本語 (Japanese)" value="5"/>
      <choice name="한국어 (Korean)" value="6"/>
      <choice name="简化字 (Chinese - simplified)" value="7"/>
      <choice name="簡化字 (Chinese - traditional)" value="8"/>
    </feature>
  </emulator>
  <!-- SONIC RETRO -->
  <emulator name="sonicretro, sonicretrocd">
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="sonicretro_vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="FORCE 60HZ" group="ADVANCED SETTINGS" value="sonicretro_force60hz" preset="switchauto" order="152"/>
    <feature submenu="VISUAL RENDERING" name="SCALING FILTER" group="ADVANCED SETTINGS" value="sonicretro_scaling" order="250">
      <choice name="NEAREST NEIGHBOR" value="0"/>
      <choice name="LINEAR" value="1"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="sonicretro_lang" order="100">
      <choice name="English" value="0"/>
      <choice name="Français" value="1"/>
      <choice name="Italiano" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Español" value="4"/>
      <choice name="日本語 (Japanese)" value="5"/>
      <choice name="Português" value="6"/>
      <choice name="Русский (Russian)" value="7"/>
      <choice name="한국어 (Korean)" value="8"/>
      <choice name="简化字 (Chinese - simplified)" value="9"/>
      <choice name="簡化字 (Chinese - traditional)" value="10"/>
    </feature>
    <feature submenu="EMULATION" name="GAME TYPE" group="ADVANCED SETTINGS" value="sonicretro_gametype" order="101">
      <choice name="ORIGINAL" value="0"/>
      <choice name="ORIGINS RELEASE" value="1"/>
    </feature>
    <feature submenu="EMULATION" name="FORCE SONIC CD" group="ADVANCED SETTINGS" value="sonicretro_sonicCD" description="If the folder name contains 'soniccd', RetroBat will automatically run Sonic CD RSDK, use this to force it." preset="switchauto" order="102"/>
  </emulator>
  <!-- SSF -->
  <emulator name="ssf">
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="saturn_widescreen" preset="switchauto" order="152"/>
    <feature submenu="VISUAL RENDERING" name="SCANLINES" group="ADVANCED SETTINGS" value="ssf_scanlines" preset="switchauto" order="250"/>
    <feature submenu="EMULATION" name="FORCE BIOS" group="ADVANCED SETTINGS" value="use_external_bios" description="Define BIOS to use for emulation." order="100">
      <choice name="Multi-region" value="saturn_bios.bin"/>
      <choice name="JAP" value="sega_101.bin"/>
      <choice name="EUR/US" value="mpr-17933.bin"/>
      <choice name="HLE" value="hle"/>
    </feature>
    <feature submenu="EMULATION" name="CONSOLE REGION" group="ADVANCED SETTINGS" value="saturn_region" order="101">
      <choice name="Japan" value="1"/>
      <choice name="America, Canada, Brazil" value="4"/>
      <choice name="Europe, Australia, South Africa, Latin America(PAL)" value="c"/>
      <choice name="Taiwan, Korea, Philippines" value="2"/>
    </feature>
    <feature submenu="EMULATION" name="DISC INDEX" group="ADVANCED SETTINGS" value="ssf_discindex" description="When using .m3u file, select disc index to run." order="102">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
    </feature>
    <feature submenu="EMULATION" name="USE OWN GAME SETTING FILE" group="ADVANCED SETTINGS" value="saturn_custom_setting" description="By default RetroBat will generate it's own config file, enable this option to use your own game setting file located in 'emulators\ssf\Setting' folder." preset="switchauto" order="103"/>
    <feature submenu="CONTROLS" name="USE LEFT JOYSTICK" group="ADVANCED SETTINGS" value="ssf_use_analog" description="Use left analog stick instead of D-PAD." preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="saturn_padlayout" order="501">
      <choice name="L/R as Z/C" value="lr_zc"/>
      <choice name="L/R as Y/Z" value="lr_yz"/>
      <choice name="L/R as X/Z" value="lr_xz"/>
    </feature>
    <feature submenu="CONTROLS" name="INVERT TRIGGERS AND SHOULDERS" group="ADVANCED SETTINGS" value="saturn_invert_triggers" description="Use shoulder buttons for L and R instead of triggers." preset="switchauto" order="502"/>
    <feature submenu="CONTROLS" name="USE SATURN-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="saturn_pad_ssf" order="503">
      <choice name="NO" value="0"/>
      <choice name="YES(DPAD)" value="1"/>
      <choice name="YES(ANALOG)" value="2"/>
    </feature>
  </emulator>
  <!-- STARSHIP -->
  <emulator name="starship">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="starship_resolution" order="20">
      <choice name="240p (NATIVE)" value="240"/>
      <choice name="480p" value="480"/>
      <choice name="720p" value="720"/>
      <choice name="960p" value="960"/>
      <choice name="1080p (FULL HD)" value="1080"/>
      <choice name="1200p" value="1200"/>
      <choice name="1440p" value="1440"/>
      <choice name="2160p (4K)" value="2160"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="starship_ratio" order="25">
      <choice name="NATIVE (4:3)" value="native"/>
      <choice name="WIDESCREEN (16:9)" value="widescreen"/>
      <choice name="3DS (5:3)" value="3ds"/>
      <choice name="16:10" value="16:10"/>
      <choice name="ULTRAWIDE (21:9)" value="ultrawide"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="starship_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="starship_texturefilter" order="250">
      <choice name="LINEAR" value="1"/>
      <choice name="THREE POINT" value="0"/>
      <choice name="NONE" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI ALIASING (MSAA)" group="ADVANCED SETTINGS" value="starship_msaa" description="Multi-Sampling Anti Aliasing level." preset="sliderauto" preset-parameters="1 8 1 x" order="251"/>
    <feature submenu="VISUAL RENDERING" name="TARGET FPS" group="ADVANCED SETTINGS" value="starship_fps" preset="sliderauto" preset-parameters="30 60 1" order="252"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="starship_renderer" order="400">
      <choice name="OPENGL" value="OpenGL"/>
      <choice name="DIRECTX" value="DirectX"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="starship_audioapi" order="401">
      <choice name="WASAPI" value="wasapi"/>
      <choice name="SDL" value="sdl"/>
    </feature>
    </emulator>
  <!-- STELLA -->
  <emulator name="stella" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="stella_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="ASPECT RATIO CORRECTION" group="ADVANCED SETTINGS" value="stella_correct_aspect" preset="switchauto" order="153"/>
    <feature submenu="VIDEO" name="STRETCH TO SCREEN" group="ADVANCED SETTINGS" value="stella_stretch" preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="ADAPT DISPLAY REFRESH RATE" group="ADVANCED SETTINGS" value="stella_adapt_refresh" description="Try to select best refresh rate for the ROM." preset="switchauto" order="155"/>
    <feature submenu="VIDEO" name="MONITOR INDEX" group="ADVANCED SETTINGS" value="stella_monitor" order="152">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
      <choice name="9" value="9"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="INTERPOLATION" group="ADVANCED SETTINGS" value="stella_interpolation" description="Blur emulated display." preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="VIDEO FILTER" group="ADVANCED SETTINGS" value="stella_tvfilter" description="Select a filter to apply." order="251">
      <choice name="NONE" value="0"/>
      <choice name="RGB" value="1"/>
      <choice name="S-VIDEO" value="2"/>
      <choice name="COMPOSITE" value="3"/>
      <choice name="BAD ADJUST" value="4"/>
      <choice name="CUSTOM" value="5"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SCANLINES INTENSITY" group="ADVANCED SETTINGS" value="stella_scanlines" order="252">
      <choice name="NO SCANLINES" value="Off"/>
      <choice name="5%" value="5"/>
      <choice name="10%" value="10"/>
      <choice name="15%" value="15"/>
      <choice name="20%" value="20"/>
      <choice name="25%" value="25"/>
      <choice name="30%" value="30"/>
      <choice name="40%" value="40"/>
      <choice name="50%" value="50"/>
      <choice name="75%" value="75"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="OVERSCAN" group="ADVANCED SETTINGS" value="stella_overscan" order="253">
      <choice name="OFF" value="Off"/>
      <choice name="1%" value="1"/>
      <choice name="2%" value="2"/>
      <choice name="3%" value="3"/>
      <choice name="4%" value="4"/>
      <choice name="5%" value="5"/>
      <choice name="6%" value="6"/>
      <choice name="7%" value="7"/>
      <choice name="8%" value="8"/>
      <choice name="9%" value="9"/>
      <choice name="10%" value="10"/>
    </feature>
    <feature submenu="AUDIO" name="AUDIO QUALITY" group="ADVANCED SETTINGS" value="stella_audio_quality" order="300">
      <choice name="HIGH QUALITY / MEDIUM LAG" value="3"/>
      <choice name="LOW QUALITY / MEDIUM LAG" value="2"/>
      <choice name="HIGH QUALITY / LOW LAG" value="4"/>
      <choice name="ULTRA QUALITY / MINIMAL LAG" value="5"/>
      <choice name="CUSTOM" value="1"/>
    </feature>
    <feature submenu="AUDIO" name="FORCE STEREO" group="ADVANCED SETTINGS" value="stella_force_stereo" description="Force stereo on all ROMs." preset="switchauto" order="301"/>
    <feature submenu="EMULATION" name="SAVE ON EXIT" group="ADVANCED SETTINGS" value="stella_autosave" preset="switchauto" order="100"/>
    <feature submenu="EMULATION" name="ENABLE MULTI-THREADING" group="ADVANCED SETTINGS" value="stella_multithread" preset="switchauto" order="101"/>
    <feature submenu="EMULATION" name="FAST LOAD" group="ADVANCED SETTINGS" value="stella_fastload" preset="switchauto" order="102"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="stella_renderer" order="400">
      <choice name="DIRECT3D" value="direct3d"/>
      <choice name="OPENGL" value="opengl"/>
      <choice name="DIRECT3D 11" value="direct3d11"/>
      <choice name="SOFTWARE" value="software"/>
    </feature>
    <feature submenu="CONTROLS" name="USE MOUSE AS CONTROLLER" group="ADVANCED SETTINGS" value="stella_mouse" order="500">
      <choice name="FOR ANALOG DEVICES ONLY" value="analog"/>
      <choice name="ALWAYS" value="always"/>
      <choice name="NEVER" value="never"/>
    </feature>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="stella_deadzone" order="502">
      <choice name="5%" value="3"/>
      <choice name="0%" value="0"/>
      <choice name="10%" value="6"/>
      <choice name="16%" value="9"/>
      <choice name="21%" value="12"/>
      <choice name="26%" value="15"/>
      <choice name="31%" value="18"/>
    </feature>
    <feature submenu="CONTROLS" name="4 WAY JOYSTICK" group="ADVANCED SETTINGS" value="stella_fourway" preset="switchauto" order="503"/>
    <feature submenu="CONTROLS" name="AUTOFIRE" group="ADVANCED SETTINGS" value="stella_autofire" order="504">
      <choice name="NO" value="0"/>
      <choice name="5HZ" value="5"/>
      <choice name="10HZ" value="10"/>
      <choice name="15HZ" value="15"/>
      <choice name="20HZ" value="20"/>
      <choice name="25HZ" value="25"/>
      <choice name="30HZ" value="30"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW UI MESSAGES" group="ADVANCED SETTINGS" value="stella_uimessages" preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="SHOW MOUSE CURSOR" group="ADVANCED SETTINGS" value="stella_cursor" order="451">
      <choice name="IN UI ONLY" value="2"/>
      <choice name="ALWAYS" value="3"/>
      <choice name="IN GAME ONLY" value="1"/>
      <choice name="NEVER" value="0"/>
    </feature>
  </emulator>
  <!-- SUDACHI -->
  <emulator name="sudachi">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="sudachi_resolution_setup" description="Improve fidelity of 3D models at the cost of increased performance requirements." order="20">
      <choice name="0.5x (360p/540p)" value="0"/>
      <choice name="0.75x (540p/810p)" value="1"/>
      <choice name="1x (720p/1080p)" value="2"/>
      <choice name="1.5x (1080p/1620p)" value="3"/>
      <choice name="2x (1440p/2160p)" value="4"/>
      <choice name="3x (2160p/3240p)" value="5"/>
      <choice name="4x (2880p/4320p)" value="6"/>
      <choice name="5x (3600p/5400p)" value="7"/>
      <choice name="6x (4320p/6480p)" value="8"/>
      <choice name="7x (5040p/7560p)" value="9"/>
      <choice name="8x (5760p/8640p)" value="10"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="sudachi_use_vsync" order="30">
      <choice name="FIFO (Vsync ON)" value="2"/>
      <choice name="NO" value="0"/>
      <choice name="YES (MAILBOX) - Vulkan only" value="1"/>
      <choice name="FIFO RELAX - vulkan only" value="3"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="sudachi_ratio" order="25">
      <choice name="DEFAULT" value="0"/>
      <choice name="FORCE 4/3" value="1"/>
      <choice name="FORCE 21/9" value="2"/>
      <choice name="FORCE 16/10" value="3"/>
      <choice name="STRETCH" value="4"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="GPU ACCURACY" group="ADVANCED SETTINGS" value="sudachi_gpu_accuracy" description="Default is 'HIGH', set to 'NORMAL' to increase performance at the cost of accuracy." order="153">
      <choice name="HIGH" value="1"/>
      <choice name="NORMAL" value="0"/>
      <choice name="EXTREME (VERY SLOW)" value="2"/>
    </feature>
    <feature submenu="VIDEO" name="USE ASYNCHRONOUS SHADER COMPILATION" group="ADVANCED SETTINGS" value="sudachi_use_asynchronous_shaders" description="Can reduce lags when compiling shaders, experimental." preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="ASTC RECOMPRESSION" group="ADVANCED SETTINGS" value="sudachi_astc_recompression" description="For games using ASTC textures, switch to medium when using 6GB VRAM GPU and low when using 4GB-2GB VRAM GPU." order="155">
      <choice name="UNCOMPRESSED (default, best quality)" value="0"/>
      <choice name="MEDIUM QUALITY" value="2"/>
      <choice name="LOW QUALITY" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="sudachi_anti_aliasing" description="Set Anti Aliasing for rendered content." order="250">
      <choice name="NONE" value="0"/>
      <choice name="FXAA" value="1"/>
      <choice name="MSAA" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SCALING FILTER" group="ADVANCED SETTINGS" value="sudachi_scaling_filter" description="Set scaling filter for rendered content." order="251">
      <choice name="Nearest Neighbor" value="0"/>
      <choice name="Bilinear" value="1"/>
      <choice name="Bicubic" value="2"/>
      <choice name="Gaussian" value="3"/>
      <choice name="ScaleForce" value="4"/>
      <choice name="AMD's FidelityFX Super Resolution" value="5"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="sudachi_anisotropy" description="Enhance the quality of textures on surface." order="252">
      <choice name="DEFAULT" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="3"/>
      <choice name="8x" value="4"/>
      <choice name="16x" value="5"/>
    </feature>
    <feature submenu="AUDIO" name="AUDIO CHANNELS" group="ADVANCED SETTINGS" value="sudachi_sound_index" order="300">
      <choice name="STEREO" value="1"/>
      <choice name="SURROUND" value="2"/>
      <choice name="MONO" value="0"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="sudachi_language" order="100">
        <choice name="American English" value="1"/>
        <choice name="日本語 (Japanese)" value="0"/>
        <choice name="Français" value="2"/>
        <choice name="Español" value="5"/>
        <choice name="Deutsch" value="3"/>
        <choice name="Italiano" value="4"/>
        <choice name="Nederlands" value="8"/>
        <choice name="Português" value="9"/>
        <choice name="Русский (Russian)" value="10"/>
        <choice name="한국어 (Korean)" value="7"/>
        <choice name="Chinese" value="6"/>
        <choice name="Taiwanese" value="11"/>
        <choice name="British" value="12"/>
        <choice name="French (Canadian)" value="13"/>
        <choice name="Spanish (Latin America)" value="14"/>
        <choice name="简化字 (Chinese - simplified)" value="15"/>
        <choice name="簡化字 (Chinese - traditional)" value="16"/>
        <choice name="Português (Brazil)" value="17"/>
    </feature>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="sudachi_region_value" description="Force the region of the system." order="101">
      <choice name="JAPAN" value="0"/>
      <choice name="USA" value="1"/>
      <choice name="EUROPE" value="2"/>
      <choice name="AUSTRALIA" value="3"/>
      <choice name="CHINA" value="4"/>
      <choice name="KOREA" value="5"/>
      <choice name="TAIWAN" value="6"/>
    </feature>
    <feature submenu="EMULATION" name="USE UNDOCKED MODE" group="ADVANCED SETTINGS" value="sudachi_undock" description="Can increase performance on some lower-end systems." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="CPU ACCURACY" group="ADVANCED SETTINGS" value="sudachi_cpu_accuracy" description="Leave AUTO as default except the game requires specific setting." order="103">
      <choice name="ACCURATE" value="1"/>
      <choice name="UNSAFE" value="2"/>
      <choice name="PARANOID" value="3"/>
    </feature>
    <feature submenu="EMULATION" name="MULTICORE CPU EMULATION" group="ADVANCED SETTINGS" value="sudachi_multicore" preset="switchauto" order="104"/>
    <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="sudachi_memory" order="105">
      <choice name="4GB (Default)" value="0"/>
      <choice name="6GB (Unsafe)" value="1"/>
      <choice name="8GB (Unsafe)" value="2"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="sudachi_backend" order="400">
      <choice name="OPENGL" value="0"/>
      <choice name="VULKAN" value="1"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="sudachi_audio_backend" order="401">
      <choice name="CUBEB" value="cubeb"/>
      <choice name="SDL2" value="sdl2"/>
    </feature>
    <feature submenu="DRIVERS" name="DISABLE RAW INPUT" group="ADVANCED SETTINGS" value="sudachi_norawinput" preset="switchauto" order="402"/>
    <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="sudachi_player_0_type" description="Sets the player controller type." order="500">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="HANDHELD" value="4"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="sudachi_player_1_type" order="501">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="sudachi_player_2_type" order="502">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="sudachi_player_3_type" order="503">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="ENABLE MOTION" group="ADVANCED SETTINGS" value="switch_enable_motion" description="Can only be used if the controller is compatible with motion control." preset="switchauto" order="510"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="switch_gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="504"/>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="sudachi_deadzone" preset="sliderauto" preset-parameters="0 50 5 %" order="512"/>
    <feature submenu="CONTROLS" name="DISABLE CONTROLLER APPLET" group="ADVANCED SETTINGS" value="sudachi_controller_applet" description="Disable the controller applet that appears in multiplayer games to select the connected controllers." preset="switchauto" order="520"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
  </emulator>
  <!-- SUPERMODEL -->
  <emulator name="supermodel" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="10"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="5"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="m3_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="widescreen" description="Enable widescreen may cause rendering issues." order="153">
      <choice name="OFF" value="0"/>
      <choice name="ON" value="1"/>
      <choice name="STRETCH" value="2"/>
    </feature>
    <feature submenu="VIDEO" name="NEW 3D ENGINE" group="ADVANCED SETTINGS" value="new3Dengine" description="Default is ON, setting to OFF might fix compatibility for older GPU." preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="QUAD RENDERING" group="ADVANCED SETTINGS" value="quadRendering" description="Enable proper quad rendering. For higher end systems." preset="switchauto" order="155"/>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="m3_supersampling" preset="sliderauto" preset-parameters="0 8 1 x" order="250"/>
    <feature submenu="EMULATION" name="THROTTLE" group="ADVANCED SETTINGS" value="throttle" description="Default is ON, use this setting to remove the 60hz limit, might break games." preset="switchauto" order="100"/>
    <feature submenu="EMULATION" name="ENABLE SERVICE MENU" group="ADVANCED SETTINGS" value="m3_service" description="Switch this on to activate service menu via R3 and L3 buttons." preset="switchauto" order="101"/>
    <feature submenu="EMULATION" name="POWERPC FREQUENCY" group="ADVANCED SETTINGS" value="m3_ppc_frequency" description="Sets the PowerPC frequency in MHz. The default is 50." preset="sliderauto" preset-parameters="20 200 5 Mhz" order="102"/>
    <feature submenu="EMULATION" name="DISABLE MULTITHREADING" group="ADVANCED SETTINGS" value="m3_thread" description="Useful for single-threaded processors." preset="switchauto" order="103"/>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="m3_fps" preset="switchauto" order="450"/>
    <feature submenu="DRIVERS" name="INPUT" group="ADVANCED SETTINGS" value="inputdriver" description="Force input driver. Defaults to 'sdl', 'dinput' if multiguns is enabled." order="402">
      <choice name="SDL" value="sdlgamepad"/>
      <choice name="XINPUT" value="xinput"/>
      <choice name="DINPUT" value="dinput"/>
      <choice name="SDL(OLD)" value="sdl"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 1 PAD INDEX" group="ADVANCED SETTINGS" value="model3_p1index" description="Force P1 pad index, can be useful when using a controller on an arcade machine." order="500">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 2 PAD INDEX" group="ADVANCED SETTINGS" value="model3_p2index" order="501">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE WHEEL INDEX" group="ADVANCED SETTINGS" value="wheel_index" description="Force wheel index, can be useful if RetroBat sets wrong index." order="502">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <sharedFeature submenu="CONTROLS" group="ADVANCED SETTINGS" value="controller_layout" order="505"/>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="supermodel_joy_deadzone" description="Sets the deadzone of the Gamepad analog sticks." preset="sliderauto" preset-parameters="0 50 5 %" order="510"/>
    <feature submenu="CONTROLS" name="USE SHOULDER BUTTONS FOR RACING GAMES" group="ADVANCED SETTINGS" value="model3_racingshoulder" description="Use R1 and L1 to accelerate and brake in racing games, only compatible with 'auto' gear shifting." preset="switchauto" order="511"/>
    <feature submenu="CONTROLS" name="SWITCH JOYPAD INDEX" group="ADVANCED SETTINGS" value="model3_indexswitch" description="When using XInput, this option will switch gamepads 1 and 2." preset="switchauto" order="512"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    <feature submenu="GUNS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="crosshairs" description="Enable crosshairs in shooting games." order="551">
      <choice name="None" value="0"/>
      <choice name="P1 only" value="1"/>
      <choice name="P2 only" value="2"/>
      <choice name="P1 &amp; P2" value="3"/>
    </feature>
    <feature submenu="GUNS" name="MULTIGUN (RAW INPUT)" group="ADVANCED SETTINGS" value="multigun" description="Set this on when using multiple guns. Defaults to on if multiple guns are found and input driver is not set to 'sdl'." preset="switchauto" order="552"/>
    <feature submenu="GUNS" name="GUN 1 INDEX" group="ADVANCED SETTINGS" value="supermodel_gun1" order="558">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
    </feature>
    <feature submenu="GUNS" name="GUN 2 INDEX" group="ADVANCED SETTINGS" value="supermodel_gun2" order="559">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
    </feature>
    <feature submenu="GUNS" name="OUTPUT GAME DATA" group="ADVANCED SETTINGS" value="supermodel_output" description="Enable this option when using mamehooker with LEDs, solenoids, rumble..." order="570">
      <choice name="TO WINDOW" value="win"/>
    </feature>
    <feature submenu="GUNS" name="USE MAMEHOOKER" group="ADVANCED SETTINGS" value="use_mamehooker" description="Launch MameHooker for outputs management." preset="switchauto" order="571"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="580"/>
    <sharedFeature submenu="WHEELS" group="ADVANCED SETTINGS" value="use_wheel" order="600"/>
    <sharedFeature submenu="WHEELS" group="ADVANCED SETTINGS" value="wheel_nogearstick" order="620"/>
    <sharedFeature submenu="WHEELS" group="ADVANCED SETTINGS" value="gearstick_deviceid" order="621"/>
    <feature submenu="WHEELS" name="ENABLE FORCE FEEDBACK" group="ADVANCED SETTINGS" value="forceFeedback" description="Enable force feedback for supported controllers." preset="switchauto" order="601"/>
  </emulator>
  <!-- SUYU -->
  <emulator name="suyu">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="resolution_setup" description="Improve fidelity of 3D models at the cost of increased performance requirements." order="20">
      <choice name="0.5x (360p/540p)" value="0"/>
      <choice name="0.75x (540p/810p)" value="1"/>
      <choice name="1x (720p/1080p)" value="2"/>
      <choice name="1.5x (1080p/1620p)" value="3"/>
      <choice name="2x (1440p/2160p)" value="4"/>
      <choice name="3x (2160p/3240p)" value="5"/>
      <choice name="4x (2880p/4320p)" value="6"/>
      <choice name="5x (3600p/5400p)" value="7"/>
      <choice name="6x (4320p/6480p)" value="8"/>
      <choice name="7x (5040p/7560p)" value="9"/>
      <choice name="8x (5760p/8640p)" value="10"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="use_vsync" order="30">
      <choice name="FIFO (Vsync ON)" value="2"/>
      <choice name="NO" value="0"/>
      <choice name="YES (MAILBOX) - Vulkan only" value="1"/>
      <choice name="FIFO RELAX - vulkan only" value="3"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="suyu_ratio" order="25">
      <choice name="DEFAULT" value="0"/>
      <choice name="FORCE 4/3" value="1"/>
      <choice name="FORCE 21/9" value="2"/>
      <choice name="FORCE 16/10" value="3"/>
      <choice name="STRETCH" value="4"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="GPU ACCURACY" group="ADVANCED SETTINGS" value="gpu_accuracy" description="Default is 'HIGH', set to 'NORMAL' to increase performance at the cost of accuracy." order="153">
      <choice name="HIGH" value="1"/>
      <choice name="NORMAL" value="0"/>
      <choice name="EXTREME (VERY SLOW)" value="2"/>
    </feature>
    <feature submenu="VIDEO" name="USE ASYNCHRONOUS SHADER COMPILATION" group="ADVANCED SETTINGS" value="use_asynchronous_shaders" description="Can reduce lags when compiling shaders, experimental." preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="ASTC RECOMPRESSION" group="ADVANCED SETTINGS" value="astc_recompression" description="For games using ASTC textures, switch to medium when using 6GB VRAM GPU and low when using 4GB-2GB VRAM GPU." order="155">
      <choice name="UNCOMPRESSED (default, best quality)" value="0"/>
      <choice name="MEDIUM QUALITY" value="2"/>
      <choice name="LOW QUALITY" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="anti_aliasing" description="Set Anti Aliasing for rendered content." order="250">
      <choice name="NONE" value="0"/>
      <choice name="FXAA" value="1"/>
      <choice name="MSAA" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SCALING FILTER" group="ADVANCED SETTINGS" value="scaling_filter" description="Set scaling filter for rendered content." order="251">
      <choice name="Nearest Neighbor" value="0"/>
      <choice name="Bilinear" value="1"/>
      <choice name="Bicubic" value="2"/>
      <choice name="Gaussian" value="3"/>
      <choice name="ScaleForce" value="4"/>
      <choice name="AMD's FidelityFX Super Resolution" value="5"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="suyu_anisotropy" description="Enhance the quality of textures on surface." order="252">
      <choice name="DEFAULT" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="3"/>
      <choice name="8x" value="4"/>
      <choice name="16x" value="5"/>
    </feature>
    <feature submenu="AUDIO" name="AUDIO CHANNELS" group="ADVANCED SETTINGS" value="sound_index" order="300">
      <choice name="STEREO" value="1"/>
      <choice name="SURROUND" value="2"/>
      <choice name="MONO" value="0"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="suyu_language" order="100">
        <choice name="American English" value="1"/>
        <choice name="日本語 (Japanese)" value="0"/>
        <choice name="Français" value="2"/>
        <choice name="Español" value="5"/>
        <choice name="Deutsch" value="3"/>
        <choice name="Italiano" value="4"/>
        <choice name="Nederlands" value="8"/>
        <choice name="Português" value="9"/>
        <choice name="Русский (Russian)" value="10"/>
        <choice name="한국어 (Korean)" value="7"/>
        <choice name="Chinese" value="6"/>
        <choice name="Taiwanese" value="11"/>
        <choice name="British" value="12"/>
        <choice name="French (Canadian)" value="13"/>
        <choice name="Spanish (Latin America)" value="14"/>
        <choice name="简化字 (Chinese - simplified)" value="15"/>
        <choice name="簡化字 (Chinese - traditional)" value="16"/>
        <choice name="Português (Brazil)" value="17"/>
    </feature>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="suyu_region_value" description="Force the region of the system." order="101">
      <choice name="JAPAN" value="0"/>
      <choice name="USA" value="1"/>
      <choice name="EUROPE" value="2"/>
      <choice name="AUSTRALIA" value="3"/>
      <choice name="CHINA" value="4"/>
      <choice name="KOREA" value="5"/>
      <choice name="TAIWAN" value="6"/>
    </feature>
    <feature submenu="EMULATION" name="USE UNDOCKED MODE" group="ADVANCED SETTINGS" value="suyu_undock" description="Can increase performance on some lower-end systems." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="CPU ACCURACY" group="ADVANCED SETTINGS" value="cpu_accuracy" description="Leave AUTO as default except the game requires specific setting." order="103">
      <choice name="ACCURATE" value="1"/>
      <choice name="UNSAFE" value="2"/>
      <choice name="PARANOID" value="3"/>
    </feature>
    <feature submenu="EMULATION" name="MULTICORE CPU EMULATION" group="ADVANCED SETTINGS" value="suyu_multicore" preset="switchauto" order="104"/>
    <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="suyu_memory" order="105">
      <choice name="4GB (Default)" value="0"/>
      <choice name="6GB (Unsafe)" value="1"/>
      <choice name="8GB (Unsafe)" value="2"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="backend" order="400">
      <choice name="OPENGL" value="0"/>
      <choice name="VULKAN" value="1"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="audio_backend" order="401">
      <choice name="CUBEB" value="cubeb"/>
      <choice name="SDL2" value="sdl2"/>
    </feature>
    <feature submenu="DRIVERS" name="DISABLE RAW INPUT" group="ADVANCED SETTINGS" value="suyu_norawinput" preset="switchauto" order="402"/>
    <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="player_0_type" description="Sets the player controller type." order="500">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="HANDHELD" value="4"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="player_1_type" order="501">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="player_2_type" order="502">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="player_3_type" order="503">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="ENABLE MOTION" group="ADVANCED SETTINGS" value="switch_enable_motion" description="Can only be used if the controller is compatible with motion control." preset="switchauto" order="510"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="switch_gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="504"/>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="suyu_deadzone" preset="sliderauto" preset-parameters="0 50 5 %" order="513"/>
    <feature submenu="CONTROLS" name="DISABLE CONTROLLER APPLET" group="ADVANCED SETTINGS" value="suyu_controller_applet" description="Disable the controller applet that appears in multiplayer games to select the connected controllers." preset="switchauto" order="520"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
  </emulator>
  <!-- TEKNOPARROT -->
  <emulator name="teknoparrot">
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <feature submenu="VIDEO" name="FULLSCREEN MODE" group="ADVANCED SETTINGS" value="tp_fsmode" order="151">
      <choice name="WINDOWED" value="0"/>
      <choice name="FULLSCREEN WINDOW" value="1"/>
      <choice name="EXCLUSIVE FULLSCREEN" value="2"/>
    </feature>
    <feature submenu="VIDEO" name="USE SCREEN RESOLUTION" group="ADVANCED SETTINGS" value="tp_useScreenres" preset="switchauto" description="Force resolution to current screen resolution for games that allow custom resolution." order="152"/>
    <feature submenu="VIDEO" name="USE CUSTOM RESOLUTION" group="ADVANCED SETTINGS" value="tp_customres" preset="switchauto" description="Enable custom resolution based on video mode." order="153"/>
    <feature submenu="EMULATION" name="DISABLE ADMIN RIGHTS" group="ADVANCED SETTINGS" value="requires_admin" preset="switchauto" order="100"/>
    <feature submenu="USER INTERFACE" name="APM3ID (REQUIRE ONLINE PROFILE)" group="ADVANCED SETTINGS" value="apm3id" preset="input" order="450"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="451"/>
    <feature submenu="USER INTERFACE" name="HIDE TEKNOPARROT ON STARTUP" group="ADVANCED SETTINGS" value="tp_minimize" description="Hidden by default, for few games can cause problem." preset="switchauto" order="452"/>
    <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" group="ADVANCED SETTINGS" value="tp_stooz" description="This is helpful in driving games to make it less 'twitchy' when using a controller to steer." preset="sliderauto" preset-parameters="0 50 5 %" order="510"/>
    <feature submenu="CONTROLS" name="FORCE PLAYER 1 PAD INDEX" group="ADVANCED SETTINGS" value="tp_padindex1" description="Force P1 pad index, can be useful if XInput devices or not odered right." order="511">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 2 PAD INDEX" group="ADVANCED SETTINGS" value="tp_padindex2" order="512">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
    </feature>
    <feature submenu="DRIVERS" name="INPUT" group="ADVANCED SETTINGS" value="tp_inputdriver" order="402">
      <choice name="XINPUT" value="XInput"/>
      <choice name="DIRECTINPUT" value="DirectInput"/>
      <choice name="RAW INPUT" value="RawInput"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW MOUSE CURSOR" value="tp_display_cursor" group="ADVANCED SETTINGS" preset="switchauto" order="450"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="550"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="one_gun" order="551"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="gun_invert" order="552"/>
    <feature submenu="GUNS" name="COIN\START BUTTONS" group="ADVANCED SETTINGS" value="tp_gunkeyboard" description="Define where the the coin and start buttons are located." order="553">
      <choice name="ON GUN" value="0"/>
      <choice name="ON KEYBOARD" value="1"/>
      <choice name="TEST/SERVICE ON KEYBOARD" value="2"/>
    </feature>
    <feature submenu="GUNS" name="GUN 1 INDEX" group="ADVANCED SETTINGS" value="tp_gunindex1" order="556">
      <choice name="1" value="0"/>
      <choice name="2" value="1"/>
      <choice name="3" value="2"/>
      <choice name="4" value="3"/>
      <choice name="5" value="4"/>
    </feature>
    <feature submenu="GUNS" name="GUN 2 INDEX" group="ADVANCED SETTINGS" value="tp_gunindex2" order="557">
      <choice name="1" value="0"/>
      <choice name="2" value="1"/>
      <choice name="3" value="2"/>
      <choice name="4" value="3"/>
      <choice name="5" value="4"/>
    </feature>
    <feature submenu="GUNS" name="GUN 3 INDEX" group="ADVANCED SETTINGS" value="tp_gunindex3" order="558">
      <choice name="1" value="0"/>
      <choice name="2" value="1"/>
      <choice name="3" value="2"/>
      <choice name="4" value="3"/>
      <choice name="5" value="4"/>
    </feature>
    <feature submenu="GUNS" name="GUN 4 INDEX" group="ADVANCED SETTINGS" value="tp_gunindex4" order="559">
      <choice name="1" value="0"/>
      <choice name="2" value="1"/>
      <choice name="3" value="2"/>
      <choice name="4" value="3"/>
      <choice name="5" value="4"/>
    </feature>
    <feature submenu="GUNS" name="KEYBOARD INDEX" group="ADVANCED SETTINGS" value="tp_kbindex" description="Force the keyboard to use if multiple keyboards are connected." order="560">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
    </feature>
      <feature submenu="GUNS" name="USE DEMULSHOOTER" group="ADVANCED SETTINGS" value="use_demulshooter" description="Launch DemulShooter for gun games." preset="switchauto" order="570"/>
    <feature submenu="GUNS" name="OUTPUT GAME DATA" group="ADVANCED SETTINGS" value="ds_output" description="Enable this option when using mamehooker with LEDs, solenoids, rumble..." order="571">
      <choice name="TO WINDOW" value="win"/>
      <choice name="TO NETWORK" value="net"/>
      <choice name="TO BOTH" value="both"/>
    </feature>
    <feature submenu="GUNS" name="HIDE CROSSHAIR" group="ADVANCED SETTINGS" value="tp_nocrosshair" description="Hide in-game crosshair (game dependant)." preset="switchauto" order="554"/>
    <feature submenu="GUNS" name="VERBOSE MODE" group="ADVANCED SETTINGS" value="ds_verbose" description="Enable verbose mode for debugging." preset="switchauto" order="572"/>
    <feature submenu="GUNS" name="USE MAMEHOOKER" group="ADVANCED SETTINGS" value="use_mamehooker" description="Launch MameHooker for outputs management." preset="switchauto" order="573"/>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="sindenJoyMode" order="580"/>
    <core name="namco2x6">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="tp_play_resolution" order="20">
        <choice name="480p" value="480p"/>
        <choice name="960p" value="960p"/>
        <choice name="1920p" value="1920p"/>
        <choice name="4320p" value="4320p"/>
        <choice name="7680p" value="7680p"/>
      </feature>
      <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="tp_play_gpuapi" order="400">
        <choice name="VULKAN" value="Vulkan"/>
        <choice name="OPENGL" value="OpenGL"/>
      </feature>
    </core>
    <core name="namco3xx">
      <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="tp_rpcs3_resolution" preset="sliderauto" preset-parameters="25 800 25" order="20"/>
      <feature submenu="VIDEO" name="WRITE COLOR BUFFERS" group="ADVANCED SETTINGS" value="tp_rpcs3_writecolorbuffers" description="Enable this option if you get missing graphics or broken lighting ingame." preset="switchauto" order="160"/>
      <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="tp_rpcs3_gpuapi" order="400">
        <choice name="VULKAN" value="Vulkan"/>
        <choice name="OPENGL" value="OpenGL"/>
      </feature>
      <feature submenu="CONTROLS" name="ALLOW DPAD FOR STEERING" group="ADVANCED SETTINGS" value="tp_digitalrotary" description="Use buttons instead of an analog axis for the wheel." preset="switchauto" order="500"/>
    </core>
  </emulator>
  <!-- THE FORCE ENGINE -->
  <emulator name="theforceengine">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="forceengine_internal_resolution" order="20">
      <choice name="200p" value="320x200"/>
      <choice name="400p" value="640x400"/>
      <choice name="480p" value="640x480"/>
      <choice name="600p" value="800x600"/>
      <choice name="720p" value="960x720"/>
      <choice name="768p" value="1024x768"/>
      <choice name="800p" value="1066x800"/>
      <choice name="960p" value="1280x960"/>
      <choice name="1050p" value="1440x1050"/>
      <choice name="1080p" value="1440x1080"/>
      <choice name="1200p" value="1600x1200"/>
      <choice name="1392p" value="1856x1392"/>
      <choice name="1440p" value="1920x1440"/>
      <choice name="1536p" value="2048x1536"/>
      <choice name="2160p" value="2880x2160"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="WIDESCREEN" group="ADVANCED SETTINGS" value="forceengine_widescreen" preset="switchauto" order="152"/>
    <feature submenu="VISUAL RENDERING" name="BILINEAR FILTERING" group="ADVANCED SETTINGS" value="forceengine_smooth" preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="MIP MAPPING" group="ADVANCED SETTINGS" value="forceengine_mipmap" preset="switchauto" order="251"/>
    <feature submenu="VISUAL RENDERING" name="COLOR CORRECTION" group="ADVANCED SETTINGS" value="forceengine_color_correction" preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="ENABLE BLOOM" group="ADVANCED SETTINGS" value="forceengine_bloom" preset="switchauto" order="253"/>
    <feature submenu="VISUAL RENDERING" name="GL-COLOR MODE" group="ADVANCED SETTINGS" value="forceengine_color_mode" order="254">
      <choice name="TRUE COLOR" value="2"/>
      <choice name="8-BIT (CLASSIC)" value="0"/>
      <choice name="8-BIT INTERPOLATED" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="GL-SKY RENDER MODE" group="ADVANCED SETTINGS" value="forceengine_sky_mode" order="255">
      <choice name="CYLINDER" value="1"/>
      <choice name="VANILLA" value="0"/>
    </feature>
    <feature submenu="EMULATION" name="DISABLE CUTSCENES" group="ADVANCED SETTINGS" value="forceengine_cutscenes" preset="switchauto" order="100"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="forceengine_renderer" order="400">
      <choice name="OPENGL" value="1"/>
      <choice name="SOFTWARE" value="0"/>
    </feature>
    <feature submenu="CONTROLS" name="DISABLE AUTOAIM" group="ADVANCED SETTINGS" value="forceengine_autoaim" preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="DISABLE CROSSHAIR" group="ADVANCED SETTINGS" value="forceengine_crosshair" preset="switchauto" order="501"/>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="forceengine_fps" preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="SHOW SUBTITLES" group="ADVANCED SETTINGS" value="forceengine_subtitles" order="451">
      <choice name="NONE" value="none"/>
      <choice name="CUTSCENES ONLY" value="cutscenes"/>
      <choice name="GAMEPLAY ONLY" value="gameplay"/>
      <choice name="BOTH" value="both"/>
    </feature>
  </emulator>
  <!-- TSUGARU -->
  <emulator name="tsugaru" features="padtokeyboard">
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
  </emulator>
  <!-- VITA3K -->
  <emulator name="vita3k">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="resolution_multiplier" order="20">
      <choice name="NATIVE (960x544)" value="1.00"/>
      <choice name="0.5X (480x272)" value="0.50"/>
      <choice name="0.75X (720x408)" value="0.75"/>
      <choice name="1.5X (1440x816)" value="1.50"/>
      <choice name="2X (1920x1088)" value="2.00"/>
      <choice name="2.5X (2400x1360)" value="2.50"/>
      <choice name="3X" value="3.00"/>
      <choice name="4X (4K)" value="4.00"/>
      <choice name="5X (4800x2720)" value="5.00"/>
      <choice name="6X" value="6.00"/>
      <choice name="7X" value="7.00"/>
      <choice name="8X (7680x4352)" value="8.00"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vita_vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="RENDERER ACCURACY" group="ADVANCED SETTINGS" value="vita3k_high_accuracy" order="153">
      <choice name="HIGH" value="true"/>
      <choice name="STANDARD" value="false"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="psvita_language" order="100">
      <choice name="Japanese" value="0"/>
      <choice name="English" value="1"/>
      <choice name="Français" value="2"/>
      <choice name="Español" value="3"/>
      <choice name="Deutsch" value="4"/>
      <choice name="Italiano" value="5"/>
      <choice name="Nederlands" value="6"/>
      <choice name="Português" value="7"/>
      <choice name="Русский (Russian)" value="8"/>
      <choice name="한국어 (Korean)" value="9"/>
      <choice name="简体中文 (Chinese)" value="10"/>
      <choice name="Polski" value="16"/>
    </feature>
    <feature submenu="EMULATION" name="DISABLE SURFACE SYNC" group="ADVANCED SETTINGS" value="disable_surfacesync" description="Speed hack but might not be compatible with some games." preset="switchauto" order="101"/>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="anisotropic-filtering" description="Enhance the quality of textures on surface." order="250">
      <choice name="1X" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="4X" value="4"/>
      <choice name="8X" value="8"/>
      <choice name="16X" value="16"/>
    </feature>
    <feature submenu="VIDEO" name="USE ASYNCHRONOUS SHADER COMPILATION" group="ADVANCED SETTINGS" value="async_pipeline_compilation" description="Can reduce lags when compiling shaders, experimental." preset="switchauto" order="154"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTERING" group="ADVANCED SETTINGS" value="vita_screenfilter" description="Control the texture filtering of the emulation." order="251">
      <choice name="BILINEAR" value="Bilinear"/>
      <choice name="NEAREST" value="Nearest"/>
      <choice name="BICUBIC" value="Bicubic"/>
      <choice name="FXAA" value="FXAA"/>
      <choice name="FSR" value="FSR"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SHADER CACHE" group="ADVANCED SETTINGS" value="shader_cache" description="Pre-coompile shader cache at game startup, leave ON for less stuttering in game." preset="switchauto" order="252"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE CACHE" group="ADVANCED SETTINGS" value="texture_cache" description="Select NO to disable texture cache." preset="switchauto" order="253"/>
    <feature submenu="EMULATION" name="CPU OPTIMIZATIONS" group="ADVANCED SETTINGS" value="cpu_opt" description="Leave this ON by default to enable CPU JIT Optimizations." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="FPS HACK" group="ADVANCED SETTINGS" value="vita3k_fpshack" description="Allow some 30fps games to run at 60fps." preset="switchauto" order="103"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="backend-renderer" description="Select which graphics API to use internally." order="400">
      <choice name="OpenGL" value="OpenGL"/>
      <choice name="Vulkan" value="Vulkan"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW GUI" group="ADVANCED SETTINGS" value="vita3k_gui" description="Show emulator GUI." preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="SHOW SHADER COMPILATION INFO" group="ADVANCED SETTINGS" value="vita3k_showShaderCompile" description="Show information about shader compilation." preset="switchauto" order="451"/>
    <feature submenu="USER INTERFACE" name="CORE PERFORMANCE STATISTICS" group="ADVANCED SETTINGS" value="performance-overlay" description="Display different levels of informations about statistics of performance." order="452">
      <choice name="NO" value="false"/>
      <choice name="MINIMUM" value="0"/>
      <choice name="LOW" value="1"/>
      <choice name="MEDIUM" value="2"/>
      <choice name="MAXIMUM" value="3"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="453"/>
    <feature submenu="MODULES" name="MODULES MANAGEMENT METHOD" group="ADVANCED SETTINGS" value="modules" description="Define how modules should be managed." order="800">
      <choice name="EMULATOR UI (AUTO)" value="0"/>
      <choice name="EMULATOR UI (MANUAL)" value="2"/>
      <choice name="FRONTEND UI (MANUAL)" value="1"/>
    </feature>
    <feature submenu="MODULES" name="libhttp" group="ADVANCED SETTINGS" value="libhttp" description="Required to fix Tales of Hearts R, only valid if modules are managed from Retrobat." preset="switchauto" order="801"/>
    <feature submenu="MODULES" name="libscemp4" group="ADVANCED SETTINGS" value="libscemp4" description="Required to fix Street Fighter vs Tekken, only valid if modules are managed from Retrobat." preset="switchauto" order="802"/>
  </emulator>
  <!-- VISUAL PINBALL -->
  <emulator name="vpinball" features="padtokeyboard">
    <feature group="GENERAL SETTINGS" value="vp_vsync" order="30">
      <choice name="FRAME PACING" value="3"/>
      <choice name="VERTICAL SYNC" value="1"/>
      <choice name="ADAPTATIVE SYNC" value="2"/>
      <choice name="NO" value="0"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="MonitorIndex" order="152"/>
    <feature submenu="VIDEO" name="ENABLE BACKGLASS" group="ADVANCED SETTINGS" value="enableb2s" preset="switchauto" order="153"/>
    <feature submenu="VIDEO" name="TATE MODE" group="ADVANCED SETTINGS" value="arcademode" description="Rotate display for vertical screen." preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="USE NVIDIA DEPTH BUFFER" group="ADVANCED SETTINGS" value="vp_nvidia" description="Use alternative depth processing, to enable if there are graphics issues or a specific error message." preset="switchauto" order="155"/>
    <feature submenu="VIDEO" name="SOFTWARE VERTEX PROCESSING" group="ADVANCED SETTINGS" value="vp_vertex" description="Enable this option if encountering issues with an Intel graphics chip." preset="switchauto" order="156"/>
    <feature submenu="SCREENRES" name="PLAYFIELD X RESOLUTION" group="ADVANCED SETTINGS" value="ScreenResX" preset="input" order="180"/>
    <feature submenu="SCREENRES" name="PLAYFIELD Y RESOLUTION" group="ADVANCED SETTINGS" value="ScreenResY" preset="input" order="181"/>
    <feature submenu="SCREENRES" name="BACKGLASS X RESOLUTION" group="ADVANCED SETTINGS" value="Screen2ResX" preset="input" order="182"/>
    <feature submenu="SCREENRES" name="BACKGLASS Y RESOLUTION" group="ADVANCED SETTINGS" value="Screen2ResY" preset="input" order="183"/>
    <feature submenu="SCREENRES" name="BACKGLASS MONITOR" group="ADVANCED SETTINGS" value="Monitor" order="184">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
    </feature>
    <feature submenu="SCREENRES" name="BACKGLASS X POSITION" group="ADVANCED SETTINGS" value="Screen2posX" preset="input" order="185"/>
    <feature submenu="SCREENRES" name="BACKGLASS Y POSITION" group="ADVANCED SETTINGS" value="Screen2posY" preset="input" order="186"/>
    <feature submenu="SCREENRES" name="DMD WIDTH" group="ADVANCED SETTINGS" value="DmdResX" preset="input" order="187"/>
    <feature submenu="SCREENRES" name="DMD HEIGHT" group="ADVANCED SETTINGS" value="DmdResY" preset="input" order="188"/>
	<feature submenu="SCREENRES" name="DMD X POSITION" group="ADVANCED SETTINGS" value="DmdposX" preset="input" order="189"/>
    <feature submenu="SCREENRES" name="DMD Y POSITION" group="ADVANCED SETTINGS" value="DmdposY" preset="input" order="190"/>
    <feature submenu="SCREENRES" name="FLIP LED DISPLAY" group="ADVANCED SETTINGS" value="FlipLedDisplay" preset="switchauto" order="191"/>
	<feature submenu="SCREENRES" name="STARTBACKGROUND BACKGLASS X POSITION" group="ADVANCED SETTINGS" value="Screen2posXStart" preset="input" order="192"/>
    <feature submenu="SCREENRES" name="STARTBACKGROUND BACKGLASS Y POSITION" group="ADVANCED SETTINGS" value="Screen2posYStart" preset="input" order="193"/>
	<feature submenu="SCREENRES" name="STARTBACKGROUND BACKGLASS WIDTH" group="ADVANCED SETTINGS" value="Screen2ResXStart" preset="input" order="194"/>
    <feature submenu="SCREENRES" name="STARTBACKGROUND BACKGLASS HEIGHT" group="ADVANCED SETTINGS" value="Screen2ResYStart" preset="input" order="195"/>
    <feature submenu="SCREENRES" name="PATH TO BACKGROUND IMAGE" group="ADVANCED SETTINGS" value="FramePath" preset="files" order="196"/>
    <feature submenu="SCREENRES" name="DISABLE SCREENRES OVERWRITE" group="ADVANCED SETTINGS" value="noscreenres" preset="switchauto" order="199"/>
    <feature submenu="VISUAL RENDERING" name="LEVEL OF DETAIL" group="ADVANCED SETTINGS" value="vp_details" preset="sliderauto" preset-parameters="0 10 1" order="250"/>
    <feature submenu="VISUAL RENDERING" name="ENVIRONMENT LIGHTING" group="ADVANCED SETTINGS" value="vp_lighting" description="Override table default lighting." preset="sliderauto" preset-parameters="0 1 0.1 x" order="251"/>
    <feature submenu="VISUAL RENDERING" name="AMBIENT OCCLUSION" group="ADVANCED SETTINGS" value="vp_ambient_occlusion" description="Enhance shadows of the different objects." order="252">
      <choice name="YES" value="1"/>
      <choice name="NO" value="0"/>
      <choice name="DYNAMIC" value="dynamic"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="vp_antialiasing" description="Post-processing anti-aliasing effect to apply to the image output of the game." order="253">
      <choice name="OFF" value="0"/>
      <choice name="FAST FXAA" value="1"/>
      <choice name="STANDARD FXAA" value="2"/>
      <choice name="QUALITY FXAA" value="3"/>
      <choice name="FAST NFAA" value="4"/>
      <choice name="STANDARD DLAA" value="5"/>
      <choice name="QUALITY SMAA" value="6"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SHARPEN IMAGE" group="ADVANCED SETTINGS" value="vp_sharpen" description="Bilateral CAS is recommended but will harm performance, CAS is less aggressive but more subtle." order="254">
      <choice name="OFF" value="0"/>
      <choice name="CAS" value="1"/>
      <choice name="BILATERAL CAS" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="vp_anisotropic_filtering" description="Enhance the quality of textures." preset="switchauto" order="255"/>
    <feature submenu="VISUAL RENDERING" name="SUPERSAMPLING" group="ADVANCED SETTINGS" value="vp_supersampling" description="Enable brute force up/downscaling (10.8.0 only)" order="256">
      <choice name="OFF" value="1.000000"/>
      <choice name="125%" value="1.250000"/>
      <choice name="133%" value="1.330000"/>
      <choice name="150%" value="1.500000"/>
      <choice name="175%" value="1.750000"/>
      <choice name="200%" value="2.000000"/>
      <choice name="50%" value="0.500000"/>
      <choice name="75%" value="0.750000"/>
    </feature>
    <feature submenu="AUDIO" name="DISABLE MUSIC" group="ADVANCED SETTINGS" value="vp_music_off" preset="switchauto" order="300"/>
    <feature submenu="AUDIO" name="AUDIO CHANNELS" group="ADVANCED SETTINGS" value="vp_audiochannels" order="301">
      <choice name="2 CHANNEL" value="0"/>
      <choice name="SURROUND (EFFECTS TO REAR)" value="1"/>
      <choice name="SURROUND (FRONT IS FRONT CAB)" value="3"/>
      <choice name="SURROUND (FRONT IS REAR CAB)" value="2"/>
      <choice name="7.1 SURROUND" value="4"/>
      <choice name="7.1 SURROUND ENHANCED" value="5"/>
    </feature>
    <feature submenu="VPINMAME" name="CABINET MODE" group="ADVANCED SETTINGS" value="vpmame_cabinet" order="110">
      <choice name="YES" value="1"/>
      <choice name="NO" value="0"/>
    </feature>
    <feature submenu="VPINMAME" name="DMD" group="ADVANCED SETTINGS" value="vpmame_dmd" order="111">
      <choice name="INTERNAL" value="0"/>
      <choice name="EXTERNAL" value="1"/>
      <choice name="NONE" value="none"/>
    </feature>
    <feature submenu="VPINMAME" name="VIRTUAL DMD" group="ADVANCED SETTINGS" value="vpmame_virtualdmd" preset="switchauto" order="112"/>
    <feature submenu="VPINMAME" name="ZEDMD" group="ADVANCED SETTINGS" value="vpmame_zedmd" preset="switchauto" order="113"/>
    <feature submenu="VPINMAME" name="ZEDMDHD" group="ADVANCED SETTINGS" value="vpmame_zedmdhd" preset="switchauto" order="114"/>
    <feature submenu="VPINMAME" name="PIN2DMD" group="ADVANCED SETTINGS" value="vpmame_pin2dmd" preset="switchauto" order="115"/>
    <feature submenu="VPINMAME" name="COLORIZE DMD" group="ADVANCED SETTINGS" value="vpmame_colordmd" order="116">
      <choice name="NO" value="0"/>
      <choice name="YES" value="1"/>
    </feature>
    <feature submenu="VPINMAME" name="SOUND MODE" group="ADVANCED SETTINGS" value="vpmame_soundmode" order="117">
      <choice name="0" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
    </feature>
    <feature submenu="BACKGLASS" name="HIDE GRILL" group="ADVANCED SETTINGS" value="vpbg_hidegrill" preset="switchauto" order="170"/>
    <feature submenu="DIRECT OUTPUT (DOF)" name="CONTRACTORS" group="ADVANCED SETTINGS" value="vpdof_contractors" order="130">
      <choice name="BOTH" value="2"/>
      <choice name="DOF" value="1"/>
      <choice name="SOUNDFX" value="0"/>
    </feature>
    <feature submenu="DIRECT OUTPUT (DOF)" name="KNOCKER" group="ADVANCED SETTINGS" value="vpdof_knocker" order="131">
      <choice name="BOTH" value="2"/>
      <choice name="DOF" value="1"/>
      <choice name="SOUNDFX" value="0"/>
    </feature>
    <feature submenu="DIRECT OUTPUT (DOF)" name="CHIMES" group="ADVANCED SETTINGS" value="vpdof_chimes" order="132">
      <choice name="BOTH" value="2"/>
      <choice name="DOF" value="1"/>
      <choice name="SOUNDFX" value="0"/>
    </feature>
    <feature submenu="DIRECT OUTPUT (DOF)" name="BELL" group="ADVANCED SETTINGS" value="vpdof_bell" order="133">
      <choice name="BOTH" value="2"/>
      <choice name="DOF" value="1"/>
      <choice name="SOUNDFX" value="0"/>
    </feature>
    <feature submenu="DIRECT OUTPUT (DOF)" name="GEAR" group="ADVANCED SETTINGS" value="vpdof_gear" order="134">
      <choice name="BOTH" value="2"/>
      <choice name="DOF" value="1"/>
      <choice name="SOUNDFX" value="0"/>
    </feature>
    <feature submenu="DIRECT OUTPUT (DOF)" name="SHAKER" group="ADVANCED SETTINGS" value="vpdof_shaker" order="135">
      <choice name="BOTH" value="2"/>
      <choice name="DOF" value="1"/>
      <choice name="SOUNDFX" value="0"/>
    </feature>
    <feature submenu="DIRECT OUTPUT (DOF)" name="FLIPPERS" group="ADVANCED SETTINGS" value="vpdof_flippers" order="136">
      <choice name="BOTH" value="2"/>
      <choice name="DOF" value="1"/>
      <choice name="SOUNDFX" value="0"/>
    </feature>
    <feature submenu="DIRECT OUTPUT (DOF)" name="TARGETS" group="ADVANCED SETTINGS" value="vpdof_targets" order="137">
      <choice name="BOTH" value="2"/>
      <choice name="DOF" value="1"/>
      <choice name="SOUNDFX" value="0"/>
    </feature>
    <feature submenu="DIRECT OUTPUT (DOF)" name="DROP TARGETS" group="ADVANCED SETTINGS" value="vpdof_droptargets" order="138">
      <choice name="BOTH" value="2"/>
      <choice name="DOF" value="1"/>
      <choice name="SOUNDFX" value="0"/>
    </feature>
    <feature submenu="DRIVERS" name="INPUT" group="ADVANCED SETTINGS" value="vp_inputdriver" order="400">
      <choice name="DIRECTINPUT" value="0"/>
      <choice name="XINPUT" value="1"/>
      <choice name="USE PAD2KEY" value="pad2key"/>
    </feature>
    <feature submenu="CONTROLS" name="DISABLE JOYSTICK STICK" group="ADVANCED SETTINGS" value="nouse_joyaxis" description="Disable use of X-axis to nudge, Y-axis to plumb and Z-axis for plunger." preset="switchauto" order="500"/>
    <feature submenu="CONTROLS" name="JOYSTICK DEADZONE" group="ADVANCED SETTINGS" value="joy_deadzone" preset="sliderauto" preset-parameters="0 50 5 %" order="501"/>
    <feature submenu="CONTROLS" name="RUMBLE MODE" group="ADVANCED SETTINGS" value="vp_rumble" order="502">
      <choice name="OFF" value="0"/>
      <choice name="TABLE" value="1"/>
      <choice name="GENERIC" value="2"/>
      <choice name="TABLE WITH GENERIC FALLBACK" value="3"/>
    </feature>
    <feature submenu="CONTROLS" name="ENABLE ANALOG NUDGE" group="ADVANCED SETTINGS" value="vp_analognudge" preset="switchauto" order="503"/>
  </emulator>
  <!-- VKQUAKE -->
  <emulator name="vkquake">
    <sharedFeature group="GENERAL SETTINGS" value="videomode" order="20"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vkquake_vsync" order="30">
      <choice name="OFF" value="0"/>
      <choice name="ON" value="1"/>
      <choice name="TRIPLE BUFFER" value="2"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
  </emulator>
  <!-- VKQUAKE2 -->
  <emulator name="vkquake2">
    <sharedFeature group="GENERAL SETTINGS" value="videomode" order="20"/>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vkquake2_vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VISUAL RENDERING" name="ANTI ALIASING (MSAA)" group="ADVANCED SETTINGS" value="vkquake2_antialiasing" description="Set Anti Aliasing for rendered content." order="250">
      <choice name="NONE" value="0"/>
      <choice name="MSAA 2X" value="1"/>
      <choice name="MSAA 4X" value="2"/>
      <choice name="MSAA 8X" value="3"/>
      <choice name="MSAA 16X" value="4"/>
    </feature>
    <feature submenu="AUDIO" name="HIGH QUALITY AUDIO" group="ADVANCED SETTINGS" value="vkquake2_soundhighquality" description="On by default, switch off to use 11khz sound quality." preset="switchauto" order="300"/>
    <feature submenu="CONTROLS" name="USE JOYSTICK" group="ADVANCED SETTINGS" value="vkquake2_usejoy" order="500"/>
    <feature submenu="CONTROLS" name="INVERT MOUSE" group="ADVANCED SETTINGS" value="vkquake2_invmouse" preset="switchauto" order="501"/>
  </emulator>
  <!-- WINARCADIA -->
  <emulator name="winarcadia" features="padtokeyboard">
    <core name="arcadia" features="padtokeyboard">
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
      <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    </core>
  </emulator>
  <!-- WINDOWS -->
  <emulator name="windows" features="padtokeyboard">
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="killsteam" order="100"/>
    <feature submenu="EMULATION" name="WAIT TIME" group="ADVANCED SETTINGS" value="steam_wait" description="Default is 30 seconds, define time to wait for the game to launch before returning to RetroBat game list." order="101">
      <choice name="30s" value="30"/>
      <choice name="45s" value="45"/>
      <choice name="60s" value="60"/>
      <choice name="75s" value="75"/>
      <choice name="90s" value="90"/>
      <choice name="105s" value="105"/>
      <choice name="120s" value="120"/>
    </feature>
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="storekeep" order="110"/>
    <feature submenu="GUNS" group="ADVANCED SETTINGS" name="USE DEMULSHOOTER" value="use_demulshooter" description="Launch DemulShooter for gun games." preset="switchauto" order="550"/>
    <feature submenu="GUNS" group="ADVANCED SETTINGS" name="OUTPUT GAME DATA" value="ds_output" description="Enable this option when using mamehooker with LEDs, solenoids, rumble..." order="551">
      <choice name="TO WINDOW" value="win"/>
      <choice name="TO NETWORK" value="net"/>
      <choice name="TO BOTH" value="both"/>
    </feature>
    <sharedFeature submenu="GUNS" group="ADVANCED SETTINGS" value="use_guns" order="552"/>
    <feature submenu="GUNS" name="VERBOSE MODE" group="ADVANCED SETTINGS" value="ds_verbose" description="Enable verbose mode for debugging." preset="switchauto" order="553"/>
    <feature submenu="GUNS" name="HIDE CROSSHAIR" group="ADVANCED SETTINGS" value="ds_nocrosshair" description="Hide in-game crosshair (game dependant)." preset="switchauto" order="554"/>
    <feature submenu="GUNS" name="USE MAMEHOOKER" group="ADVANCED SETTINGS" value="use_mamehooker" description="Launch MameHooker for outputs management." preset="switchauto" order="555"/>
  </emulator>
  <!-- WINUAE -->
  <emulator name="winuae" features="padtokeyboard">
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <feature submenu="EMULATION" name="CYCLE EXACT" group="ADVANCED SETTINGS" value="cycleexact" description="Increase accuracy, can fix some issues of sound and speed." order="100" preset="switchauto"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="winuae_gfxrenderer" order="400">
      <choice name="D3D9" value="direct3d"/>
      <choice name="D3D11 (HARDWARE)" value="direct3d11"/>
      <choice name="D3D11 (SOFTWARE)" value="direct3d11_soft"/>
    </feature>
    <system name="amiga500">
      <feature submenu="EMULATION" name="EMULATED MODEL" group="ADVANCED SETTINGS" value="a500_machine" description="Select model to emulate." order="110">
        <choice name="AMIGA 500 (OCS)" value="amiga500"/>
        <choice name="AMIGA 500+ (ECS)" value="amiga500+"/>
      </feature>
    </system>
    <system name="amiga1200">
      <feature submenu="EMULATION" name="ENABLE JIT" group="ADVANCED SETTINGS" value="amiga_jit" description="Enable Just In Time emilation, increases emulation speed, not compatible with cycle exact." order="110" preset="switchauto"/>
      <feature submenu="EMULATION" name="USE FPU" group="ADVANCED SETTINGS" value="amiga_fpu" description="Enable Floating Point Unit, usually useful for later 3D games." order="111" preset="switchauto"/>
    </system>
    <system name="amigacd32">
      <feature submenu="EMULATION" name="ENABLE JIT" group="ADVANCED SETTINGS" value="amiga_jit" description="Enable Just In Time emilation, increases emulation speed, not compatible with cycle exact." order="110" preset="switchauto"/>
      <feature submenu="EMULATION" name="USE FPU" group="ADVANCED SETTINGS" value="amiga_fpu" description="Enable Floating Point Unit, usually useful for later 3D games." order="111" preset="switchauto"/>
    </system>
    <system name="amiga4000">
      <feature submenu="EMULATION" name="ENABLE JIT" group="ADVANCED SETTINGS" value="amiga_jit" description="Enable Just In Time emilation, increases emulation speed, not compatible with cycle exact." order="110" preset="switchauto"/>
      <feature submenu="EMULATION" name="USE FPU" group="ADVANCED SETTINGS" value="amiga_fpu" description="Enable Floating Point Unit, usually useful for later 3D games." order="111" preset="switchauto"/>
    </system>
  </emulator>
  <!-- XASH3D -->
  <emulator name="xash3d" features="padtokeyboard">
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="xash3d_vsync" preset="switchauto" order="30"/>
    <sharedFeature group="GENERAL SETTINGS" value="smooth" order="32"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="AUDIO" name="DISABLE DSP" group="ADVANCED SETTINGS" value="xash3d_disabledsp" preset="switchauto" order="300"/>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="xash3d_showfps" preset="switchauto" order="450"/>
    <feature submenu="CONTROLS" name="INVERT MOUSE" group="ADVANCED SETTINGS" value="xash3d_invmouse" preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="SHOW CROSSHAIR" group="ADVANCED SETTINGS" value="xash3d_crosshair" preset="switchauto" order="502"/>
    <feature submenu="CONTROLS" name="AUTO AIM" group="ADVANCED SETTINGS" value="xash3d_autoaim" preset="switchauto" order="503"/>
    <feature submenu="CONTROLS" name="MOUSE SENSITIVITY" group="ADVANCED SETTINGS" value="xash3d_sensitivity" preset="sliderauto" preset-parameters="0.0 20.0 0.5" order="510"/>
  </emulator>
  <!-- XEMU -->
  <emulator name="xemu">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <sharedFeature group="GENERAL SETTINGS" value="shaderset" order="5"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="xemu_ratio" order="25">
      <choice name="NATIVE" value="native"/>
      <choice name="4:3" value="4x3"/>
      <choice name="16:9" value="16x9"/>
    </feature>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="render_scale" order="20">
      <choice name="1X (NATIVE)" value="1"/>
      <choice name="2X" value="2"/>
      <choice name="3X" value="3"/>
      <choice name="4X" value="4"/>
      <choice name="5X" value="5"/>
      <choice name="6X" value="6"/>
      <choice name="7X" value="7"/>
      <choice name="8X" value="8"/>
      <choice name="9X" value="9"/>
      <choice name="10X" value="10"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="DISPLAY MODE" group="ADVANCED SETTINGS" value="xemu_scale" description="Define how the game fits or scales into the window." order="152">
      <choice name="Center" value="center"/>
      <choice name="Scale" value="scale"/>
      <choice name="stretch" value="stretch"/>
    </feature>
    <feature submenu="VIDEO" name="EMULATED VIDEO SIGNAL" group="ADVANCED SETTINGS" value="xemu_avpack" order="153">
      <choice name="HDTV" value="hdtv"/>
      <choice name="SCART" value="scart"/>
      <choice name="VGA" value="vga"/>
      <choice name="RFU" value="rfu"/>
      <choice name="S-VIDEO" value="svideo"/>
      <choice name="COMPOSITE" value="composite"/>
    </feature>
    <feature submenu="EMULATION" name="MEMORY" group="ADVANCED SETTINGS" value="system_memory" description="The maximum RAM memory available for the system." order="100">
      <choice name="128MB" value="128"/>
      <choice name="64MB" value="64"/>
    </feature>
    <feature submenu="AUDIO" name="DSP EMULATION" group="ADVANCED SETTINGS" value="xemu_dsp" description="Enable Digital Sound Processor. Enhance sound accuracy at the cost of inscreased performance requirements." preset="switchauto" order="300"/>
    <feature submenu="EMULATION" name="FORCE BIOS" group="ADVANCED SETTINGS" value="xemu_flashrom" order="101">
      <choice name="COMPLEX 4627" value="Complex_4627.bin"/>
      <choice name="CERBIOS" value="Cerbios.bin"/>
      <choice name="COMPLEX 4627 V1.03" value="Complex_4627v1.03.bin"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="xbox_language" order="102">
      <choice name="English" value="1"/>
      <choice name="日本語 (Japanese)" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Français" value="4"/>
      <choice name="Español" value="5"/>
      <choice name="Italiano" value="6"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="简体中文 (Chinese)" value="8"/>
      <choice name="Português" value="9"/>
    </feature>
    <feature submenu="EMULATION" name="SKIP BOOT" group="ADVANCED SETTINGS" value="show_boot" description="Default is on, disable to show XBOX boot animation." preset="switchauto" order="103"/>
    <feature submenu="USER INTERFACE" name="SHOW MENU BAR" group="ADVANCED SETTINGS" value="menubar" preset="switchauto" order="450"/>
    <feature submenu="USER INTERFACE" name="SHOW NOTIFICATIONS" group="ADVANCED SETTINGS" value="xemu_notifications" preset="switchauto" order="451"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="xemu_renderer" order="400">
      <choice name="OPENGL" value="OPENGL"/>
      <choice name="VULKAN" value="VULKAN"/>
    </feature>
  </emulator>
  <!-- XENIA -->
  <emulator name="xenia">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="xenia_resolution" order="20">
      <choice name="1280x720 (default)" value="1_1"/>
      <choice name="2560x1440" value="2_2"/>
      <choice name="3840x2160" value="3_3"/>
      <choice name="5120x2880" value="4_4"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="RENDER TARGET PATH" group="ADVANCED SETTINGS" value="render_target_path" description="Render target emulation path to use. rtv/fbo offers better performance, rov/fsi highest accuracy." order="153">
      <choice name="RTV/FBO" value="performance"/>
      <choice name="ROV/FSI" value="accuracy"/>
    </feature>
    <feature submenu="VIDEO" name="ALLOW INVALID FETCH" group="ADVANCED SETTINGS" value="gpu_allow_invalid_fetch_constants" description="Allow texture and vertex fetch constants with invalid type, can be used to bypass fetch errors in certain games." preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="READBACK RESOLVE" group="ADVANCED SETTINGS" value="d3d12_readback_resolve" description="Read render-to-texture results on the CPU. This may be needed in some games but causes mid-frame synchronization, so it has a huge performance impact." preset="switchauto" order="155"/>
    <feature submenu="VIDEO" name="FAKE SAMPLE COUNT" group="ADVANCED SETTINGS" value="query_occlusion_fake_sample_count" description="Setting this to 0 means everything is reported as occluded, required for Forza Motorsport 4." order="156">
      <choice name="1000" value="1000"/>
      <choice name="0" value="0"/>
      <choice name="-1" value="-1"/>
    </feature>
    <feature submenu="VIDEO" name="QUEUE PRIORITY" group="ADVANCED SETTINGS" value="xenia_queue_priority" description="Setting this to 1 can increase performance." order="157">
      <choice name="NORMAL" value="0"/>
      <choice name="HIGH" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="postprocess_antialiasing" description="Post-processing anti-aliasing effect to apply to the image output of the game." order="250">
      <choice name="NONE" value="off"/>
      <choice name="FXAA" value="fxaa"/>
      <choice name="FXAA EXTREME" value="fxaa_extreme"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="VRR" group="ADVANCED SETTINGS" value="xenia_allow_variable_refresh_rate_and_tearing" description="Allow using variable refresh rate on displays supporting it. On displays not supporting VRR, screen tearing may occur in certain cases." preset="switchauto" order="251"/>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="xenia_lang" order="100">
      <choice name="English" value="1"/>
      <choice name="日本語 (Japanese)" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Français" value="4"/>
      <choice name="Español" value="5"/>
      <choice name="Italiano" value="6"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="簡化字 (Chinese - traditional)" value="8"/>
      <choice name="简化字 (Chinese - simplified)" value="17"/>
      <choice name="Português" value="9"/>
      <choice name="Polski" value="11"/>
      <choice name="Русский (Russian)" value="12"/>
      <choice name="Nederlands" value="16"/>
      <choice name="Svenska" value="13"/>
      <choice name="Türkçe" value="14"/>
      <choice name="Norsk" value="15"/>
    </feature>
    <feature submenu="EMULATION" name="LICENCE MASK" group="ADVANCED SETTINGS" value="license_mask" description="Set license mask for activated content (ALL LICENCES is Generally a bad idea, could lead to undefined behavior)." order="101">
      <choice name="FIRST LICENCE ENABLED" value="1"/>
      <choice name="NO LICENCES" value="0"/>
      <choice name="ALL LICENCES ENABLED" value="-1"/>
    </feature>
    <feature submenu="EMULATION" name="MOUNT CACHE" group="ADVANCED SETTINGS" value="mount_cache" description="Enable cache mount" preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="SCRIBBLE HEAP" group="ADVANCED SETTINGS" value="scribble_heap" description="Scribble 0xCD into all allocated heap memory." preset="switchauto" order="103"/>
    <feature submenu="EMULATION" name="PROTECT ZERO" group="ADVANCED SETTINGS" value="protect_zero" description="Hack needed for some games." preset="switchauto" order="104"/>
    <feature submenu="EMULATION" name="ENABLE D3D DEBUG LAYER" group="ADVANCED SETTINGS" value="xenia_d3d12_debug" description="Hack needed for some games (Too Human)." preset="switchauto" order="105"/>
    <feature submenu="EMULATION" name="BREAK ON UNIMPLEMENTED INSTRUCTIONS" group="ADVANCED SETTINGS" value="break_on_unimplemented_instructions" description="Break to the host debugger (or crash if no debugger attached) if an unimplemented PowerPC instruction is encountered." preset="switchauto" order="106"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="gpu" order="400">
      <choice name="DIRECT3D12" value="d3d12"/>
      <choice name="VULKAN" value="vulkan"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="apu" order="401">
      <choice name="NOP" value="nop"/>
      <choice name="SDL" value="sdl"/>
      <choice name="XAUDIO2" value="xaudio2"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="xenia_hid" description="Use winkey for keyboard, xinput if you have a XBOX controller, sdl for other type of controllers." order="103">
      <choice name="SDL" value="sdl"/>
      <choice name="XBOX CONTROLLER" value="xinput"/>
      <choice name="KEYBOARD" value="winkey"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
  </emulator>
  <emulator name="xenia-canary, xenia-manager">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="xenia_resolution" order="20">
      <choice name="1280x720 (default)" value="1_1"/>
      <choice name="2560x1440" value="2_2"/>
      <choice name="3840x2160" value="3_3"/>
      <choice name="5120x2880" value="4_4"/>
    </feature>
    <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="xenia_widescreen" order="25">
      <choice name="16:9" value="true"/>
      <choice name="4:3" value="false"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="INTERNAL GAME RESOLUTION" group="ADVANCED SETTINGS" value="xenia_internal_display_resolution" description="Allow game that support different resolutions to be rendered in specific resolution." order="153">
      <choice name="1280x720 (default)" value="8"/>
      <choice name="640x480" value="0"/>
      <choice name="640x576" value="1"/>
      <choice name="720x480" value="2"/>
      <choice name="720x576" value="3"/>
      <choice name="800x600" value="4"/>
      <choice name="848x480" value="5"/>
      <choice name="1024x768" value="6"/>
      <choice name="1152x864" value="7"/>
      <choice name="1280x768" value="9"/>
      <choice name="1280x960" value="10"/>
      <choice name="1280x1024" value="11"/>
      <choice name="1360x768" value="12"/>
      <choice name="1440x900" value="13"/>
      <choice name="1680x1050" value="14"/>
      <choice name="1920x540" value="15"/>
      <choice name="1920x1080 (MIGHT BREAK)" value="16"/>
    </feature>
    <feature submenu="VIDEO" name="VIDEO STANDARD" group="ADVANCED SETTINGS" value="xenia_video_standard" description="Enables switching between different video signals." order="154">
      <choice name="NTSC" value="1"/>
      <choice name="NTSC-J" value="2"/>
      <choice name="PAL" value="3"/>
    </feature>
    <feature submenu="VIDEO" name="AV PACK" group="ADVANCED SETTINGS" value="xenia_avpack" description="Select video mode (type of cable)." order="155">
      <choice name="HDMI (DEFAULT)" value="8"/>
      <choice name="TV PAL 60" value="7"/>
      <choice name="VGA" value="6"/>
      <choice name="PAL-60 COMPOSITE S-VIDEO" value="5"/>
      <choice name="HDMI+A" value="4"/>
      <choice name="480P COMPONENT (HD)" value="3"/>
      <choice name="PAL-60 SCART" value="2"/>
      <choice name="PAL-60 COMPONENT (SD)" value="0"/>
    </feature>
    <feature submenu="VIDEO" name="USE PAL 50HZ" group="ADVANCED SETTINGS" value="xenia_pal50" preset="switchauto" order="156"/>
    <feature submenu="VIDEO" name="RENDER TARGET PATH" group="ADVANCED SETTINGS" value="render_target_path" description="Render target emulation path to use. rtv/fbo offers better performance, rov/fsi highest accuracy." order="157">
      <choice name="RTV/FBO" value="performance"/>
      <choice name="ROV/FSI" value="accuracy"/>
    </feature>
    <feature submenu="VIDEO" name="ALLOW INVALID FETCH" group="ADVANCED SETTINGS" value="gpu_allow_invalid_fetch_constants" description="Allow texture and vertex fetch constants with invalid type, can be used to bypass fetch errors in certain games." preset="switchauto" order="158"/>
    <feature submenu="VIDEO" name="READBACK RESOLVE" group="ADVANCED SETTINGS" value="readback_resolve" description="Read render-to-texture results on the CPU. This may be needed in some games but causes mid-frame synchronization, so it has a huge performance impact." order="159">
      <choice name="FAST" value="fast"/>
      <choice name="FULL" value="full"/>
      <choice name="NONE" value="none"/>
    </feature>
    <feature submenu="VIDEO" name="QUERY OCCLUSION SAMPLE LOW" group="ADVANCED SETTINGS" value="query_occlusion_sample_lower_threshold" description="Setting this to 0 means everything is reported as occluded, required for Forza Motorsport 4." order="160">
      <choice name="80" value="80"/>
      <choice name="0" value="0"/>
      <choice name="-1" value="-1"/>
    </feature>
    <feature submenu="VIDEO" name="QUERY OCCLUSION SAMPLE HIGH" group="ADVANCED SETTINGS" value="query_occlusion_sample_upper_threshold" description="Setting this to 0 means everything is reported as occluded, required for Forza Motorsport 4." order="160">
      <choice name="100" value="100"/>
      <choice name="0" value="0"/>
    </feature>
    <feature submenu="VIDEO" name="QUEUE PRIORITY" group="ADVANCED SETTINGS" value="xenia_queue_priority" description="Setting this to 1 can increase performance." order="161">
      <choice name="NORMAL" value="0"/>
      <choice name="HIGH" value="1"/>
    </feature>
    <feature submenu="VIDEO" name="FRAMERATE LIMIT" group="ADVANCED SETTINGS" value="xenia_framerate_limit" description="Defaults to 60, when set to 0, and VSYNC is enabled." order="162">
      <choice name="60 (DEFAULT)" value="60"/>
      <choice name="30" value="30"/>
      <choice name="0 (UNLIMITED)" value="0"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="postprocess_antialiasing" description="Post-processing anti-aliasing effect to apply to the image output of the game." order="250">
      <choice name="NONE" value="off"/>
      <choice name="FXAA" value="fxaa"/>
      <choice name="FXAA EXTREME" value="fxaa_extreme"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SCALING FILTER" group="ADVANCED SETTINGS" value="postprocess_scaling_and_sharpening" description="Post-processing scaling filter to apply to the image output of the game." order="251">
      <choice name="BILINEAR" value="bilinear"/>
      <choice name="CAS" value="cas"/>
      <choice name="FSR" value="fsr"/>
      <choice name="NEAREST NEIGHBOR" value="nearest"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="VRR" group="ADVANCED SETTINGS" value="xenia_allow_variable_refresh_rate_and_tearing" description="Allow using variable refresh rate on displays supporting it. On displays not supporting VRR, screen tearing may occur in certain cases." preset="switchauto" order="252"/>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="xenia_lang" order="100">
      <choice name="English" value="1"/>
      <choice name="日本語 (Japanese)" value="2"/>
      <choice name="Deutsch" value="3"/>
      <choice name="Français" value="4"/>
      <choice name="Español" value="5"/>
      <choice name="Italiano" value="6"/>
      <choice name="한국어 (Korean)" value="7"/>
      <choice name="簡化字 (Chinese - traditional)" value="8"/>
      <choice name="简化字 (Chinese - simplified)" value="17"/>
      <choice name="Português" value="9"/>
      <choice name="Polski" value="11"/>
      <choice name="Русский (Russian)" value="12"/>
      <choice name="Nederlands" value="16"/>
      <choice name="Svenska" value="13"/>
      <choice name="Türkçe" value="14"/>
      <choice name="Norsk" value="15"/>
    </feature>
    <feature submenu="EMULATION" name="LICENCE MASK" group="ADVANCED SETTINGS" value="license_mask" description="Set license mask for activated content (ALL LICENCES is Generally a bad idea, could lead to undefined behavior)." order="101">
      <choice name="FIRST LICENCE ENABLED" value="1"/>
      <choice name="NO LICENCES" value="0"/>
      <choice name="ALL LICENCES ENABLED" value="-1"/>
    </feature>
    <feature submenu="EMULATION" name="ENABLE PATCHES" group="ADVANCED SETTINGS" value="xenia_patches" description="Enables custom patching functionality." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="MOUNT CACHE" group="ADVANCED SETTINGS" value="mount_cache" preset="switchauto" order="103"/>
    <feature submenu="EMULATION" name="REFRESH MEMORY PAGES STATE" group="ADVANCED SETTINGS" value="xenia_clear_memory_page_state" description="Refresh state of memory pages to enable gpu written data. (Use for 'Team Ninja' Games to fix missing character models)." preset="switchauto" order="104"/>
    <feature submenu="EMULATION" name="SCRIBBLE HEAP" group="ADVANCED SETTINGS" value="scribble_heap" description="Scribble 0xCD into all allocated heap memory." preset="switchauto" order="105"/>
    <feature submenu="EMULATION" name="PROTECT ZERO" group="ADVANCED SETTINGS" value="protect_zero" description="Hack needed for some games." preset="switchauto" order="106"/>
    <feature submenu="EMULATION" name="ENABLE D3D DEBUG LAYER" group="ADVANCED SETTINGS" value="xenia_d3d12_debug" description="Hack needed for some games (Too Human)." preset="switchauto" order="107"/>
    <feature submenu="EMULATION" name="BREAK ON UNIMPLEMENTED INSTRUCTIONS" group="ADVANCED SETTINGS" value="break_on_unimplemented_instructions" description="Break to the host debugger (or crash if no debugger attached) if an unimplemented PowerPC instruction is encountered." preset="switchauto" order="108"/>
    <feature submenu="EMULATION" name="PROFILE PLAYER 1" group="ADVANCED SETTINGS" value="xenia_profile1" description="Select the profile to assign to the player." preset="folder" order="120"/>
    <feature submenu="EMULATION" name="PROFILE PLAYER 2" group="ADVANCED SETTINGS" value="xenia_profile2" preset="folder" order="121"/>
    <feature submenu="EMULATION" name="PROFILE PLAYER 3" group="ADVANCED SETTINGS" value="xenia_profile3" preset="folder" order="122"/>
    <feature submenu="EMULATION" name="PROFILE PLAYER 4" group="ADVANCED SETTINGS" value="xenia_profile4" preset="folder" order="123"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="gpu" order="400">
      <choice name="DIRECT3D12" value="d3d12"/>
      <choice name="VULKAN" value="vulkan"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="apu" order="401">
      <choice name="NOP" value="nop"/>
      <choice name="SDL" value="sdl"/>
      <choice name="XAUDIO2" value="xaudio2"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="xenia_hid" description="Use winkey for keyboard, xinput if you have a XBOX controller, sdl for other type of controllers." order="500">
      <choice name="SDL" value="sdl"/>
      <choice name="XBOX CONTROLLER" value="xinput"/>
      <choice name="KEYBOARD" value="winkey"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
  </emulator>
  <emulator name="xenia-edge">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="xenia_resolution" order="20">
      <choice name="1280x720 (default)" value="1_1"/>
      <choice name="2560x1440" value="2_2"/>
      <choice name="3840x2160" value="3_3"/>
      <choice name="5120x2880" value="4_4"/>
    </feature>
    <feature name="ASPECT RATIO" group="GENERAL SETTINGS" value="xenia_widescreen" order="25">
      <choice name="16:9" value="true"/>
      <choice name="4:3" value="false"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="vsync" preset="switchauto" order="30"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="INTERNAL GAME RESOLUTION" group="ADVANCED SETTINGS" value="xenia_internal_display_resolution" description="Allow game that support different resolutions to be rendered in specific resolution." order="153">
      <choice name="1280x720 (default)" value="8"/>
      <choice name="640x480" value="0"/>
      <choice name="640x576" value="1"/>
      <choice name="720x480" value="2"/>
      <choice name="720x576" value="3"/>
      <choice name="800x600" value="4"/>
      <choice name="848x480" value="5"/>
      <choice name="1024x768" value="6"/>
      <choice name="1152x864" value="7"/>
      <choice name="1280x768" value="9"/>
      <choice name="1280x960" value="10"/>
      <choice name="1280x1024" value="11"/>
      <choice name="1360x768" value="12"/>
      <choice name="1440x900" value="13"/>
      <choice name="1680x1050" value="14"/>
      <choice name="1920x540" value="15"/>
      <choice name="1920x1080 (MIGHT BREAK)" value="16"/>
    </feature>
	<feature submenu="VIDEO" name="USE ASYNCHRONOUS SHADER COMPILATION" group="ADVANCED SETTINGS" value="async_shader_compilation" description="Can reduce lags when compiling shaders but also can create artifacts." preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="VIDEO STANDARD" group="ADVANCED SETTINGS" value="xenia_video_standard" description="Enables switching between different video signals." order="155">
      <choice name="NTSC" value="1"/>
      <choice name="NTSC-J" value="2"/>
      <choice name="PAL" value="3"/>
    </feature>
    <feature submenu="VIDEO" name="AV PACK" group="ADVANCED SETTINGS" value="xenia_avpack" description="Select video mode (type of cable)." order="156">
      <choice name="HDMI (DEFAULT)" value="8"/>
      <choice name="TV PAL 60" value="7"/>
      <choice name="VGA" value="6"/>
      <choice name="PAL-60 COMPOSITE S-VIDEO" value="5"/>
      <choice name="HDMI+A" value="4"/>
      <choice name="480P COMPONENT (HD)" value="3"/>
      <choice name="PAL-60 SCART" value="2"/>
      <choice name="PAL-60 COMPONENT (SD)" value="0"/>
    </feature>
    <feature submenu="VIDEO" name="USE PAL 50HZ" group="ADVANCED SETTINGS" value="xenia_pal50" preset="switchauto" order="157"/>
    <feature submenu="VIDEO" name="RENDER TARGET PATH" group="ADVANCED SETTINGS" value="render_target_path" order="158">
      <choice name="RTV/FBO" value="performance"/>
      <choice name="ROV/FSI" value="accuracy"/>
    </feature>
    <feature submenu="VIDEO" name="ALLOW INVALID FETCH" group="ADVANCED SETTINGS" value="gpu_allow_invalid_fetch_constants" description="Allow texture and vertex fetch constants with invalid type, can be used to bypass fetch errors in certain games." preset="switchauto" order="159"/>
    <feature submenu="VIDEO" name="READBACK RESOLVE" group="ADVANCED SETTINGS" value="readback_resolve" description="Read render-to-texture results on the CPU. This may be needed in some games but causes mid-frame synchronization, so it has a huge performance impact." order="160">
      <choice name="FAST" value="fast"/>
      <choice name="FULL" value="full"/>
	  <choice name="SOME" value="some"/>
      <choice name="NONE" value="none"/>
    </feature>
    <feature submenu="VIDEO" name="QUERY OCCLUSION SAMPLE LOW" group="ADVANCED SETTINGS" value="query_occlusion_sample_lower_threshold" description="Setting this to 0 means everything is reported as occluded, required for Forza Motorsport 4." order="161">
      <choice name="80" value="80"/>
      <choice name="0" value="0"/>
      <choice name="-1" value="-1"/>
    </feature>
    <feature submenu="VIDEO" name="QUERY OCCLUSION SAMPLE HIGH" group="ADVANCED SETTINGS" value="query_occlusion_sample_upper_threshold" description="Setting this to 0 means everything is reported as occluded, required for Forza Motorsport 4." order="162">
      <choice name="100" value="100"/>
      <choice name="0" value="0"/>
    </feature>
    <feature submenu="VIDEO" name="QUEUE PRIORITY" group="ADVANCED SETTINGS" value="xenia_queue_priority" description="Setting this to 1 can increase performance." order="163">
      <choice name="NORMAL" value="0"/>
      <choice name="HIGH" value="1"/>
    </feature>
    <feature submenu="VIDEO" name="FRAMERATE LIMIT" group="ADVANCED SETTINGS" value="xenia_framerate_limit" description="Defaults to 60, when set to 0, and VSYNC is enabled." order="164">
      <choice name="60 (DEFAULT)" value="60"/>
      <choice name="30" value="30"/>
      <choice name="0 (UNLIMITED)" value="0"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="postprocess_antialiasing" description="Post-processing anti-aliasing effect to apply to the image output of the game." order="250">
      <choice name="NONE" value="off"/>
      <choice name="FXAA" value="fxaa"/>
      <choice name="FXAA EXTREME" value="fxaa_extreme"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SCALING FILTER" group="ADVANCED SETTINGS" value="postprocess_scaling_and_sharpening" description="Post-processing scaling filter to apply to the image output of the game." order="251">
      <choice name="BILINEAR" value="bilinear"/>
      <choice name="CAS" value="cas"/>
      <choice name="FSR" value="fsr"/>
      <choice name="NEAREST NEIGHBOR" value="nearest"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="VRR" group="ADVANCED SETTINGS" value="xenia_allow_variable_refresh_rate_and_tearing" description="Allow using variable refresh rate on displays supporting it. On displays not supporting VRR, screen tearing may occur in certain cases." preset="switchauto" order="252"/>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="xenia_lang_edge" order="100">
      <choice name="English" value="English"/>
      <choice name="日本語 (Japanese)" value="Japanese"/>
      <choice name="Deutsch" value="German"/>
      <choice name="Français" value="French"/>
      <choice name="Español" value="Spanish"/>
      <choice name="Italiano" value="Italian"/>
      <choice name="한국어 (Korean)" value="Korean"/>
      <choice name="簡化字 (Chinese - traditional)" value="TChinese"/>
      <choice name="简化字 (Chinese - simplified)" value="SChinese"/>
      <choice name="Português" value="Portuguese"/>
      <choice name="Polski" value="Polish"/>
      <choice name="Русский (Russian)" value="Russian"/>
    </feature>
    <feature submenu="EMULATION" name="LICENCE MASK" group="ADVANCED SETTINGS" value="license_mask" description="Set license mask for activated content (ALL LICENCES is Generally a bad idea, could lead to undefined behavior)." order="101">
      <choice name="FIRST LICENCE ENABLED" value="1"/>
      <choice name="NO LICENCES" value="0"/>
      <choice name="ALL LICENCES ENABLED" value="-1"/>
    </feature>
    <feature submenu="EMULATION" name="ENABLE PATCHES" group="ADVANCED SETTINGS" value="xenia_patches" description="Enables custom patching functionality." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="MOUNT CACHE" group="ADVANCED SETTINGS" value="mount_cache" preset="switchauto" order="103"/>
    <feature submenu="EMULATION" name="REFRESH MEMORY PAGES STATE" group="ADVANCED SETTINGS" value="xenia_clear_memory_page_state" description="Refresh state of memory pages to enable gpu written data. (Use for 'Team Ninja' Games to fix missing character models)." preset="switchauto" order="104"/>
    <feature submenu="EMULATION" name="SCRIBBLE HEAP" group="ADVANCED SETTINGS" value="scribble_heap" description="Scribble 0xCD into all allocated heap memory." preset="switchauto" order="105"/>
    <feature submenu="EMULATION" name="PROTECT ZERO" group="ADVANCED SETTINGS" value="protect_zero" description="Hack needed for some games." preset="switchauto" order="106"/>
    <feature submenu="EMULATION" name="ENABLE D3D DEBUG LAYER" group="ADVANCED SETTINGS" value="xenia_d3d12_debug" description="Hack needed for some games (Too Human)." preset="switchauto" order="107"/>
    <feature submenu="EMULATION" name="BREAK ON UNIMPLEMENTED INSTRUCTIONS" group="ADVANCED SETTINGS" value="break_on_unimplemented_instructions" description="Break to the host debugger (or crash if no debugger attached) if an unimplemented PowerPC instruction is encountered." preset="switchauto" order="108"/>
    <feature submenu="EMULATION" name="IGNORE OPTIMIZED SETTINGS" group="ADVANCED SETTINGS" value="edge_ignore_optimized_settings" description="Ignore xenia-edge optimized settings and use values selected in RetroBat." preset="switchauto" order="109"/>
    <feature submenu="EMULATION" name="PROFILE PLAYER 1" group="ADVANCED SETTINGS" value="xenia_profile1" description="Select the profile to assign to the player." preset="folder" order="120"/>
    <feature submenu="EMULATION" name="PROFILE PLAYER 2" group="ADVANCED SETTINGS" value="xenia_profile2" preset="folder" order="121"/>
    <feature submenu="EMULATION" name="PROFILE PLAYER 3" group="ADVANCED SETTINGS" value="xenia_profile3" preset="folder" order="122"/>
    <feature submenu="EMULATION" name="PROFILE PLAYER 4" group="ADVANCED SETTINGS" value="xenia_profile4" preset="folder" order="123"/>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="gpu" order="400">
      <choice name="DIRECT3D12" value="d3d12"/>
      <choice name="VULKAN" value="vulkan"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="apu" order="401">
      <choice name="NOP" value="nop"/>
      <choice name="SDL" value="sdl"/>
      <choice name="XAUDIO2" value="xaudio2"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="xenia_hid" description="Use winkey for keyboard, xinput if you have a XBOX controller, sdl for other type of controllers." order="500">
      <choice name="SDL" value="sdl"/>
      <choice name="XBOX CONTROLLER" value="xinput"/>
      <choice name="KEYBOARD" value="winkey"/>
    </feature>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
  </emulator>
  <!-- XM6PRO -->
  <emulator name="xm6pro" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo" order="15"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="tattoo_corner" order="16"/>
    <sharedFeature submenu="TATTOO" group="GENERAL SETTINGS" value="resize_tattoo" order="17"/>
    <feature submenu="VISUAL RENDERING" group="ADVANCED SETTINGS" name="SCANLINES" value="68k_scanlines" preset="switchauto" order="250"/>
    <feature group="GENERAL SETTINGS" name="SMOOTH" value="68k_smooth" preset="switchauto" order="32"/>
    <feature group="GENERAL SETTINGS" name="GAME ASPECT RATIO" value="68k_stretch" order="25">
      <choice name="4/3" value="false"/>
      <choice name="STRETCH" value="true"/>
    </feature>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="AUDIO" name="MIDI DEVICE INDEX" group="ADVANCED SETTINGS" value="68k_midi_index" description="Select MIDI device as listed in emulator." order="300">
      <choice name="0 (NO DEVICE SELECTED)" value="0"/>
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
      <choice name="9" value="9"/>
    </feature>
    <feature submenu="AUDIO" name="MIDI INTERRUPT LEVEL" group="ADVANCED SETTINGS" value="68k_midi_interrupt" order="301">
      <choice name="LEVEL 4" value="0"/>
      <choice name="LEVEL 2" value="1"/>
    </feature>
    <feature submenu="EMULATION" name="CPU FREQUENCY" group="ADVANCED SETTINGS" value="68k_clock" order="100">
      <choice name="10 MHZ (STANDARD)" value="0"/>
      <choice name="12 MHZ (ACE)" value="1"/>
      <choice name="15 MHZ (PRO)" value="2"/>
      <choice name="16 MHZ (SUPER)" value="3"/>
      <choice name="17.4 MHZ (EXPERT)" value="4"/>
      <choice name="20 MHZ (HARP)" value="5"/>
    </feature>
    <feature submenu="EMULATION" name="MAIN RAM" group="ADVANCED SETTINGS" value="68k_ram" order="101">
      <choice name="2 MB" value="0"/>
      <choice name="4 MB" value="1"/>
      <choice name="6 MB" value="2"/>
      <choice name="8 MB" value="3"/>
      <choice name="10 MB" value="4"/>
      <choice name="12 MB" value="5"/>
    </feature>
    <feature submenu="EMULATION" name="FAST FLOPPY" group="ADVANCED SETTINGS" value="68k_floppy" preset="switchauto" order="102"/>
    <feature submenu="USER INTERFACE" name="SHOW STATUS BAR" group="ADVANCED SETTINGS" value="68k_statusbar" preset="switchauto" order="450"/>
  </emulator>
  <!-- XROAR -->
  <emulator name="xroar">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <system name="coco">
      <feature submenu="EMULATION" name="MACHINE" group="ADVANCED SETTINGS" value="xroar_machine" order="100">
        <choice name="TANDY COCO(PAL)" value="coco"/>
        <choice name="TANDY COCO(NTSC)" value="cocous"/>
        <choice name="TANDY COCO 2B(PAL)" value="coco2b"/>
        <choice name="TANDY COCO 2B(NTSC)" value="coco2bus"/>
        <choice name="TANDY COCO 3(NTSC)" value="coco3"/>
        <choice name="TANDY COCO 3-6309(NTSC)" value="coco3h"/>
        <choice name="TANDY COCO 3(PAL)" value="coco3p"/>
        <choice name="TANDY COCO 3-6309(PAL)" value="coco3ph"/>
      </feature>
      <feature submenu="EMULATION" name="CARTRIDGE" group="ADVANCED SETTINGS" value="xroar_cart" order="101">
        <choice name="RS-DOS" value="rsdos"/>
        <choice name="RS-DOS WITH BECKER PORT" value="becker"/>
      </feature>
      <feature submenu="EMULATION" name="LOAD COMMAND" group="ADVANCED SETTINGS" value="xroar_load_command" order="101">
        <choice name="LOAD" value="LOAD"/>
        <choice name="LOADM" value="LOADM"/>
        <choice name="CLOAD" value="CLOAD"/>
        <choice name="CLOADM" value="CLOADM"/>
      </feature>
      <feature submenu="EMULATION" name="RUN COMMAND" group="ADVANCED SETTINGS" value="xroar_run_command" order="101">
        <choice name="EXEC" value="EXEC"/>
        <choice name="RUN" value="RUN"/>
      </feature>
    </system>
    <system name="dragon32,dragon64,dragon">
      <feature submenu="EMULATION" name="MACHINE" group="ADVANCED SETTINGS" value="xroar_machine" order="100">
        <choice name="DRAGON64" value="dragon64"/>
        <choice name="DRAGON32" value="dragon32"/>
      </feature>
      <feature submenu="EMULATION" name="CARTRIDGE" group="ADVANCED SETTINGS" value="xroar_cart" order="101">
        <choice name="DRAGONDOS" value="dragondos"/>
        <choice name="DELTA" value="delta"/>
        <choice name="GAMES MASTER CARTRIDGE" value="gmc"/>
      </feature>
    </system>
    <feature submenu="CONTROLS" name="SWITCH JOYSTICKS" group="ADVANCED SETTINGS" value="xroar_joyswitch" description="Enable this to plus Player 1 joystick in left port instead of right port." preset="switchauto" order="500"/>
  </emulator>
  <!-- YABASANSHIRO -->
  <emulator name="yabasanshiro">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="yaba_resolution" order="20">
      <choice name="NATIVE" value="0"/>
      <choice name="ORIGINAL" value="3"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="1"/>
      <choice name="720p" value="4"/>
      <choice name="1080p" value="5"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="yaba_ratio" order="25">
      <choice name="PRESERVE ASPECT" value="0"/>
      <choice name="STRETCH TO SCREEN" value="3"/>
      <choice name="4:3" value="1"/>
      <choice name="16:9" value="2"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="yaba_frameskip" description="Skip frames to improve performance (smoothless)." preset="switchauto" order="152"/>
    <feature submenu="VISUAL RENDERING" name="TEXTURE FILTER" group="ADVANCED SETTINGS" value="yaba_filtering" description="Control the texture filtering of the emulation." order="250">
      <choice name="NONE" value="0"/>
      <choice name="BILINEAR" value="3"/>
      <choice name="FXAA" value="1"/>
      <choice name="SCANLINE" value="2"/>
    </feature>
    <feature submenu="EMULATION" name="DISC NUMBER" group="ADVANCED SETTINGS" value="saturn_discnumber" description="In case of multidisc games, when using .m3u file, specify the disc number to run." order="100">
      <choice name="1" value="0"/>
      <choice name="2" value="1"/>
      <choice name="3" value="2"/>
      <choice name="4" value="3"/>
    </feature>
    <feature submenu="EMULATION" name="START BIOS" group="ADVANCED SETTINGS" value="saturn_startbios" description="This will run the console BIOS instead of a game." preset="switchauto" order="101"/>
    <feature submenu="EMULATION" name="FORCE BIOS" group="ADVANCED SETTINGS" value="yabasanshiro_force_bios" description="Define BIOS to use for emulation." order="102">
      <choice name="Multi-region" value="saturn_bios.bin"/>
      <choice name="JAP" value="sega_101.bin"/>
      <choice name="EUR/US" value="mpr-17933.bin"/>
      <choice name="HLE" value="hle"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="yaba_audiocore" order="400">
      <choice name="SDL" value="1"/>
      <choice name="DIRECTX" value="2"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="yaba_videocore" order="401">
      <choice name="OPENGL" value="1"/>
      <choice name="VULKAN" value="4"/>
    </feature>
    <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="yaba_padlayout" order="500">
      <choice name="L/R as Y/Z" value="lr_yz"/>
      <choice name="L/R as Z/C" value="lr_zc"/>
      <choice name="L/R as X/Z" value="lr_xz"/>
    </feature>
    <feature submenu="CONTROLS" name="USE ANALOG STICK" group="ADVANCED SETTINGS" value="yaba_leftstick" description="Use Left analog stick instead of D-PAD for controls." preset="switchauto" order="501"/>
    <feature submenu="CONTROLS" name="USE MULTITAP" group="ADVANCED SETTINGS" value="yaba_multitap" order="502">
      <choice name="NO" value="0"/>
      <choice name="PORT 1" value="1"/>
      <choice name="PORT 2" value="2"/>
      <choice name="BOTH PORTS" value="both"/>
    </feature>
    <feature submenu="CONTROLS" name="USE SATURN-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="saturn_pad_yaba" order="503">
      <choice name="NO" value="0"/>
      <choice name="YES(DPAD)" value="1"/>
      <choice name="YES(ANALOG)" value="2"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="yaba_fps" preset="switchauto" order="450"/>
  </emulator>
  <!-- YMIR -->
  <emulator name="ymir">
    <sharedFeature group="GENERAL SETTINGS" value="bezel" order="10"/>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="ymir_ratio" order="25">
      <choice name="DEFAULT" value="default"/>
      <choice name="FORCE 4/3" value="43"/>
      <choice name="FORCE 16/9" value="169"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="integerscale" order="35"/>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="VIDEO FORMAT" group="ADVANCED SETTINGS" value="ymir_videoformat" description="Select a video format for output." order="158">
      <choice name="NTSC" value="NTSC"/>
      <choice name="PAL" value="PAL"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="DEINTERLACE" group="ADVANCED SETTINGS" value="saturn_deinterlace" preset="switchauto" order="250"/>
    <feature submenu="VISUAL RENDERING" name="IMPROVED MESH" group="ADVANCED SETTINGS" value="saturn_meshmode" preset="switchauto" order="251"/>
    <feature submenu="EMULATION" name="FORCE BIOS" group="ADVANCED SETTINGS" value="ymir_force_bios" description="Define BIOS to use for emulation." order="102">
      <choice name="Multi-region" value="saturn_bios.bin"/>
      <choice name="JAP" value="sega_101.bin"/>
      <choice name="EUR/US" value="mpr-17933.bin"/>
    </feature>
    <feature submenu="EMULATION" name="PER GAME BACKUP RAM" group="ADVANCED SETTINGS" value="saturn_pergame_backup" preset="switchauto" order="103"/>
    <feature submenu="CONTROLS" name="CONTROLLER TYPE" group="ADVANCED SETTINGS" value="ymir_peripheral" order="500">
      <choice name="STANDARD CONTROLLER" value="ControlPad"/>
      <choice name="3D PAD" value="AnalogPad"/>
    </feature>
    <feature submenu="CONTROLS" name="BUTTON LAYOUT" group="ADVANCED SETTINGS" value="saturn_padlayout" order="501">
      <choice name="L/R as Y/Z" value="lr_yz"/>
      <choice name="L/R as Z/C" value="lr_zc"/>
      <choice name="L/R as X/Z" value="lr_xz"/>
    </feature>
    <feature submenu="CONTROLS" name="INVERT TRIGGERS AND SHOULDERS" group="ADVANCED SETTINGS" value="saturn_invert_triggers" description="Use shoulder buttons for L and R instead of triggers." preset="switchauto" order="503"/>
    <feature submenu="CONTROLS" name="USE SATURN-LIKE CONTROLLER" group="ADVANCED SETTINGS" value="saturn_pad_ymir" order="505">
      <choice name="NO" value="0"/>
      <choice name="YES" value="1"/>
    </feature>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="ymir_deadzone" preset="sliderauto" preset-parameters="0.00 0.50 0.02 %" order="513"/>
    <feature submenu="CONTROLS" name="ANALOG TRIGGER DEADZONE" group="ADVANCED SETTINGS" value="ymir_trigger_deadzone" description="Sets the deadzone of the Gamepad analog triggers." preset="sliderauto" preset-parameters="0.00 0.50 0.02 %" order="514"/>
  </emulator>
  <!-- YUZU -->
  <emulator name="yuzu, yuzu-early-access">
    <feature name="INTERNAL RESOLUTION" group="GENERAL SETTINGS" value="resolution_setup" description="Improve fidelity of 3D models at the cost of increased performance requirements." order="20">
      <choice name="0.5x (360p/540p)" value="0"/>
      <choice name="0.75x (540p/810p)" value="1"/>
      <choice name="1x (720p/1080p)" value="2"/>
      <choice name="1.5x (1080p/1620p)" value="3"/>
      <choice name="2x (1440p/2160p)" value="4"/>
      <choice name="3x (2160p/3240p)" value="5"/>
      <choice name="4x (2880p/4320p)" value="6"/>
      <choice name="5x (3600p/5400p)" value="7"/>
      <choice name="6x (4320p/6480p)" value="8"/>
      <choice name="7x (5040p/7560p)" value="9"/>
      <choice name="8x (5760p/8640p)" value="10"/>
    </feature>
    <feature name="VERTICAL SYNC" group="GENERAL SETTINGS" value="use_vsync" order="30">
      <choice name="FIFO (Vsync ON)" value="2"/>
      <choice name="NO" value="0"/>
      <choice name="YES (MAILBOX) - Vulkan only" value="1"/>
      <choice name="FIFO RELAX - vulkan only" value="3"/>
    </feature>
    <feature name="GAME ASPECT RATIO" group="GENERAL SETTINGS" value="yuzu_ratio" order="25">
      <choice name="DEFAULT" value="0"/>
      <choice name="FORCE 4/3" value="1"/>
      <choice name="FORCE 21/9" value="2"/>
      <choice name="FORCE 16/10" value="3"/>
      <choice name="STRETCH" value="4"/>
    </feature>
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="GPU ACCURACY" group="ADVANCED SETTINGS" value="gpu_accuracy" description="Default is 'HIGH', set to 'NORMAL' to increase performance at the cost of accuracy." order="153">
      <choice name="HIGH" value="1"/>
      <choice name="NORMAL" value="0"/>
      <choice name="EXTREME (VERY SLOW)" value="2"/>
    </feature>
    <feature submenu="VIDEO" name="USE ASYNCHRONOUS SHADER COMPILATION" group="ADVANCED SETTINGS" value="use_asynchronous_shaders" description="Can reduce lags when compiling shaders, experimental." preset="switchauto" order="154"/>
    <feature submenu="VIDEO" name="ASTC RECOMPRESSION" group="ADVANCED SETTINGS" value="astc_recompression" description="For games using ASTC textures, switch to medium when using 6GB VRAM GPU and low when using 4GB-2GB VRAM GPU." order="155">
      <choice name="UNCOMPRESSED (default, best quality)" value="0"/>
      <choice name="MEDIUM QUALITY" value="2"/>
      <choice name="LOW QUALITY" value="1"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANTI-ALIASING" group="ADVANCED SETTINGS" value="anti_aliasing" description="Set Anti Aliasing for rendered content." order="250">
      <choice name="NONE" value="0"/>
      <choice name="FXAA" value="1"/>
      <choice name="MSAA" value="2"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="SCALING FILTER" group="ADVANCED SETTINGS" value="scaling_filter" description="Set scaling filter for rendered content." order="251">
      <choice name="Nearest Neighbor" value="0"/>
      <choice name="Bilinear" value="1"/>
      <choice name="Bicubic" value="2"/>
      <choice name="Gaussian" value="3"/>
      <choice name="ScaleForce" value="4"/>
      <choice name="AMD's FidelityFX Super Resolution" value="5"/>
    </feature>
    <feature submenu="VISUAL RENDERING" name="ANISOTROPIC FILTERING" group="ADVANCED SETTINGS" value="yuzu_anisotropy" description="Enhance the quality of textures on surface." order="252">
      <choice name="DEFAULT" value="1"/>
      <choice name="2x" value="2"/>
      <choice name="4x" value="3"/>
      <choice name="8x" value="4"/>
      <choice name="16x" value="5"/>
    </feature>
    <feature submenu="AUDIO" name="AUDIO CHANNELS" group="ADVANCED SETTINGS" value="sound_index" order="300">
      <choice name="STEREO" value="1"/>
      <choice name="SURROUND" value="2"/>
      <choice name="MONO" value="0"/>
    </feature>
    <feature submenu="EMULATION" name="LANGUAGE" group="ADVANCED SETTINGS" value="yuzu_language" order="100">
        <choice name="American English" value="1"/>
        <choice name="日本語 (Japanese)" value="0"/>
        <choice name="Français" value="2"/>
        <choice name="Español" value="5"/>
        <choice name="Deutsch" value="3"/>
        <choice name="Italiano" value="4"/>
        <choice name="Nederlands" value="8"/>
        <choice name="Português" value="9"/>
        <choice name="Русский (Russian)" value="10"/>
        <choice name="한국어 (Korean)" value="7"/>
        <choice name="Chinese" value="6"/>
        <choice name="Taiwanese" value="11"/>
        <choice name="British" value="12"/>
        <choice name="French (Canadian)" value="13"/>
        <choice name="Spanish (Latin America)" value="14"/>
        <choice name="简化字 (Chinese - simplified)" value="15"/>
        <choice name="簡化字 (Chinese - traditional)" value="16"/>
        <choice name="Português (Brazil)" value="17"/>
    </feature>
    <feature submenu="EMULATION" name="REGION" group="ADVANCED SETTINGS" value="yuzu_region_value" description="Force the region of the system." order="101">
      <choice name="JAPAN" value="0"/>
      <choice name="USA" value="1"/>
      <choice name="EUROPE" value="2"/>
      <choice name="AUSTRALIA" value="3"/>
      <choice name="CHINA" value="4"/>
      <choice name="KOREA" value="5"/>
      <choice name="TAIWAN" value="6"/>
    </feature>
    <feature submenu="EMULATION" name="USE UNDOCKED MODE" group="ADVANCED SETTINGS" value="yuzu_undock" description="Can increase performance on some lower-end systems." preset="switchauto" order="102"/>
    <feature submenu="EMULATION" name="CPU ACCURACY" group="ADVANCED SETTINGS" value="cpu_accuracy" description="Leave AUTO as default except the game requires specific setting." order="103">
      <choice name="ACCURATE" value="1"/>
      <choice name="UNSAFE" value="2"/>
      <choice name="PARANOID" value="3"/>
    </feature>
    <feature submenu="EMULATION" name="MULTICORE CPU EMULATION" group="ADVANCED SETTINGS" value="yuzu_multicore" preset="switchauto" order="104"/>
    <feature submenu="EMULATION" name="RAM SIZE" group="ADVANCED SETTINGS" value="yuzu_memory" order="105">
      <choice name="4GB (Default)" value="0"/>
      <choice name="6GB (Unsafe)" value="1"/>
      <choice name="8GB (Unsafe)" value="2"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="backend" order="400">
      <choice name="OPENGL" value="0"/>
      <choice name="VULKAN" value="1"/>
    </feature>
    <feature submenu="DRIVERS" name="AUDIO" group="ADVANCED SETTINGS" value="audio_backend" order="401">
      <choice name="CUBEB" value="cubeb"/>
      <choice name="SDL2" value="sdl2"/>
    </feature>
    <feature submenu="DRIVERS" name="DISABLE RAW INPUT" group="ADVANCED SETTINGS" value="yuzu_norawinput" preset="switchauto" order="402"/>
    <feature submenu="CONTROLS" name="PLAYER 1 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="player_0_type" description="Sets the player controller type." order="500">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="HANDHELD" value="4"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 2 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="player_1_type" order="501">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 3 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="player_2_type" order="502">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="PLAYER 4 CONTROLLER TYPE" group="ADVANCED SETTINGS" value="player_3_type" order="503">
      <choice name="PRO CONTROLLER" value="0"/>
      <choice name="DUAL JOYCON" value="1"/>
      <choice name="LEFT JOYCON" value="2"/>
      <choice name="RIGHT JOYCON" value="3"/>
      <choice name="GAMECUBE" value="5"/>
    </feature>
    <feature submenu="CONTROLS" name="ENABLE MOTION" group="ADVANCED SETTINGS" value="switch_enable_motion" description="Can only be used if the controller is compatible with motion control." preset="switchauto" order="510"/>
    <feature submenu="CONTROLS" name="INVERT FACE BUTTONS" group="ADVANCED SETTINGS" value="switch_gamepadbuttons" description="Invert A/B and X/Y buttons." preset="switchauto" order="505"/>
    <feature submenu="CONTROLS" name="ANALOG DEADZONE" group="ADVANCED SETTINGS" value="yuzu_deadzone" preset="sliderauto" preset-parameters="0 50 5 %" order="513"/>
    <feature submenu="CONTROLS" name="DISABLE CONTROLLER APPLET" group="ADVANCED SETTINGS" value="yuzu_controller_applet" description="Disable the controller applet that appears in multiplayer games to select the connected controllers." preset="switchauto" order="520"/>
    <sharedFeature submenu="USER INTERFACE" group="ADVANCED SETTINGS" value="discord" order="450"/>
  </emulator>
  <!-- ZACCARIA PINBALL -->
  <emulator name="zaccariapinball" features="padtokeyboard">
    <sharedFeature submenu="EMULATION" group="ADVANCED SETTINGS" value="killsteam" order="105"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <feature submenu="EMULATION" name="NUMBER OF PLAYERS" group="ADVANCED SETTINGS" value="zaccaria_players" order="100">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
    </feature>
    <feature submenu="EMULATION" name="GAME MODE" group="ADVANCED SETTINGS" value="zaccaria_gamemode" order="101">
      <choice name="CLASSIC ARCADE" value="classic_arcade"/>
      <choice name="CLASSIC SIMULATION" value="classic_simulation"/>
      <choice name="CLASSIC USER" value="classic_user"/>
      <choice name="90 SECONDES" value="90sec"/>
    </feature>
    <feature submenu="VIDEO" name="ROTATE SCREEN" group="ADVANCED SETTINGS" value="zaccaria_rotate" order="151">
      <choice name="LEFT" value="left"/>
      <choice name="RIGHT" value="right"/>
    </feature>
  </emulator>
  <!-- ZESARUX -->
  <emulator name="zesarux" features="padtokeyboard">
    <sharedFeature group="GENERAL SETTINGS" value="disableautocontrollers" order="45"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <system name="zxspectrum">
      <feature submenu="EMULATION" name="MACHINE TYPE" group="ADVANCED SETTINGS" value="zesarux_machine" description="Define the emulated machine type." order="100">
        <choice name="ZX Spectrum+ 128k" value="128k"/>
        <choice name="ZX Spectrum+ 128k (Spanish)" value="128ks"/>
        <choice name="ZX Spectrum 16k" value="16k"/>
        <choice name="ZX Spectrum 48k" value="48k"/>
        <choice name="ZX Spectrum +48k" value="48kp"/>
        <choice name="ZX Spectrum+ 48k (Spanish)" value="48ks"/>
        <choice name="ZX Spectrum +2" value="P2"/>
        <choice name="ZX Spectrum +2 (French)" value="P2F"/>
        <choice name="ZX Spectrum +2 (Spanish)" value="P2S"/>
        <choice name="ZX Spectrum +2A (ROM v4.0)" value="P2A40"/>
        <choice name="ZX Spectrum +2A (ROM v4.1)" value="P2A41"/>
        <choice name="ZX Spectrum +2A (Spanish)" value="P2AS"/>
        <choice name="ZX Spectrum +3 (ROM v4.0)" value="P340"/>
        <choice name="ZX Spectrum +3 (ROM v4.1)" value="P341"/>
        <choice name="ZX Spectrum +3 (Spanish)" value="P3S"/>
      </feature>
      <feature submenu="CONTROLS" name="JOYSTICK TYPE" group="ADVANCED SETTINGS" value="zesarux_joytype" description="Define the emulated joystick type." order="500">
        <choice name="KEMPSTON" value="Kempston"/>
        <choice name="SINCLAIR 1" value="Sinclair 1"/>
        <choice name="SINCLAIR 2" value="Sinclair 2"/>
        <choice name="CURSOR" value="Cursor"/>
        <choice name="FULLER" value="Fuller"/>
      </feature>
    </system>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="zesarux_showfps" preset="switchauto" order="450"/>
  </emulator>
  <!-- ZINC -->
  <emulator name="zinc" features="padtokeyboard">
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="videomode" order="150"/>
    <sharedFeature submenu="VIDEO" group="ADVANCED SETTINGS" value="forcefullscreen" order="151"/>
    <feature submenu="VIDEO" name="COLOR DEPTH" group="ADVANCED SETTINGS" value="zinc_colordepth" order="152">
      <choice name="32 bits" value="32"/>
      <choice name="16 bits" value="16"/>
    </feature>
    <feature submenu="VIDEO" name="FRAMESKIP" group="ADVANCED SETTINGS" value="zinc_frameskip" description="Skip frames to improve performance (smoothless)." preset="switchauto" order="153"/>
    <feature submenu="VISUAL RENDERING" name="SCANLINES" group="ADVANCED SETTINGS" value="zinc_scanlines" order="250">
      <choice name="NONE" value="0"/>
      <choice name="BLACK" value="1"/>
      <choice name="BRIGHT" value="2"/>
    </feature>
    <feature submenu="DRIVERS" name="VIDEO" group="ADVANCED SETTINGS" value="zinc_renderer" order="400">
      <choice name="OPENGL" value="ogl"/>
      <choice name="DIRECT3D" value="d3d"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROLLER CONFIGURATION METHOD" group="ADVANCED SETTINGS" value="zinc_controller_config" description="'PRE-DEFINED' uses the config files located in the emulator 'cfg' folder, 'DYNAMIC' generates configuration based on profile selected in 'CONTROLS' advanced settings." order="500">
      <choice name="DYNAMIC PROFILE" value="autoconfig"/>
      <choice name="PRE-DEFINED FILES" value="predefined"/>
      <choice name="NONE" value="none"/>
    </feature>
    <feature submenu="CONTROLS" name="CONTROL SCHEME" group="ADVANCED SETTINGS" value="zinc_control_scheme" description="Select controller layout to use when using 'Dynamic Profile' option." order="501">
      <choice name="STANDARD" value="standard"/>
      <choice name="STREET FIGHTER" value="sf"/>
      <choice name="SOUL EDGE" value="edge"/>
      <choice name="TEKKEN" value="tekken"/>
    </feature>
    <feature submenu="CONTROLS" name="USE DPAD" group="ADVANCED SETTINGS" value="zinc_digital" description="By default zinc maps the left stick for movement, use this option to switch to d-pad." preset="switchauto" order="502"/>
    <feature submenu="CONTROLS" name="FORCE PLAYER 1 PAD INDEX" group="ADVANCED SETTINGS" value="zinc_p1_forceindex" description="Force P1 pad index, can be useful when using a controller on an arcade machine." order="503">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="CONTROLS" name="FORCE PLAYER 2 PAD INDEX" group="ADVANCED SETTINGS" value="zinc_p2_forceindex" order="504">
      <choice name="1" value="1"/>
      <choice name="2" value="2"/>
      <choice name="3" value="3"/>
      <choice name="4" value="4"/>
      <choice name="5" value="5"/>
      <choice name="6" value="6"/>
      <choice name="7" value="7"/>
      <choice name="8" value="8"/>
    </feature>
    <feature submenu="USER INTERFACE" name="SHOW FPS" group="ADVANCED SETTINGS" value="zinc_fps" preset="switchauto" order="450"/>
  </emulator>
</features>
