Original Source
- Original title: MV DEX_TryJPG doesn't try jpg anymore
- Original author: Tigerawr
- Original date: September 22, 2023
- Source thread: https://forums.rpgmakerweb.com/threads/dex_tryjpg-doesnt-try-jpg-anymore.161383/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support
Summary
Github link My memory tells me that it used to work, but now it doesn't. I guess an update came and broke it. The plugin works by telling the engine to try to load a .jpg version of a picture if it can't find a .png version. Alternatively, it can try to load .jpg by default, and then try .png when failing to find the .jpg file. Telling it to load .jpg by default leads to it loading .jpg files just fine.
Archived First Post
My memory tells me that it used to work, but now it doesn't. I guess an update came and broke it.
The plugin works by telling the engine to try to load a .jpg version of a picture if it can't find a .png version. Alternatively, it can try to load .jpg by default, and then try .png when failing to find the .jpg file.
Telling it to load .jpg by default leads to it loading .jpg files just fine.
The part that doesn't work is when it's supposed to change the file extension when encountering an error, in both instances of it.
I've added something to write stuff in the console in these parts of the code, but it doesn't work: the console shows nothing. My best guess is that MV isn't actually executing them when encountering an error. Maybe Bitmap.prototype._onError has been deprecated?
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...