I need a tool for the models

  • Thread starter Thread starter Kaldarasha
  • Start date Start date
Status
Not open for further replies.
K

Kaldarasha

Guest
I often have the problem that Kimera create some unique filenames, which ending sometimes in an unpredictable chaos for me.
It is nasty work to rename the files manually. First I have to change the name of the file in the .hrc-file, then I must change the name of the .rsd-file, after this I must open the .rsd-file and change the three names there and at last the p-file must be renamed, too.
So what I need, is a tool what can read out the .hrc and the .rsd files and rename all files at once.

Here an example;
The header file is AAAP.hrc and I want it to rename it AAAA.hrc. Lets say the first file it reads is AATH13, which is AATH13.rsd. AATH13.rsd is pointing to the file AATZ.p. To be honest this is a worst case scenario, if I add a part to the AATH13 bone I have no idea what new .rsd-file Kimera would generate
Though, after the rename it should look like the follow: AAAA.hrc -> AAAB.rsd -> AAAC.p. This looks much cleaner.
If the .hrc is pointing to two files for a bone: AATH13.rsd and AATH14.rsd, then the new should look like this: AAAB.rsd; AAAB1.rsd -> AAAC.p; AAAC1.p.

The rules for naming the files: the last letter follows from A to F. If the F is reached the letter before change to the next letter in the alphabet and the last letter is an A again (AAAF, then AABA). If the bone has more then one part, then file is builded like this: 'Name_of_the_first_part_of_the_bone' + 'a_Numeric' (starting from 1 to open end[?]). I guess that's it.

Should look in the end like this:
Code: [Select]
Code:
AAAA.hrcAAAB.rsdAAAC.pAAAD.rsdAAAE.pAAAF.rsd; AAAF1.rsd; AAAF2.rsdAABA.p; AABA1.p; AABA1.pAABB.rsd...
All what I want to do, is only to write the name of model and the tool is doing the rest for me.
 
I have to agree that would be nice. The bigger issue is after you've gone through and changed all the file names so they match and don't overwrite any of the originals you cant resave the model in kimera again. I've found this can change the rsd file names, usually defaulting them. It makes it very easy to overwrite other files.
 
I could create this for you.  I have my hands full at the moment, but i'll look into it.  Send me an example set of files with a readme.
 
This is something that could be easily (well in theory, are .rsd files just text?) be solved with bash / powershell (or even cmd for the masochistic).
 
Last edited:
Kal, you're gonna have to go into more detail about what you want.  I need this spoon fed because I have no idea about models.  ;D  I need a step by step example, every single step in the chain.  Exactly what the program will do at each step and what files it will open, write to.
 
Don't bother with it. I'm came to the conclusion that I need some programmer skills and I think writing these program is a good aim. After all it will be a simple text and file writer. It will surely take some time until I have mastered the basics, but I didn't even thought that I will redo the characters of FF7 a year ago. Speaking of them, I try to finish everything by the 20th of December and then I will send everything to you (earlier if I could). The official release of my mod is set to the 24th. I think this will be one the best Christmas holidays for some people for a long time.  :)
 
Status
Not open for further replies.
Back
Top