User:Matrethewey!9776/ALttPR/Installation

From ALttPR Wiki
Jump to navigation Jump to search
SMALttPR
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