Author Topic: Module Journal file location?  (Read 849 times)

Legacy_Xeneize

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Module Journal file location?
« on: February 21, 2015, 09:08:39 pm »


               

Hello.


 


I recently started working on some questing for neverwinter nights 1 and I'm using the journal editor of the module I created for that purpose.


 


My problem now lies where I am unsure where the journal file is located. Where is the journal file of a module located usually?


 


 


Thanks for the answer in advance.



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Module Journal file location?
« Reply #1 on: February 21, 2015, 10:22:27 pm »


               

The question is why you would need to know this? You normally either use the plot wizard (if it is one of a small number of pre-defined plot types) or by very simple scripting. I therefore don't understand why you would need to know the location of the journal file.


 


TR



               
               

               
            

Legacy_Xeneize

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Module Journal file location?
« Reply #2 on: February 22, 2015, 12:08:51 am »


               

Because I need the journal to attach to my scripts, and then I need a way to extract the journal file, to send over to the person that possesses the original module.



               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
Module Journal file location?
« Reply #3 on: February 22, 2015, 12:24:23 am »


               

It's a gff file called module.jrl which will be in your modules/temp/ or modules/temp0 (under your NWN install dir)  directory when the module is open in the toolset. Or you can pull it out with an erf tool or nwnexplorer.


               
               

               
            

Legacy_Xeneize

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Module Journal file location?
« Reply #4 on: February 22, 2015, 12:34:32 am »


               

That's what am looking for then. Um.... should I save the module and keep it open while going to that folder?


 


And after that, to replace the file, the other person must do pretty much the same thing? Replace the module.jrl that is under temp when they open it, save and reopen the module for it to have effect?



               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Module Journal file location?
« Reply #5 on: February 22, 2015, 02:07:46 am »


               

 A module is nothing more  then an  ERF (Encapsulated Resource File) file.   ERF is like a zip file,  It is a bunch of smaller files all packed into  one larger file.  This makes it easier to keep all the files together and makes them take  up less space on your hard drive.  But just like zip files it is easier to work with the unpacked files then it is to work with them Packed together or encapsulated.   So basically, every time you open a module in the toolset, It unpacks the files from the .mod file( which is an ERF)  Into a folder called "temp*"  in the modules folder.   The files in this "temp*"  folder are the files that the toolset is reading and changing when you are making changes in the toolset.  When you save a module the toolset just takes all the files in the temp* folder and repacks them into the a .mod ERF.    


               
               

               
            

Legacy_Proleric

  • Hero Member
  • *****
  • Posts: 1750
  • Karma: +0/-0
Module Journal file location?
« Reply #6 on: February 22, 2015, 10:14:03 am »


               


That's what am looking for then. Um.... should I save the module and keep it open while going to that folder?


 


And after that, to replace the file, the other person must do pretty much the same thing? Replace the module.jrl that is under temp when they open it, save and reopen the module for it to have effect?




 


Yes.


 


One thing, though - when you change a file in temp directly, the toolset doesn't know anything has changed. So, to be sure, make a trivial change in the toolset, reverse it and save. For example, you might add one letter to a description, then delete it.