WoW Petopia Community

A fun place to chat about hunter pets in the World of Warcraft.
Visit the Petopia homepage Petopia Homepage
It is currently Thu Jan 18, 2018 2:01 am

All times are UTC - 5 hours [ DST ]


Forum Rules: Treat others with respect. Report, don't respond. Read the complete rules.




Post new topic Reply to topic  [ 1 post ] 
Author Message
Unread postPosted: Thu May 01, 2014 11:58 am 
Offline
The Insane
The Insane
User avatar

Joined: Tue Jul 27, 2010 1:54 am
Posts: 10223
Gender: Male
I'm not really sure which forum to put this in, since WMV is used for so many different things.

If you use Wowmodelviewer, no doubt you've come across models where part is untextured and white. For example, both the old bats ("felbat") and the new bats ("bat") aren't rendered with any wing textures. In most of these cases, the skin exists, but WMV just doesn't have any info on what to do with them.

It turns out there's a fairly simple way to fix this, which involves adding one plain text file to the program folder:

- In the "userSettings" subfolder of the Wowmodelviewer app folder, create a text file named Skins.txt . This file will be used to describe how skins should be applied to problem models
- The file format is:
path\to\modelname (case insensitive, don't include the .m2 file suffix)
<number of sets of colours for that model>
<for each set: 3 lines, 1 texture file name per line (or blank line)> (texture names are case sensitive)
<at least two empty lines after the sets before adding the next model>
Lines that begin with an '#' are ignored.

- You MUST have exactly three lines for each set of textures, so if a model only requires two textures, you should leave a blank extra line in there.

In case that didn't make much sense, here's an example for fixing the old felbat model (which has 4 colours, two texture files per colour), followed by the new bat model (5 colours, two textures per colour), and then the new regular and epic bat mounts:

Code:
Creature\Felbat\felbat
4
BATSKIN01
BATSKIN02

BatSkinBrown01
BatSkinBrown02

BatSkinViolet01
BatSkinViolet02

BatSkinWhite01
BatSkinWhite02


Creature\Bat\Bat
5
BatGreen1
BatGreen2

BatGrey1
BatGrey2

BatTroll1
BatTroll2

BatUndead1
BatUndead2

BatWhite1
BatWhite2



Creature\Bat\BatMount
2
BatTroll1
BatTroll2
BatTrollSaddle3
BatUndead1
BatUndead2
BatUndeadSaddle3


Creature\Bat\EpicBatMount
2
EpicBatMountGold1
EpicBatMountGold2
EpicBatMountGold3
EpicBatMountSilver1
EpicBatMountSilver2
EpicBatMountSilver3



(There was no need to include the black epic bat mount as it already displays correctly).

I was aware of this function for some time, but I could never get it to work and I thought it was long broken. It turns out that the example that WMV gave said to add ".mdx" to the end of the model name, but this causes it to break (as does adding ".m2").

I've attached a Skins.txt file that I created that covers most of the ones I was interested in. There are probably plenty of other models with issues that I hadn't looked at. It covers most of the troublesome beasts and mounts anyway!

I should add that it also includes listings for some WoD models that you probably won't have, just in case that confuses you.


Attachments:
Skins.txt [10.75 KiB]
Downloaded 54 times

_________________
Shaman avatar by Spiritbinder.
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group