Uncaught Error: Header is Wrong ...?

Nectar

Bees love me.
Veteran
Joined
Jul 7, 2017
Messages
181
Reaction score
27
First Language
English
Primarily Uses
RMMV
So, when testing my project, there's not a single problem with the game, everything loads correctly, I get no errors whatsoever.

When I deploy my project for Windows, I make sure to check encryption of image and audio files and I also check "Exclude unused files". The game deploys successfully however I get the following errors...

1. Certain audio files are excluded, when launching the deployed game, the game cannot find these audio files... Why did it exclude them if it has to load them after deployment?

2. Dragonbones textures can't be found (according to the console).

3. @SumRndmDde 's Timed Attack Gauge image file doesn't get encrypted and is excluded upon deployment. If it's being used by the plugin, why is it excluded?

4. Weird "Header is Wrong" error message. I have nooooo idea what is causing this. Maybe some plugins are being left out during the encryption process that are required?

Error p1.PNG
Error pt2.PNG
Error pt3.PNG
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
30,019
Reaction score
7,025
First Language
German
Primarily Uses
RMMV
1) "exclude unused files" removes all files that are not registered by the engine.
There are javascript commands to register files from plugins, but unfortunately most plugin writer don't use them, resulting in their files being deleted with that option.
The solution is to make a map that is never used in the game, and use the files there manually as pictures, sprites or whatever. As soon as a file is used by an event command, it will be registered with the engine and keep even if the option for unused files is set.

2) the "wrong header" is strange - did you copy the index.html from a different version or something like that?

3) are the missing audio files from RTP or did you add them?
 

Nectar

Bees love me.
Veteran
Joined
Jul 7, 2017
Messages
181
Reaction score
27
First Language
English
Primarily Uses
RMMV
1) "exclude unused files" removes all files that are not registered by the engine.
There are javascript commands to register files from plugins, but unfortunately most plugin writer don't use them, resulting in their files being deleted with that option.
The solution is to make a map that is never used in the game, and use the files there manually as pictures, sprites or whatever. As soon as a file is used by an event command, it will be registered with the engine and keep even if the option for unused files is set.

2) the "wrong header" is strange - did you copy the index.html from a different version or something like that?

3) are the missing audio files from RTP or did you add them?
Hey so it seems like I'll have to be removing unused files manually because I deployed the game without checking "Exclude Unused FIles" and it works perfectly fine with no errors.

I'm not so sure if the game is 100% crash-free so I'm going to play through the game in its entirety.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Playtesting for Battle Castle is done, demo time for me was roughly 6 hours and 20 minutes. I'm going to pass it on to a few friends first, and after getting some feedback will be posting an official topic.
There's another Humble Bundle available now for RPG developer assets, this time focused somewhat more towards pixel art style games.
Ive got a long lost half uncle. Thats real cool.
I forget what is bumping rule in this forum. Is anyone know? Thank you.
BCj
Ew, why does my blogpost on the rpgmaker.net site look like a garbled mess? Are html codes disabled or something?

Forum statistics

Threads
97,905
Messages
947,758
Members
129,147
Latest member
byproduct
Top