- Joined
- Aug 22, 2018
- Messages
- 22
- Motherboard
- Asus ROG Strix G531GT
- CPU
- i7-9750H/HM370
- Graphics
- GTX 1650, UHD 630
- Mac
- Mobile Phone
Hi,
I am a bit new to (U)EFI programming.
I use Virtual Bios Mod by @serdeliuk, i would like to customize VBM as i already made a few things.
My question is how to set a background. It is now in the old B.I.O.S./ CMOS style.
Serdeliuk suggested to take a look into Clovers code, i couldn't find anything todo with the theme.
I found the code for the "main blue box/background" the code is:
/////////--DRAW MAIN BLUE BOX--/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Print(L" ");
Print(L"%c",BOXDRAW_DOWN_RIGHT_DOUBLE);
for(int i = 0; i < 78; i++) {
Print(L"%c",BOXDRAW_DOUBLE_HORIZONTAL);
};
Print(L"%c",BOXDRAW_DOWN_LEFT_DOUBLE);
for(int w=0; w<11 ; w++){
Print(L"%c",BOXDRAW_VERTICAL);
for(int i = 0; i < 78; i++) {
Print(L" ");
};
Print(L"%c",BOXDRAW_VERTICAL);
};
Print(L"%c",BOXDRAW_UP_RIGHT_DOUBLE);
for(int i = 0; i < 78; i++) {
Print(L"%c",BOXDRAW_DOUBLE_HORIZONTAL);
};
Print(L"%c",BOXDRAW_UP_LEFT_DOUBLE);
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Best regards,
Matthijs
I am a bit new to (U)EFI programming.
I use Virtual Bios Mod by @serdeliuk, i would like to customize VBM as i already made a few things.
My question is how to set a background. It is now in the old B.I.O.S./ CMOS style.
Serdeliuk suggested to take a look into Clovers code, i couldn't find anything todo with the theme.
[TOOL] Virtual Bios Mod without flashing
[UPDATE] 29 Aug 2020 - Added some nice tools to run the development efi files under qemu directly instead to install them into Clover/OpenCore and reboot. - Please check the VBM Wiki for more informations [UPDATE] 11 Aug 2020 - Added Intel eXtreme Tuning Utility enabler to uze turbo boost to...
www.tonymacx86.com
/////////--DRAW MAIN BLUE BOX--/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Print(L" ");
Print(L"%c",BOXDRAW_DOWN_RIGHT_DOUBLE);
for(int i = 0; i < 78; i++) {
Print(L"%c",BOXDRAW_DOUBLE_HORIZONTAL);
};
Print(L"%c",BOXDRAW_DOWN_LEFT_DOUBLE);
for(int w=0; w<11 ; w++){
Print(L"%c",BOXDRAW_VERTICAL);
for(int i = 0; i < 78; i++) {
Print(L" ");
};
Print(L"%c",BOXDRAW_VERTICAL);
};
Print(L"%c",BOXDRAW_UP_RIGHT_DOUBLE);
for(int i = 0; i < 78; i++) {
Print(L"%c",BOXDRAW_DOUBLE_HORIZONTAL);
};
Print(L"%c",BOXDRAW_UP_LEFT_DOUBLE);
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Best regards,
Matthijs
Last edited: