#7
21st Oct 2007 at 1:21 AM
Posts: 3,651
Thanks: 40810 in 27 Posts
28 Achievements
View My Journal
There are a few options. Assuming you're not really picky about which texture you have (as I assume you're going to replace the image with your own) then this is how I'd do it:
Open up another object. Any object, so long as it has at least one txmt and one txtr. (It's easiest if you can get one which has exactly one of each, so you don't accidentally mismatch the ones you've got). Extract those files to somewhere temporary. Now open your cup package again and import the files into it.
Find the original txmt and copy its file name. Open the imported txmt and paste the filename in to replace its current one. Commit, then delete the original txmt.
Go to Tools > Object Tools > Fix Integrity. Click "ok".
Your cup will now have a texture.
If you want to make the package neat, you'll probably also want to rename the imported txtr file. You can do that, but make sure you also make the change in the "stdMatBaseTextureName" field of the txmt, and also in its file list, then re-run fix integrity afterwards.