Aller au contenu

Photo

Renaming compiled models


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
The Mad Poet

The Mad Poet
  • Members
  • 425 messages

I've been busy adding some various clothing items to my server and recently a few that I've come across are compiled models. After extracting them and renaming them to fit in my 2da's I tried using the NWN Model Renamer. It damaged the models in some way I guess. I read the help files and it says not to rename compiled models with the program. My bad.

 

However I also tried doing it manually with a text editor thinking maybe that would work. Wrong. Same issue.

 

How can I re-number these files?



#2
Malagant

Malagant
  • Members
  • 221 messages

Decompile, rename (or fix), re-compile. I don't know any other way around it. A text editor can't fully read compiled models and renamers won't be able to alter the necessary internal references, leading to mismatched references.



#3
The Mad Poet

The Mad Poet
  • Members
  • 425 messages

Aside from the command line decompiler is there any with a GUI?



#4
Proleric

Proleric
  • Members
  • 2 355 messages
I haven't found one, but command line is your friend, because you can decompile a whole batch using wildcards. I like to keep a shortcut to the command line interpreter in the working folder, so that it starts in the right place.

The model renamer is great, because it also does a batch in one shot, but never use it on textures. Command line interpreter is handy for wildcard texture file renaming.

#5
The Mad Poet

The Mad Poet
  • Members
  • 425 messages

Thank you both for your help.


  • Malagant aime ceci

#6
Malagant

Malagant
  • Members
  • 221 messages

The newest version of clean models can / will batch decompile now IIRC, but I don't know how it will behave with a bungled compiled model that's been renamed (as in I'm not sure if it will work or throw an error). You can copy them to a different folder and test it.



#7
The Mad Poet

The Mad Poet
  • Members
  • 425 messages

It wonked out like expected. I just went back to the source material. Thanks again.