2 source $prefix/menulang.cfg
3 source $prefix/power.cfg
4 source $prefix/hwinfo.cfg
5 source $prefix/keyboard.cfg
7 submenu "@VTMENU_RESOLUTION_CFG" --class=debug_resolution --class=F5tool {
8 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
12 vt_update_cur_video_mode VT_CUR_MODE
14 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
15 vt_get_video_mode $vdid vtCurMode
18 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
22 menuentry "$vtCurMode $vtActive" --class=debug_videomode --class=debug_resolution --class=F5tool VTOY_RUN_RET {
23 terminal_output console
25 terminal_output gfxterm
32 submenu "@VTMENU_SCREEN_MODE" --class=debug_screen_mode --class=F5tool {
33 menuentry '@VTMENU_SCREEN_TEXT_MODE' --class=debug_text_mode --class=debug_screen_mode --class=F5tool {
34 terminal_output console
36 menuentry '@VTMENU_SCREEN_GUI_MODE' --class=debug_gui_mode --class=debug_screen_mode --class=F5tool {
37 terminal_output gfxterm
39 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
44 if [ -n "$VTOY_THEME_COUNT" -a $VTOY_THEME_COUNT -gt 1 ]; then
45 submenu "@VTMENU_THEME_SELECT" --class=debug_theme_select --class=F5tool {
50 if [ "$grub_platform" != "pc" ]; then
51 submenu 'Ventoy UEFI Utilities' --class=debug_util --class=F5tool {
52 menuentry '@VTMENU_UTIL_SHOW_EFI_DRV' --class=debug_util_efidrv --class=debug_util --class=F5tool {
54 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=show_efi_drivers
57 echo -e "\npress ENTER to exit ..."
61 menuentry '@VTMENU_UTIL_FIX_BLINIT_FAIL' --class=debug_util_blinit --class=debug_util --class=F5tool {
62 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
64 echo -e "\npress ENTER to exit ..."
68 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
75 submenu '@VTMENU_JSON_CHK_JSON' --class=debug_json --class=F5tool {
76 menuentry '@VTMENU_JSON_CHK_CONTROL' --class=debug_control --class=debug_json --class=F5tool {
78 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
80 echo -e "\npress ENTER to exit ..."
85 menuentry '@VTMENU_JSON_CHK_THEME' --class=debug_theme --class=debug_json --class=F5tool {
87 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
89 echo -e "\npress ENTER to exit ..."
94 menuentry '@VTMENU_JSON_CHK_AUTOINS' --class=debug_autoinstall --class=debug_json --class=F5tool {
96 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
98 echo -e "\npress ENTER to exit ..."
103 menuentry '@VTMENU_JSON_CHK_PERSIST' --class=debug_persistence --class=debug_json --class=F5tool {
105 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
107 echo -e "\n############### dump persistence ###############"
110 echo -e "\npress ENTER to exit ..."
115 menuentry '@VTMENU_JSON_CHK_MENU_ALIAS' --class=debug_menualias --class=debug_json --class=F5tool {
117 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
119 echo -e "\npress ENTER to exit ..."
124 menuentry '@VTMENU_JSON_CHK_MENU_TIP' --class=debug_menutip --class=debug_json --class=F5tool {
126 vt_check_plugin_json $vt_plugin_path menu_tip $vtoy_iso_part
128 echo -e "\npress ENTER to exit ..."
133 menuentry '@VTMENU_JSON_CHK_MENU_CLASS' --class=debug_menuclass --class=debug_json --class=F5tool {
135 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
137 echo -e "\npress ENTER to exit ..."
142 menuentry '@VTMENU_JSON_CHK_INJECTION' --class=debug_injection --class=debug_json --class=F5tool {
144 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
146 echo -e "\npress ENTER to exit ..."
151 menuentry '@VTMENU_JSON_CHK_AUTO_MEMDISK' --class=debug_automemdisk --class=debug_json --class=F5tool {
153 vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
155 echo -e "\npress ENTER to exit ..."
160 menuentry '@VTMENU_JSON_CHK_IMG_LIST' --class=debug_imagelist --class=debug_json --class=F5tool {
162 vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
164 echo -e "\npress ENTER to exit ..."
169 menuentry '@VTMENU_JSON_CHK_IMG_BLIST' --class=debug_imageblacklist --class=debug_json --class=F5tool {
171 vt_check_plugin_json $vt_plugin_path image_blacklist $vtoy_iso_part
173 echo -e "\npress ENTER to exit ..."
178 menuentry '@VTMENU_JSON_CHK_CONF_REPLACE' --class=debug_bootconf_replace --class=debug_json --class=F5tool {
180 vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
182 echo -e "\npress ENTER to exit ..."
187 menuentry '@VTMENU_JSON_CHK_DUD' --class=debug_dud --class=debug_json --class=F5tool {
189 vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
191 echo -e "\npress ENTER to exit ..."
196 menuentry '@VTMENU_JSON_CHK_PASSWORD' --class=debug_pwd --class=debug_json --class=F5tool {
198 vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
200 echo -e "\npress ENTER to exit ..."
205 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
211 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {