| 
									
										
										
										
											2020-08-13 21:24:11 -04:00
										 |  |  | # A Link to the Past Randomizer Setup Guide
 | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## Required Software
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-09 22:47:01 +00:00
										 |  |  | - [Archipelago](https://github.com/ArchipelagoMW/Archipelago/releases). Make sure to check the box for `SNI Client - A Link to the Past Patch Setup` | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | - Hardware or software capable of loading and playing SNES ROM files | 
					
						
							| 
									
										
										
										
											2021-09-10 15:20:45 +02:00
										 |  |  |     - An emulator capable of connecting to SNI | 
					
						
							| 
									
										
										
										
											2022-01-29 15:38:26 +01:00
										 |  |  |       ([snes9x rr](https://github.com/gocha/snes9x-rr/releases), | 
					
						
							| 
									
										
										
										
											2022-03-31 15:09:13 -07:00
										 |  |  |        [BizHawk](http://tasvideos.org/BizHawk.html), or | 
					
						
							|  |  |  |        [RetroArch](https://retroarch.com?page=platforms) 1.10.1 or newer). Or, | 
					
						
							| 
									
										
										
										
											2022-06-09 22:47:01 +00:00
										 |  |  |     - An SD2SNES, [FXPak Pro](https://krikzz.com/store/home/54-fxpak-pro.html), or other compatible hardware. **note:  | 
					
						
							|  |  |  | modded SNES minis are currently not supported by SNI** | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | - Your Japanese v1.0 ROM file, probably named `Zelda no Densetsu - Kamigami no Triforce (Japan).sfc` | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Installation Procedures
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-09 22:47:01 +00:00
										 |  |  | 1. Download and install SNIClient from the link above, making sure to install the most recent version. | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  |    **The installer file is located in the assets section at the bottom of the version information**. | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  |     - During setup, you will be asked to locate your base ROM file. This is your Japanese Link to the Past ROM file. | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 2. If you are using an emulator, you should assign your Lua capable emulator as your default program for launching ROM | 
					
						
							|  |  |  |    files. | 
					
						
							|  |  |  |     1. Extract your emulator's folder to your Desktop, or somewhere you will remember. | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  |     2. Right-click on a ROM file and select **Open with...** | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  |     3. Check the box next to **Always use this app to open .sfc files** | 
					
						
							|  |  |  |     4. Scroll to the bottom of the list and click the grey text **Look for another App on this PC** | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  |     5. Browse for your emulator's `.exe` file and click **Open**. This file should be located inside the folder you | 
					
						
							|  |  |  |        extracted in step one. | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | ## Create a Config (.yaml) File
 | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | ### What is a config file and why do I need one?
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | Your config file contains a set of configuration options which provide the generator with information about how it | 
					
						
							|  |  |  | should generate your game. Each player of a multiworld will provide their own config file. This setup allows each player | 
					
						
							|  |  |  | to enjoy an experience customized for their taste, and different players in the same multiworld can all have different | 
					
						
							|  |  |  | options. | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | ### Where do I get a config file?
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | The [Player Settings](/games/A%20Link%20to%20the%20Past/player-settings) page on the website allows you to configure | 
					
						
							|  |  |  | your personal settings and export a config file from them. | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | ### Verifying your config file
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | If you would like to validate your config file to make sure it works, you may do so on the | 
					
						
							| 
									
										
										
										
											2020-08-13 21:24:11 -04:00
										 |  |  | [YAML Validator](/mysterycheck) page. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Generating a Single-Player Game
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | 1. Navigate to the [Player Settings](/games/A%20Link%20to%20the%20Past/player-settings) page, configure your options, | 
					
						
							|  |  |  |    and click the "Generate Game" button. | 
					
						
							|  |  |  | 2. You will be presented with a "Seed Info" page. | 
					
						
							|  |  |  | 3. Click the "Create New Room" link. | 
					
						
							|  |  |  | 4. You will be presented with a server page, from which you can download your patch file. | 
					
						
							| 
									
										
										
										
											2022-06-09 22:47:01 +00:00
										 |  |  | 5. Double-click on your patch file, and SNIClient will launch automatically, create your ROM from the patch file, and | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  |    open your emulator for you. | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | 6. Since this is a single-player game, you will no longer need the client, so feel free to close it. | 
					
						
							| 
									
										
										
										
											2020-08-13 21:24:11 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## Joining a MultiWorld Game
 | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | ### Obtain your patch file and create your ROM
 | 
					
						
							| 
									
										
										
										
											2020-08-13 22:26:42 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | When you join a multiworld game, you will be asked to provide your config file to whoever is hosting. Once that is done, | 
					
						
							|  |  |  | the host will provide you with either a link to download your patch file, or with a zip file containing everyone's patch | 
					
						
							| 
									
										
										
										
											2022-06-09 22:47:01 +00:00
										 |  |  | files. Your patch file should have a `.aplttp` extension. | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | Put your patch file on your desktop or somewhere convenient, and double click it. This should automatically launch the | 
					
						
							|  |  |  | client, and will also create your ROM in the same place as your patch file. | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | ### Connect to the client
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #### With an emulator
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | When the client launched automatically, SNI should have also automatically launched in the background. If this is its | 
					
						
							|  |  |  | first time launching, you may be prompted to allow it to communicate through the Windows Firewall. | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | ##### snes9x Multitroid
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 1. Load your ROM file if it hasn't already been loaded. | 
					
						
							|  |  |  | 2. Click on the File menu and hover on **Lua Scripting** | 
					
						
							|  |  |  | 3. Click on **New Lua Script Window...** | 
					
						
							|  |  |  | 4. In the new window, click **Browse...** | 
					
						
							| 
									
										
										
										
											2021-10-29 04:41:56 -04:00
										 |  |  | 5. Select the connector lua file included with your client | 
					
						
							| 
									
										
										
										
											2022-06-09 22:47:01 +00:00
										 |  |  |     - Look in the Archipelago folder for `/SNI/lua/x64` or `/SNI/lua/x86` depending on if the | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  |       emulator is 64-bit or 32-bit. | 
					
						
							| 
									
										
										
										
											2022-06-09 22:47:01 +00:00
										 |  |  | 6. If you see an error while loading the script that states `socket.dll missing` or similar, navigate to the folder of  | 
					
						
							|  |  |  | the lua you are using in your file explorer and copy the `socket.dll` to the base folder of your snes9x install. | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | ##### BizHawk
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 1. Ensure you have the BSNES core loaded. You may do this by clicking on the Tools menu in BizHawk and following these | 
					
						
							|  |  |  |    menu options:   | 
					
						
							| 
									
										
										
										
											2020-08-13 21:24:11 -04:00
										 |  |  |    `Config --> Cores --> SNES --> BSNES`   | 
					
						
							|  |  |  |    Once you have changed the loaded core, you must restart BizHawk. | 
					
						
							| 
									
										
										
										
											2020-08-13 22:26:42 -04:00
										 |  |  | 2. Load your ROM file if it hasn't already been loaded. | 
					
						
							|  |  |  | 3. Click on the Tools menu and click on **Lua Console** | 
					
						
							| 
									
										
										
										
											2021-12-03 07:04:17 +01:00
										 |  |  | 4. Click Script -> Open Script... | 
					
						
							| 
									
										
										
										
											2021-12-03 07:01:21 +01:00
										 |  |  | 5. Select the `Connector.lua` file you downloaded above | 
					
						
							| 
									
										
										
										
											2022-06-27 03:40:01 -04:00
										 |  |  |     - Look in the Archipelago folder for `/SNI/lua/x64` or `/SNI/lua/x86` depending on if the | 
					
						
							|  |  |  |       emulator is 64-bit or 32-bit. Please note the most recent versions of BizHawk are 64-bit only. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-03-31 15:09:13 -07:00
										 |  |  | ##### RetroArch 1.10.1 or newer
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | You only have to do these steps once. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 1. Enter the RetroArch main menu screen. | 
					
						
							|  |  |  | 2. Go to Settings --> User Interface. Set "Show Advanced Settings" to ON. | 
					
						
							|  |  |  | 3. Go to Settings --> Network. Set "Network Commands" to ON. (It is found below Request Device 16.) Leave the default | 
					
						
							|  |  |  |    Network Command Port at 55355. | 
					
						
							| 
									
										
										
										
											2022-05-18 14:19:57 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							| 
									
										
										
										
											2022-03-31 15:09:13 -07:00
										 |  |  | 4. Go to Main Menu --> Online Updater --> Core Downloader. Scroll down and select "Nintendo - SNES / SFC (bsnes-mercury | 
					
						
							|  |  |  |    Performance)". | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | When loading a ROM, be sure to select a **bsnes-mercury** core. These are the only cores that allow external tools to | 
					
						
							|  |  |  | read ROM data. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | #### With hardware
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | This guide assumes you have downloaded the correct firmware for your device. If you have not done so already, please do | 
					
						
							|  |  |  | this now. SD2SNES and FXPak Pro users may download the appropriate firmware | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | [here](https://github.com/RedGuyyyy/sd2snes/releases). Other hardware may find helpful information | 
					
						
							|  |  |  | [on this page](http://usb2snes.com/#supported-platforms). | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 1. Close your emulator, which may have auto-launched. | 
					
						
							| 
									
										
										
										
											2021-02-03 23:15:09 -05:00
										 |  |  | 2. Power on your device and load the ROM. | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | ### Connect to the Archipelago Server
 | 
					
						
							| 
									
										
										
										
											2020-08-13 22:26:42 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | The patch file which launched your client should have automatically connected you to the AP Server. There are a few | 
					
						
							|  |  |  | reasons this may not happen however, including if the game is hosted on the website but was generated elsewhere. If the | 
					
						
							|  |  |  | client window shows "Server Status: Not Connected", simply ask the host for the address of the server, and copy/paste it | 
					
						
							|  |  |  | into the "Server" input field then press enter. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | The client will attempt to reconnect to the new server address, and should momentarily show "Server Status: Connected". | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | ### Play the game
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | When the client shows both SNES Device and Server as connected, you're ready to begin playing. Congratulations on | 
					
						
							|  |  |  | successfully joining a multiworld game! You can execute various commands in your client. For more information regarding | 
					
						
							|  |  |  | these commands you can use `/help` for local client commands and `!help` for server commands. | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-13 21:24:11 -04:00
										 |  |  | ## Hosting a MultiWorld game
 | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | The recommended way to host a game is to use our [hosting service](/generate). The process is relatively simple: | 
					
						
							| 
									
										
										
										
											2020-08-13 22:26:42 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | 1. Collect config files from your players. | 
					
						
							|  |  |  | 2. Create a zip file containing your players' config files. | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 3. Upload that zip file to the website linked above. | 
					
						
							|  |  |  | 4. Wait a moment while the seed is generated. | 
					
						
							| 
									
										
										
										
											2020-08-13 21:24:11 -04:00
										 |  |  | 5. When the seed is generated, you will be redirected to a "Seed Info" page. | 
					
						
							| 
									
										
										
										
											2022-01-09 14:57:00 -05:00
										 |  |  | 6. Click "Create New Room". This will take you to the server page. Provide the link to this page to your players, so | 
					
						
							|  |  |  |    they may download their patch files from there. | 
					
						
							| 
									
										
										
										
											2021-10-18 09:02:52 -04:00
										 |  |  | 7. Note that a link to a MultiWorld Tracker is at the top of the room page. The tracker shows the progress of all | 
					
						
							|  |  |  |    players in the game. Any observers may also be given the link to this page. | 
					
						
							| 
									
										
										
										
											2020-08-12 23:07:26 -04:00
										 |  |  | 8. Once all players have joined, you may begin playing. |