User:Matrethewey!9776/ALttPR/Installation: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
(Created page with "= Not yet working = <div style="float:right;">[https://old.reddit.com/r/miniSNES/comments/8hh3y9/anyone_else_tried_the_metroidzelda_lttp/dyu738f/ src]</div> # Download the cod...")
 
No edit summary
Line 5: Line 5:
#*: ''Extract to <code>C:\ALttPR\randomizer\</code>''
#*: ''Extract to <code>C:\ALttPR\randomizer\</code>''
# Install some apps
# Install some apps
#* Install [https://git-scm.com/download/win Git]
#*: ''Uncheck "Windows Explorer Integration"''
#* Install [https://windows.php.net/download php] to <code>C:\ALttPR\PHP</code>
#*: ''Edit <code>php.ini-production</code> and remove the <code>;</code> from the beginning of <code>extension=curl</code>''
#* Install [https://python.org python] to <code>C:\Python\</code>
#* Install [https://python.org python] to <code>C:\Python\</code>
#*: ''Be sure to Add Python to Environment Variables''
#*: ''Be sure to Add Python to Environment Variables''
#* Install [https://windows.php.net/download php] to <code>C:\ALttPR\PHP</code>
#* Install [https://visualstudio.microsoft.com/downloads/ Visual C++ Redistributable] (under "Other Tools and Frameworks")
#*: ''Edit <code>php.ini-production</code> and remove the <code>;</code> from the beginning of <code>extension=curl</code>''
#* Install [https://git-scm.com/download/win Git]
#*: ''Uncheck "Windows Explorer Integration"''
#* Install [https://getcomposer.org Composer]
#* Install [https://getcomposer.org Composer]
#*: ''Select the PHP executable from <code>C:\ALttPR\PHP</code>''
#*: ''Select the PHP executable from <code>C:\ALttPR\PHP</code>''

Revision as of 17:07, 20 October 2018

Not yet working

src
  1. Download the code
  2. Install some apps
    • Install Git
      Uncheck "Windows Explorer Integration"
    • Install php to C:\ALttPR\PHP
      Edit php.ini-production and remove the ; from the beginning of extension=curl
    • Install python to C:\Python\
      Be sure to Add Python to Environment Variables
    • Install Visual C++ Redistributable (under "Other Tools and Frameworks")
    • Install Composer
      Select the PHP executable from C:\ALttPR\PHP
  3. Acquire ROM
    • Zelda no Densetsu Kamigami no Triforce 1.0
      Rename to alttp_orig.sfc and place in a folder called C:\ALttPR\randomizer\input\
  4. Run some stuff
    • Open a command-line prompt and navigate to C:\ALttPR\randomizer\ folder
    • Run composer install
      I needed to add the --ignore-platform-reqs flag to make it run :shrug:
  5. Do a little clean-up
    • Be sure to have the latest stable release of the code
    • Re-extract the code repositories, overwrite all files
    • Create a folder at C:\ALttPR\randomizer\output\
  6. Run the thing!
    • Generate a random ALttPR game file
      Navigate to C:\ALttPR\randomizer\
      Run php artisan alttp:randomize .\input\alttp_orig.sfc .\output\

If nothing blew up, you should have a randomized ALttPR game file in C:\ALttPR\randomizer\output\

For each new code update that you want to implement (provided you haven't altered any of the files yourself) repeat Steps 5 & 6