关于wallpaper engine软件的一些研究
前言
这篇文章是我之前在 关于DreamScene2 软件的一些探究 文章承诺的,现在来填坑。
废话不多说,现在就来了解一下wallpaper engine吧:
环境
- 系统: Windows11 22H2
- Wallpaper engine版本: 2.2.18 Steam版
配置文件的存储
wallpaper engine的配置文件会生成在程序目录下面,名为config.json的json文件。
config.json设置键说明
键 | 类型 | 值 | 说明 |
---|---|---|---|
?installdirectory | 字符串(string) | "D:/wallpaper engine" | wallpaper engine目录(不影响运行) |
用户名-general-user-playbackfocus | 字符串(string) | "run"/"mute"/"pause" | 对应着: 设置-性能-回放-其他应用程序成为焦点时 |
用户名-general-user-playbackmaximized | 字符串(string) | "run"/"mute"/"pause"/"stop" | 对应着: 设置-性能-回放-其他应用程序最大化时 |
用户名-general-user-playbackfullscreen | 字符串(string) | "run"/"mute"/"pause"/"stop" | 对应着: 设置-性能-回放-其他应用程序全屏时 |
用户名-general-user-playbackaudio | 字符串(string) | "run"/"mute"/"pause" | 对应着: 设置-性能-回放-其他应用程序播放音频时 |
用户名-general-user-playbacksleep | 字符串(string) | "run"/"pause"/"stop" | 对应着: 设置-性能-回放-显示屏休眠时 |
用户名-general-user-msaa | 字符串(string) | "none"/"x2"/"x4"/"x8" | 对应着: 设置-性能-品质-抗锯齿 |
用户名-general-user-postprocessing | 字符串(string) | "disabled"/"enabled"/"ultra" | 对应着: 设置-性能-品质-后期处理 |
用户名-general-user-resolution | 字符串(string) | "full"/"half"/"auto" | 对应着: 设置-性能-品质-纹理分辨率 |
用户名-general-user-fps | 数字(int) | 10~60 | 对应着: 设置-性能-品质-帧率 |
用户名-general-user-reflection | 布尔(boolean) | true/false | 对应着: 设置-性能-品质-反射 |
用户名-general-user-autostart | 布尔(boolean) | true/false | 对应着: 设置-常规-自动启动-开机启动 |
用户名-general-user-autostartscheduler | 布尔(boolean) | true/false | 对应着: 设置-常规-自动启动-开机启动-高优先级 |
用户名-general-user-safemode | 布尔(boolean) | true/false | 对应着: 设置-常规-自动启动-防止崩溃 |
用户名-general-user-extremesleephack | 布尔(boolean) | true/false | 对应着: 设置-常规-自动启动-休眠后安全启动(需开机启动高优先级) |
用户名-general-user-language | 字符串(string) | "zh-chs"/... | 对应着: 设置-常规-基本设置-用户页面语言 |
用户名-general-shared-hotkeys | 数组 | [] | 对应着: 设置-常规-基本设置-热键 |
用户名-general-user-adjustdwmcolormode | 字符串(string) | "disabled"/"accent"/"everything" | 对应着: 设置-常规-windows-修改Windows配色 |
用户名-general-user-iconopacity | 数字(int) | 0~100 | 对应着: 设置-常规-windows-桌面图标不透明度 |
用户名-general-user-monitordetection | 字符串(string) | "managed" | 对应着: 设置-常规-windows-显示器标识 |
用户名-general-user-slideshowkiller | 布尔(boolean) | true/false | 对应着: 设置-常规-windows-移除Windows壁纸淡出淡入 |
用户名-general-user-unpauseaero | 布尔(boolean) | true/false | 对应着: 设置-常规-windows-在Aero Peek运行时取消暂停 |
用户名-general-user-overridewallpaper | 布尔(boolean) | true/false | 对应着: 设置-常规-windows-覆盖壁纸图像 |
用户名-general-user-overridelockscreen | 布尔(boolean) | true/false | 对应着: 设置-常规-windows-覆盖锁屏图像 |
用户名-general-user-vdesktopenabled | 布尔(boolean) | true/false | 对应着: 设置-常规-windows-虚拟桌面支持 |
用户名-general-user-mediaintegration | 布尔(boolean) | true/false | 对应着: 设置-常规-windows-媒体集成支持 |
用户名-general-user-uiskin | 字符串(string) | "white"/"dark"/"halloween"/"winter" | 对应着: 设置-常规-外观-主题 |
用户名-general-user-uiskinseasonal | 布尔(boolean) | true/false | 对应着: 设置-常规-外观-使用季节主题 |
用户名-general-user-uihardwareacceleration | 布尔(boolean) | true/false | 对应着: 设置-常规-外观-UI硬件加速 |
用户名-general-user-uiquality | 字符串(string) | "high"/"medium"/"low" | 对应着: 设置-常规-外观-UI质量 |
用户名-general-user-videoaudiooutput | 布尔(boolean) | true/false | 对应着: 设置-常规-音频-音频输出 |
用户名-general-user-audioinputdevice | 字符串(string) | "default"/字符串 | 对应着: 设置-常规-音频-音频输入设备 |
用户名-general-user-audioinputvolume | 数字(int) | 0~200 | 对应着: 设置-常规-音频-录音音量 |
用户名-general-user-audioinputdevice | 浮点数(float) | 0.0~10.0 | 对应着: 设置-常规-音频-记录阈值 |
用户名-general-user-reloadaudio | 布尔(boolean) | true/false | 对应着: 设置-常规-音频-更改输出设备时重新加载 |
用户名-general-user-videoframework | 字符串(string) | null/"mf"/"dshow.lav.vmr9" | 对应着: 设置-常规-视频-视频框架 |
用户名-general-user-videomfstutterhack | 布尔(boolean) | true/false | 对应着: 设置-常规-视频-视频Media Foundation卡顿修复 |
用户名-general-user-videohardwareacceleration | 布尔(boolean) | true/false | 对应着: 设置-常规-视频-视频硬件加速 |
用户名-general-user-videoloopmode | 字符串(string) | "fromdisk"/"frommemory" | 对应着: 设置-常规-视频-视频加载 |
用户名-general-user-videoloopmode | 字符串(string) | "default"/"syncclock"/"synctopo" | 对应着: 设置-常规-视频-视频循环 |
用户名-general-user-webmframework | 字符串(string) | null/"cef"/"native" | 对应着: 设置-常规-视频-WebM框架 |
用户名-general-user-processpriority | 字符串(string) | "normal"/"belownormal" | 对应着: 设置-常规-高级-进程优先级 |
用户名-general-user-pausevram | 布尔(boolean) | true/false | 对应着: 设置-常规-高级-VRAM耗尽时暂停 |
用户名-general-user-minimodeminimizewindows | 布尔(boolean) | true/false | 对应着: 设置-常规-高级-在迷你模式下隐藏其他应用程序 |
用户名-general-user-highprecisiontimer | 布尔(boolean) | true/false | 对应着: 设置-常规-高级-使用高精计时器 |
用户名-general-user-anticrash | 布尔(boolean) | true/false | 对应着: 设置-常规-高级-崩溃后重新启动 |
用户名-general-user-loglevel | 字符串(string) | "none"/"error"/"verbose" | 对应着: 设置-常规-开发人员-日志级别 |
用户名-general-user-cefcommandline | 字符串(string) | "" | 对应着: 设置-常规-开发人员-CEF命令行 |
用户名-general-user-cefdevtoolsport | 数字(int) | 端口 | 对应着: 设置-常规-开发人员-CEF开发者工具端口 |
这里只列出来了设置当中有的选项,还有很多我也不清楚。不过这里应该是够了。
config.json默认参照:
{
"jacksen168": {
"general": {
"browser": {
"advertiseexplore": true,
"advertisesendtomobile": true,
"advertiseworkshop": true,
"advertiseworkshoppopup": true,
"authorblocklistnames": [],
"defaultfilterconfig": {
"recommendedresolution": false,
"showotherresolution": true
},
"explore": {
"custom": [],
"disliked": [],
"favorites": [],
"liked": []
},
"filterinfo": {
"installed": {
"categorytags": {
"Preset": true,
"Wallpaper": true
},
"descending": false,
"ratingtags": {
"Everyone": true,
"Mature": true,
"Questionable": true
},
"resolutiontags": {
"1280 x 720": true,
"1366 x 768": true,
"1920 x 1080": true,
"2560 x 1440": true,
"3840 x 2160": true,
"Dual 3840 x 1080": true,
"Dual 5120 x 1440": true,
"Dual 7680 x 2160": true,
"Dual Standard Definition": true,
"Dynamic resolution": true,
"Other resolution": true,
"Portrait 1080 x 1920": true,
"Portrait 1440 x 2560": true,
"Portrait 2160 x 3840": true,
"Portrait 720 x 1280": true,
"Portrait Standard Definition": true,
"Standard Definition": true,
"Triple 11520 x 2160": true,
"Triple 4096 x 768": true,
"Triple 5760 x 1080": true,
"Triple 7680 x 1440": true,
"Triple Standard Definition": true,
"Ultrawide 2560 x 1080": true,
"Ultrawide 3440 x 1440": true,
"Ultrawide Standard Definition": true
},
"sort": "name",
"sourcetags": {
"Local": true,
"Official": true,
"Workshop": true
},
"tags": {
"Abstract": true,
"Animal": true,
"Anime": true,
"CGI": true,
"Cartoon": true,
"Cyberpunk": true,
"Fantasy": true,
"Game": true,
"Girls": true,
"Guys": true,
"Landscape": true,
"MMD": true,
"Medieval": true,
"Memes": true,
"Music": true,
"Nature": true,
"Pixel art": true,
"Relaxing": true,
"Retro": true,
"Sci-Fi": true,
"Sports": true,
"Technology": true,
"Television": true,
"Unspecified": true,
"Vehicle": true
},
"type": "",
"typetags": {
"Application": true,
"Scene": true,
"Video": true,
"Web": true
},
"utilitytags": {}
},
"workshop": {
"categorytags": {
"Preset": true,
"Wallpaper": true
},
"descending": false,
"filterTitle": true,
"ratingtags": {
"Everyone": true,
"Mature": false,
"Questionable": false
},
"resolutiontags": {
"1280 x 720": true,
"1366 x 768": true,
"1920 x 1080": true,
"2560 x 1440": true,
"3840 x 2160": true,
"Dual 3840 x 1080": true,
"Dual 5120 x 1440": true,
"Dual 7680 x 2160": true,
"Dual Standard Definition": true,
"Dynamic resolution": true,
"Other resolution": true,
"Portrait 1080 x 1920": true,
"Portrait 1440 x 2560": true,
"Portrait 2160 x 3840": true,
"Portrait 720 x 1280": true,
"Portrait Standard Definition": true,
"Standard Definition": true,
"Triple 11520 x 2160": true,
"Triple 4096 x 768": true,
"Triple 5760 x 1080": true,
"Triple 7680 x 1440": true,
"Triple Standard Definition": true,
"Ultrawide 2560 x 1080": true,
"Ultrawide 3440 x 1440": true,
"Ultrawide Standard Definition": true
},
"sort": "trend_year",
"sourcetags": {
"Local": true,
"Official": true,
"Workshop": true
},
"tags": {
"Abstract": true,
"Animal": true,
"Anime": true,
"CGI": true,
"Cartoon": true,
"Cyberpunk": true,
"Fantasy": true,
"Game": true,
"Girls": true,
"Guys": true,
"Landscape": true,
"MMD": true,
"Medieval": true,
"Memes": true,
"Music": true,
"Nature": true,
"Pixel art": true,
"Relaxing": true,
"Retro": true,
"Sci-Fi": true,
"Sports": true,
"Technology": true,
"Television": true,
"Unspecified": false,
"Vehicle": true
},
"type": "",
"typetags": {
"Application": false,
"Scene": true,
"Video": true,
"Web": true
},
"utilitytags": {}
}
},
"folders": [],
"lastselectedmonitor": "Monitor0",
"paireddevices": [],
"pairingguid": "83E84421-1FC9-4C85-87E4-3380EEBCCA78",
"resultsperpage": 100,
"showmonitorselectiononstart": true,
"viewiconsize": "medium"
},
"editor": {
"previewratio": "free",
"recentfiles": [],
"showgrid": true,
"showonstartup": true,
"showselectionbox": true,
"showstats": false
},
"user": {
"adjustdwmcolor": false,
"adjustdwmcolormode": "disabled",
"apprules": null,
"audioinputdevice": "default",
"audioinputthreshold": 0,
"audioinputvolume": 50,
"autostart": false,
"autostartscheduler": false,
"autostartx64": false,
"cefcommandline": "",
"fps": 15,
"hasshownwelcomedialog": true,
"highprecisiontimer": true,
"iconopacity": 100,
"language": "zh-chs",
"loglevel": "error",
"mediablocklist": null,
"mediaintegration": true,
"monitordetection": "managed",
"monitormap": {
"//?/DISPLAY#TFA0220#4&35aefc14&1&UID65793#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}": {
"absx": 0,
"absy": 0,
"location": 0,
"relx": 0,
"rely": 0,
"timestamp": 1696327765
}
},
"msaa": "none",
"overridelockscreen": false,
"overridewallpaper": false,
"pausevram": false,
"playbackaudio": "run",
"playbackfocus": "run",
"playbackfullscreen": "pause",
"playbackmaximized": "pause",
"playbackonbattery": "run",
"playbacksleep": "stop",
"plugindelay": 0,
"plugins": {},
"postprocessing": "enabled",
"preset": "medium",
"processpriority": "normal",
"reflection": true,
"reloadaudio": true,
"resolution": "full",
"safemode": true,
"slideshowkiller": false,
"steamlanguage": "english",
"uicmd": null,
"uieffects": null,
"uihardwareacceleration": true,
"uiquality": "high",
"uiskin": "dark",
"uiskinseasonal": true,
"unpauseaero": true,
"vdesktopenabled": false,
"videoaudiooutput": true,
"videohardwareacceleration": true,
"videoloopmode": "default",
"videomfstutterhack": false,
"videoreadmode": "fromdisk",
"webmframework": null,
"windows7mode": "compatibility",
"windowupdaterate": 1000
},
"wallpaperconfig": {
"layout": null,
"profile": null,
"selectedwallpapers": {
"Monitor0": {
"file": "D:/SteamLibrary/steamapps/workshop/content/431960/2830814490/index.html"
}
}
},
"wallpaperconfigrecent": []
},
"version": 4,
"wproperties": {}
}
}
重点内容翻译一下
{
"#用户名": {
"general": {
"browser": {
"advertiseexplore": true,
"advertisesendtomobile": true,
"advertiseworkshop": true,
"advertiseworkshoppopup": true,
"authorblocklistnames": [],
"defaultfilterconfig": {
"recommendedresolution": false,
"showotherresolution": true
},
"explore": {
"custom": [],
"disliked": [],
"favorites": [],
"liked": []
},
"filterinfo": {
"installed": {
"categorytags": {
"Preset": true,
"Wallpaper": true
},
"descending": false,
"ratingtags": {
"Everyone": true,
"Mature": true,
"Questionable": true
},
"resolutiontags": {
"1280 x 720": true,
"1366 x 768": true,
"1920 x 1080": true,
"2560 x 1440": true,
"3840 x 2160": true,
"Dual 3840 x 1080": true,
"Dual 5120 x 1440": true,
"Dual 7680 x 2160": true,
"Dual Standard Definition": true,
"Dynamic resolution": true,
"Other resolution": true,
"Portrait 1080 x 1920": true,
"Portrait 1440 x 2560": true,
"Portrait 2160 x 3840": true,
"Portrait 720 x 1280": true,
"Portrait Standard Definition": true,
"Standard Definition": true,
"Triple 11520 x 2160": true,
"Triple 4096 x 768": true,
"Triple 5760 x 1080": true,
"Triple 7680 x 1440": true,
"Triple Standard Definition": true,
"Ultrawide 2560 x 1080": true,
"Ultrawide 3440 x 1440": true,
"Ultrawide Standard Definition": true
},
"sort": "name",
"sourcetags": {
"Local": true,
"Official": true,
"Workshop": true
},
"tags": {
"Abstract": true,
"Animal": true,
"Anime": true,
"CGI": true,
"Cartoon": true,
"Cyberpunk": true,
"Fantasy": true,
"Game": true,
"Girls": true,
"Guys": true,
"Landscape": true,
"MMD": true,
"Medieval": true,
"Memes": true,
"Music": true,
"Nature": true,
"Pixel art": true,
"Relaxing": true,
"Retro": true,
"Sci-Fi": true,
"Sports": true,
"Technology": true,
"Television": true,
"Unspecified": true,
"Vehicle": true
},
"type": "",
"typetags": {
"Application": true,
"Scene": true,
"Video": true,
"Web": true
},
"utilitytags": {}
},
"workshop": {
"categorytags": {
"Preset": true,
"Wallpaper": true
},
"descending": false,
"filterTitle": true,
"ratingtags": {
"Everyone": true,
"Mature": false,
"Questionable": false
},
"resolutiontags": {
"1280 x 720": true,
"1366 x 768": true,
"1920 x 1080": true,
"2560 x 1440": true,
"3840 x 2160": true,
"Dual 3840 x 1080": true,
"Dual 5120 x 1440": true,
"Dual 7680 x 2160": true,
"Dual Standard Definition": true,
"Dynamic resolution": true,
"Other resolution": true,
"Portrait 1080 x 1920": true,
"Portrait 1440 x 2560": true,
"Portrait 2160 x 3840": true,
"Portrait 720 x 1280": true,
"Portrait Standard Definition": true,
"Standard Definition": true,
"Triple 11520 x 2160": true,
"Triple 4096 x 768": true,
"Triple 5760 x 1080": true,
"Triple 7680 x 1440": true,
"Triple Standard Definition": true,
"Ultrawide 2560 x 1080": true,
"Ultrawide 3440 x 1440": true,
"Ultrawide Standard Definition": true
},
"sort": "trend_year",
"sourcetags": {
"Local": true,
"Official": true,
"Workshop": true
},
"tags": {
"Abstract": true,
"Animal": true,
"Anime": true,
"CGI": true,
"Cartoon": true,
"Cyberpunk": true,
"Fantasy": true,
"Game": true,
"Girls": true,
"Guys": true,
"Landscape": true,
"MMD": true,
"Medieval": true,
"Memes": true,
"Music": true,
"Nature": true,
"Pixel art": true,
"Relaxing": true,
"Retro": true,
"Sci-Fi": true,
"Sports": true,
"Technology": true,
"Television": true,
"Unspecified": false,
"Vehicle": true
},
"type": "",
"typetags": {
"Application": false,
"Scene": true,
"Video": true,
"Web": true
},
"utilitytags": {}
}
},
"folders": [],
"lastselectedmonitor": "Monitor0",
"paireddevices": [],
"pairingguid": "83E84421-1FC9-4C85-87E4-3380EEBCCA78",
"resultsperpage": 100,
"showmonitorselectiononstart": true,
"viewiconsize": "medium"
},
"editor": {
"previewratio": "free",
"recentfiles": [],
"showgrid": true,
"showonstartup": true,
"showselectionbox": true,
"showstats": false
},
"user": {
"adjustdwmcolor": false,
"adjustdwmcolormode": "disabled",
"apprules": null,
"audioinputdevice": "default",
"audioinputthreshold": 0,
"audioinputvolume": 50,
"autostart": false,
"autostartscheduler": false,
"autostartx64": false,
"cefcommandline": "",
"fps": 15,
"hasshownwelcomedialog": true,
"highprecisiontimer": true,
"iconopacity": 100,
"language": "#语言",
"loglevel": "error",
"mediablocklist": null,
"mediaintegration": true,
"monitordetection": "managed",
"monitormap": {
"#显示器设备路径": {
"absx": 0,
"absy": 0,
"location": 0,
"relx": 0,
"rely": 0,
"timestamp": 1696327765
}
},
"msaa": "none",
"overridelockscreen": false,
"overridewallpaper": false,
"pausevram": false,
"playbackaudio": "run",
"playbackfocus": "run",
"playbackfullscreen": "pause",
"playbackmaximized": "pause",
"playbackonbattery": "run",
"playbacksleep": "stop",
"plugindelay": 0,
"plugins": {},
"postprocessing": "enabled",
"preset": "medium",
"processpriority": "normal",
"reflection": true,
"reloadaudio": true,
"resolution": "full",
"safemode": true,
"slideshowkiller": false,
"steamlanguage": "english",
"uicmd": null,
"uieffects": null,
"uihardwareacceleration": true,
"uiquality": "high",
"uiskin": "dark",
"uiskinseasonal": true,
"unpauseaero": true,
"vdesktopenabled": false,
"videoaudiooutput": true,
"videohardwareacceleration": true,
"videoloopmode": "default",
"videomfstutterhack": false,
"videoreadmode": "fromdisk",
"webmframework": null,
"windows7mode": "compatibility",
"windowupdaterate": 1000
},
"wallpaperconfig": {
"layout": null,
"profile": null,
"selectedwallpapers": {
"#显示器标识": {
"file": "#正在播放/启动时播放的壁纸文件路径"
}
}
},
"wallpaperconfigrecent": []
},
"version": 4,
"wproperties": {}
}
}
其他
?installdirectory 存储程序的所在目录(存在的目的不明确)
用户名-general-wallpaperconfig 存储各显示器播放壁纸信息
用户名-general-wallpaperconfigrecent 存储最近壁纸信息
当 当前计算机用户名-general-wallpaperconfig-selectedwallpapers-正确的显示器标识-file
无误时将启动壁纸并自动播放。
wallpaper engine库比较全也很大,目前没发现需要什么依赖,Windows7也可以正常运行。
windows托盘图标是个窗口,可以通过结束class为"WPETrayWindow"的窗口来隐藏图标。
一切内容以实际为主,这里只是简单聊聊我的一些发现。
评论 (0)