Author Topic: get resrefs from module  (Read 301 times)

Legacy_acomputerdood

  • Sr. Member
  • ****
  • Posts: 378
  • Karma: +0/-0
get resrefs from module
« on: December 05, 2011, 03:26:24 am »


               hey guys, i'm hoping that there's an easy way to pull ALL the resrefs of creatures from a module.  i found some modunpacker tools that let me break out the .utc files, and then view them individually.

i was hoping somebody could help me with the file format so i could write a script to parse the info from the files.  i don't want to have to reverse engineer it myself.
               
               

               
            

Legacy_Kato -

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +0/-0
get resrefs from module
« Reply #1 on: December 05, 2011, 03:29:50 am »


               You should take a look at Funky's sticky on Moneo(How to mass edit...), wich can do it all and much more very quickly '<img'>


Kato
               
               

               


                     Modifié par Kato_Yang, 05 décembre 2011 - 03:32 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
get resrefs from module
« Reply #2 on: December 05, 2011, 04:07:19 am »


               Kato's suggestion is a good one.   I have never used moneo but it should be able to do what you are looking for. 
If you where just looking for the custom .utc files that are in the module. You do not even need a modunpacker program to do that.   all you have to do is open the module in the toolset and all the files in the module are unpacked into the temp folder in the modules folder.   The resref's for the creatures will be the filenames for the utc files. 


If you still want the file formats they are here>> http://nwvault.ign.c....Detail&id=1501

The GFF format was somehow missed being placed into the original download.   I do see that he has added it as a spereat download.    It is that format that you will have to understand to script anything for the files. The files themselves are normaly packed together in an ERF format that covers the .mod file and any hak's .  If you are going into the bif's you will also need to learn the Key/ bif format.   

If you are going to also get a list of creatures that are in haks in the module a list of the haks attached to the game will be in the info(.ifo)  file.

There was a not so good explaination on the gff format in >>I need a clearer GFF/BIC file format explanation

It was just the best I could do.

Hope that helps if you still plan on scripting it yourself.  moneo would be the best solution if it works for you.
               
               

               
            

Legacy_acomputerdood

  • Sr. Member
  • ****
  • Posts: 378
  • Karma: +0/-0
get resrefs from module
« Reply #3 on: December 05, 2011, 04:15:43 am »


               you rock - the "dumpcr.ls" was exactly what i was looking for.  now i can easily parse the data how i want.
               
               

               
            

Legacy_acomputerdood

  • Sr. Member
  • ****
  • Posts: 378
  • Karma: +0/-0
get resrefs from module
« Reply #4 on: December 06, 2011, 05:13:17 am »


               thanks again for the tip on moneo.  for those of you keeping tabs, this is what i was working on:

http://nwvault.ign.c....Detail&id=3838

specifically, the CR and resref list was used here:
http://www.dalakora.com/cgi-bin/webDM/

in the left hand side dropdown box after you select one of the areas.