Error with DragonBones, help.

When I export my game on PC, it works really well, but when I export it on a browser or Android, I get this error. Can someone help me?"








1716856786302.png
Doesn't look like a dragonbones error. Your Map 001 file is damaged or missing.
and possibly more.
what is the filepath you exported to?
please state the entire path from the drive letter to the index.html

this looks like you have exported to a path that is not HTML-compatible as that would prevent the game from finding the correct files - windows allows for a lot opf special letters in folders that are absolutely forbidden on HTML web and android.
Doesn't look like a dragonbones error. Your Map 001 file is damaged or missing.
"It has map 001 and I don't know why it keeps giving an error. I have even deleted it and replaced it with another map 001, and the error persists. However, when I run it on PC, it works fine, and within RPG Maker as well, but not in the browser and on Android."
and possibly more.
what is the filepath you exported to?
please state the entire path from the drive letter to the index.html

this looks like you have exported to a path that is not HTML-compatible as that would prevent the game from finding the correct files - windows allows for a lot opf special letters in folders that are absolutely forbidden on HTML web and android.
"Could you please explain better? It's just that I don't know much about this, and I apologize for my ignorance. Can you help me, please?"
a folderpath on windows would be listed as_

c:\foldername\foldername\projectname\index.html

what I need is the full adress where your browser starts the game as I believe that this is where the problem comes from - that this adress path contains letters or symbols that are forbidden under HTML rules, like spaces or similar.
a folderpath on windows would be listed as_

c:\foldername\foldername\projectname\index.html

what I need is the full adress where your browser starts the game as I believe that this is where the problem comes from - that this adress path contains letters or symbols that are forbidden under HTML rules, like spaces or similar.
"Oh, okay, I understand. Thank you very much for helping me. This is my path."


file:///C:/Users/Azael/Documents/Output/Azael%20game%20studio/www/index.html
Azael%20game%20studio
do you see the %20 here?
each letter replaced by a %-number-code in the browser adress line is one forbidden to be used by HTML rules.

replace your spaces by _ or so and then try again.
do you see the %20 here?
each letter replaced by a %-number-code in the browser adress line is one forbidden to be used by HTML rules.

replace your spaces by _ or so and then try again.
"How do I do that? By the way, the path I sent you was taken directly from the browser. This is directly from my PC: C:\Users\Azael\Documents\Output\Azael game studio\www"
you navigate into the folder "output" by windows, then right-click on the folder "Azael game studio" and select "rename"
you navigate into the folder "output" by windows, then right-click on the folder "Azael game studio" and select "rename"
"Thank you for helping me, but the error still appears. This is the current path: file:///C:/Users/Azael/Documents/Output/Game/www/index.html"
I didn't ask this in the beginning because I didn't know your level of computer knowledge, but have you installed an HTML-server on your computer?

Because without an HTML-Server faking a website, modern browsers are forbidden to access local files in general - they simply cannot load the other files without being tricked into it.

And installing a webserver is some advanced knowledge, something I doubt you have after not knowing how to rename a file under windows.

If this is the case then your game will probably work from browser as soon as you upload it onto the web to a hoster of your choice (although you might need help doing that as well).

Original thread: https://forums.rpgmakerweb.com/threads/error-with-dragonbones-help.169058/