Difference between revisions of "NRN file"

From RRU Knowledge Base
(none of this is "encrypted")
(redirect to main NERPs page (information moved))
Tag: New redirect
Line 1: Line 1:
{{WIP}}
#REDIRECT [[NERPs#NRN files]]
One of several [[Level Files]] located in a Mission's level folder, the '''NRN file''' is a human-readable version of a [[NERPs]] script that contains the Level's [[Programming Mission Objectives|mission objectives]].  This file is not compiled and is editable in notepad.  The NRN file is not processed by the game, and changes made to it will not affect the game.  The game will only process the [[NPL file]], which is a compiled version of the NRN script.  Changes made to the NRN file will also not affect the NPL script.  It is merely used for organizing the script before encrypting it into the NPL file.  Currently, this is done manually by editing the NPL file with a [[Hex-Editing Program]].
 
Although editing this file does not affect the game, it is '''essential''' to modifying level goals.  While the compiled NPL file is not easily human-readable, the NRN file is much easier to read.  It is important to make sure that whatever changes you make in the NRN file you make to the NPL file, so that you know they match.  Before you edit the NRN file, make sure you know how to edit the NPL file.
 
Note that the NRN File is not an exact disassembled version of the NPL file, but a shortened version, which excludes any common information contained in the [[nerpnrn.h]] file, and can use various macros from that header file.  The [[nrM file]], on the other hand, is an exact version, which includes this common information.


[[Category:File formats in LEGO Rock Raiders]]
[[Category:File formats in LEGO Rock Raiders]]
[[Category:NERPs]]
[[Category:NERPs]]

Revision as of 09:57, 9 December 2018

Redirect to: