When testing my game in Engine i have no issue's. When i compile my game ( development ) i checked the ( exclude files not used )
When i shared this with a friend or dl myself - files like BGS/fire or thunder fail to load and yet i can still hear them?
i get a constant error saying retry this only occur's in the built version and not during testing.
Any ideas? I suspect it's because the files have .ogg and M4A. i suspect it's the m4A's not working.
These are the usual sound files within RPG MV. thanks.
Please move thread if not in correct place?
several possibilities, and none of your guesses.
1) filepath is wrong
RMMV creates HTML5-based games, and for that to work the entire folderpath has to follow networking rules. If you break any of there rules, for example the one of no spaces allowed, then the browser has problems loading files. And no, the windows override that tries to force the browser to allow spaces (%20) does not always work, and rarely on deployment to non-windows devices.
2) plugins have not registered their files
"exclude unused files" removes all files that the editor does not know to be in use. That is always correct for resources used in the engine itself, but the editor can't know what resources a plugin uses unless the plugin registers those files with the editor. And most plugin writers don't register their files, allowing them to be deleted on deployment.
There are workarounds if you know which files are missing.
the two different fileformats are for different devices - MacOS and iOS have default m4a, windows and android default to ogg if I remember correctly. And the other type of file is not used in such cases.
i Believe the file path is correct, it stated Error can't load for example BGS/fire so i'm thinking it's either get rid of the M4A'S and another check to do it is check a particular plugin also. i will let you know how it goes. Thanks again.
If you are certain that you have placed the OGG and M4A s in the right place, are properly named, and are properly linked with the in-game event, then:
something I noticed is if you move files around within the folders of your project, the software gets very confused. I normally make a copy of my project before exporting it. This has fixed this issue every time for me.
Ok, after reading what Andar said yes it's a plugin that is called through a comment, meaning it's not loading in when excluding files. it seems to work when i include files. this gives me several options. don't use the plugin ( which is a great loss ) or include file's that aren't used. ! waheey.. Thanks all ! appriciate your input really do.
E:\RPG MV documents\Project Games\That_time_i_got_sucked_into_a_computer_game
Here is my computer filepath to the main section where you can find the HTML file.
Okay i will correct it ASAP thank you.