User:Matrethewey!9776/SMALttPR/Installation

From ALttPR Wiki
< User:Matrethewey!9776‎ | SMALttPR
Revision as of 02:12, 15 May 2018 by Matrethewey!9776 (talk | contribs) (Created page with "# Download the code #* Clone/Download <code>[https://github.com/tewtal/alttp_sm_combo_randomizer_rom alttp_sm_combo_randomizer_rom]</code> #*: ''Extract to <code>C:\SMALttPR\c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. Download the code
  2. Install some apps
    • Install python to C:\Python\
      Be sure to Add Python to Environment Variables
    • Install php to C:\SMALttPR\PHP
      Edit php.ini-production and remove the ; from the beginning of extension=curl
    • Install Git
      Uncheck "Windows Explorer Integration"
    • Install Composer
      Select the PHP executable from C:\SMALttPR\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
  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\output\
  6. Run the thing!
    • Generate a random SMALttPR game file
      Navigate to C:\SMALttPR\randomizer\
      Run php artisan alttp:randomize --skip-md5 --mode=open --variation=combo .\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