Thanks for the replies, and sorry for the late reply myself. I took a day off, which is rare for me.
I added the true bool for createResourceGroup's inGlobalPath I also added the loadResourceGroup function as well. Neither fixed the issue.
It's not having a problem loading a resource, it's just not overwriting the previous resource (even if it was destroyed) if it has the same filename.
I also thought of it being stuck in cache, and tried Image_MapSelector_MapPicture->setImage("blank.dds"); before applying the logo image again. Didn't work. I didn't do it before destroying the old resource group, which I have just tried, and sadly, it didn't work as well.
Image_MapSelector_MapPicture is a QuickGUI Image. Code for that is pretty simple:
https://github.com/gearcity/VENT-QuickG ... e.cpp#L123
Basically just an Ogre::Image loaded via load.
I guess I could venture down to see if the resource is actually destroyed. But there is no conflicts according to the logs when I create a new resource group with the same name...
But ultimately, it doesn't matter. The map names themselves have to be unique, so an easy solution is just for me to have the map logo names be unique, and the easiest way to do that is to append the map's name to the map's logo file name. So I will edit my mod tools to do that.
That being said, looking at the log currently, I noticed something fishy. Right now for testing purposes, "Base City Map" and "Base Territories" use mapPicture.dds for their logos. "Classic Map" uses mapPicture_classicMap.dds for its logo.
14:39:34: Destroying resource group MenuMapView
14:39:34: Unloading resource group MenuMapView
14:39:34: Finished unloading resource group MenuMapView
14:39:34: Creating resource group MenuMapView
14:39:34: Added resource location './media/Maps/Base City Map' of type 'FileSystem' to resource group 'MenuMapView'
14:39:34: Initialising resource group MenuMapView
14:39:34: Parsing scripts for resource group MenuMapView
14:39:34: Finished parsing scripts for resource group MenuMapView
14:39:34: Creating resources for group MenuMapView
14:39:34: All done
14:39:34: Loading resource group 'MenuMapView' - Resources: 1 World Geometry: 1
14:39:34: Finished loading resource group MenuMapView
14:39:34: Texture: mapPicture.dds: Loading 1 faces(PF_A8R8G8B8,256x128x1) Internal format is PF_A8R8G8B8,256x128x1.
14:39:35: Destroying resource group MenuMapView
14:39:35: Unloading resource group MenuMapView
14:39:35: Finished unloading resource group MenuMapView
14:39:35: Creating resource group MenuMapView
14:39:35: Added resource location './media/Maps/Base Territories' of type 'FileSystem' to resource group 'MenuMapView'
14:39:35: Initialising resource group MenuMapView
14:39:35: Parsing scripts for resource group MenuMapView
14:39:35: Finished parsing scripts for resource group MenuMapView
14:39:35: Creating resources for group MenuMapView
14:39:35: All done
Texture should be loaded again here, but it's not. It is on Ogre 1.7 and 1.8 though...
14:39:35: Loading resource group 'MenuMapView' - Resources: 1 World Geometry: 1
14:39:35: Finished loading resource group MenuMapView
14:39:36: Destroying resource group MenuMapView
14:39:36: Unloading resource group MenuMapView
14:39:36: Finished unloading resource group MenuMapView
14:39:36: Creating resource group MenuMapView
14:39:36: Added resource location './media/Maps/Classic Map' of type 'FileSystem' to resource group 'MenuMapView'
14:39:36: Initialising resource group MenuMapView
14:39:36: Parsing scripts for resource group MenuMapView
14:39:36: Finished parsing scripts for resource group MenuMapView
14:39:36: Creating resources for group MenuMapView
14:39:36: All done
14:39:36: Loading resource group 'MenuMapView' - Resources: 1 World Geometry: 1
14:39:36: Finished loading resource group MenuMapView
14:39:36: Texture: mapPicture_classicMap.dds: Loading 1 faces(PF_A8R8G8B8,339x190x1) Internal format is PF_A8R8G8B8,339x190x1.
14:39:38: Leaving MenuState...