CaptainDreamcast / DolmexicaInfinite

Something resembling a Mugen port for Dreamcast.
MIT License
24 stars 5 forks source link

How build web? #5

Open Barklim opened 2 years ago

Barklim commented 2 years ago

How build web?

Info from here: https://captaindreamcast.github.io/DolmexicaInfinite/makeyourowngameweb.html

When im use "emrun index.html" issue is:

Снимок экрана (7)

When im trying to build it terminal is printing:

"the system cannot find the path specified"

Снимок экрана (8)

upd

when im trying build, i have this issue:

shared:ERROR: llc executable not found at /usr/bin\llc.exe

upd

I'm downoladed own emscripten and activate it, and change my make_web.bat file

`@ECHO OFF

IF [%1] == [] GOTO EMPTY

:EXECUTE if exist build\ del /Q build\ mkdir build external\emscriptenMy\python\3.9.2-1_64bit\python external/emscriptenMy/upstream/emscripten/tools/file_packager.py build/assets.data --use-preload-plugins --preload assets@assets --js-output=build/assets.js copy common\index.html build\index.html copy common\game.js build\game.js copy common\game.wasm build\game.wasm if exist %1.zip del /Q %1.zip powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('build', '%1.zip'); }" GOTO END

:EMPTY ECHO Usage: make_web.bat GameName GOTO END

:END`

i'm change emscripten path external\python\python to external\emscriptenMy\python\3.9.2-1_64bit\python and external/emscripten/tools/file_packager.py to external/emscripten/tools/file_packager.py

It's work! https://barklim.github.io/mugenTest/