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.
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?
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?