User:Matrethewey!9776/SMALttPR/Installation

From ALttPR Wiki
Jump to navigation Jump to search
ALttPR
src
  1. Download the code
  2. Install some apps
    • Install Git
      Uncheck "Windows Explorer Integration"
    • Install php to C:\SMALttPR\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 ROMs
    • Super Metroid
      Rename to sm_orig.sfc
    • Zelda no Densetsu Kamigami no Triforce 1.0
      Rename to alttp_orig.sfc
  4. Run some stuff
    • Open a command-line prompt and navigate to C:\SMALttPR\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:\SMALttPR\randomizer\output\
    • Create a folder at C:\SMALttPR\combiner\build\
    • Move sm_orig.sfc & alttp_orig.sfc into C:\SMALttPR\combiner\resources\
    • Run C:\SMALttPR\combiner\build.bat
      This creates your base ROM for SMALttPR at C:\SMALttPR\combiner\build\zsm.sfc
    • Copy zsm.sfc to C:\SMALttPR\randomizer\input\
  6. Run the thing!
    • Generate a random SMALttPR game file
      Navigate to C:\SMALttPR\randomizer\
      Run php artisan alttp:randomize .\input\zsm.sfc .\output\

If nothing blew up, you should have a randomized SMALttPR game file in C:\SMALttPR\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