2 submenu "@VTMENU_MENU_LANG" --class=debug_menu_lang --class=F5tool {
3 source $prefix/menulang.cfg
5 source $prefix/power.cfg
6 source $prefix/hwinfo.cfg
7 source $prefix/keyboard.cfg
9 submenu "@VTMENU_RESOLUTION_CFG" --class=debug_resolution --class=F5tool {
10 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
14 vt_update_cur_video_mode VT_CUR_MODE
16 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
17 vt_get_video_mode $vdid vtCurMode
20 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
24 menuentry "$vtCurMode $vtActive" --class=debug_videomode --class=debug_resolution --class=F5tool VTOY_RUN_RET {
25 terminal_output console
27 terminal_output gfxterm
34 submenu "@VTMENU_SCREEN_MODE" --class=debug_screen_mode --class=F5tool {
35 menuentry '@VTMENU_SCREEN_TEXT_MODE' --class=debug_text_mode --class=debug_screen_mode --class=F5tool {
36 terminal_output console
38 menuentry '@VTMENU_SCREEN_GUI_MODE' --class=debug_gui_mode --class=debug_screen_mode --class=F5tool {
39 terminal_output gfxterm
41 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
46 if [ -n "$VTOY_THEME_COUNT" -a $VTOY_THEME_COUNT -gt 1 ]; then
47 submenu "@VTMENU_THEME_SELECT" --class=debug_theme_select --class=F5tool {
52 if [ "$grub_platform" != "pc" ]; then
53 submenu 'Ventoy UEFI Utilities' --class=debug_util --class=F5tool {
54 menuentry '@VTMENU_UTIL_SHOW_EFI_DRV' --class=debug_util_efidrv --class=debug_util --class=F5tool {
56 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=show_efi_drivers
59 echo -e "\npress ENTER to exit ..."
63 menuentry '@VTMENU_UTIL_FIX_BLINIT_FAIL' --class=debug_util_blinit --class=debug_util --class=F5tool {
64 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
66 echo -e "\npress ENTER to exit ..."
70 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
77 submenu '@VTMENU_JSON_CHK_JSON' --class=debug_json --class=F5tool {
78 menuentry '@VTMENU_JSON_CHK_CONTROL' --class=debug_control --class=debug_json --class=F5tool {
80 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
82 echo -e "\npress ENTER to exit ..."
87 menuentry '@VTMENU_JSON_CHK_THEME' --class=debug_theme --class=debug_json --class=F5tool {
89 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
91 echo -e "\npress ENTER to exit ..."
96 menuentry '@VTMENU_JSON_CHK_AUTOINS' --class=debug_autoinstall --class=debug_json --class=F5tool {
98 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
100 echo -e "\npress ENTER to exit ..."
105 menuentry '@VTMENU_JSON_CHK_PERSIST' --class=debug_persistence --class=debug_json --class=F5tool {
107 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
109 echo -e "\n############### dump persistence ###############"
112 echo -e "\npress ENTER to exit ..."
117 menuentry '@VTMENU_JSON_CHK_MENU_ALIAS' --class=debug_menualias --class=debug_json --class=F5tool {
119 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
121 echo -e "\npress ENTER to exit ..."
126 menuentry '@VTMENU_JSON_CHK_MENU_TIP' --class=debug_menutip --class=debug_json --class=F5tool {
128 vt_check_plugin_json $vt_plugin_path menu_tip $vtoy_iso_part
130 echo -e "\npress ENTER to exit ..."
135 menuentry '@VTMENU_JSON_CHK_MENU_CLASS' --class=debug_menuclass --class=debug_json --class=F5tool {
137 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
139 echo -e "\npress ENTER to exit ..."
144 menuentry '@VTMENU_JSON_CHK_INJECTION' --class=debug_injection --class=debug_json --class=F5tool {
146 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
148 echo -e "\npress ENTER to exit ..."
153 menuentry '@VTMENU_JSON_CHK_AUTO_MEMDISK' --class=debug_automemdisk --class=debug_json --class=F5tool {
155 vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
157 echo -e "\npress ENTER to exit ..."
162 menuentry '@VTMENU_JSON_CHK_IMG_LIST' --class=debug_imagelist --class=debug_json --class=F5tool {
164 vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
166 echo -e "\npress ENTER to exit ..."
171 menuentry '@VTMENU_JSON_CHK_IMG_BLIST' --class=debug_imageblacklist --class=debug_json --class=F5tool {
173 vt_check_plugin_json $vt_plugin_path image_blacklist $vtoy_iso_part
175 echo -e "\npress ENTER to exit ..."
180 menuentry '@VTMENU_JSON_CHK_CONF_REPLACE' --class=debug_bootconf_replace --class=debug_json --class=F5tool {
182 vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
184 echo -e "\npress ENTER to exit ..."
189 menuentry '@VTMENU_JSON_CHK_DUD' --class=debug_dud --class=debug_json --class=F5tool {
191 vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
193 echo -e "\npress ENTER to exit ..."
198 menuentry '@VTMENU_JSON_CHK_PASSWORD' --class=debug_pwd --class=debug_json --class=F5tool {
200 vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
202 echo -e "\npress ENTER to exit ..."
207 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
213 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {