Posted By: Superku
Get BMAP's filename...? - 06/21/18 19:34
Is it possible to retrieve a BMAP's original filename - somehow?
Recently I've made a post saying that it cannot be done but still, asking does not hurt.
I've written a function (for an in-game editor) that combines multiple entities into one. Now I want to save that entity/ mesh as an MDL. That's working to some degree already (mesh + skin points) but now I'm stuck at the skin. All entities use external files as skin textures.
Maybe via some BMAP.d3dtex(or ptr?) pointer offset (or GetPrivateData maybe...)? Or some other function that I'm not aware of?
Recently I've made a post saying that it cannot be done but still, asking does not hurt.
I've written a function (for an in-game editor) that combines multiple entities into one. Now I want to save that entity/ mesh as an MDL. That's working to some degree already (mesh + skin points) but now I'm stuck at the skin. All entities use external files as skin textures.
Maybe via some BMAP.d3dtex(or ptr?) pointer offset (or GetPrivateData maybe...)? Or some other function that I'm not aware of?