NRN file

From RRU Knowledge Base
Revision as of 19:57, 19 March 2018 by Jessietail (talk | contribs)

This article is an unfinished work in progress or contains transferred information that needs to be rewritten or reformatted to fit our standards. Please excuse the mess and do not mark for deletion.

One of several Level Files located in a Mission's level folder, the NRN file is a modified C++ script that contains the Level's mission objectives. This file is unencrypted 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 an encrypted 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 encrypted NPL file is in Hex-Language, which is hard to read, especially for those unfamiliar with computer languages, the NRN file is in simple C++, which 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 unencrypted version of the NPL file, but a shortened version, which excludes any common information contained in the nerpnrn.h file. The NRM file, on the other hand, is an exact unencrypted version, which includes this common information.