非UEFI的Grub4DOS 圖形介面基本設定(message封包設定)
本帖最後由 bear1alex1 於 2013-8-5 22:23 編輯-----------------注意!!此教學與UEFI啟動無關---------------------------------------注意!!此教學與UEFI啟動無關---------------------------------------注意!!此教學與UEFI啟動無關----------------------
Grub4DOS 圖形介面基本設定(message封包設定)
基本畫面 隱藏企鵝動畫(簡體核心)
必備軟體1.7.zip (解開message封包用)2.message製作批處理 (製作message封包)3.簡易啟動測試器 v4.0 Beta6 (免主機測試USB開機)下載位置:**** Hidden Message *****
message封包檔案說明16x16.fnt 字體16x16.timer.fnt 時間用字體back.jpg 畫面背景圖800x600 JPG格式 可以美美圖片了bar.jpg 讀取進度條讀取顏色bar_a.jpg 讀取進度條背景clock.jpg 時鐘圖片內圖----要正方形大小不拘clock_a.jpg 時鐘圖片外圖----要正方形大小不拘gfxboot.cfg 設定檔就是這一個head.jpg 環型倒數圖內圖----圖形大小不能變head_a.jpg 環型倒數圖外圖(點點) ----圖形大小不能變init 核心檔案,有分繁體、簡體~~lang 內定語言指定檔languages F2語言設定時會顯示現在語言panim_a.jpg 企鵝動畫外圖pback.jpg 企鵝動畫背景圖timer_a.jpg 小的倒數圈txt.lst 製作message檔時會自動產生zh_TW.tr 說明繁體語言檔
gfxboot.cfg 設定檔說明
penguin=0# 企鵝選單 隨機出現:-1~99不顯示:0 顯示:100
boot_show=0# GRUB4DOS中 Boot Options無意義,其值應為0xmenu_hide_current=0 # 其值應為0
menu_max_entries=7 #畫面可顯示的選單列數menu_bar_min_width=1 #選單欄最小寬度menu_start_x=200 #選單開始位置menu_start_y=170 #選單開始位置menu_bar_min_width=50 #選單欄最小寬度menu_bar_color=0xFFFACD #選單欄顏色menu_text_normal=0xFFFFFF#選單欄字體顏色menu_text_select=0x000000#選單欄字體選擇顏色
boot_text_options=0xffffff#引導文本選項boot_text_normal=0xffffff#
infobox_bg=0xd8deed #信息框infobox_text_normal=0 #
title_bg=0x4f9805
disable_ESC_key=1#選單圖片.文字切換 0:開啟選擇 1:關閉無法選擇hide_help=0 #熱鍵F1說明0:顯示1:不顯示hide_lang=0 #熱鍵F2語言切換(英.簡.繁)0:顯示1:不顯示hide_reboot=0 #熱鍵F9重啟 0:顯示1:不顯示hide_poweroff=0 #熱鍵F10關機0:顯示1:不顯示disable_num_key=0#選單熱鍵就是按畫面的數字執行 0:開啟功能1:關閉
custom_width=800 #背景畫面大小custom_height=600 #背景畫面大小custom_depth=16
panel_normal=0xffffff #面板顏色panel_title=0xffffff #標題panel_high=0xffe050#高panel_bg=0xd8deed #panel_border=0xeff2f6#邊框
#小的倒數圈loading_color=0x295202#讀取進度顏色設定
#倒數時鐘timeout_clock_enable=0 # default:disabled; 1 - enable;clock_image_x=60 # X軸位置 # default:center 680clock_image_y=350 # Y軸位置 # default:10#clock_image_alpha=64 # default:255clock_secondhand_color=0xe03030 # default:redclock_secondhand_end_length=10 # default:10clock_secondhand_tip_fix=15 # default:20clock_secondhand_center_fix_x=-1 # default:0clock_secondhand_center_fix_y=-1 # default:0
#讀取進度條timeout_bar_enable=0 # 時鐘顯示開啟:1 關閉:0(內定值)timeout_bar_width=200 # default:200#timeout_bar_height=370 # default:10; use the height of image if either bar.jpg or bar_a.jpg exist#timeout_bar_x=50 # default:center#timeout_bar_y=100 # default:panel text vertical aligntimeout_bar_bg_color=0x8aa37b # default:greentimeout_bar_progress_color=0x63ab62 # default:redtimeout_bar_bg_alpha=112 # default:192; 0~255#timeout_bar_progress_alpha=208 # default:192#timeout_bar_step_size=09 # default:1 - continuous
#倒數數字timeout_digit_enable=0 # 開啟數字倒數定 開啟:1 關閉:0timeout_digit_x=400 # X軸位置 timeout_digit_y=450 # Y軸位置 #timeout_digit_color=0xb0e0e6 # 數字顏色 內定:白色timeout_digit_bg_color=0xb03060 # 數字方塊顏色 內定:黑色#timeout_digit_bg_alpha=48 # 數字方塊透明度 範圍:0~255內定:0完全透明,即不顯示文字方塊。timeout_digit_margin=3 # 數字方塊邊距,內定2圖元。#timeout_digit_s_enable=0 # 設定英文字母大小寫 內定:1 小寫。 # 提示:數字字體是單獨定義的,程式會查找message是否包含16x16.timer.fnt檔,如果字體存在則使用之,否則會使用不同於主字體16x16.fnt的內置字體。
#環型倒數timeout_circulardot_enable=0 # default:disabled; 1 - enable;circulardot_image_x=500 # default:centercirculardot_image_y=20 # default:10#circulardot_image_clear=1 # default:0 - not clear#circulardot_image_alpha=128 # default:255
圖形介面的參數
-----------------------------
timeout 12
default 5
gfxmenu /BOOT/GRUB/MESSAGE <------ 圖形介面的參數---------------------------------------------------
很多~~看起來不太能理解沒關係下載說明看看吧**** Hidden Message *****
1.背景畫面設定
參數名稱參數說明備考
custom_width=800800x6001024x786JPG格式檔案16位元back.jpg
custom_height=600
custom_depth=16
panel_normal=0xffffff十六進位色碼高
panel_title=0xffffff
panel_high=0xffe050
邊框
2.選單列設定
參數名稱參數說明備考
menu_max_entries=7
畫面可顯示的選單列數
menu_bar_min_width=1
選單欄最小寬度
menu_start_x=200選單左上角的X,Y為設定起點
menu_start_y=170
menu_bar_min_width=50
選單欄最小寬度
menu_bar_color=0xFFFACD十六進位色碼選單欄顏色
menu_text_normal=0xFFFFFF選單欄字體顏色
menu_text_select=0x000000
選單欄字體選擇顏色
3.倒數設定總共有5個選項可以使用
小的倒數圈
參數名稱參數說明備考
loading_color=0x295202十六進位色碼小的倒數圈,僅簡體的內核才行示,繁體則無法顯示timer_a.jpg
環型倒數
參數名稱參數說明備考
timeout_circulardot_enable=00:關閉 1:開啟
順時針消去底圖 head.jpg 點的預設位置 head_a.jpg
circulardot_image_x=500圖左上角的X,Y為設定起點
circulardot_image_y=20
circulardot_image_clear=1default:0 - not clear
circulardot_image_alpha=128default:255
倒數時鐘
參數名稱參數說明備考
timeout_clock_enable=00:關閉 1:開啟
底圖clock.jpg clock_a.jpg
clock_image_x=60圖左上角的X,Y為設定起點
clock_image_y=350
clock_image_alpha=64default:255
clock_secondhand_color=0xe03030default:red
clock_secondhand_end_length=10
clock_secondhand_tip_fix=15
clock_secondhand_center_fix_x=-1
clock_secondhand_center_fix_y=-1
讀取進度條
參數名稱參數說明備考
timeout_bar_enable=00:關閉 1:開啟
兩個底圖很小1x17的大小讀取bar.jpg背景bar_a.jpg
timeout_bar_width=200
timeout_bar_x=50圖左上角的X,Y為設定起點
timeout_bar_y=100
timeout_bar_bg_color=0x8aa37b十六進位色碼
timeout_bar_progress_color=0x63ab62
timeout_bar_bg_alpha=112default:192; 0~255
timeout_bar_progress_alpha=208default:192
timeout_bar_step_size=09default:1 - continuous
倒數數字
參數名稱參數說明備考
timeout_digit_enable=00:關閉 1:開啟
16x16.timer.fnt提示:數字字體是單獨定義的,程式會查找message是否包含檔,如果字體存在則使用之,否則會使用不同於主字體16x16.fnt的內置字體。
timeout_digit_x=400圖左上角的X,Y為設定起點
timeout_digit_y=450
timeout_digit_color=0xb0e0e6數字顏色 內定:白色十六進位色碼
timeout_digit_bg_color=0xb03060數字方塊顏色 內定:黑色
timeout_digit_bg_alpha=48數字方塊透明度 範圍:0~255內定:0完全透明,即不顯示文字方塊。
timeout_digit_margin=3數字方塊邊距,內定2圖元
timeout_digit_s_enable=0設定英文字母大小寫 內定:1 小寫
4.熱建設定
參數名稱參數說明備考
disable_ESC_key=10:開啟選擇 1:關閉無法選擇選單圖片.文字切換
hide_help=00:顯示1:不顯示F1說明
hide_lang=0F2語言切換(英.簡.繁)
hide_reboot=0
F9重啟
hide_poweroff=0
F10關機
disable_num_key=00:開啟功能1:關閉就是按畫面選單的數字執行
以前都用 EasyBoot 來製作開機維護光碟, 現正在研究Grub2更強大的功能, 也需要大大的密技!! 之前有試用過,不過字體好像會比較大,如果選單比較多一些,就無法在一頁中顯示。 嚐試另一種USB安裝碟系統,謝謝熱情分享 Grub2能應用於Uefi開機系統,
待試其功能,
感謝分享. 記得我之前使用過,倒數顯示不出! 看來...要另外準備一張SD卡來試一下了
參考看看
謝謝大大