Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

aedenthorn

Uploaded by

aedenthorn

Virus scan

Safe to use

About this mod

A framework for creating wide and hi-res wallpaper.

Requirements
Permissions and credits
Changelogs
Donations
This framework lets modders create wide and hi-res wallpaper using Content Patcher.

Wallpaper should first be added to the catalogue using the game's built-in custom wallpaper system.

To implement this mod, create a Content Patcher patch targeting this mod's dictionary, e.g.:

{
    "Action": "EditData",
    "Target": "aedenthorn.CustomWallpaperFramework/dictionary",
    "Entries": {
        "aedenthorn.CustomWallpaperWide": {
            "id": "aedenthorn.CustomWallpaperWide",
            "texturePath": "aedenthorn.CustomWallpaperWide/Wallpaper",
            "width": 12
        },
        "aedenthorn.CustomWallpaperWide2": {
            "id": "aedenthorn.CustomWallpaperWide2",
            "texturePath": "aedenthorn.CustomWallpaperWide/Wallpaper2",
            "width": 2
        },
        "aedenthorn.CustomWallpaperWide3": {
            "id": "aedenthorn.CustomWallpaperWide3",
            "texturePath": "aedenthorn.CustomWallpaperWide/Wallpaper3",
            "width": 8
        },
        "aedenthorn.CustomWallpaperWide4": {
            "id": "aedenthorn.CustomWallpaperWide4",
            "texturePath": "aedenthorn.CustomWallpaperWide/Wallpaper4",
            "width": 5,
            "scale":2
        },
        "aedenthorn.CustomWallpaperWide5": {
            "id": "aedenthorn.CustomWallpaperWide5",
            "texturePath": "aedenthorn.CustomWallpaperWide/Wallpaper5",
            "width": 6,
            "scale":1
        }
    }
}

id must refer to the id of your wallpaper added using the game's custom wallpaper system.
width refers to the number of tiles wide the wallpaper is. Wallpaper is always 3 tiles high.
scale is the size multiplier used when displaying the wallpaper, so a scale of 4 means your wallpaper will be scaled up 4x (this is the default). If you want higher-resolution wallpaper, you can set the scale to 2 or 1.  Your texture file size must reflect this, so if your scale is 4, the texture must be 48 pixels tall (3 * 64 / 4), etc.
texturePath must be a path in the game's Content folder (usually a fake path using Content Patcher to load an actual png file).

An example pack is here.



Technical

Requires SMAPI, uses Harmony.

Compatible with Mod Updater for automatic updates.

Code is at https://github.com/aedenthorn/StardewValleyMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.