Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Project64: Difference between revisions

From OoT Randomizer Wiki
mNo edit summary
m fix mention of Project64 as PJ64. PJ64 should only be used where it is displayed literally (n-rage for pj64).
 
(103 intermediate revisions by 8 users not shown)
Line 1: Line 1:
= '''Project64 v2.x Setup for OoT Randomizer''' =
Project64 is no doubt the most popular N64 emulator available. Randomizer staff will support Project 64 '''3.0.0 or newer''' which was released on May 26, 2021. We will not directly support any previous version.


<span style="font-size:x-small">'''by Tyrus'''</span>
{{race rule|Only Project64 3.0 and newer are allowed and supported for racing. Version 2.0 - 2.3 are not allowed for racing. <!--Project64 1.6 may be used but will result in a poorer experience and will not be supported-->}}
Project64 v3.0.0 or newer as well as [[Bizhawk]] and [[Retroarch]] are the recommended emulators for racing.


{{TOClimit|5}} &nbsp;
[https://www.pj64-emu.com/public-releases Download Project64] '''v3.0.0 or newer'''


== Download: [https://www.pj64-emu.com/ https://www.pj64-emu.com/] ==
Please note that certain ads on the Project64 download page might lead you to download adware. Only wait for the download to start automatically or click ''Try again'' to start it.


To get rid of the donate box that you have to wait 30 seconds for, click ‘Enter notification code’ and type “thank you from project64”.
Version 3.0.1 changed the wording in many places. One of the major ones is changing <samp>Settings...</samp> in the <samp>Options</samp> menu, so when using 3.0 anywhere you see <kbd><samp>Options</samp> ⇒ <samp>Configuration</samp></kbd> look for <kbd><samp>Options</samp> ⇒ <samp>Settings...</samp></kbd> instead.


<br/> <span style="font-size:medium">'''''You will have to follow these steps for every new ROM you use!'''''</span>
== Configure Controller ==
<br/> <span style="font-size:medium">'''''This version of Project64 (v2.x) is not suitable for SRL Speedrunning!'''''</span>
First, read the [[Controller Setup]] guide. Ensure the controller is calibrated, and if you are using one of the controllers with additional setups steps in that guide make sure you follow them.


=== '''Step 1:''' ===
When using an Xbox controller, or any controller that is an XInput device, you must first go to <kbd><samp>Options</samp> ⇒ <samp>Configuration</samp> ⇒ <samp>Plugins</samp></kbd> and change the <kbd><samp>Input (controller) plugin</samp></kbd> from <kbd><samp>Project64 Input Plugin</samp></kbd> to <kbd><samp>N-Rage for PJ64</samp></kbd>. Then navigate to <kbd><samp>Options</samp> ⇒ <samp>Configure controller plugin...</samp></kbd> and check <kbd><samp>XInput</samp></kbd> at the top. This will change the bind menu to be more appropriate for your device.<sup>2</sup> The <samp>XControl</samp> column is the button on your controller, and the <samp>N64</samp> column is the button on the N64 controller you want it to use.


Open the ROM. You will get this error message:<br/> &nbsp;[[File:PJ64 1.png]]<br/> Click ‘Ok’ and *another* error message will pop up:<br/> &nbsp;[[File:PJ64 2.png]]<br/> Click ‘Ok’ once more, and then press ctrl + t<br/> This menu will pop up:<br/> [[File:PJ64 3.png]]
For other controllers and keyboard users, use the default <kbd><samp>Project64 Input Plugin</samp></kbd> or if N-Rage works better for you ensure that <samp>XInput</samp> does not have a check by it. Click on the button for the control you want to bind a button to and the menu will wait for you to press a button on the controller or a key on your keyboard to use for the button. ''You may need to change these again if you switch controllers''.


Untick ‘Hide advanced settings’<br/> Then click on the ‘Advanced’ menu that just showed up.<br/> [[File:PJ64 4.png]]
===GameCube Controllers===
There is a common issue with GameCube controllers that happens if you are using Project64 Input Plugin and using its options that lets you bind all of the controls. Whenever you bind one of the triggers, if you press it all the way down until it clicks it will bind two controls in rapid succession. The GameCube controller works differently than modern controllers. L and R are both analog triggers and digital buttons. Since these are two distinct controls on the same physical button the input plugin accepts both. It is recommended you push these buttons only far enough that it registers instead of until it clicks.


Tick ‘Remember selected cheats’ because PJ64 needs gameshark cheat codes to run properly.
===Keyboard===
If you use a keyboard, you will also want to increase the <kbd><samp>Analog Stick</samp> ⇒ <samp>Range</samp></kbd> to <kbd>100%</kbd>.


=== '''Step 2:''' ===
[[File:Project64KeyboardControls.jpg|560x315px]][[File:PJ64 10.png|560x315px]]


Click ‘Config: THE LEGEND OF ZELDA’<br/> If it’s not there, load up the ROM and look again.<br/> [[File:PJ64 5.png]]
== Recommended Settings ==


Where it says ‘Memory size’ go ahead and change that to 8 MB, deselect '32bit Engine' and then click ‘apply’ and ‘OK’.
=== Video (Graphics) Plugin ===


=== '''Step 3:''' ===
The GlideN64 Plugin is recommended. To do this, launch Project64 and navigate to <kbd><samp>Options</samp> ⇒ <samp>Configuration</samp></kbd> or press <kbd><samp>Ctrl+T</samp></kbd> to open the Settings menu.


Click the + next to "config: THE LEGEND OF ZELDA"
In the Settings menu, go to the <samp>Plugins</samp> section and change your <samp>Video (Graphics) Plugin</samp> to <samp>GlideN64</samp>. Click <samp>Apply</samp>.


[[File:PJ64 Setup Step 3.png]]
If your PC doesn't support this, you'll have to use the <samp>Project64 Video Plugin</samp> instead.  


Deselect 'Cache', 'PI DMA', 'Start changed' and 'TLB unmapping'. Select 'Protect memory' and then click ‘apply’ and ‘OK’.
<samp>Jabo's Direct3D8 Plugin</samp> is not recommended.


=== '''Step 4:''' ===
== Optional Settings ==


[[File:PJ64 6.png]]Press ctrl + c and then click on the bar on the right of this window<br/> In the box below ‘Code: <address>’ paste&nbsp;: 801DA5CB 0002<br/> And name it something like ‘subscreen delay fix’ (The name doesn’t matter)<br/> [[File:PJ64 7.png]]
=== Enable Save States ===


Then click ‘Add cheat’ and it should appear on the left.<br/> Tick the cheat, then close out of that menu.
{{race rule|Save states are not allowed to be loaded while racing. Please ensure you do not set up keybinds you may hit on accident during a race.}}
To enable save states, launch Project64 and navigate to <kbd><samp>Options</samp> ⇒ <samp>Configuration</samp></kbd> or press <kbd><samp>Ctrl+T</samp></kbd> to open the Settings menu.  


[[File:PJ64 8.png]]<br/> &nbsp;
In the Settings menu, click <samp>Options</samp> and untick <samp>Hide advanced settings</samp>. Click <samp>Apply</samp>.


=== '''Step 5 (Optional but recommended):''' ===
You should now be able to utilize save states while running the game by navigating to <kbd><samp>System</samp></kbd>.


Press ctrl + t and click ‘Plugins’ and change the Video (graphics) plugin to ‘Glide64 for PJ64’<br/> Click ‘Apply’ and then ‘OK’.
=== Pause/Unpause Emulation when Window is not Active ===


[[File:PJ64 9.gif]]<br/> &nbsp;
In the Settings menu, expand the {{menuItem|Options/Configuration}} list on the left-hand side and tick the box for {{menuItem|Pause emulation when window is not active}} section to have the emulation pause completely when the window is not active. This prevents the game from even running and communication with the game from outside applications when the window is not active, so you may not want it to be on. If that is a problem you will want to ensure you untick {{menuItem|Pause emulation when window is not active}}.  


=== '''Step 6:''' ===
{{kbd|Click Apply}} to save the setting. If you were running a game when you changed this setting you will need to go to the  {{menuItem|System}} menu and {{kbd|Click Resume}} to continue playing.


Once you have completed these steps, restart Project64 and open up your ROM.
=== Remove the FPS Cap ===


=== '''Step 7:''' ===
{{race rule|Unlimited FPS is not allowed for racing.  Please ensure you do not set up keybinds you may hit on accident during a race.}}
To remove the FPS cap, launch Project64 and navigate to <kbd><samp>Options</samp> ⇒ <samp>Configuration</samp></kbd> or press <kbd><samp>Ctrl+T</samp></kbd> to open the Settings menu.


Click ‘Options’ and ‘Configure controller plugin’
In the Settings menu, click <samp>Options</samp> and untick <samp>Hide advanced settings</samp>. Click <samp>Apply</samp>.


[[File:PJ64 11.png]]<br/> &nbsp;<br/> Here is where you setup your controller binds.
You should now be able to remove the FPS Cap by loading a ROM, navigating to <kbd><samp>System</samp></kbd> and clicking on <samp>Limit FPS</samp>. Alternatively, you can just press F4 on your keyboard.


<br/> For xbox controller users:<br/> * In ‘Controller Pak’, untick ‘RawData’, and in the drop down menu, select ‘MemPak’.<br/> * Tick ‘XInput’, and your binds menu will look like this:<br/> The ‘XControls’ correspond to the buttons on your controller, and ‘N64’ is what they will be bound to in-game.
=== Resize Emulator Window ===


[[File:PJ64 10.png]]<br/> For keyboard users-<br/> * I recommend setting Analogue stick range to 100%, and in ‘Devices’, set ‘Gamepad Deadzone’ to 5%.<br/> * These settings will make it easier to aim.
Go to <kbd><samp>Options</samp> ⇒ <samp>Configure Graphics Plugin</samp></kbd> and change the <samp>Windowed Resolution</samp> to whatever you prefer.


<br/> For users of any other controller-<br/> * My only recommendation is to check out the multitude of other guides on the Internet.
=== Show ROMs in ROM List ===


<br/> If you want to use a mouse, for some reason, tick ‘N64 Mouse’.
Right-click anywhere on the white screen and click on <kbd><samp>Choose ROM Directory...</kbd></samp> Select the respective folder that your ROMs are in.


<br/> ADDITIONAL HOTKEYS:<br/> Toggle limit fps (fast forward): f4<br/> Toggle pause: f2<br/> Save State: f5<br/> Load State: f7
=== Texture Packs ===


&nbsp;
{{race rule|Texture packs are not allowed for races. Disable them before participating.}}
The following link will let you set up texture packs for [https://wiki.ootrandomizer.com/index.php?title=HiRes_Texture_Packs Project64 v3.0.0 or newer]


= Important: Managing your Save data! =
=== Required Settings for Racing ===


=== '''Old versions of Project64''' ===
If you wish to partake in our community's races, then don't forgot to also configure the settings mentioned [[Racing#Project64|here]].


Old versions of Project64 use the same `.sra` file for all OoT ROMS, regardless of if they're randomised or not. If you've loaded a vanilla ROM before loading a randomized ROM, then you must first delete `THE LEGEND OF ZELDA.sra` in `C:\Program FIles\Project64\Save`. ''Failure to do so will result in numerous gameplay bugs''.
== Troubleshooting ==


If you do not load a vanilla ROM before loading a randomized ROM, you can just delete the save files in-game.
=== Alt+Tabbing Crashes in Full-Screen Mode ===


Use the [[#Video_(Graphics)_Plugin|GlideN64 Video Plugin]]. If your PC doesn't support that plugin, you'll have to be aware to hit the "Escape" key on your keyboard before Alt+Tabbing.


=== '''Project64 v2.3.2''' ===
Alternatively, you could also play in Windowed Mode. Navigate to <kbd><samp>Options</samp> ⇒ <samp>Configure Graphics Plugin...</samp></kbd> and adjust the Windowed Resolution accordingly. Click <samp>Save and Close</samp>.


[[File:Project64 Save File Management.png|RTENOTITLE]]
=== Screen Flicker when Streaming ===


Tick 'Unique game save directory' to avoid having to mess with the Save Files stored on your computer's HDD.
If using the [[#Video_(Graphics)_Plugin|GlideN64 Video Plugin]], go to <kbd><samp>Options</samp> ⇒ <samp>Configure Graphics Plugin...</samp></kbd>. In the "Video" tab, check the "Overscan" box. Click <samp>Save and Close</samp>.


= '''Need additional assistance?''' =
=== Error: uCode crc not found in INI, using currently selected uCode ===


'''IF YOU HAVE ANY FURTHER ISSUES, SEEK ADDITIONAL ASSISTANCE ON THE <u>[https://discord.gg/ootrandomizer: DISCORD SERVER]</u>!'''
This error is caused by Project64 using Project64-video not being able to find the <samp>Video.rdb</samp> file that should be in the <samp>Config</samp> directory in the Project64 folder. Double check that this file is in the right location. Also ensure you are not running Project64 from the zip file as it cannot see any of its required files and will throw strange errors like this one when it can't find them.
 
If you still get the error, make sure you're using [https://www.pj64-emu.com/public-releases Project64 v3.0.0 or newer]. If your current <samp>Video (Graphics) Plugin</samp> is not already <samp>GlideN64</samp>, then change to that one. [[#Video_(Graphics)_Plugin|You can read here how to swap plugins]]. If that doesn't work, try the <samp>Project64 Video Plugin</samp>. If even this doesn't fix the issue, you can try <samp>Jabo's Direct3D8 Plugin</samp> as a last resort.

Latest revision as of 23:28, 5 October 2023

Project64 is no doubt the most popular N64 emulator available. Randomizer staff will support Project 64 3.0.0 or newer which was released on May 26, 2021. We will not directly support any previous version.

This is an important racing rule! If you do not follow it, you may be disqualified from a race.

Reason: Only Project64 3.0 and newer are allowed and supported for racing. Version 2.0 - 2.3 are not allowed for racing.

Project64 v3.0.0 or newer as well as Bizhawk and Retroarch are the recommended emulators for racing.

Download Project64 v3.0.0 or newer

Please note that certain ads on the Project64 download page might lead you to download adware. Only wait for the download to start automatically or click Try again to start it.

Version 3.0.1 changed the wording in many places. One of the major ones is changing Settings... in the Options menu, so when using 3.0 anywhere you see OptionsConfiguration look for OptionsSettings... instead.

Configure Controller

First, read the Controller Setup guide. Ensure the controller is calibrated, and if you are using one of the controllers with additional setups steps in that guide make sure you follow them.

When using an Xbox controller, or any controller that is an XInput device, you must first go to OptionsConfigurationPlugins and change the Input (controller) plugin from Project64 Input Plugin to N-Rage for PJ64. Then navigate to OptionsConfigure controller plugin... and check XInput at the top. This will change the bind menu to be more appropriate for your device.2 The XControl column is the button on your controller, and the N64 column is the button on the N64 controller you want it to use.

For other controllers and keyboard users, use the default Project64 Input Plugin or if N-Rage works better for you ensure that XInput does not have a check by it. Click on the button for the control you want to bind a button to and the menu will wait for you to press a button on the controller or a key on your keyboard to use for the button. You may need to change these again if you switch controllers.

GameCube Controllers

There is a common issue with GameCube controllers that happens if you are using Project64 Input Plugin and using its options that lets you bind all of the controls. Whenever you bind one of the triggers, if you press it all the way down until it clicks it will bind two controls in rapid succession. The GameCube controller works differently than modern controllers. L and R are both analog triggers and digital buttons. Since these are two distinct controls on the same physical button the input plugin accepts both. It is recommended you push these buttons only far enough that it registers instead of until it clicks.

Keyboard

If you use a keyboard, you will also want to increase the Analog StickRange to 100%.

Recommended Settings

Video (Graphics) Plugin

The GlideN64 Plugin is recommended. To do this, launch Project64 and navigate to OptionsConfiguration or press Ctrl+T to open the Settings menu.

In the Settings menu, go to the Plugins section and change your Video (Graphics) Plugin to GlideN64. Click Apply.

If your PC doesn't support this, you'll have to use the Project64 Video Plugin instead.

Jabo's Direct3D8 Plugin is not recommended.

Optional Settings

Enable Save States

This is an important racing rule! If you do not follow it, you may be disqualified from a race.

Reason: Save states are not allowed to be loaded while racing. Please ensure you do not set up keybinds you may hit on accident during a race.

To enable save states, launch Project64 and navigate to OptionsConfiguration or press Ctrl+T to open the Settings menu.

In the Settings menu, click Options and untick Hide advanced settings. Click Apply.

You should now be able to utilize save states while running the game by navigating to System.

Pause/Unpause Emulation when Window is not Active

In the Settings menu, expand the Options/Configuration list on the left-hand side and tick the box for Pause emulation when window is not active section to have the emulation pause completely when the window is not active. This prevents the game from even running and communication with the game from outside applications when the window is not active, so you may not want it to be on. If that is a problem you will want to ensure you untick Pause emulation when window is not active.

Click Apply to save the setting. If you were running a game when you changed this setting you will need to go to the System menu and Click Resume to continue playing.

Remove the FPS Cap

This is an important racing rule! If you do not follow it, you may be disqualified from a race.

Reason: Unlimited FPS is not allowed for racing. Please ensure you do not set up keybinds you may hit on accident during a race.

To remove the FPS cap, launch Project64 and navigate to OptionsConfiguration or press Ctrl+T to open the Settings menu.

In the Settings menu, click Options and untick Hide advanced settings. Click Apply.

You should now be able to remove the FPS Cap by loading a ROM, navigating to System and clicking on Limit FPS. Alternatively, you can just press F4 on your keyboard.

Resize Emulator Window

Go to OptionsConfigure Graphics Plugin and change the Windowed Resolution to whatever you prefer.

Show ROMs in ROM List

Right-click anywhere on the white screen and click on Choose ROM Directory... Select the respective folder that your ROMs are in.

Texture Packs

This is an important racing rule! If you do not follow it, you may be disqualified from a race.

Reason: Texture packs are not allowed for races. Disable them before participating.

The following link will let you set up texture packs for Project64 v3.0.0 or newer

Required Settings for Racing

If you wish to partake in our community's races, then don't forgot to also configure the settings mentioned here.

Troubleshooting

Alt+Tabbing Crashes in Full-Screen Mode

Use the GlideN64 Video Plugin. If your PC doesn't support that plugin, you'll have to be aware to hit the "Escape" key on your keyboard before Alt+Tabbing.

Alternatively, you could also play in Windowed Mode. Navigate to OptionsConfigure Graphics Plugin... and adjust the Windowed Resolution accordingly. Click Save and Close.

Screen Flicker when Streaming

If using the GlideN64 Video Plugin, go to OptionsConfigure Graphics Plugin.... In the "Video" tab, check the "Overscan" box. Click Save and Close.

Error: uCode crc not found in INI, using currently selected uCode

This error is caused by Project64 using Project64-video not being able to find the Video.rdb file that should be in the Config directory in the Project64 folder. Double check that this file is in the right location. Also ensure you are not running Project64 from the zip file as it cannot see any of its required files and will throw strange errors like this one when it can't find them.

If you still get the error, make sure you're using Project64 v3.0.0 or newer. If your current Video (Graphics) Plugin is not already GlideN64, then change to that one. You can read here how to swap plugins. If that doesn't work, try the Project64 Video Plugin. If even this doesn't fix the issue, you can try Jabo's Direct3D8 Plugin as a last resort.