-
Notifications
You must be signed in to change notification settings - Fork 2
Development
ShrineFox edited this page Aug 6, 2024
·
2 revisions
The following instructions were taken from Coilsnake's DEVELOPMENT.md
- Install:
- Python 3.9 (64-bit version)
-
Visual C++ 2019 Build Tools
- Select "C++ build tools" under the "Workloads" tab and make sure these are ticked:
- MSVC v140 - VS 2015 C++ x64/x86 build tools
- Windows 10 SDK
- Select "C++ build tools" under the "Workloads" tab and make sure these are ticked:
- Find a path that exists on your computer similar to
C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86and add it to your system environment variables. - Follow the 'Generic' instructions below.
- In commands beginning with
python3use justpythoninstead.
- Using your favorite git client, clone the CoilSnake repository.
- Open the command line and
cdto your local CoilSnake git repository's main directory. C:\Python39\python.exe -m pip install pip==18.1- Install dependencies:
C:\Python39\python.exe -m setup develop
- Build additional coilsnake dependencies:
C:\Python39\python.exe -m setup build
CoilSnake is now installed in development mode. After making code changes to the source, run your code by launching CoilSnake's GUI or CLI:
`C:\Python39\python.exe -m script/gui.py`
# or...
`C:\Python39\python.exe -m script/cli.py`
Note: The steps for creating a standalone executable are currently unmaintained and likely broken for systems other than 64-bit Windows.
- Follow the steps above to build CoilSnake for your system.
- Install pyinstaller:
C:\Python39\python.exe -m pip install pyinstaller
- In the CoilSnake source directory, build the CoilSnake executable:
C:\Python39\python.exe -m setup_exe.py
- Run the output file under the 'dist' directory.
- Following these instructions should result in an executable appearing at:
C:\Python39\Scripts\coilsnake_cli.exe. - When you clone the
EarthBound-Mod-Menurepository and openBuilder\EBModMenu.slnin Visual Studio, you can replace the .lnk files in theBuilder\Dependenciesfolder with your own 6 MB expanded ROM (made using Coilsnake GUI), your emulator (i.e. SNES9x), and thecoilsnake_cli.exe. - Run the program and it should generate a ROM patched with the Mod Menu if everything was successful.