MZ Putting "!" in a filename can bind that picture to a Map, but specifying a subfolder breaks the ability to Bind.

So, VisuStella's Core Engine plugin (free) has a helpful feature that allows you to bind a picture to a map, as long as the picture filename has a "!" at the beginning. (similar to the "!" feature for parallax mapping in the Base Engine.)

Using this basic scriptcall below, a picture will be created under Picture Id #15, using image file: !Key, at X,Y coords of 60,40 etc:

Code:
$gameScreen.showPicture(15, "!Key", 0, 60, 40, 100, 100, 255, 0)

^This is great, the image is bound to the map, not the player screen.
But the issue is, for those of us that want to organize each map's images into different folders etc.

This scriptcall is exactly the same as the above, aside from having a subfolder specified within the Pictures folder to take the image file from:

Code:
$gameScreen.showPicture(15, "Map1/!Key", 0, 60, 40, 100, 100, 255, 0)

Except now, the picture is no longer bound to the map. Merely having a picture in a subfolder completely breaks the ability of "!" on the file name to bind to the map...

Does anyone know of a way around this??

Gif example of how both scriptcalls affect the picture binding:
VisuStella's homepage has a bug report option, might be worth a try?
In the interim, try changing the name of the folder to start with a "!", they might just be checking if the entire thing starts with "!" and not just the image name.
Otherwise, Events and Movement Core (not sure if that one is free) has the ability to bind Pictures to an Event, so you could use an invisible Event to keep the picture bound to the map.
Seems like an issue for a bug report.

Aside from that...organizing stuff into subfolders is a convenience introduced in MZ, but it's really not necessary. If it stops something from working properly, there's really no reason you can't just, y'know, not put the file in another folder.
Ah, so it seems like the consensus is that this is a bug. I guess I just wanted to be completely sure. I've just submitted a bug report to Visustella.
---------------------
In the interim, try changing the name of the folder to start with a "!", they might just be checking if the entire thing starts with "!" and not just the image name.
Oh snap, that was it!!! You did it!! All I needed to do was add a "!" to the beginning of folder name (and change to script call to reflect the new folder name) and it works!!!

Code:
$gameScreen.showPicture(15, "!Map1/!Key", 0, 60, 40, 100, 100, 255, 0)
^^Works like a charm!
---------------------------
Aside from that...organizing stuff into subfolders is a convenience introduced in MZ, but it's really not necessary. If it stops something from working properly, there's really no reason you can't just, y'know, not put the file in another folder.
This is completely true, that being said I've been making sort of a point and click game (which RPG Maker is NOT built for lol, but god help us all I've somehow managed to do it) And it's reminiscent of old school flash games and thus each map has like 20 clickable pictures all with either observational dialogue or items that can be put into the inventory. Having each map's pictures organized in folders with that map's name is VERY sanity preserving 😛

Example of some of foreground pictures/buttons (that will be invisible during actual play) that can be clicked for interaction:
Spoiler: Example screenshot
Please ignore all the sloppy placeholders and random variable trackers :dizzy:
2023-08-12 22_30_58-PointNClickTest.png

^and these are just the foreground clickables. So that's what I mean, it would be very helpful to be able to catagorize each map's images into corresponding folders. Most wouldn't need to tho unless doing something crazy/stupid like this!

Thank you so much to everyone that took the time out to help with this! Guess we have a work-around until Visustella decides to remove the need for '!' in the folders!

Original thread: https://forums.rpgmakerweb.com/threads/putting-in-a-filename-can-bind-that-picture-to-a-map-but-specifying-a-subfolder-breaks-the-ability-to-bind.160254/