Aller au contenu

Photo

Module Journal file location?


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

#1
Xeneize

Xeneize
  • Members
  • 133 messages

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.



#2
Tarot Redhand

Tarot Redhand
  • Members
  • 2 674 messages

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



#3
Xeneize

Xeneize
  • Members
  • 133 messages

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.



#4
meaglyn

meaglyn
  • Members
  • 808 messages

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.



#5
Xeneize

Xeneize
  • Members
  • 133 messages

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?



#6
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages

 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.    



#7
Proleric

Proleric
  • Members
  • 2 346 messages

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.