| 
									
										
										
										
											2020-10-24 14:46:27 -04:00
										 |  |  | {% extends 'pageWrapper.html' %} | 
					
						
							| 
									
										
										
										
											2020-08-02 22:11:52 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% block head %} | 
					
						
							|  |  |  |     {{ super() }} | 
					
						
							|  |  |  |     <title>Generate Game</title> | 
					
						
							| 
									
										
										
										
											2020-11-30 21:15:47 -05:00
										 |  |  |     <link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/generate.css") }}" /> | 
					
						
							| 
									
										
										
										
											2020-08-02 19:10:42 -04:00
										 |  |  |     <script type="application/ecmascript" src="{{ static_autoversion("assets/generate.js") }}"></script> | 
					
						
							| 
									
										
										
										
											2020-08-02 22:11:52 +02:00
										 |  |  | {% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block body %} | 
					
						
							| 
									
										
										
										
											2020-12-03 01:55:06 -05:00
										 |  |  |     {% include 'header/oceanHeader.html' %} | 
					
						
							| 
									
										
										
										
											2020-11-30 21:15:47 -05:00
										 |  |  |     <div id="generate-game-wrapper"> | 
					
						
							|  |  |  |         <div id="generate-game" class="grass-island"> | 
					
						
							| 
									
										
										
										
											2020-12-04 03:40:46 -05:00
										 |  |  |             <h1>Upload Config{% if race %} (Race Mode){% endif %}</h1> | 
					
						
							|  |  |  |             <p> | 
					
						
							|  |  |  |                 This page allows you to generate a game by uploading a yaml file or a zip file containing yaml files. | 
					
						
							|  |  |  |                 If you do not have a config (yaml) file yet, you may create one on the | 
					
						
							|  |  |  |                 <a href="/player-settings">Player Settings</a> page. If you would like more advanced options, | 
					
						
							|  |  |  |                 the <a href="/weighted-settings">Weighted Settings</a> page might be what you're looking for. | 
					
						
							|  |  |  |             </p> | 
					
						
							| 
									
										
										
										
											2020-08-02 22:11:52 +02:00
										 |  |  |             <p> | 
					
						
							|  |  |  |                 {% if race -%} | 
					
						
							| 
									
										
										
										
											2020-12-04 03:40:46 -05:00
										 |  |  |                     This game will be generated in race mode, meaning the spoiler log will be unavailable, | 
					
						
							|  |  |  |                     roms will be encrypted, and single-player games will have no multidata files. | 
					
						
							| 
									
										
										
										
											2020-08-02 22:11:52 +02:00
										 |  |  |                 {%- else -%} | 
					
						
							| 
									
										
										
										
											2020-12-04 03:40:46 -05:00
										 |  |  |                     If you would like to generate a race game, | 
					
						
							|  |  |  |                     <a href="{{ url_for("generate", race=True) }}">click here.</a> Race games are generated without | 
					
						
							|  |  |  |                     a spoiler log, the ROMs are encrypted, and single-player games will not include a multidata file. | 
					
						
							| 
									
										
										
										
											2020-08-02 22:11:52 +02:00
										 |  |  |                 {%- endif -%} | 
					
						
							|  |  |  |             </p> | 
					
						
							|  |  |  |             <p> | 
					
						
							|  |  |  |                 After generation is complete, you will have the option to download a patch file. | 
					
						
							| 
									
										
										
										
											2020-12-04 03:40:46 -05:00
										 |  |  |                 This patch file can be opened with the | 
					
						
							|  |  |  |                 <a href="https://github.com/Berserker66/MultiWorld-Utilities/releases">client</a>, which can be | 
					
						
							|  |  |  |                 used to to create a rom file. In-browser patching is planned for the future. | 
					
						
							| 
									
										
										
										
											2020-08-02 22:11:52 +02:00
										 |  |  |             </p> | 
					
						
							| 
									
										
										
										
											2020-11-30 21:15:47 -05:00
										 |  |  |             <div id="generate-game-form-wrapper"> | 
					
						
							|  |  |  |                 <form id="generate-game-form" method="post" enctype="multipart/form-data"> | 
					
						
							| 
									
										
										
										
											2020-08-02 22:11:52 +02:00
										 |  |  |                     <input id="file-input" type="file" name="file"> | 
					
						
							|  |  |  |                 </form> | 
					
						
							| 
									
										
										
										
											2020-11-30 21:15:47 -05:00
										 |  |  |                 <button id="generate-game-button">Upload</button> | 
					
						
							| 
									
										
										
										
											2020-08-02 22:11:52 +02:00
										 |  |  |             </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2020-11-30 21:15:47 -05:00
										 |  |  |     {%  include 'islandFooter.html' %} | 
					
						
							| 
									
										
										
										
											2020-08-02 22:11:52 +02:00
										 |  |  | {% endblock %} |