# This must be a list so items are kept in order
# FIXME: Not all options are included here (yet)
ordered_uae_options = [
    "use_gui",
    "use_debugger",
    "debugging_options",
    "kickstart_rom_file",
    "kickstart_ext_rom_file",
    "ide_mb_rom_file",
    "flash_file",
    "cart_file",
    "rtc_file",
    "picassoiv_rom_file",
    "kickshifter",
    "scsidevice_disable",
    "ks_write_enabled",
    "floppy_volume",
    "floppy0",
    "floppy0wp",
    "floppy0type",
    "floppy0sound",
    "floppy1",
    "floppy1wp",
    "floppy1type",
    "floppy1sound",
    "floppy2",
    "floppy2wp",
    "floppy2type",
    "floppy2sound",
    "floppy3",
    "floppy3wp",
    "floppy3type",
    "floppy3sound",
    "nr_floppies",
    "floppy_write_protect",
    "floppy_speed",
    "floppy_channel_mask",
    "cd_speed",
    "parallel_on_demand",
    "serial_on_demand",
    "serial_hardware_ctsrts",
    "serial_status",
    "serial_ri",
    "serial_direct",
    "serial_stopbits",
    "serial_translate",
    "scsi",
    "uaeserial",
    "sana2",
    "sound_output",
    "sound_channels",
    "sound_stereo_separation",
    "sound_stereo_mixing_delay",
    "sound_max_buff",
    "sound_frequency",
    "sound_interpol",
    "sound_filter",
    "sound_filter_type",
    "sound_volume",
    "sound_volume_paula",
    "sound_volume_cd",
    "sound_volume_ahi",
    "sound_volume_midi",
    "sound_volume_genlock",
    "sound_auto",
    "sound_stereo_swap_paula",
    "sound_stereo_swap_ahi",
    "sound_volcnt",
    "sampler_frequency",
    "sampler_buffer",
    "sampler_stereo",
    "comp_trustbyte",
    "comp_trustword",
    "comp_trustlong",
    "comp_trustnaddr",
    "comp_nf",
    "comp_constjump",
    "comp_flushmode",
    "compfpu",
    "comp_catchfault",
    "cachesize",
    "jit_blacklist",
    "jit_inhibit",
    "joyport0",
    "joyport0autofire",
    "joyport1",
    "joyport1autofire",
    "bsdsocket_emu",
    "synchronize_clock",
    "maprom",
    "boot_rom_uae",
    "uaeboard",
    "parallel_matrix_emulation",
    "parallel_postscript_emulation",
    "parallel_postscript_detection",
    "ghostscript_parameters",
    "parallel_autoflush",
    "uae_hide",
    "uae_hide_autoconfig",
    "magic_mouse",
    "magic_mousecursor",
    "absolute_mouse",
    "tablet_library",
    "clipboard_sharing",
    "native_code",
    "cputester",
    "gfx_display",
    "gfx_display_rtg",
    "gfx_framerate",
    "gfx_width",
    "gfx_height",
    "gfx_x_windowed",
    "gfx_y_windowed",
    "gfx_resize_windowed",
    "gfx_width_windowed",
    "gfx_height_windowed",
    "gfx_width_fullscreen",
    "gfx_height_fullscreen",
    "gfx_refreshrate",
    "gfx_refreshrate_rtg",
    "gfx_autoresolution",
    "gfx_autoresolution_delay",
    "gfx_autoresolution_min_vertical",
    "gfx_autoresolution_min_horizontal",
    "gfx_autoresolution_vga",
    "gfx_backbuffers",
    "gfx_backbuffers_rtg",
    "gfx_vsync",
    "gfx_vsyncmode",
    "gfx_vsync_picasso",
    "gfx_vsyncmode_picasso",
    "gfx_lores",
    "gfx_resolution",
    "gfx_lores_mode",
    "gfx_flickerfixer",
    "gfx_linemode",
    "gfx_fullscreen_amiga",
    "gfx_fullscreen_picasso",
    "gfx_center_horizontal",
    "gfx_center_vertical",
    "gfx_colour_mode",
    "gfx_blacker_than_black",
    "gfx_monochrome",
    "gfx_atari_palette_fix",
    "gfx_black_frame_insertion",
    "gfx_black_frame_insertion_ratio",
    "gfx_api",
    "gfx_api_hdr",
    "gfx_api_options",
    "gfx_horizontal_extra",
    "gfx_vertical_extra",
    "gfx_frame_slices",
    "gfx_vrr_monitor",
    "gfx_overscanmode",
    "gfx_monitorblankdelay",
    "gfx_rotation",
    "gfx_bordercolor",
    "gfx_filter_mask",
    "gfx_filter",
    "gfx_filter_mode",
    "gfx_filter_mode2",
    "gfx_filter_vert_zoomf",
    "gfx_filter_horiz_zoomf",
    "gfx_filter_vert_zoom_multf",
    "gfx_filter_horiz_zoom_multf",
    "gfx_filter_vert_offsetf",
    "gfx_filter_horiz_offsetf",
    "gfx_filter_left_border",
    "gfx_filter_right_border",
    "gfx_filter_top_border",
    "gfx_filter_bottom_border",
    "gfx_filter_scanlines",
    "gfx_filter_scanlinelevel",
    "gfx_filter_scanlineratio",
    "gfx_filter_scanlineoffset",
    "gfx_filter_luminance",
    "gfx_filter_contrast",
    "gfx_filter_saturation",
    "gfx_filter_gamma",
    "gfx_filter_gamma_r",
    "gfx_filter_gamma_g",
    "gfx_filter_gamma_b",
    "gfx_filter_blur",
    "gfx_filter_noise",
    "gfx_filter_bilinear",
    "gfx_filter_keep_autoscale_aspect",
    "gfx_filter_keep_aspect",
    "gfx_filter_autoscale",
    "gfx_filter_autoscale_limit",
    "gfx_filter_aspect_ratio",
    "gfx_filter_rotation",
    "gfx_filter_mask_rtg",
    "gfx_filter_rtg",
    "gfx_filter_mode_rtg",
    "gfx_filter_mode2_rtg",
    "gfx_filter_vert_zoomf_rtg",
    "gfx_filter_horiz_zoomf_rtg",
    "gfx_filter_vert_zoom_multf_rtg",
    "gfx_filter_horiz_zoom_multf_rtg",
    "gfx_filter_vert_offsetf_rtg",
    "gfx_filter_horiz_offsetf_rtg",
    "gfx_filter_left_border_rtg",
    "gfx_filter_right_border_rtg",
    "gfx_filter_top_border_rtg",
    "gfx_filter_bottom_border_rtg",
    "gfx_filter_scanlines_rtg",
    "gfx_filter_scanlinelevel_rtg",
    "gfx_filter_scanlineratio_rtg",
    "gfx_filter_scanlineoffset_rtg",
    "gfx_filter_luminance_rtg",
    "gfx_filter_contrast_rtg",
    "gfx_filter_saturation_rtg",
    "gfx_filter_gamma_rtg",
    "gfx_filter_gamma_r_rtg",
    "gfx_filter_gamma_g_rtg",
    "gfx_filter_gamma_b_rtg",
    "gfx_filter_blur_rtg",
    "gfx_filter_noise_rtg",
    "gfx_filter_bilinear_rtg",
    "gfx_filter_keep_autoscale_aspect_rtg",
    "gfx_filter_keep_aspect_rtg",
    "gfx_filter_autoscale_rtg",
    "gfx_filter_autoscale_limit_rtg",
    "gfx_filter_aspect_ratio_rtg",
    "gfx_filter_rotation_rtg",
    "gfx_filter_enable_lace",
    "gfx_filter_mask_lace",
    "gfx_filter_lace",
    "gfx_filter_mode_lace",
    "gfx_filter_mode2_lace",
    "gfx_filter_vert_zoomf_lace",
    "gfx_filter_horiz_zoomf_lace",
    "gfx_filter_vert_zoom_multf_lace",
    "gfx_filter_horiz_zoom_multf_lace",
    "gfx_filter_vert_offsetf_lace",
    "gfx_filter_horiz_offsetf_lace",
    "gfx_filter_left_border_lace",
    "gfx_filter_right_border_lace",
    "gfx_filter_top_border_lace",
    "gfx_filter_bottom_border_lace",
    "gfx_filter_scanlines_lace",
    "gfx_filter_scanlinelevel_lace",
    "gfx_filter_scanlineratio_lace",
    "gfx_filter_scanlineoffset_lace",
    "gfx_filter_luminance_lace",
    "gfx_filter_contrast_lace",
    "gfx_filter_saturation_lace",
    "gfx_filter_gamma_lace",
    "gfx_filter_gamma_r_lace",
    "gfx_filter_gamma_g_lace",
    "gfx_filter_gamma_b_lace",
    "gfx_filter_blur_lace",
    "gfx_filter_noise_lace",
    "gfx_filter_bilinear_lace",
    "gfx_filter_keep_autoscale_aspect_lace",
    "gfx_filter_keep_aspect_lace",
    "gfx_filter_autoscale_lace",
    "gfx_filter_autoscale_limit_lace",
    "gfx_filter_aspect_ratio_lace",
    "gfx_filter_rotation_lace",
    "gfx_luminance",
    "gfx_contrast",
    "gfx_gamma",
    "gfx_gamma_r",
    "gfx_gamma_g",
    "gfx_gamma_b",
    "gfx_center_horizontal_position",
    "gfx_center_vertical_position",
    "gfx_center_horizontal_size",
    "gfx_center_vertical_size",
    "rtg_vert_zoom_multf",
    "rtg_horiz_zoom_multf",
    "immediate_blits",
    "waiting_blits",
    "blitter_throttle",
    "ntsc",
    "genlock",
    "genlock_alpha",
    "genlock_aspect",
    "genlockmode",
    "genlock_image",
    "genlock_video",
    "genlock_font",
    "genlock_mix",
    "genlock_scale",
    "genlock_offset_x",
    "genlock_offset_y",
    "monitoremu",
    "monitoremu_monitor",
    "lightpen_crosshair",
    "show_leds",
    "show_leds_rtg",
    "show_leds_enabled",
    "show_leds_enabled_rtg",
    "show_refresh_indicator",
    "power_led_dim",
    "keyboard_leds",
    "chipset",
    "chipset_subpixel",
    "chipset_black_level_calibration",
    "collision_level",
    "chipset_compatible",
    "display_optimizations",
    "ciaatod",
    "rtc",
    "chipset_rtc_adjust",
    "cia_overlay",
    "ksmirror_e0",
    "ksmirror_a8",
    "cd32cd",
    "cd32c2p",
    "cd32nvram",
    "cd32nvram_size",
    "cdtvcd",
    "cdtv-cr",
    "cdtvram",
    "a1000ram",
    "fatgary",
    "ramsey",
    "pcmcia",
    "resetwarning",
    "denise_noehb",
    "agnus_bltbusybug",
    "bkpt_halt",
    "ics_agnus",
    "cia_todbug",
    "z3_autoconfig",
    "1mchipjumper",
    "color_burst",
    "hvcsync",
    "toshiba_gary",
    "rom_is_slow",
    "ciaa_type",
    "ciab_type",
    "unmapped_address_space",
    "memory_pattern",
    "ipl_delay",
    "floppydata_pullup",
    "keyboard_handshake",
    "chipset_hacks",
    "eclockphase",
    "eclocksync",
    "agnusmodel",
    "agnussize",
    "denisemodel",
    "ide",
    "z3mapping",
    "board_custom_order",
    "fastmem_size",
    "debugmem_start",
    "debugmem_size",
    "mem25bit_size",
    "a3000mem_size",
    "mbresmem_size",
    "z3mem_size",
    "z3mem_start",
    "bogomem_size",
    "cpuboard_type",
    "cpuboardmem1_size",
    "cpuboardmem2_size",
    "gfxcard_hardware_vblank",
    "gfxcard_hardware_sprite",
    "gfxcard_overlay",
    "gfxcard_screensplit",
    "gfxcard_paletteswitch",
    "gfxcard_dacswitch",
    "gfxcard_multithread",
    "chipmem_size",
    "megachipmem_size",
    "cpu_speed",
    "cpu_throttle",
    "cpu_x86_throttle",
    "cpu_type",
    "cpu_model",
    "fpu_model",
    "cpu_compatible",
    "cpu_24bit_addressing",
    "cpu_data_cache",
    "cpu_reset_pause",
    "cpu_halt_auto_reset",
    "cpu_threaded",
    "cpu_cycle_exact",
    "cpu_memory_cycle_exact",
    "blitter_cycle_exact",
    "cycle_exact",
    "fpu_no_unimplemented",
    "cpu_no_unimplemented",
    "fpu_strict",
    "fpu_softfloat",
    "rtg_nocustom",
    "rtg_modes",
    "rtg_noautomodes",
    "debug_mem",
    "log_illegal_mem",
    "keyboard_connected",
    "keyboard_nkro",
    "keyboard_type",
    "kbd_lang",
    "state_replay_rate",
    "state_replay_buffers",
    "state_replay_autoplay",
    "warp",
    "warp_limit",
    "warpboot",
    "warpboot_delay",
    # ----------------------------------------------------------------------------------------------
    # write_filesys_config - FIXME, can make hardfile2 / filesystem2 work
    "hardfile2",
    "uaehf0" "filesystem2",
    "uaehf1",
    # ----------------------------------------------------------------------------------------------
    "filesys_no_fsdb",  # not always present
    "filesys_max_size",
    "filesys_max_name_length",
    "filesys_max_file_size",
    "filesys_inject_icons",
    "filesys_inject_icons_drawer",
    "filesys_inject_icons_project",
    "filesys_inject_icons_tool",
    "scsidev_mode",
    "harddrive_write_protect",
    "input.config",
    "input.joymouse_speed_analog",
    "input.joymouse_speed_digital",
    "input.joymouse_deadzone",
    "input.joystick_deadzone",
    "input.analog_joystick_multiplier",
    "input.analog_joystick_offset",
    "input.mouse_speed",
    "input.autofire_speed",
    "input.autoswitch",
    "input.keyboard_type",
    "input.contact_bounce",
    "input.devicematchflags",
    "input.autoswitchleftright",
    "input.advancedmultiinput",
    "input.default_osk",
    "input.1.name",
    "input.1.joystick.0.empty",
    "input.1.joystick.1.empty",
    "input.1.joystick.2.empty",
    "input.1.joystick.3.empty",
    "input.1.joystick.4.empty",
    "input.1.joystick.5.empty",
    "input.1.joystick.6.empty",
    "input.1.joystick.7.empty",
    "input.1.joystick.8.empty",
    "input.1.joystick.9.empty",
    "input.1.joystick.10.empty",
    "input.1.joystick.11.empty",
    "input.1.joystick.12.empty",
    "input.1.joystick.13.empty",
    "input.1.joystick.14.empty",
    "input.1.joystick.15.empty",
    "input.1.joystick.16.empty",
    "input.1.joystick.17.empty",
    "input.1.joystick.18.empty",
    "input.1.joystick.19.empty",
    "input.1.mouse.0.empty",
    "input.1.mouse.1.empty",
    "input.1.mouse.2.empty",
    "input.1.mouse.3.empty",
    "input.1.mouse.4.empty",
    "input.1.mouse.5.empty",
    "input.1.mouse.6.empty",
    "input.1.mouse.7.empty",
    "input.1.mouse.8.empty",
    "input.1.mouse.9.empty",
    "input.1.mouse.10.empty",
    "input.1.mouse.11.empty",
    "input.1.mouse.12.empty",
    "input.1.mouse.13.empty",
    "input.1.mouse.14.empty",
    "input.1.mouse.15.empty",
    "input.1.mouse.16.empty",
    "input.1.mouse.17.empty",
    "input.1.mouse.18.empty",
    "input.1.mouse.19.empty",
    "input.1.keyboard.0.empty",
    "input.1.keyboard.1.empty",
    "input.1.keyboard.2.empty",
    "input.1.keyboard.3.empty",
    "input.1.keyboard.4.empty",
    "input.1.keyboard.5.empty",
    "input.1.keyboard.6.empty",
    "input.1.keyboard.7.empty",
    "input.1.keyboard.8.empty",
    "input.1.keyboard.9.empty",
    "input.1.keyboard.10.empty",
    "input.1.keyboard.11.empty",
    "input.1.keyboard.12.empty",
    "input.1.keyboard.13.empty",
    "input.1.keyboard.14.empty",
    "input.1.keyboard.15.empty",
    "input.1.keyboard.16.empty",
    "input.1.keyboard.17.empty",
    "input.1.keyboard.18.empty",
    "input.1.keyboard.19.empty",
    "input.1.internal.0.friendlyname",
    "input.1.internal.0.name",
    "input.1.internal.0.empty",
    "input.2.name",
    "input.2.joystick.0.empty",
    "input.2.joystick.1.empty",
    "input.2.joystick.2.empty",
    "input.2.joystick.3.empty",
    "input.2.joystick.4.empty",
    "input.2.joystick.5.empty",
    "input.2.joystick.6.empty",
    "input.2.joystick.7.empty",
    "input.2.joystick.8.empty",
    "input.2.joystick.9.empty",
    "input.2.joystick.10.empty",
    "input.2.joystick.11.empty",
    "input.2.joystick.12.empty",
    "input.2.joystick.13.empty",
    "input.2.joystick.14.empty",
    "input.2.joystick.15.empty",
    "input.2.joystick.16.empty",
    "input.2.joystick.17.empty",
    "input.2.joystick.18.empty",
    "input.2.joystick.19.empty",
    "input.2.mouse.0.empty",
    "input.2.mouse.1.empty",
    "input.2.mouse.2.empty",
    "input.2.mouse.3.empty",
    "input.2.mouse.4.empty",
    "input.2.mouse.5.empty",
    "input.2.mouse.6.empty",
    "input.2.mouse.7.empty",
    "input.2.mouse.8.empty",
    "input.2.mouse.9.empty",
    "input.2.mouse.10.empty",
    "input.2.mouse.11.empty",
    "input.2.mouse.12.empty",
    "input.2.mouse.13.empty",
    "input.2.mouse.14.empty",
    "input.2.mouse.15.empty",
    "input.2.mouse.16.empty",
    "input.2.mouse.17.empty",
    "input.2.mouse.18.empty",
    "input.2.mouse.19.empty",
    "input.2.keyboard.0.empty",
    "input.2.keyboard.1.empty",
    "input.2.keyboard.2.empty",
    "input.2.keyboard.3.empty",
    "input.2.keyboard.4.empty",
    "input.2.keyboard.5.empty",
    "input.2.keyboard.6.empty",
    "input.2.keyboard.7.empty",
    "input.2.keyboard.8.empty",
    "input.2.keyboard.9.empty",
    "input.2.keyboard.10.empty",
    "input.2.keyboard.11.empty",
    "input.2.keyboard.12.empty",
    "input.2.keyboard.13.empty",
    "input.2.keyboard.14.empty",
    "input.2.keyboard.15.empty",
    "input.2.keyboard.16.empty",
    "input.2.keyboard.17.empty",
    "input.2.keyboard.18.empty",
    "input.2.keyboard.19.empty",
    "input.2.internal.0.friendlyname",
    "input.2.internal.0.name",
    "input.2.internal.0.empty",
    "input.3.name",
    "input.3.joystick.0.empty",
    "input.3.joystick.1.empty",
    "input.3.joystick.2.empty",
    "input.3.joystick.3.empty",
    "input.3.joystick.4.empty",
    "input.3.joystick.5.empty",
    "input.3.joystick.6.empty",
    "input.3.joystick.7.empty",
    "input.3.joystick.8.empty",
    "input.3.joystick.9.empty",
    "input.3.joystick.10.empty",
    "input.3.joystick.11.empty",
    "input.3.joystick.12.empty",
    "input.3.joystick.13.empty",
    "input.3.joystick.14.empty",
    "input.3.joystick.15.empty",
    "input.3.joystick.16.empty",
    "input.3.joystick.17.empty",
    "input.3.joystick.18.empty",
    "input.3.joystick.19.empty",
    "input.3.mouse.0.empty",
    "input.3.mouse.1.empty",
    "input.3.mouse.2.empty",
    "input.3.mouse.3.empty",
    "input.3.mouse.4.empty",
    "input.3.mouse.5.empty",
    "input.3.mouse.6.empty",
    "input.3.mouse.7.empty",
    "input.3.mouse.8.empty",
    "input.3.mouse.9.empty",
    "input.3.mouse.10.empty",
    "input.3.mouse.11.empty",
    "input.3.mouse.12.empty",
    "input.3.mouse.13.empty",
    "input.3.mouse.14.empty",
    "input.3.mouse.15.empty",
    "input.3.mouse.16.empty",
    "input.3.mouse.17.empty",
    "input.3.mouse.18.empty",
    "input.3.mouse.19.empty",
    "input.3.keyboard.0.empty",
    "input.3.keyboard.1.empty",
    "input.3.keyboard.2.empty",
    "input.3.keyboard.3.empty",
    "input.3.keyboard.4.empty",
    "input.3.keyboard.5.empty",
    "input.3.keyboard.6.empty",
    "input.3.keyboard.7.empty",
    "input.3.keyboard.8.empty",
    "input.3.keyboard.9.empty",
    "input.3.keyboard.10.empty",
    "input.3.keyboard.11.empty",
    "input.3.keyboard.12.empty",
    "input.3.keyboard.13.empty",
    "input.3.keyboard.14.empty",
    "input.3.keyboard.15.empty",
    "input.3.keyboard.16.empty",
    "input.3.keyboard.17.empty",
    "input.3.keyboard.18.empty",
    "input.3.keyboard.19.empty",
    "input.3.internal.0.friendlyname",
    "input.3.internal.0.name",
    "input.3.internal.0.empty",
]
