Ventoy Forums
[SOLVED] Random theme plugin - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: [SOLVED] Random theme plugin (/showthread.php?tid=1740)



[SOLVED] Random theme plugin - AAA3A - 06-28-2021

Hello,
I tried the random theme plugin of ventoy 1.0.45, but there is an error in the code according to ventoy. I checked with a json tool and there are two errors: they are just below the theme file array. What is the error?
Thanks in advance.

Code:
{
"password": {
"menupwd": [
{
"file":"/Partition_Tools/[UEFI]_ShredOS-20200418.img",
"pwd":"md5#130CEC734C6EA1A3E1A0C086AE9C82B6"
}
]
},
"image_blacklist": [
        "/ISO/example.iso",
        "/example.iso"
    ],
    "control": [
        { "VTOY_DEFAULT_MENU_MODE": "1" },
        { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" },     
{ "VTOY_TREE_VIEW_MENU_STYLE": "1" },
        { "VTOY_MAX_SEARCH_LEVEL": "max" },
{ "VTOY_FILE_FLT_ISO": "0" },
{ "VTOY_FILE_FLT_WIM": "0" },
{ "VTOY_FILE_FLT_EFI": "0" },
{ "VTOY_FILE_FLT_IMG": "0" },
{ "VTOY_FILE_FLT_VHD": "0" },
{ "VTOY_FILE_FLT_VTOY": "0" },
        { "VTOY_DEFAULT_KBD_LAYOUT": "FRENCH" }
],

    "theme_legacy": {
        "file": [
            "/ventoy/theme/legacy/theme_20.03.txt",
            "/ventoy/theme/legacy/theme_20.07.txt",
            "/ventoy/theme/legacy/theme_20.11.txt",
            "/ventoy/theme/legacy/theme_20.12.txt",
            "/ventoy/theme/legacy/theme_21.01.txt",
            "/ventoy/theme/legacy/theme_21.03.txt",
            "/ventoy/theme/legacy/theme_21.05.txt",
            "/ventoy/theme/legacy/theme_21.06.txt",
            "/ventoy/theme/legacy/theme_Classic.txt",
            "/ventoy/theme/legacy/theme_Keyboard.txt",
            "/ventoy/theme/legacy/theme_Winter_Alt.txt"
        ]
        "display_mode": "GUI",
        "gfxmode": "1920x1080",
        "ventoy_left": "0%",
        "ventoy_top": "0",
        "ventoy_color": "#ff0000"
    },
   
    "theme_uefi": {
        "file": [
            "/ventoy/theme/uefi/theme_20.03.txt",
            "/ventoy/theme/uefi/theme_20.07.txt",
            "/ventoy/theme/uefi/theme_20.11.txt",
            "/ventoy/theme/uefi/theme_20.12.txt",
            "/ventoy/theme/uefi/theme_21.01.txt",
            "/ventoy/theme/uefi/theme_21.03.txt",
            "/ventoy/theme/uefi/theme_21.05.txt",
            "/ventoy/theme/uefi/theme_21.06.txt",
            "/ventoy/theme/uefi/theme_Classic.txt",
            "/ventoy/theme/uefi/theme_Keyboard.txt",
            "/ventoy/theme/uefi/theme_Winter_Alt.txt"
        ]
        "display_mode": "GUI",
        "gfxmode": "1920x1080",
        "ventoy_left": "0%",
        "ventoy_top": "0%",
        "ventoy_color": "#00ff00"
    },



RE: Random theme plugin - hyun9358 - 06-28-2021

{
    "control": [
        { "VTOY_DEFAULT_MENU_MODE": "1"
        },
        { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1"
        },   
        { "VTOY_TREE_VIEW_MENU_STYLE": "1"
        },
        { "VTOY_MAX_SEARCH_LEVEL": "max"
        },
        { "VTOY_FILE_FLT_ISO": "0"
        },
        { "VTOY_FILE_FLT_WIM": "0"
        },
        { "VTOY_FILE_FLT_EFI": "0"
        },
        { "VTOY_FILE_FLT_IMG": "0"
        },
        { "VTOY_FILE_FLT_VHD": "0"
        },
        { "VTOY_FILE_FLT_VTOY": "0"
        },
        { "VTOY_DEFAULT_KBD_LAYOUT": "FRENCH"
        }       
    ],
   
    "theme_legacy": {
        "display_mode": "GUI",
        "gfxmode": "1920x1080",
        "ventoy_left": "0%",
        "ventoy_top": "0",
        "ventoy_color": "#ff0000",
        "file": [
            "/ventoy/theme/legacy/theme_20.03.txt",
            "/ventoy/theme/legacy/theme_20.07.txt",
            "/ventoy/theme/legacy/theme_20.11.txt",
            "/ventoy/theme/legacy/theme_20.12.txt",
            "/ventoy/theme/legacy/theme_21.01.txt",
            "/ventoy/theme/legacy/theme_21.03.txt",
            "/ventoy/theme/legacy/theme_21.05.txt",
            "/ventoy/theme/legacy/theme_21.06.txt",
            "/ventoy/theme/legacy/theme_Classic.txt",
            "/ventoy/theme/legacy/theme_Keyboard.txt",
            "/ventoy/theme/legacy/theme_Winter_Alt.txt"
        ],
        "fonts": [
            "/ventoy/fonts/ascii.pf2",
            "/ventoy/fonts/unicode.pf2",
            "/ventoy/fonts/unifont16b.pf2"
        ]
    },

 
    "theme_uefi": {
        "display_mode": "GUI",
        "gfxmode": "1920x1080",
        "ventoy_left": "0%",
        "ventoy_top": "0",
        "ventoy_color": "#ff0000",
        "file": [
            "/ventoy/theme/legacy/theme_20.03.txt",
            "/ventoy/theme/legacy/theme_20.07.txt",
            "/ventoy/theme/legacy/theme_20.11.txt",
            "/ventoy/theme/legacy/theme_20.12.txt",
            "/ventoy/theme/legacy/theme_21.01.txt",
            "/ventoy/theme/legacy/theme_21.03.txt",
            "/ventoy/theme/legacy/theme_21.05.txt",
            "/ventoy/theme/legacy/theme_21.06.txt",
            "/ventoy/theme/legacy/theme_Classic.txt",
            "/ventoy/theme/legacy/theme_Keyboard.txt",
            "/ventoy/theme/legacy/theme_Winter_Alt.txt"
        ],
        "fonts": [
            "/ventoy/fonts/ascii.pf2",
            "/ventoy/fonts/unicode.pf2",
            "/ventoy/fonts/unifont16b.pf2"
        ]

    },

    "image_blacklist": [
        "/ISO/example.iso",
        "/example.iso"
        ],

    "password": {
        "bootpwd": " ",
        "isopwd": " ",
        "wimpwd": " ",
        "imgpwd": " ",
        "vhdpwd": "txt#1111",
        "efipwd": " ",
        "vtoypwd": " ",
        "menupwd": [
            {
            "file":"/Partition_Tools/[UEFI]_ShredOS-20200418.img",
            "pwd":"md5#130CEC734C6EA1A3E1A0C086AE9C82B6"
            }
        ]
    }
}


RE: Random theme plugin - AAA3A - 06-29-2021

Thank you very much for your help. Everything works perfectly now!