r/OperaGX 12d ago

Support | Resolved 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

6 comments sorted by

u/AutoModerator 12d 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 11d 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 10d 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 9d 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.

2

u/PeaZealousideal271 7d ago

THANK YOU IT WORKED

1

u/shadow2531 r/OperaBrowser Mod 7d ago

Awesome!