- .Net core 3.1 sdk
- Visual studio 16.4+
- Asp.net workload
- Build /Tutorial/Section5
- Navigate to:
- /Tutorial/Section5/bin/[Debug|Release]/netstandard2.1/
- Copy1 the following into a zip file called compressed.zip.wasm:
- dist/_framework/wasm/mono.wasm
- dist/_framework/blazor.boot.json
- dist/_framework/_bin/*.dll
- Remove 'var Module=typeof Module!=="undefined"?Module:{};' from the start of dist/_framework/wasm/mono.js
- Copy the following onto the server:
- Everything in bin/.../javascript/
- Modified mono.js
- compressed.zip.wasm
That should with luck get everything working. Note that saving files within the screeps client seems to cause problems reloading the modules.
1 ) Inbuilt windows zip handler didn't do it for me. I had to use 7zip on max compression. Note that screeps base64 encodes files making uploading making them larger; <5mb locally may still hit the server size limit.