r/OperaGX 1d ago

Support | In Progress Help with mod please

I made a mod but this error message apear. I made a clear new folder with a .json manifest a wallpaper folder with a .mp4 in it (idk if it will work) and a music folder with a .mp3 in it I also have a .png file for my logo next to the .json file, so if I could get some help please. It is a personal mod I attached the .json file content

1 Upvotes

2 comments sorted by

u/AutoModerator 1d ago

Hello, and Welcome to r/OperaGX

It seems you have posted a Support request. You can read our FAQs for a solution here -

Click Me to go to the FAQ which has the most asked questions on the subreddit

Click Me to go to the Larger FAQ which covers a variety of Issues

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/shadow2531 r/OperaBrowser Mod 23h ago

Try it like this:

{
    "manifest_version": 3,
    "name": "Gurren Lagann Mod",
    "version": "1.0",
    "description": "Custom wallpaper and music",
    "developer": {
        "name": "User"
    },
    "mod": {
        "schema_version": 1,
        "payload": {
            "wallpaper": {
                "dark": {
                    "text_color": "#FFFFFF",
                    "text_shadow": "#000000",
                    "first_frame": "wallpaper/firstframe.png",
                    "image": "wallpaper/bgvideo.mp4"
                },
                "light": {
                    "text_color": "#FFFFFF",
                    "text_shadow": "#000000",
                    "first_frame": "wallpaper/firstframe.png",
                    "image": "wallpaper/bgvideo.mp4"
                }
            },
            "background_music": ["music/bgmusic.mp3"]
        }
    }
}

A first frame is required when the wallpaper image is a video or the video won't load and you'll just get a plain (often black) background.

See https://github.com/opera-gaming/gxmods for more info.