Quote from: LWM on February 09, 2019, 01:02:04 AM
If you look in the RimWorld directory, there's a Mod folder, with a Core folder inside it. Inside THAT, there are a lot more folders. The one you want is either Defs or Languages/<your language>. Search in the XML files for the phrase/term you're looking for. It will often be tied to a defName or a keyed value you can cross-reference with the code. (If you're looking for someone else's mod's stuff, it'll be in a different folder - in yet a 3rd location if you're using steam!)
I'm aware of the Core folder with the defs. That was what I was initially using before posting this thread. But, there are plenty of images that don't show up in there (i.e. alot of User Interface graphics). So, that was why I started looking at decompiling ... to find the other ones.
A good example is the Camellia tree texture ... nothing shows up when I search the CORE folder. And nothing shows up when I search the decompiled files.
An example of a texture that shows up in the decompiled code, but not in the CORE files is the NoRoofArea icon...
Quotethis.icon = ContentFinder<Texture2D>.Get("UI/Designators/NoRoofArea", true);