-
Notifications
You must be signed in to change notification settings - Fork 5
Compiling
If you want to build the game yourself or build it with a mod, here's how to do it.
You must have the most up-to-date version of Haxe. Seriously, stop using 4.1.5, it misses some stuff.
Follow a Friday Night Funkin' source code compilation tutorial. After you do this, you will need to install LuaJIT.
To install LuaJIT, put this command in Command Prompt or Powershell: haxelib git linc_luajit https://github.com/AndreiRudenko/linc_luajit
Last but not least, if you don't want your mod to be able to run .lua scripts, delete the "LUA_ALLOWED" line on Project.xml.
- Download the following:
- After downloading, do the following:
- Install JDK
- Install Android Studio
- Unzip NDK (No Installation Required)
- Setup Android Studio
To do this, go to Android Studio itself, and go to (Settings ->Appearance & Behavior->System Settings->Android SDK).
(Screenshot1)
(Screenshot2)
- In Command Prompt or Powershell, run the command
lime setup android.
As seen in the screenshot below, you should use JDK. Not JRE.
(CommandScreenshot)
- Install extension-androidtools, extension-videoview and replace the linc_luajit.
To install, open up Command Prompt or Powershell and type the following:
haxelib git extension-androidtools https://github.com/jigsaw-4277821/extension-androidtools.git haxelib git extension-videoview https://github.com/jigsaw-4277821/extension-videoview.git haxelib remove linc_luajit haxelib git linc_luajit https://github.com/jigsaw-4277821/linc_luajit.git