Site Tools


developer_integration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developer_integration [2019/11/08 20:35] – created b0ardfacedeveloper_integration [2023/12/26 20:45] (current) – external edit A User Not Logged in
Line 16: Line 16:
   * ''7E:1503-1505'' : Used key items (1 bit per item)   * ''7E:1503-1505'' : Used key items (1 bit per item)
   * ''7E:1510-151F'' : Checked potential key item locations (1 bit per location)   * ''7E:1510-151F'' : Checked potential key item locations (1 bit per location)
 +  * ''7E:1520-153F'' : Completed objectives (1 byte per objective, in the same order as in the metadata)
   * ''70:7080-70A1'' : Locations where each key item was found (2 bytes per item)   * ''70:7080-70A1'' : Locations where each key item was found (2 bytes per item)
  
Line 103: Line 104:
 | 0x0059 | Rydia's Mom                              | | 0x0059 | Rydia's Mom                              |
 | 0x005A | Fallen Golbez (vanilla Crystal location) | | 0x005A | Fallen Golbez (vanilla Crystal location) |
-0x005B Forged by Kokkol                         | +0x005D Objective completion                     |
 ===== MSU-1 Support ===== ===== MSU-1 Support =====
  
Line 194: Line 194:
   /api/generate?key=<api_key>   /api/generate?key=<api_key>
  
-Along with these additional parameters in the query string or POST data+The body of this request should be a JSON object with the 
-  flags : the desired flag string +following format: 
-  seed  : the randomization seed (optional)+ 
 +  
 +    "flags     "<desired flag string>", 
 +    "seed      : "<desired randomization seed; optional>", 
 +    "metaconfig" : <optional metaconfiguration object; see below> 
 +  
 + 
 +NOTEFor backwards compatibility, the flags and seed values may be 
 +passed as URL query parameters or formdata values in the body instead. 
 +To use metaconfigurations, you must use the JSON parameter format. 
 + 
 +The metaconfiguration object, and all fields within it, are optional
 +Note that when a metaconfiguration is specified, a "unique" seed is 
 +generated -- rerunning the same generation parameters later will 
 +result in a different seed. 
 + 
 +The metaconfig object has this format: 
 + 
 +  { 
 +    "hide_flags" : <bool> 
 +  }
  
-This will return a JSON response in one of the following formats:+The generate call will return a JSON response in one of the following 
 +formats:
  
   // If the generation process started correctly   // If the generation process started correctly
developer_integration.1573245312.txt.gz · Last modified: 2019/11/08 21:35 (external edit)