Version 1.03 Minor Bugfix (MZ only)
Greetings all. I have received a couple of reports over the last several months of the MZ version of this plugin not working, which up until today I had been unable to reproduce.
Today, another report made me look at it again and I found the culprit, an update somewhere between v1.0.2 and 1.8.0 of the RMMZ core files changed how some scene transitions happen in the first couple of seconds of the opening of the project. Originally, Scene_Boot, which is the first scene loaded when the project opens, would feed directly into Scene_Title. At some point, the RMMZ_Scenes file was changed to feed Scene_Boot into a new scene, Scene_Splash. I presume it was intended to be used for some sort of splash screens system, but the actual engine doesn't seem to have anything built into it to utilize it.
One of the main things this plugin did was alias the SceneManager.goto function, which is used to change scenes normally. The modified version of this function checked specifically if the current scene was Scene_Boot, and then if the scene it was calling was Scene_Title, and then called for Scene_PretitleSplash instead, allowing the splash screens to be shown, before going to the normal Scene_Title afterwards.
Because of the change above, Scene_Boot feeds into Scene_Splash instead, which then goes to Scene_Title, which means this plugin would never intercept that call, and would never activate. I'm not sure at what point this change was made to the core files, only that the version in my test project was 1.0.2, and the current one was 1.8.0.
Needless to say, it's working now, and any of that other stuff I might've said about videos not playing because they weren't .webm format was probably false?
~Ramza
Files
Get MV/MZ Pre-Title Splash Videos
MV/MZ Pre-Title Splash Videos
Show logo videos, static images, or trailers before the title screen in your projects
More posts
- Version 1.02 Minor FixOct 28, 2020
- Update Version 1.01Oct 28, 2020
Comments
Log in with itch.io to leave a comment.
Hey there - first of all, absolutely legendary for you to get back to this so quickly and implement an update same day. I haven't donated anything just yet due to finances, but expect some from me soon - that being said, though, I downloaded this new update, ensured that I had the current plug-in within MZ, and did the same file path as before - /movies/witchhunt.webm - and so far, no luck on anything prior to the title screen.
That is odd, considering it now works for me in a completely stock project, even with only a single video splash.
It's possible that the issue is that your core files are also out of date, from somewhere between 1.0.2 and 1.8.0, and that they'd made some changes to the scene load order in earlier versions, before settling on what they have in 1.8.0.
First I'd check to see if an image splash works, to see if it's something weird with the video specifically. If that also doesn't work, test it in a brand new project, and then compare the versions of the core files from your project with the new one and see if rmmz_scenes.js is out of date (although be warned updating it might break other things).
If the image splash works fine but the video doesn't there might be something else going on with it. Try playing the video using the event command in game and see if it will play there, if it won't the format might be something that simply won't work in rpg maker for... some reason. Like I've said to some other people in the past, I didn't do anything fancy to make it play videos, just hooked into whatever the engine already uses to play them in game, so I'm not really in control of what works and what doesn't, unfortunately.