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

Retroarch: Difference between revisions

From OoT Randomizer Wiki
m →‎Mupen64plus Next Epona Carrots: use proper html tags
m page style using kbd and samp html tags
Line 1: Line 1:
'''by Raizuto'''
'''by Raizuto'''


RetroArch is the only cross-platform emulator supported by the Ocarina of Time Item Randomizer staff, and the number 1 recommended one. It is also possible to use it to play a vast number of platforms other than N64 as well. This might just make it your emulator of choice once you get used to using it.
RetroArch is the only cross-platform emulator supported by the Ocarina of Time Item Randomizer staff, and the number 1 recommended emulator regardless of platform. It is also possible to use it to play a vast number of platforms other than N64 as well. This might just make it your emulator of choice once you get used to using it.


Install [http://www.retroarch.com/index.php?page=platforms RetroArch] by choosing the download for your operating system. If you are using Windows and RetroArch crashes upon opening for you using the Windows 10/8/7 32bit and 64bit options, try installing the Windows XP 32bit or 64bit installations instead.
Install [http://www.retroarch.com/index.php?page=platforms RetroArch] by choosing the download for your operating system. If you are using Windows and RetroArch crashes upon opening for you using the Windows 10/8/7 32bit and 64bit options, try installing the Windows XP 32bit or 64bit installations instead.
Line 7: Line 7:
== Install a RetroArch Core ==
== Install a RetroArch Core ==


Go to ''Load Core'' on the main menu. [[File:Retroarch-Load-core.png|none|thumb|Load Core]]
Go to <samp>Load Core</samp> on the main menu. [[File:Retroarch-Load-core.png|none|thumb|Load Core]]


Then select ''Download Core...''
Then select <kbd><samp>Download Core...</samp></kbd>


[[File:RA-Download-Core.png|none|thumb|Download Core]]
[[File:RA-Download-Core.png|none|thumb|Download Core]]


After the core index list populates, go down until you find ''Nintendo - Nintendo 64 (ParaLLEl N64)'' and install it. If this core gives you issues you can try ''Nintendo - Nintendo 64 (Mupen64Plus - Next)'' however it is likely to crash somewhat frequently. To help prevent this try [[#Mupen64plus Next crashes|changing CPU Core from dynamic_recompiler to pure_interpreter]] after following the rest of the guide.
After the core index list populates, go down until you find <samp>Nintendo - Nintendo 64 (ParaLLEl N64)</samp> and install it. If this core gives you issues you can try <samp>Nintendo - Nintendo 64 (Mupen64Plus - Next)</samp> however note the following sections: [[#Mupen64plus Next Freezes|Mupen64plus Next Freezes]] and [[#Mupen64plus Next Epona Carrots|Mupen64plus Next Epona Carrots]].


[[File:Retroarch 01.png|none|thumb|ParaLLEl Core]]
[[File:Retroarch 01.png|none|thumb|ParaLLEl Core]]


Now that the core is installed you can backspace back out to the main menu.
Now that the core is installed you can <kbd>Backspace</kbd> to go back to the main menu.


== Configure RetroArch ==
== Configure RetroArch ==


Move over to the ''Settings'' column in the menu. Head down to ''Saving'' and change ''SaveRAM Autosave Interval'' to 10 seconds by selecting it and pressing the right arrow key.
Move over to the <samp>Settings</samp> column in the menu. Head down to <kbd><samp>Saving</samp></kbd> and change <kbd><samp>SaveRAM Autosave Interval</samp></kbd> to <kbd><samp>10</samp></kbd> seconds by selecting it and pressing <kbd>→</kbd>.


[[File:RA-Saving-Interval.png|none|thumb|RA-Saving-Interval.png]]
[[File:RA-Saving-Interval.png|none|thumb|RA-Saving-Interval.png]]


Next, go back to the ''Settings'' column and go down to ''Directory''
Next, go back to the <samp>Settings</samp> column and go down to <kbd><samp>Directory</samp></kbd>


<gallery>
<gallery>
Line 32: Line 32:
</gallery>
</gallery>


Select ''Downloads'' with <code>Enter</code>. You will be presented with an overview of your system partitions.
Select <kbd><samp>Downloads</kbd></samp> with <kbd>Enter</kbd>. You will be presented with an overview of your system partitions.


[[File:Retroarch 04.png|none|thumb|Filesystem]]
[[File:Retroarch 04.png|none|thumb|Filesystem]]


Navigate through your computer files to the folder you keep your ROMs in. '''They will not show up yet'''. Choose ''Use this directory'' anyway. If you are using the downloaded version of the Ocarina of Time Randomizer the default location for your patched ROMs is a folder called ''Output'' next to the <code>.exe</code> file you double click to start the randomizer.
Navigate through your computer files to the folder you keep your ROMs in. '''They will not show up yet'''. Choose <kbd><samp>Use this directory</samp></kbd> anyway. If you are using the downloaded version of the Ocarina of Time Randomizer the default location for your patched ROMs is a folder called <samp>Output</samp> next to the <samp>.exe</samp> file you double click to start the randomizer.


Once you have finished configuring RetroArch you must properly restart it. ''Do not press <code>Esc</code> or the X in the top right corner.'' Go to the far left column in the menu and move all the way down to the option near the bottom ''Quit Retroarch''. Once you reopen RetroArch you should be able to load your ROMs in the ''Downloads'' section of the ''Load Content'' menu.
Once you have finished configuring RetroArch you must properly restart it. ''Do not press <kbd>Esc</kbd> or the X in the top right corner.'' Go to the far left column in the menu and move all the way down to the option near the bottom <kbd><samp>Quit Retroarch</kbd></samp>. Once you reopen RetroArch you should be able to load your ROMs by going to <kbd><samp>Load Content</samp> ⇒ <samp>Downloads</samp>.


[[File:Retroarch 05.png|none|thumb|ROMs under here appear after restarting RetroArch]]
[[File:Retroarch 05.png|none|thumb|ROMs under here appear after restarting RetroArch]]
Line 44: Line 44:
== Controller Configuration ==
== Controller Configuration ==


If your controls don't feel quite right, access the Quick Menu by pressing <code>F1</code> while a ROM is loaded. Go down to ''Options'' and change the deadzone to 10 and analog sensitivity to 80. You may wish to make further personal adjustments as necessary as well.
If your controls don't feel quite right, access the Quick Menu by pressing <kbd>F1</kbd> while a ROM is loaded. Go down to <kbd><samp>Options</samp></kbd> and change the <samp>Deadzone</samp> to <kbd><samp>10</samp></kbd> and <samp>Analog Sensitivity</samp> to <kbd><samp>80</samp></kbd>. You may wish to make further personal adjustments as necessary.


== HiRes Texture Packs ==
== HiRes Texture Packs ==
Line 52: Line 52:
== Tips ==
== Tips ==


*To unbind any button/key hit the delete key on your keyboard in the input settings.  
*To unbind any button/key hit the <kbd>Delete</kbd> key on your keyboard in the input settings.  
*'''Never''' close RA via it’s top right X, close it from far left Main Menu ''Quit Retroarch''.  
*'''Never''' close RA via it’s top right X, close it from far left Main Menu <kbd><samp>Quit Retroarch</samp></kbd>.  
*If you want Retroarch to keep running in the background, go over to the ''Settings'' column in the menu, then down to ''User Interface'', hit enter and set ''Don’t run in the background'' to ''OFF''.  
*If you want Retroarch to keep running in the background, go over to the <samp>Settings</samp> column in the menu, then down to <samp>User Interface</samp>, hit <kbd>Enter</kbd> and set <samp>Don’t run in the background</samp> to <kbd><samp>OFF</samp></kbd>.  




If your controller does not have a default profile or you are using a keyboard, the following information may be helpful.
If your controller does not have a default profile or you are using a keyboard, the following information may be helpful.
*Don't alter the Main Menu bindings for controllers that have default profiles. Open the Quick Menu and change the button mapping there instead.
*Don't alter the Main Menu bindings for controllers that have default profiles. Open the Quick Menu and change the button mapping there instead.
*Left side user input binds (the <code>Delete</code> key will delete any binding)
*Left side user input binds (the <kbd>Delete</kbd> key will delete any binding)
**'''B button''' is equivalent to N64 A Button  
**'''B button''' is equivalent to N64 A Button  
**'''Y button''' is equivalent to N64 B Button  
**'''Y button''' is equivalent to N64 B Button  
Line 67: Line 67:
**'''Movement:'''  
**'''Movement:'''  
***Left analog X+ = Right  
***Left analog X+ = Right  
***Left analog X-&nbsp; = Left  
***Left analog X- = Left  
***Left analog Y+ = Down  
***Left analog Y+ = Down  
***Left analog Y-&nbsp; = Up   
***Left analog Y- = Up   
**'''<ins>C-Buttons/C-Stick:</ins>'''  
**'''C-Buttons/C-Stick:'''  
***Right analog X+ = C-Right  
***Right analog X+ = C-Right  
***Right analog X-&nbsp; = C-Left  
***Right analog X- = C-Left  
***Right analog Y+ = C-Down  
***Right analog Y+ = C-Down  
***Right analog Y-&nbsp; = C-Up
***Right analog Y- = C-Up


== Common Issues ==
== Common Issues ==
Line 82: Line 82:
=== No Audio ===
=== No Audio ===


Go into the Driver Menu (first thing under the Settings Menu Column) and change the Audio Driver from xaudio to dsound. Then quit RetroArch properly via the Main Menu and restart it.  
Go into the <kbd><samp>Settings</samp> ⇒ <samp>Drivers</samp></kbd> menu and change the <samp>Audio Driver</samp> from <samp>xaudio</samp> to <kbd><samp>dsound</samp></kbd>. Then quit RetroArch properly via the Main Menu and restart it.  


=== Retroarch crash when loading ROM ===
=== Retroarch crash when loading ROM ===


If using the Nintendo - Nintendo 64 (Mupen64Plus) core, try the Nintendo - Nintendo 64 (ParaLLEl N64) core instead. If using the& Nintendo - Nintendo 64 (ParaLLEl N64) core, try the Nintendo - Nintendo 64 (Mupen64Plus) core instead.  
If using the <samp>Nintendo - Nintendo 64 (Mupen64Plus)</samp> core, try the <samp>Nintendo - Nintendo 64 (ParaLLEl N64)</samp> core instead. If using the <samp>Nintendo - Nintendo 64 (ParaLLEl N64)</samp> core, try the <samp>Nintendo - Nintendo 64 (Mupen64Plus)</samp> core instead.  


=== Mupen64plus Next Freezes ===
=== Mupen64plus Next Freezes ===
Line 94: Line 94:
=== Mupen64plus Next Epona Carrots ===
=== Mupen64plus Next Epona Carrots ===


This is a side-effect of the quick-fix done to solve the above issue. When this occurs your ability to play the game as normal is slightly hindered, but still playable. To restore normal functionality you will have to save the game, press <kbd>F1</kbd>, go down to <kbd><samp>Close Content</samp></kbd> and press <kbd>Enter</kbd>. This will either close the ROM and emulator core, or crash the emulator. Both outcomes are fine and relaunching the ROM you were playing will no longer have the Epona carrots displaying.
This is a side-effect of the quick-fix done to solve the above issue. When this occurs your ability to play the game as normal is slightly hindered, but still playable. To restore normal functionality you will have to save the game, press <kbd>F1</kbd>, go down to <samp>Close Content</samp> and press <kbd>Enter</kbd>. This will either close the ROM and emulator core, or crash the emulator. Both outcomes are fine and relaunching the ROM you were playing will no longer have the Epona carrots displaying.


Note: ''Selecting <kbd><samp>Restart</samp></kbd> will not remove the carrot display. This may be due to the core's reset being hardcoded to be a soft reset. You '''must''' choose <kbd><samp>Close Content</samp></kbd>.''
Note: ''Selecting <kbd><samp>Restart</samp></kbd> will not remove the carrot display. This may be due to the core's reset being hardcoded to be a soft reset. You '''must''' choose <kbd><samp>Close Content</samp></kbd>.''
Line 100: Line 100:
=== Boots are equipped / Ocarina pulled out randomly while walking ===
=== Boots are equipped / Ocarina pulled out randomly while walking ===


Go to the input menu and set 'Analog to Digital' to 'None'
Go to the <kbd><samp>Settings</samp> ⇒ <samp>Input</samp> ⇒ <samp>User 1 Input Binds</samp></kbd> menu and set <samp>Analog to Digital</samp> to <kbd><samp>None</samp></kbd>


=== One of My Buttons Won't Work ===
=== One of My Buttons Won't Work ===


If you messed with the Main Menu User Input Binds you likely configured something wrong. It is not recommended to ever modify controller binds this way unless your controller doesn't have a built in profile. To reset your controller bindings to their default you have to load the default RetroArch.cfg again.
If you messed with the Main Menu User Input Binds you likely configured something wrong. It is not recommended to ever modify controller binds this way unless your controller doesn't have a built in profile. To reset your controller bindings to their default you have to load the default <samp>retroArch.cfg</samp> again.


If you have a ROM loaded, start by pressing F1 to open the Quick Menu then press <code>Backspace</code> to get back to the Main Menu.
If you have a ROM loaded, start by pressing <kbd>F1</kbd> to open the <samp>Quick Menu</samp> then press <kbd>Backspace</kbd> to get back to the <samp>Main Menu</samp>.


Go to the far left menu item, ''Main Menu''. Move down to ''Configurations'' and press <code>Enter</code>. Select ''<Parent directory>'' and hit <code>Enter</code>. Scroll down to the file <code>retroarch.default.cfg</code> and press <code>Enter</code>.
Go to the far left menu item, <samp>Main Menu</samp>. Move down to '<samp>Configurations</samp> and press <kbd>Enter</kbd>. Select <samp><Parent directory></samp> and hit <kbd>Enter</kbd>. Scroll down to the file <samp>retroarch.default.cfg</samp> and press <kbd>Enter</kbd>.


=== ParaLLEl Black Screen or Crashes ===
=== ParaLLEl Black Screen or Crashes ===


If you are able to launch the ParaLLEl core but get a black screen, or frequently crash while pausing, try changing the video plugin it is using. Press <code>F1</code> to open the '''Quick Menu''' and move down to '''Options''' and press <code>Enter</code>. Next, move down to '''GFX Plugin''' and press the <code>→</code> arrow key once. Once you have changed the option, press <code>Backspace</code> twice to return to the "Main Menu" and select <code>Quit Retroarch</code> to close RetroArch. Simply run RetroArch and open the ROM again and your ParaLLEl core should be running the new plugin you selected. Try each one and see if any of them work for you. If they do not, you may want to try the mupen64plus Next core instead.
If you are able to launch the ParaLLEl core but get a black screen, or frequently crash while pausing, try changing the video plugin it is using. Press <kbd>F1</kbd> to open the <samp>Quick Menu</samp> and move down to <samp>Options</samp> and press <kbd>Enter</kbd>. Next, move down to <samp>GFX Plugin</samp> and press the <kbd>→</kbd> arrow key once. Once you have changed the option, press <kbd>Backspace</kbd> twice to return to the <samp>Main Menu</samp> and select <kbd><samp>Quit Retroarch</samp></kbd> to close RetroArch. Simply run RetroArch and open the ROM again and your ParaLLEl core should be running the new plugin you selected. Try each one and see if any of them work for you. If they do not, you may want to try the mupen64plus Next core instead.


=== My Remapping in Quick Menu Controls Won't Save ===
=== My Remapping in Quick Menu Controls Won't Save ===


If your remapping won't save even after using "Quit Retroarch" in the main menu, you may have to explicitly save the reamppings. Open the "Quick Menu" with <code>F1</code>, go down to "Controls" and map your controls how you wish. Once you have done so, go back to the "Controls" menu. Near the top of the menu is a "Save Core Remap File" option. Select this to save these controller binds for all randomizer ROMs you open in the future.
If your remapping won't save even after using <kbd><samp>Quit Retroarch</samp></kbd> in the main menu, you may have to explicitly save the reamppings. Open the <samp>Quick Menu</samp> with <kbd>F1</kbd>, go down to <kbd><samp>Controls</samp></kbd> and map your controls how you wish. Once you have done so, go back to the <samp>Controls</samp> menu. Near the top of the menu is a <samp>Save Core Remap File</samp> option. Select this to save these controller binds for all randomizer ROMs you open in the future.

Revision as of 02:31, 16 February 2020

by Raizuto

RetroArch is the only cross-platform emulator supported by the Ocarina of Time Item Randomizer staff, and the number 1 recommended emulator regardless of platform. It is also possible to use it to play a vast number of platforms other than N64 as well. This might just make it your emulator of choice once you get used to using it.

Install RetroArch by choosing the download for your operating system. If you are using Windows and RetroArch crashes upon opening for you using the Windows 10/8/7 32bit and 64bit options, try installing the Windows XP 32bit or 64bit installations instead.

Install a RetroArch Core

Go to Load Core on the main menu.

Load Core

Then select Download Core...

Download Core

After the core index list populates, go down until you find Nintendo - Nintendo 64 (ParaLLEl N64) and install it. If this core gives you issues you can try Nintendo - Nintendo 64 (Mupen64Plus - Next) however note the following sections: Mupen64plus Next Freezes and Mupen64plus Next Epona Carrots.

ParaLLEl Core

Now that the core is installed you can Backspace to go back to the main menu.

Configure RetroArch

Move over to the Settings column in the menu. Head down to Saving and change SaveRAM Autosave Interval to 10 seconds by selecting it and pressing .

RA-Saving-Interval.png

Next, go back to the Settings column and go down to Directory

Select Downloads with Enter. You will be presented with an overview of your system partitions.

Filesystem

Navigate through your computer files to the folder you keep your ROMs in. They will not show up yet. Choose Use this directory anyway. If you are using the downloaded version of the Ocarina of Time Randomizer the default location for your patched ROMs is a folder called Output next to the .exe file you double click to start the randomizer.

Once you have finished configuring RetroArch you must properly restart it. Do not press Esc or the X in the top right corner. Go to the far left column in the menu and move all the way down to the option near the bottom Quit Retroarch. Once you reopen RetroArch you should be able to load your ROMs by going to Load ContentDownloads.

ROMs under here appear after restarting RetroArch

Controller Configuration

If your controls don't feel quite right, access the Quick Menu by pressing F1 while a ROM is loaded. Go down to Options and change the Deadzone to 10 and Analog Sensitivity to 80. You may wish to make further personal adjustments as necessary.

HiRes Texture Packs

Keep in mind texture packs are not allowed to be active for races. HiRes Texture Packs

Tips

  • To unbind any button/key hit the Delete key on your keyboard in the input settings.
  • Never close RA via it’s top right X, close it from far left Main Menu Quit Retroarch.
  • If you want Retroarch to keep running in the background, go over to the Settings column in the menu, then down to User Interface, hit Enter and set Don’t run in the background to OFF.


If your controller does not have a default profile or you are using a keyboard, the following information may be helpful.

  • Don't alter the Main Menu bindings for controllers that have default profiles. Open the Quick Menu and change the button mapping there instead.
  • Left side user input binds (the Delete key will delete any binding)
    • B button is equivalent to N64 A Button
    • Y button is equivalent to N64 B Button
    • L2 button (trigger) is equivalent to N64 Z Button
    • L1 is equivalent to N64 L
    • R1 is equivalent to N64 R
    • Movement:
      • Left analog X+ = Right
      • Left analog X- = Left
      • Left analog Y+ = Down
      • Left analog Y- = Up
    • C-Buttons/C-Stick:
      • Right analog X+ = C-Right
      • Right analog X- = C-Left
      • Right analog Y+ = C-Down
      • Right analog Y- = C-Up

Common Issues

There are several issues that crop up often when new users try out RetroArch.

No Audio

Go into the SettingsDrivers menu and change the Audio Driver from xaudio to dsound. Then quit RetroArch properly via the Main Menu and restart it.

Retroarch crash when loading ROM

If using the Nintendo - Nintendo 64 (Mupen64Plus) core, try the Nintendo - Nintendo 64 (ParaLLEl N64) core instead. If using the Nintendo - Nintendo 64 (ParaLLEl N64) core, try the Nintendo - Nintendo 64 (Mupen64Plus) core instead.

Mupen64plus Next Freezes

This was an issue with an older version of the mupen64plus Next core. Please update your core to the latest version.

Mupen64plus Next Epona Carrots

This is a side-effect of the quick-fix done to solve the above issue. When this occurs your ability to play the game as normal is slightly hindered, but still playable. To restore normal functionality you will have to save the game, press F1, go down to Close Content and press Enter. This will either close the ROM and emulator core, or crash the emulator. Both outcomes are fine and relaunching the ROM you were playing will no longer have the Epona carrots displaying.

Note: Selecting Restart will not remove the carrot display. This may be due to the core's reset being hardcoded to be a soft reset. You must choose Close Content.

Boots are equipped / Ocarina pulled out randomly while walking

Go to the SettingsInputUser 1 Input Binds menu and set Analog to Digital to None

One of My Buttons Won't Work

If you messed with the Main Menu User Input Binds you likely configured something wrong. It is not recommended to ever modify controller binds this way unless your controller doesn't have a built in profile. To reset your controller bindings to their default you have to load the default retroArch.cfg again.

If you have a ROM loaded, start by pressing F1 to open the Quick Menu then press Backspace to get back to the Main Menu.

Go to the far left menu item, Main Menu. Move down to 'Configurations and press Enter. Select <Parent directory> and hit Enter. Scroll down to the file retroarch.default.cfg and press Enter.

ParaLLEl Black Screen or Crashes

If you are able to launch the ParaLLEl core but get a black screen, or frequently crash while pausing, try changing the video plugin it is using. Press F1 to open the Quick Menu and move down to Options and press Enter. Next, move down to GFX Plugin and press the arrow key once. Once you have changed the option, press Backspace twice to return to the Main Menu and select Quit Retroarch to close RetroArch. Simply run RetroArch and open the ROM again and your ParaLLEl core should be running the new plugin you selected. Try each one and see if any of them work for you. If they do not, you may want to try the mupen64plus Next core instead.

My Remapping in Quick Menu Controls Won't Save

If your remapping won't save even after using Quit Retroarch in the main menu, you may have to explicitly save the reamppings. Open the Quick Menu with F1, go down to Controls and map your controls how you wish. Once you have done so, go back to the Controls menu. Near the top of the menu is a Save Core Remap File option. Select this to save these controller binds for all randomizer ROMs you open in the future.