| NeSC > Emulators > TR64 > Configuration |
| TR64 Configuration Guide |
I'll take this guide from the point where you've just unzipped TR64 to your hard drive.
Run TR64.exe. If all goes well you are now looking at the TR64 GUI. The main window will be blank:

First thing is to go the the "Options" menu and "Plugin Selection":

Here are my suggested settings for you to start with:

Now press "OK" to close the Plugin Selection dialogue.
Go to "File" menu and choose "Change Directory".

Browse to your ROM folder and press "OK".
You will now see your games listed in the main window:

Here is one oddity of TR64 - you can only configure a plugin once it is running. So if you now go "Options" > "Controller configuration" nothing will happen. Therefore to carry on setting up TR64, you must now start a game. I highly recommend you make that game Mario64. Double click on your Mario64 ROM in the main window. The game will load and TR64 will begin emulating. Don't try to play yet, but leave the game running.

Go "Options" > "Controller configuration". TR64 will list your detected devices across the tabs at the top of the window.

(In case you have an Adaptoid, this screenshot shows the correct configuration for it - notice the button numbers are all shifted by -1).
Setting up controls for any device:
Choose the device you wish to use by clicking the appropriate tab. On the right you will see a listing of all the available buttons on that device. To set a button or key to an N64 input, with the mouse double left click on the button you wish to assign. Then, also with the mouse, click once on the appropriate function in the "available actions" box. Repeat this process for every button or key you wish to set.
Press OK to close the Controller configuration dialogue box.
Do you remember which button you assigned as "Start"?! Press it! You should see the game respond. If not, go back and check you have set the keys properly.
Now check that all the buttons work by playing the game a little way and then close the emulator to make sure all your settings are saved.
Now restart the emulator and enjoy your game =) Carry on reading for more advanced information.
Quirks/Bugs of the TR64 interface:
Video plugin Ucode selection is not shown in the config screen - instead, it always shows "1".
The Cancel button on the plugin selection dialogue counts as "OK" (as does the OK button).
Getting sound from T64:
Two audio plugins are included in WIP5. The default "Basic Audio Plugin" is not capable of producing sound in commercial games. For this, you must switch to "TR64 Audio-UCode1". The reason I don't advise this for beginners is that (a) sound will only work on a few older games (b) sound quality is very poor and (c) using this plugin slows down the emulator.
Speed hacks/CF values:
The only other configuration to apply while playing a game is the choice of speed hack from the "CF" menu:

You can choose numbers from 1 to 8. These changes are applied immediately - you can see the effect they are having on emulation straight away. Try different values to see which you prefer - the effect varies from game to game. Some games may require CF to be within a particular range.
Using save-states with TR64:
TR64 is compatible with save state files for all Nintendo64 emulators except UltraHLE. To use a save state with TR64, download and unzip the save state to any folder on your hard drive. Then start TR64, double right click on the ROM that the save is for to open the Cartridge Options dialogue:

Press "Import Save". Browse your hard drive to the file, double click it. TR64 will rename and copy the file to it's save folder and you will see "savestate successfully imported". Now just start the game and load as you would on a real N64. Very slick system!
Setting UCodes:
If you start a ROM that TR64 has no configuration data for, it will load and after a short pause you will see this dialogue appear:

Do NOT press OK!
Go to:

Now you come to the "select u=code" dialogue. This is perhaps the most tricky part of TR64, because you usually won't know for sure which code is correct. The games given are merely examples:

At this point, one of three things will happen:
Configuring UCodes, by example:
Here I'll take the game EarthWorm Jim 3D, for no particular reason other than it illustrates the process quite nicely.
We start by noting that the game is marked "no comment", so we know it isn't pre-configured in the INI.
Next stage is to simply run the game and see what happens. So we double click it and soon after the ROM has loaded we see this:

So (following the guide above), but we don't know what Ucode this game wants so let's take a guess. 1 is always a good place to start if you have nothing else to go on.
So we try UCode 1.
Hurrah, the game boots! We see the title screen:

Uh-oh, this again:

OK so let's try Ucode 2:

OK, that's looking better, but - disaster! ;)

That damn dialogue again :(
So try Ucode 3:

Hurrah!
Now here's where it gets tricky, so try to bear with me... (further investigation showed that) EWJ will actually work on many Ucodes, and that it throws up "false alarm" "Config your UCode" dialogues - even on UCode 2, it will ask you one more time to set your Ucode. (This behavious stops after your have set the UCode in the INI, as explained below). Here's the results of different UCodes with EWJ:
UCode 0

Whoah, that's pretty messed up!
UCode 1

Looking OK-ish
UCode 2

The same in this shot but better in other parts of the game (this turns out to be the best choice).
UCode 3

Looking the same as 0 and 1.
UCode 4

Nasty.
UCode 5
Well that's killed the 3D display entirely!
UCode 6 - Er, I don't seem to have shot of this, but you aren't missing much.
UCode 7

Erm gee lemme think..... no! =)
Now you should be aware that the GUI only lets you set Ucode 0-7. TR64 actually supports more than this, but you'll have to set the others via the INI (more on this later).
So... we're happy that UCode 2 is the best we're going to get - not perfect, but not bad either.
Now we want TR64 to use this setting every time it starts, yes?
To make a UCode change permanent:
You must set it in the INI. We're dealing with the Direct3D plugin here so all out settings will go in the Direct3D plugin's INI, which is called "RCP_D3D.INI". This file is in the \plugin\ subfolder of your TR64 folder. Find it and open it in Notepad.
TR64 has already dumped the details of all your ROMs into this file. What it's done, is created an entry for every ROM it doesn't know that looks like this:
[D94DBBC80B435FCC-45]
Name=Quest 64
UCode=-1
See that "-1" (minus one)? That's TR64's way of saying "I don't know what to do with this ROM".
Now you need to find your ROM - this is easy, because the TR64 GUI lists the Internal Name in the first column. So in this case we search for "EARTHWORM JIM 3D". (Press CTRL+F in Notepad). After you find the first match, KEEP GOING as there may be more than one entry for each game. In this case, suppose we find two entries for EWJ. Let's set them both just to be sure.
So change this:
[E89D2B491CC8CCC6-50]
Name=EARTHWORM JIM 3D
UCode=-1
(that's the unknown ROM) and this (your entries may look different!):
[914157DF3D12B59E-45]
Name=EARTHWORM JIM 3D
UCode=1
(see that's a mistake in the original file!) to this:
[E89D2B491CC8CCC6-50]
Name=EARTHWORM JIM 3D
UCode=2
and this:
[914157DF3D12B59E-45]
Name=EARTHWORM JIM 3D
UCode=2
Note that the entries probably won't be anywhere near each other in the file, this is not important, all that matters is that you change the one that matches your ROM (or all of them if you don't know/understand the CRC).
Now save and close the INI, go back to TR64 and doubke click the game - it should run without any more of these:

Hurrah! You're done. One last thing to do - update the comment to remind yourself that the game now works! Double right click the ROM:

And just type in a comment to replace "no comment" - it can be anything you want. In this case I might write something like "Works, graphic glitches".
I hope this guide was usefull to you, and that you will enjoy getting lots more games working in TR64 =)
Summary of key Ucode setup info: