Failing to load images for no reason in mobile export

BoneCollectors

Dino Hazard: Chronos Blackout Dev
Veteran
Joined
Dec 6, 2017
Messages
62
Reaction score
15
First Language
Portuguese-BR
Primarily Uses
RMMV
Hi!

Deployed games are giving me load picture errors that are making me lose my hair off.

1676673005549.png

Deployed mobile builds keep giving me these load errors even though the actual images exist in their proper places. This one, for example, is used by no plugin. It is simply a character image. It only happens in exports targeted to webview. I am testing my builds in Gamejolt.

I searched the forums but found no similar problems (just the basic stuff). Did anyone ever come accross this issue?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,395
Reaction score
10,835
First Language
German
Primarily Uses
RMMV
This error can also be caused by capitalisation errors (only for windos the filename a.png is the same ad A.png, everywhere else that are two different files) or if the folderpath above the file breaks networking rules (and again it is only windows where the local overrides for things like spaces work)

So what is the actual filename in your directory, taking capitalisation into account?
 

BoneCollectors

Dino Hazard: Chronos Blackout Dev
Veteran
Joined
Dec 6, 2017
Messages
62
Reaction score
15
First Language
Portuguese-BR
Primarily Uses
RMMV
Yes. The file is named exactly as it is in this error message. It makes no sense.

And it is not just with this one. It throws the same error on few random images, all of which are written correctly, including the capitalisation.

This does not happen in windows exports, just web ones...
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
6,138
Reaction score
6,288
First Language
English
Primarily Uses
RMMZ
What is the folder path of your project?
 

BoneCollectors

Dino Hazard: Chronos Blackout Dev
Veteran
Joined
Dec 6, 2017
Messages
62
Reaction score
15
First Language
Portuguese-BR
Primarily Uses
RMMV
What is the folder path of your project?

For the browser tests in gamejolt I zip the www folder. The rest of the structure is the standard img/characters/ "image.png"
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,395
Reaction score
10,835
First Language
German
Primarily Uses
RMMV
Please answer every question fully.
we can't help you without details.

And you have made a mistake somewhere, or the error would not have happened. Telling us "everything is correct as checked" is obviously wrong somewhere, so to help you check we need to see what you really have.
After all you could simply have overlooked the mistake wrongly assuming it to be correct - happened to almost everyone at one time or another. For example there was a math test where I didn't realise I calculated 1*2=3 in five checks for finding the cause of a mistake, simply because I never assumed I could have made that primitive an error.

So I suggest you give a screenshot of your characters folder with the adress line to the folder included, just for us to check if there is no other possible mistake there.
 

BoneCollectors

Dino Hazard: Chronos Blackout Dev
Veteran
Joined
Dec 6, 2017
Messages
62
Reaction score
15
First Language
Portuguese-BR
Primarily Uses
RMMV
You are right. Here is the image where it should be:

1676720987939.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,395
Reaction score
10,835
First Language
German
Primarily Uses
RMMV
For local play, the spaces above your project folder would still cause problems - test play removes that with a virtual folderpath, but as soon as you start a local exe in your folder that "1) Dino Hazard Franchise" would become part of the adress line for the browser.

However that has nothing to do with your current problem, if you only send an archive of the project itself to gamejolt.

I think this requires more bughunting.
Especially we will need the full error message and error trace from that screen.

1) If you play it in a browser, please open that browser's developer console or developer tools through its menu when the error message is on the screen. Then make sure that the console tab is selected (the elements that come up as default are useless), and make a screenshot of the entire error trace there.

2) If you don't play in a browser then you might have to use a plugin to force the trace output.
I think yanfly's latest core plugin adds that to the regular error message without causing too many other changes, can you try to use that?
 

BoneCollectors

Dino Hazard: Chronos Blackout Dev
Veteran
Joined
Dec 6, 2017
Messages
62
Reaction score
15
First Language
Portuguese-BR
Primarily Uses
RMMV
Hi, Andar!

I managed to fix the specific vehicle image problem by removing any references to it in the Editor System menu. I have no idea why, but it was fixed.

Other images still return the error. Right now, custom menu backgrounds called by rito's and mog's custom backgrounds are causing game breaks in the browser. I have no idea why? Are there character length limits for browser game image names?

I am going to copy the error and paste in this post below:

1676727179227.png

The link for the Scene_Options_[Original].png in the browser is "https://cdn-files-browser.gamejolt....804/img/pictures/Scene_Options_[Original].png"
 
Last edited:

Mac15001900

Veteran
Veteran
Joined
Aug 7, 2022
Messages
158
Reaction score
150
First Language
English
Primarily Uses
RMMV
Ah, 403 errors, that makes sense. Are you trying to run the web version on your local PC? Because that probably won't work: it will be run on a regular browser, which does not allow any local files to be loaded. If you upload this to a website and play from there it should work fine though.

If you want to be able to quickly test web deploys locally you can create your own very simple server to host it, e.g. using https://simplewebserver.org/.

EDIT: I'm not sure how Gamejolt works, but maybe try running that as administrator? That could also solve that, depending on what exactly that program does.
 

BoneCollectors

Dino Hazard: Chronos Blackout Dev
Veteran
Joined
Dec 6, 2017
Messages
62
Reaction score
15
First Language
Portuguese-BR
Primarily Uses
RMMV
Ah, 403 errors, that makes sense. Are you trying to run the web version on your local PC? Because that probably won't work: it will be run on a regular browser, which does not allow any local files to be loaded. If you upload this to a website and play from there it should work fine though.

If you want to be able to quickly test web deploys locally you can create your own very simple server to host it, e.g. using https://simplewebserver.org/.

EDIT: I'm not sure how Gamejolt works, but maybe try running that as administrator? That could also solve that, depending on what exactly that program does.

Thanks for the reply! I am using the local server now, as you suggested.

On GameJolt I am editing the test project as administrator and only user.

**Update: Everything works fine in the local server. No image load bug. The question that remains is if that will happen in the exported mobile or console versions (using webview).

Do those webviewers read data with full adm access?
 
Last edited:

Mac15001900

Veteran
Veteran
Joined
Aug 7, 2022
Messages
158
Reaction score
150
First Language
English
Primarily Uses
RMMV
Thanks for the reply! I am using the local server now, as you suggested.

On GameJolt I am editing the test project as administrator and only user.

**Update: Everything works fine in the local server. No image load bug. The question that remains is if that will happen in the exported mobile or console versions (using webview).

Do those webviewers read data with full adm access?
So, to clarify, did this fix your problem? :)

EDIT: I see I just got ninja-edited. I'm not sure what kind of tool are you using to export them, but I'm guessing it probably has something to handle this - the only problem is when trying to run the game with a regular browser. And I don't think that you actually need administrator access for this, I simply figured it might be worth trying just in case that was the problem.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,395
Reaction score
10,835
First Language
German
Primarily Uses
RMMV
Do those webviewers read data with full adm access?
they usually don't need to.

giving admin access to the reader or program is just a shortcut to see if something is blocked by wrong access settings, and then the results would be processed to solve the original problem instead of giving everyone full access.
 

BoneCollectors

Dino Hazard: Chronos Blackout Dev
Veteran
Joined
Dec 6, 2017
Messages
62
Reaction score
15
First Language
Portuguese-BR
Primarily Uses
RMMV
Thank you both. The problem was solved.
 

Latest Threads

Latest Posts

Latest Profile Posts

When you're making major progress, but have to stop to go to work.
Streaming making some Parallax maps if anyone wants to hang :)

Still alive, still kicking, still working on M
Just busy irl :)
Okay so... resetting BIOS to default settings causes a hard drive to take 9999 damage and become resistant to phoenix downs.... and pleads...
jwS7gT.png


Continuing our countdown with Capsule Monster #15 Nose! This is the exact kind of stupid jokes you can love and expect in CapMon: Tactics!

In other news I wanted to mention that my game will be covered on the RarelyTypicalPodcast!

https://www.youtube.com/channel/UCvCl74Ayj_B6kMUoP7oapNQ

Forum statistics

Threads
131,476
Messages
1,220,148
Members
173,229
Latest member
ZecaVn
Top