关于wallpaper engine软件的一些研究
侧边栏壁纸
  • 累计撰写 15 篇文章
  • 累计收到 8 条评论
    已存活 146231316

关于wallpaper engine软件的一些研究

jacksen168
2023-10-03 / 0 评论 / 66 阅读 / 正在检测是否收录...
温馨提示:
本文最后更新于2023年12月17日,已超过324天没有更新,若内容或图片失效,请留言反馈。

关于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"的窗口来隐藏图标。

一切内容以实际为主,这里只是简单聊聊我的一些发现。

1

评论 (0)

取消