undertale v1.08 sources
| background | ||
| configs | ||
| fonts | ||
| objects | ||
| paths | ||
| rooms | ||
| scripts | ||
| sound | ||
| sprites | ||
| .gitignore | ||
| h5config.ini | ||
| help.rtf | ||
| README.md | ||
| splash.png | ||
| UNDERTALE.project.gmx | ||
undertale v1.08 sources
You need GameMaker: Studio 1.4.9999 to compile this project. Using other versions will cause the compilation process to fail.
Specifically, open UNDERTALE.project.gmx using GM: Studio, select Target in the upper right corner, and click the button on the left to generate the binary file.
However, for compiling a web port, you need the following specific steps.
steps to compile a web port
- clone the repository to D:\ or any other location.
git clone <repo link> D:\undertale
mkdir D:\undertale\h5cache
mkdir D:\undertale\h5out
- locate the location where you installed GM: Studio 1.4.9999 and use the
cdcommand to switch to its directory.
cd C:\Users\user\AppData\Roaming\GameMaker-Studio
-
open the project using GM: Studio, switch to the HTML5 Target, and click on any compilation mode (Release or Debug).
-
then, at the beginning of the compilation, execute the following command to perform a custom compilation. After executing this command, you can use Task Manager to suspend or terminate the
GMAssetCompiler.execompiler started by GM: Studio.
GMAssetCompiler /c /m=html5 /nodnd /wt /html5folder="data" /nocache_html5 /HTMLRunner="scripts.html5.zip" /config="Default" /tgt=32 /obob=False /obpp=False /obru=True /obes=False /i=3 /j=4 /cvm /tp=2048 /mv=1 /iv=0 /rv=0 /bv=9999 /gn="UNDERTALE" /td="D:\undertale\h5cache" /cd="D:\undertale\h5cache" /sh=True /dbgp="0" /hip="0.0.0.0" /hprt="0" /optionsini="D:\undertale\h5config.ini" /o="D:\undertale\h5out" "D:\undertale\UNDERTALE.project.gmx"
- finally, rename
D:\undertale\h5out\scripts\gmRunner.jstorunner.js, and you will get an HTML5 web port that can be played directly in a browser.