exelix11 / SwitchThemeInjector

Create custom themes for the nintendo switch !
GNU General Public License v2.0
956 stars 60 forks source link

Suggestion: Support for animated/video backgrounds and background music #68

Closed QTKO closed 3 years ago

QTKO commented 3 years ago

What are the obstacles to implementing animated backgrounds like on PS4 (made up of static images which then have instructions for movement, like scrolling across the screen) or video backgrounds like Wallpaper Engine (basically .mp4 files)? Is this even possible?

Also, what are the obstacles to implementing background music? I know sysmodules like sys-tune exist, but there's no support for limiting it based on titleID. A now-defunct sysmodule did that (sys-audioplayer), but it hasn't been updated since 9.0.0.

exelix11 commented 3 years ago

Switch themes are a ugly hack that patches the home menu layouts to display custom images, that means we're limited to the capabilities of the home menu's layout engine. It's quite powerful don't get me wrong but videos are totally out of question. Same holds true for music, the home menu doesn't have any code to play music so, at least with my method, there's no way to add background music. Would it be possible to have multiple static images moving ? In theory yes, layouts have a fairly complete animations support that allows changing position, rotation -even in 3d space-, visibility and so on, there are a few problems:

Closing this as I think I answered all your questions, if there's anything more follow up here.

QTKO commented 3 years ago

Thanks for the response. I hope animations get figured out eventually.