From b7890cbdeeebd59245030614e4c22794802a1c06 Mon Sep 17 00:00:00 2001 From: Locutus73 Date: Wed, 27 May 2020 11:34:38 +0200 Subject: [PATCH] Version 1.2.1 - New options. Added support for osd_rotate, refresh_min, refresh_max, jammasd_vid, jammasd_pid, sniper_mode and browse_expand; added video_mode values 12 (1920x1440 60Hz) and 13 (2048x1536 60Hz); rearranged the options order. --- ini_settings.sh | 96 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 95 insertions(+), 1 deletion(-) diff --git a/ini_settings.sh b/ini_settings.sh index ead0809..c826ffe 100644 --- a/ini_settings.sh +++ b/ini_settings.sh @@ -18,6 +18,7 @@ # You can download the latest version of this script from: # https://github.com/MiSTer-devel/Scripts_MiSTer +# Version 1.2.1 - 2020-05-27 - Added support for osd_rotate, refresh_min, refresh_max, jammasd_vid, jammasd_pid, sniper_mode and browse_expand; added video_mode values 12 (1920x1440 60Hz) and 13 (2048x1536 60Hz); rearranged the options order. # Version 1.2 - 2020-03-03 - Added support for menu_pal, osd_timeout, recents, reset_combo and controller_info; MiSTer_alt.ini is created when missing. # Version 1.1.12 - 2019-09-07 - Added support for hdmi_limited=2 (16-255) for AG620x DACs; to be used with direct_video=1. # Version 1.1.11 - 2019-08-20 - Added support for direct_video. @@ -59,7 +60,7 @@ DIALOG_HEIGHT="31" FONTS_DIRECTORY="/media/fat/font" FONTS_EXTENSION="pf" -INI_KEYS="video_mode video_mode_ntsc video_mode_pal vsync_adjust vscale_mode vscale_border hdmi_limited dvi_mode vga_scaler forced_scandoubler ypbpr composite_sync direct_video hdmi_audio_96k menu_pal osd_timeout video_info controller_info recents font volumectl mouse_throttle bootscreen reset_combo key_menu_as_rgui keyrah_mode rbf_hide_datecode bootcore bootcore_timeout fb_size fb_terminal" +INI_KEYS="video_mode video_mode_ntsc video_mode_pal vsync_adjust refresh_min refresh_max vscale_mode vscale_border hdmi_limited dvi_mode vga_scaler forced_scandoubler ypbpr composite_sync direct_video hdmi_audio_96k menu_pal browse_expand rbf_hide_datecode fb_terminal fb_size osd_timeout osd_rotate video_info controller_info recents font volumectl mouse_throttle sniper_mode bootscreen reset_combo key_menu_as_rgui keyrah_mode jammasd_vid jammasd_pid bootcore bootcore_timeout" KEY_video_mode=( "Video resolution and frequency" @@ -75,6 +76,8 @@ KEY_video_mode=( "9|1920x1080 50Hz" "10|1366x768 60Hz" "11|1024x600 60Hz" + "12|1920x1440 60Hz" + "13|2048x1536 60Hz" ) KEY_video_mode_ntsc=( @@ -335,6 +338,97 @@ KEY_bootcore_timeout=( "30|30 seconds" ) +KEY_osd_rotate=( + "Display OSD menu rotated" + "0|0°|No ratation" + "1|+90°|Rotate right" + "2|-90°|Rotate left" +) + +KEY_refresh_min=( + "If you monitor doesn't support very low refresh rate (NTSC monitors may not support PAL) then you can set refresh_min, so vsync_adjust won't be applied for refreshes outside specified value. This parameters is valid only when vsync_adjust is non-zero." + "0|Not set" + "40|40" "40.1|40.1" "40.2|40.2" "40.3|40.3" "40.4|40.4" "40.5|40.5" "40.6|40.6" "40.7|40.7" "40.8|40.8" "40.9|40.9" + "41|41" "41.1|41.1" "41.2|41.2" "41.3|41.3" "41.4|41.4" "41.5|41.5" "41.6|41.6" "41.7|41.7" "41.8|41.8" "41.9|41.9" + "42|42" "42.1|42.1" "42.2|42.2" "42.3|42.3" "42.4|42.4" "42.5|42.5" "42.6|42.6" "42.7|42.7" "42.8|42.8" "42.9|42.9" + "43|43" "43.1|43.1" "43.2|43.2" "43.3|43.3" "43.4|43.4" "43.5|43.5" "43.6|43.6" "43.7|43.7" "43.8|43.8" "43.9|43.9" + "44|44" "44.1|44.1" "44.2|44.2" "44.3|44.3" "44.4|44.4" "44.5|44.5" "44.6|44.6" "44.7|44.7" "44.8|44.8" "44.9|44.9" + "45|45" "45.1|45.1" "45.2|45.2" "45.3|45.3" "45.4|45.4" "45.5|45.5" "45.6|45.6" "45.7|45.7" "45.8|45.8" "45.9|45.9" + "46|46" "46.1|46.1" "46.2|46.2" "46.3|46.3" "46.4|46.4" "46.5|46.5" "46.6|46.6" "46.7|46.7" "46.8|46.8" "46.9|46.9" + "47|47" "47.1|47.1" "47.2|47.2" "47.3|47.3" "47.4|47.4" "47.5|47.5" "47.6|47.6" "47.7|47.7" "47.8|47.8" "47.9|47.9" + "48|48" "48.1|48.1" "48.2|48.2" "48.3|48.3" "48.4|48.4" "48.5|48.5" "48.6|48.6" "48.7|48.7" "48.8|48.8" "48.9|48.9" + "49|49" "49.1|49.1" "49.2|49.2" "49.3|49.3" "49.4|49.4" "49.5|49.5" "49.6|49.6" "49.7|49.7" "49.8|49.8" "49.9|49.9" + "50|50" "50.1|50.1" "50.2|50.2" "50.3|50.3" "50.4|50.4" "50.5|50.5" "50.6|50.6" "50.7|50.7" "50.8|50.8" "50.9|50.9" + "51|51" "51.1|51.1" "51.2|51.2" "51.3|51.3" "51.4|51.4" "51.5|51.5" "51.6|51.6" "51.7|51.7" "51.8|51.8" "51.9|51.9" + "52|52" "52.1|52.1" "52.2|52.2" "52.3|52.3" "52.4|52.4" "52.5|52.5" "52.6|52.6" "52.7|52.7" "52.8|52.8" "52.9|52.9" + "53|53" "53.1|53.1" "53.2|53.2" "53.3|53.3" "53.4|53.4" "53.5|53.5" "53.6|53.6" "53.7|53.7" "53.8|53.8" "53.9|53.9" + "54|54" "54.1|54.1" "54.2|54.2" "54.3|54.3" "54.4|54.4" "54.5|54.5" "54.6|54.6" "54.7|54.7" "54.8|54.8" "54.9|54.9" + "55|55" "55.1|55.1" "55.2|55.2" "55.3|55.3" "55.4|55.4" "55.5|55.5" "55.6|55.6" "55.7|55.7" "55.8|55.8" "55.9|55.9" + "56|56" "56.1|56.1" "56.2|56.2" "56.3|56.3" "56.4|56.4" "56.5|56.5" "56.6|56.6" "56.7|56.7" "56.8|56.8" "56.9|56.9" + "57|57" "57.1|57.1" "57.2|57.2" "57.3|57.3" "57.4|57.4" "57.5|57.5" "57.6|57.6" "57.7|57.7" "57.8|57.8" "57.9|57.9" + "58|58" "58.1|58.1" "58.2|58.2" "58.3|58.3" "58.4|58.4" "58.5|58.5" "58.6|58.6" "58.7|58.7" "58.8|58.8" "58.9|58.9" + "59|59" "59.1|59.1" "59.2|59.2" "59.3|59.3" "59.4|59.4" "59.5|59.5" "59.6|59.6" "59.7|59.7" "59.8|59.8" "59.9|59.9" + "60|60" +) + +KEY_refresh_max=( + "If you monitor doesn't support very high refresh rate (PAL monitors may not support NTSC) then you can set refresh_max, so vsync_adjust won't be applied for refreshes outside specified value. This parameters is valid only when vsync_adjust is non-zero." + "0|Not set" + "50|50" "50.1|50.1" "50.2|50.2" "50.3|50.3" "50.4|50.4" "50.5|50.5" "50.6|50.6" "50.7|50.7" "50.8|50.8" "50.9|50.9" + "51|51" "51.1|51.1" "51.2|51.2" "51.3|51.3" "51.4|51.4" "51.5|51.5" "51.6|51.6" "51.7|51.7" "51.8|51.8" "51.9|51.9" + "52|52" "52.1|52.1" "52.2|52.2" "52.3|52.3" "52.4|52.4" "52.5|52.5" "52.6|52.6" "52.7|52.7" "52.8|52.8" "52.9|52.9" + "53|53" "53.1|53.1" "53.2|53.2" "53.3|53.3" "53.4|53.4" "53.5|53.5" "53.6|53.6" "53.7|53.7" "53.8|53.8" "53.9|53.9" + "54|54" "54.1|54.1" "54.2|54.2" "54.3|54.3" "54.4|54.4" "54.5|54.5" "54.6|54.6" "54.7|54.7" "54.8|54.8" "54.9|54.9" + "55|55" "55.1|55.1" "55.2|55.2" "55.3|55.3" "55.4|55.4" "55.5|55.5" "55.6|55.6" "55.7|55.7" "55.8|55.8" "55.9|55.9" + "56|56" "56.1|56.1" "56.2|56.2" "56.3|56.3" "56.4|56.4" "56.5|56.5" "56.6|56.6" "56.7|56.7" "56.8|56.8" "56.9|56.9" + "57|57" "57.1|57.1" "57.2|57.2" "57.3|57.3" "57.4|57.4" "57.5|57.5" "57.6|57.6" "57.7|57.7" "57.8|57.8" "57.9|57.9" + "58|58" "58.1|58.1" "58.2|58.2" "58.3|58.3" "58.4|58.4" "58.5|58.5" "58.6|58.6" "58.7|58.7" "58.8|58.8" "58.9|58.9" + "59|59" "59.1|59.1" "59.2|59.2" "59.3|59.3" "59.4|59.4" "59.5|59.5" "59.6|59.6" "59.7|59.7" "59.8|59.8" "59.9|59.9" + "60|60" "60.1|60.1" "60.2|60.2" "60.3|60.3" "60.4|60.4" "60.5|60.5" "60.6|60.6" "60.7|60.7" "60.8|60.8" "60.9|60.9" + "61|61" "61.1|61.1" "61.2|61.2" "61.3|61.3" "61.4|61.4" "61.5|61.5" "61.6|61.6" "61.7|61.7" "61.8|61.8" "61.9|61.9" + "62|62" "62.1|62.1" "62.2|62.2" "62.3|62.3" "62.4|62.4" "62.5|62.5" "62.6|62.6" "62.7|62.7" "62.8|62.8" "62.9|62.9" + "63|63" "63.1|63.1" "63.2|63.2" "63.3|63.3" "63.4|63.4" "63.5|63.5" "63.6|63.6" "63.7|63.7" "63.8|63.8" "63.9|63.9" + "64|64" "64.1|64.1" "64.2|64.2" "64.3|64.3" "64.4|64.4" "64.5|64.5" "64.6|64.6" "64.7|64.7" "64.8|64.8" "64.9|64.9" + "65|65" "65.1|65.1" "65.2|65.2" "65.3|65.3" "65.4|65.4" "65.5|65.5" "65.6|65.6" "65.7|65.7" "65.8|65.8" "65.9|65.9" + "66|66" "66.1|66.1" "66.2|66.2" "66.3|66.3" "66.4|66.4" "66.5|66.5" "66.6|66.6" "66.7|66.7" "66.8|66.8" "66.9|66.9" + "67|67" "67.1|67.1" "67.2|67.2" "67.3|67.3" "67.4|67.4" "67.5|67.5" "67.6|67.6" "67.7|67.7" "67.8|67.8" "67.9|67.9" + "68|68" "68.1|68.1" "68.2|68.2" "68.3|68.3" "68.4|68.4" "68.5|68.5" "68.6|68.6" "68.7|68.7" "68.8|68.8" "68.9|68.9" + "69|69" "69.1|69.1" "69.2|69.2" "69.3|69.3" "69.4|69.4" "69.5|69.5" "69.6|69.6" "69.7|69.7" "69.8|69.8" "69.9|69.9" + "70|70" "70.1|70.1" "70.2|70.2" "70.3|70.3" "70.4|70.4" "70.5|70.5" "70.6|70.6" "70.7|70.7" "70.8|70.8" "70.9|70.9" + "71|71" "71.1|71.1" "71.2|71.2" "71.3|71.3" "71.4|71.4" "71.5|71.5" "71.6|71.6" "71.7|71.7" "71.8|71.8" "71.9|71.9" + "72|72" "72.1|72.1" "72.2|72.2" "72.3|72.3" "72.4|72.4" "72.5|72.5" "72.6|72.6" "72.7|72.7" "72.8|72.8" "72.9|72.9" + "73|73" "73.1|73.1" "73.2|73.2" "73.3|73.3" "73.4|73.4" "73.5|73.5" "73.6|73.6" "73.7|73.7" "73.8|73.8" "73.9|73.9" + "74|74" "74.1|74.1" "74.2|74.2" "74.3|74.3" "74.4|74.4" "74.5|74.5" "74.6|74.6" "74.7|74.7" "74.8|74.8" "74.9|74.9" + "75|75" "75.1|75.1" "75.2|75.2" "75.3|75.3" "75.4|75.4" "75.5|75.5" "75.6|75.6" "75.7|75.7" "75.8|75.8" "75.9|75.9" + "76|76" "76.1|76.1" "76.2|76.2" "76.3|76.3" "76.4|76.4" "76.5|76.5" "76.6|76.6" "76.7|76.7" "76.8|76.8" "76.9|76.9" + "77|77" "77.1|77.1" "77.2|77.2" "77.3|77.3" "77.4|77.4" "77.5|77.5" "77.6|77.6" "77.7|77.7" "77.8|77.8" "77.9|77.9" + "78|78" "78.1|78.1" "78.2|78.2" "78.3|78.3" "78.4|78.4" "78.5|78.5" "78.6|78.6" "78.7|78.7" "78.8|78.8" "78.9|78.9" + "79|79" "79.1|79.1" "79.2|79.2" "79.3|79.3" "79.4|79.4" "79.5|79.5" "79.6|79.6" "79.7|79.7" "79.8|79.8" "79.9|79.9" + "80|80" +) + +KEY_jammasd_vid=( + "JammaSD keys to joysticks translation; you have to provide correct VID and PID of your input device" + "0x04D8|0x04D8" +) + +KEY_jammasd_pid=( + "JammaSD keys to joysticks translation; you have to provide correct VID and PID of your input device" + "0xF3AD|0xF3AD" +) + +KEY_sniper_mode=( + "Speeds in sniper/non-sniper modes of mouse emulation by joystick" + "0|Faster movement in non-sniper mode, slower in sniper mode" + "1|Movement speeds are swapped" +) + +KEY_browse_expand=( + "Enables a second line for long file names in listing" + "0|Off" + "1|On" +) + # ========= CODE STARTS HERE =========