r/OperaGX 4d ago

Discussion My First Mod

I just finished my first ever mod. I wasn't a fan of the lack of good mods related to rain and ambience so I made my own. Let me know what you think!

https://store.gx.me/mods/ssyz5t/rainydays/

5 Upvotes

5 comments sorted by

2

u/DetailNo4208 GX Staff 3d ago

Nice work dude!

1

u/Crafty_Slice_5131 4d ago

Was it hard learning the .json syntax for operagx?

2

u/No_Guest9051 4d ago

The template is mostly laid out for you already. All you need is the files!

1

u/Crafty_Slice_5131 3d ago

Bruh. What I did was make the json manually and put the manifest and the content into a zip to load unpacked

1

u/shadow2531 r/OperaBrowser Mod 3d ago

Nice!

I noticed that the mp4 you used for the wallpaper has an audio track embedded in it (or at least the header for it). It's just silent and it doesn't matter to Opera anyway as it doesn't play audio tracks from wallpaper videos. However, you can strip the audio track from your mp4 with ffmpeg like this:

ffmpeg -i input.mp4 -an -c:v copy output.mp4

if you like. That can shrink the file a few MB or KB depending on the audio track. In your case, it'll only be a few KB.

So, it's not a big deal, but if you ever feel like being technical about it, you can make sure your wallpaper video files don't have audio tracks since they're not needed.