How To Edit Rom Headers Using Nsrt 3.4 For Mac

How To Edit Rom Headers Using Nsrt 3.4 For Mac 9,6/10 886 votes

NSRT Guide

  • We recommend to not use this feature, but use the file pools as mentioned above. 3.4.2 Checksums. All necessary system ROM files used in machines and extensions are primarily identified with a checksum: a sha1sum. This enables openMSX to find the right ROM file from one of the file pools of type systemrom, without depending on the file name.
  • This is not always the case though and some choose the rebuild the rom (which has another set of problems as various rom/flashcart combination do not get along with ndstool which DSLazy and DSbuff use to manipulate the file systems of DS roms), mario kart is the classic example and 99% of the time when the basic undub procedure fails (basic.
  • ROM Header Editor Genesis Utility in General Category edit the header information of Genesis.bin ROMs.

NSRT 3.4 Mac: Nach: NSRT 3.4 for Mac, includes GUI frontend and commandline version. NSRT is a SNES-specific ROM utility designed to ensure that your ROMs are valid, and includes functions to add/remove headers, deinterleave ROMs, fix overdumps, and even add an NSRT hea. Miscellaneous: SNES: N/A: Mac OS: 3.4-mac: 13 May 2008: NSRT 3.4. Extract you Nintendo DS ROM using a ROM Extractor. Go to the 'sd' folder, and replace the sounddata.sdat file with the new one. Rebuild your ROM, and test it. Optionally, you can make your music loop. To do this, look at this tutorial. Unfortunately, I haven't really figured out to make it work, so you'll need to do this on your own.

The official home page of NSRT is: http://nsrt.edgeemu.com

Welcome to the ZSNES Documentation NSRT Guide. This is a guide written by the ZSNES Documentation Team, and is a companion to the main ZSNES Documentation.

NSRT is Nach's SNES ROM Tools. This utility provides many useful features for managing your SNES ROMs. Many of these features are closely related to SNES emulation and using ZSNES. This guide will cover the features of NSRT that are mentioned in the ZSNES Documentation.

Scope of this document

  • This document covers only those features of NSRT that are mentioned in the ZSNES Documentation.
  • This document currently is a guide only to the command-line version of NSRT, not the NSRT Front-End.
  • All OS-specific instructions apply only to Microsoft Windows XP Professional, Service Pack 2.

Getting Started

Before you can begin to use NSRT, you must first download it, then install it.

Downloading

First off, you need to download NSRT. The direct link to the latest version of NSRT for Windows (as of the writing of this document, 3.3 Final) is http://nsrt.edgeemu.com/forum/download.php?id=229.

If you prefer to navigate to the download yourself:

  1. The official website of NSRT is currently located at http://nsrt.edgeemu.com.
  2. In the Navigation box on the left side of the page, click Files.
  3. Find the most recent version of NSRT and click the link to it. As of the writing of this document, the latest version of NSRT is 3.3 Final.
  4. Choose the appropriate version of NSRT for your operating system and click the Download link on the right side.
  5. Save NSRT to a location (such as the Desktop) that you can conveniently access after the download has finished.
RomHow to edit rom headers using nsrt 3.4 for mac os

Installation

Installing in Windows

  1. Find the file nsrt33w.exe that you just downloaded (as explained in the section above).
  2. Open nsrt33w.exe. This is usually done by double-clicking it.
  3. The nsrt33w.exe file is actually just a self-extracting 7zip archive. Choose a location to which to extract the NSRT program files, then click the Extract button.
  4. You're done! There is no installation program included with NSRT. You just run the program directly out of the folder to which you just extracted the program files.

General Setup

Getting set up to use NSRT in Windows

There are two main things to consider when using NSRT with Windows. The first is that NSRT is a command-line program. You do not need to be terribly familiar with the Windows command prompt to use NSRT. The second thing to consider is that NSRT is almost useless by itself. Most of NSRT's functions operate on external files, like ROMs. Please read the ZSNES Docs for a more detailed explanation of ROMs.

The reason we need to consider these two things is that we need an easy way to use a command-line program to operate on files that may be located in many different folders. This document will cover two of many possible methods of accomplishing this.

Opening the command prompt at various locations
Catalina

One of the easiest methods of opening the Windows command prompt is to open the Start Menu, then go to Run... In the text box to the left of Open:, type cmd. This will open C:WINDOWSsystem32cmd.exe. This is the Windows command prompt executable. (Do not use command at the Start -> Run prompt; it is the old DOS command prompt.)

The problem with opening the command prompt using this method is that you will have to navigate to your ROM folders. For someone unfamiliar with the command prompt, this could be a very painful experience. Thus, we are going to enlist the help of a Microsoft Powertoy. If the preceding link no longer works, or if you want to navigate to this page yourself, follow these instructions:

Rom
  1. Go to http://www.microsoft.com.
  2. In the navigation bar on the right side of the page, click 'Products & Related Technologies'.
  3. In the new windows that pops up, click 'Windows'.
  4. In the navigation bar on the left side, under 'Products', click 'Windows XP'. Wait for the new page to load.
  5. In the navigation bar on the left side, under 'Resources', click 'Downloads'. Wait for the new page to load.
  6. Scroll down until you find 'PowerToys and Add-ins for Windows XP' and click it. Wait for the new page to load.
  7. Within the main content of the page, under 'PowerToys', click 'PowerToys for Windows XP'. Wait for the new page to load.

The PowerToy we are going to use is called 'Open Command Window Here'. If you read the PowerToys web site, you will see that this PowerToy fits our needs exactly: This PowerToy adds an 'Open Command Window Here' context menu option on file system folders, giving you a quick way to open a command window (cmd.exe) pointing at the selected folder.

To download this PowerToy, find it on the list on the right side of this page. This is a direct link that worked at the time of this writing.

EA Sports Cricket 2007 PC Game Free Download Full Version. Download the file to any convenient location, such as the Desktop. Before installing this PowerToy, please read all included instructions, including those on the top of the page from which you downloaded it.

You may have to restart your computer after installing this PowerToy. Once it is installed, you can try it out. Just right-click on any folder, and select Open Command Window Here. You will be presented with a nice little command prompt, already pointing at the folder that you right-clicked on.

When you are done using the command prompt, you can exit it by Xing out of the window, or by typing exit.

So the 'Open Command Window Here' PowerToy solved the problem of opening a command prompt at some random folder. Now we need to find an easy way to access the NSRT executable (nsrt.exe).

Running the NSRT executable at various locations

If you have only a few ROMs, or all your ROMs are in a single folder, the easiest method of accessing NSRT from that folder is just to copy or move the NSRT executable to that folder. Once you have done this, you can just open a command prompt at that folder, and run NSRT.

This is not the ideal solution, however. You may very well have ROMs located in many different folders, partitions, hard drives, CDs, DVDs, etc. It may also be impossible to copy the NSRT executable to some of those mediums. Therefore, we are going to concentrate on a second solution.

The method you are about to use will give you access to the NSRT executable from anywhere on your system. What you are going to do is add the location of NSRT to your PATH environment variable. When you type in a command at the command prompt, Windows checks a number of locations, including all paths that are listed in the PATH environment variable, for executables with a filename matching what you typed in.

You will very likely need Administrative privileges in order to succesfully follow these instructions. To add the location of the NSRT executable to your PATH environment variable:

  1. Go to your Desktop.
  2. Right-click the 'My Computer' icon, which opens a context menu.
  3. Left-click Properties, which opens the System Properties dialog.
    • You can also access this dialog from the Control Panel (Start -> Control Panel -> System).
  4. Click on the Advanced tab.
  5. Click the Environment Variables button.
  6. There are two sections in the Environment Variables dialog. Make sure you make the following changes in the first section, which are User variables. Do not edit the second section, System variables.
  7. In the User variables for [username] section, you will see a list with two columns, Variable and Value. Look to see if the 'PATH' variable already exists.
  8. If the PATH variable already exists:
    • Click it so that it is highlighted, then click the Edit button.
    • Click inside the Variable value: text box.
    • Press the End button on your keyboard to move the text cursor to the end of the list.
    • Type in a semicolon (;).
    • Continue with step 10.
  9. If the PATH variable does not already exist:
    • Click the New button.
    • In the Variable name: box, type in PATH, in all capital letters.
    • Click inside the Variable value: text box.
    • Continue with step 10.
  10. You have two options for what location to specify in the Variable value: text box:
    • You can specify the exact location of NSRT, such as C:DataProgramsNSRT.
    • Or, the better choice in my opinion, you can specify a generic folder, such as C:DataPATH, to which you can move any executables that you want to be able to run from the command prompt. Then you would just copy the NSRT executable to this folder.
    • Make your decision and type it in the Variable value: text box.
  11. Press the OK button in the 'Edit User Variable' dialog. Press the OK button in the 'Environment Variables' dialog. Press the OK button in the 'System Properties' dialog.
  12. You will have to restart, or at the very least, log out and in again, for these changes to take effect.
  13. Once you have restarted, the new location you have added to the PATH variable will now be included when you type in commands at the command prompt.

We have now overcome both problems when working with NSRT. You can open a command prompt at any folder of your choosing, and run NSRT in that folder without needing to move/copy the executable to that folder. Now we can actually get down to using NSRT.

General Usage

You should enable viewing of file extensions before you start to work with NSRT and your ROMs. File extensions are part of the complete filename, and are important when using NSRT. To enable viewing file extensions:

  1. Open the Control Panel (Start Menu -> Settings -> Control Panel).
  2. Open the Folder Options control panel applet.
  3. Click on the View tab.
  4. Make sure 'Hide extensions for known file types' is unchecked (you may have to scroll down the list).
  5. Click the OK button.

Before proceeding, please read all documentation included with NSRT. This currently consists of the file nsrt.txt.

How to use NSRT:

  • Open a command prompt at the folder of your choice.
  • If you execute NSRT without any commands (by typing nsrt by itself), NSRT will list all available commands and how to use them. You should refer to this often.
  • To operate on a ROM, type in nsrt followed by a command, followed by the name of the ROM. For example: nsrt -loginfo smw.sfc. Note that you must include the file extension.
  • Some options can be used with other options. These are detailed in NSRT's documentation and also explained when you execute NSRT without any commands.
  • If the filename of your ROM has any spaces, you must surround the filename with quotes. For example, nsrt -loginfo 'Super Mario World.sfc'.
  • You can use the * wildcard by itself to make NSRT scan all files in a folder. You can also use it after a partial filename, like super* to scan all files that start with the text 'super'.
  • If you want NSRT to scan subfolders as well, add the -r command.

Verifying ROMs

One of the most important functions of NSRT is to give you information about your ROMs. There's no way to be sure if the ROM that you downloaded from some random site is a 'perfect' dump. Even a [!] after the name of your ROM (a naming convention of GoodTools) does not confirm that it's a good dump. The NSRT database contains only those ROMs that are believed to be perfect dumps of actual game cartridges. There are no hacks, translations, or 'public domain' ROMs in the NSRT database.

How To Edit Rom Headers Using Nsrt 3.4 For Mac Shortcut

To scan a ROM to see its information, type nsrt 'romfilename.ext'. For example, nsrt 'Super Mario World (U).sfc'. You do not need to list any commands after nsrt in this case because the command -info is on by default. Example output from running nsrt 'Super Mario World (U).sfc' might be:

This is the output you would expect from a good dump of a ROM. After Checksum: it says Good, followed by the checksum itself. Also, this shows that the ROM is in NSRT's database. A ROM can have a good checksum but not be in NSRT's database. If the ROM isn't found in NSRT's database, you would see the following in the Database section of the output:

Veryifying a ROM to make a Bug Report

Please search the ZSNES Message Board (a built-in search function is provided) to see if a similar (or the exact same) bug has been reported already. If not, follow these instructions:

  • If the ROM is not found in the NSRT database, it may be possible to modify your ROM so that it is found in the database. You can try some of the ROM-editing commands found below. If you have no success in getting your ROM detected by NSRT, do not report the bug. Get a new ROM, if applicable.
  • If the ROM is found in the database, but after Checksum: it says Bad and/or Corrupt, you may need to fix your ROM by using a number of different ROM-editing commands. If by modifying your ROM you get a good checksum, try playing the game again to see if the bug still exists. If it still exists, please report the bug.
    • There are a few exceptions to the above rule. Some Sufami Turbo and beta dumps that are in the NSRT db have a bad checksum and are unfixable.
  • If the ROM is found in the database, and after Checksum: it says Good, your ROM is a 'good dump.' By all means, report the bug.

When you make a bug report, you need to include the verification information. In order to copy and paste this information from the command prompt, you should use the -loginfo command. For example, nsrt -loginfo 'Super Mario World (U).sfc'. This will output the verification information to a file, nsrtlog.txt, in the same directory as the ROM. Just open nsrtlog.txt and copy/paste the information into your bug report post.

Editing ROMs

There are a few cases when you may need to edit a ROM in order to get it to work with ZSNES.

If you are particularly attached to your ROMs, you should back them up before using any of the following commands.

Deinterleaving ROMs

The data within an interleaved ROM file has been re-arranged from its original order on the game cartridge. This is mostly a result of cartridge dumping hardware. Nach, the creator of NSRT, has written a document about the technical details of interleaved SNES ROMs, if you are interested.

ZSNES is able to load most ROMs that are interleaved. However, ZSNES may not be able to load some interleaved ROMs, and ZSNES can't load any interleaved SuperFX ROMs. If you have an interleaved ROM that won't load (including all SuperFX ROMs), you need to deinterleave it in order to play it.

In order to deinterleave a ROM, run NSRT with the -deint command. For example, nsrt -deint 'Super Mario World 2 - Yoshi's Island (U).sfc'.

You can deinterleave many ROMs at once by just running nsrt -deint *. Use -r too if you want NSRT to search subfolders. There is no downside to having un-interleaved ROMs, so don't worry about running this command on all your ROMs.

NSRT Headers

NSRT headers are special headers that you can add to your ROM files. You can add them only to ROMs that are found in the NSRT database. Please read the NSRT documentation file, nsrt.txt for more information.

One of the most useful functions of NSRT headers is their integration with ZSNES. If your ROM has an NSRT header and the game uses special controllers such as an SNES Mouse or Super Scope, ZSNES will automatically enable the appropriate special controllers when you load the ROM.

Adding

To add NSRT headers to your ROMs, just run NSRT with the -addnsrt command. If you want to add NSRT headers only to those ROMs for games that use special controllers, instead use the -addspec command.

You can use the -control command by itself to see a list of all games known to use special controllers. The -loginfo command does not work with -control, so if you want to output this list to a file, use the following command: nsrt -control > filename. For example, nsrt -control > special_controllers.txt.

Turning bad ROMs into good ones

Let's say you decide to add some NSRT headers to your ROMs so that the appropriate special input device is automatically enabled when you load the ROM into ZSNES. But let's also say that the ROM to which you want to add the NSRT header isn't detected in NSRT's database. This will prevent you from adding an NSRT header, because NSRT has no way to know that the ROM to which you want to add the header really is the game it says it is. There are two things we can do to a ROM that might make NSRT recognize it in its database. If the ROM is an overdump, NSRT can trim any extra empty space within the ROM in order to make it a good dump. Additionally, NSRT can change some known hacked ROMs into good dumps.

Trimming overdumps

Run NSRT with the -findover command to make it list any ROMs that it believes are overdumps.

Run NSRT with the -trim command to make NSRT trim all ROMs that it believes are overdumps. However, you should not do this, because NSRT isn't foolproof about what ROMs it thinks are overdumps.

You should run NSRT with the -safetrim command. This will only trim a ROM if the trimmed ROM would be a good dump, found in the NSRT database.

Fixing hacked ROMs

According to nsrt.exe and nsrt.txt, NSRT can fix the following hacked ROMs:

How To Edit Rom Headers Using Nsrt 3.4 For Mac Osx

Bad CRC32ROM NameWhat is wrong
0xB2EDBF88Metal Combat: Falcon's RevengeHacked to appear as SFX game
0x8745A442Tales of PhantasiaHacked checksum
0xDC1BEB4DToP Interleaved/SwappedHacked checksum
0x1BF3DB9AHonkakuha Igo GoseiHacked to appear as SFX game
0x6810AA95Bazooka BlitzkriegROM size hacked
0x61E29C06The TickRegion hacked
0x8FC452A0Drift King Shutokou Battle 2Hacked name and checksum
0x1EF90F74Jikkyou Keiba Simulation Stable StarRegion hack
0x45417117Winter Gold FXCompany hack
0x4ab225b5Krusty's Super Fun HouseRegion hack
0x77fd806aDonkey Kong Country 2Bad dump fix
0x340f23e5Donkey Kong Country 3Copier hack
0xDAC1C838Silva Saga 2Copier hack
0x1B3BC708Star Fox 2Older compile
0x1FB1CF76Star Fox 2 newerInaccurate header
0x4E5E8810Super Battletank (U)(R1.1)Hacked name
0xC070DDF0Rockman & ForteHacked company
0x40124F6EDennisRegion hack
0xDDAA7E6BDragon - The Bruce Lee StoryInternal name, copier hack
0x199A8FA2Hebereke's PopoonRegion hack
0x3F79EAD7Muhammad Ali BoxingInternal name hacked

How To Edit Rom Headers Using Nsrt 3.4 For Mac Os

To fix one of these ROMs, run NSRT with the -fix command.

Credits

Jipcy is the original author of this document. He began writing it on December 16, 2006.

Thank Nach and the NSRT Team for creating this wonderful tool!