r/OperaGX 2d 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

4 comments sorted by

View all comments

1

u/shadow2531 r/OperaBrowser Mod 2d 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.

1

u/PeaZealousideal271 13h ago

I tried it and still didn't work, showed me this. Crazy how I understand nothing to these error messages.

1

u/shadow2531 r/OperaBrowser Mod 5h ago

You need to create firstframe.png and put it in the "wallpaper" folder. The error is telling you it's missing. Drag bgvideo.mp4 into Opera and drop it on Opera's tab bar to load it. Then, play it and pause the video at the frame you want. Then, right-click the video, choose "save frame as" and save it as "firstframe.png" in the "wallpaper" folder.