Files
roblox-bot-player/README.md

51 lines
1.5 KiB
Markdown

### How to clone this repository:
- Install git
- Install git lfs (for test files)
```
git clone https://git.itzana.me/StrafesNET/roblox-bot-player
cd roblox-bot-player
git lfs pull
```
### How to build the wasm module:
- Install rust
- Install wasm-pack
```
cd wasm-module
wasm-pack build --target web --out-dir ../web-demo/pkg
```
### How to serve the web demo (requires wasm module):
- Install python3 or use your favourite http server
```
cd web-demo
python3 -m http.server
```
### How to run the native player:
- Install rust
```
cd native-player
cargo run --release -- ../web-demo/bhop_marble_5692093612.snfm ../web-demo/bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d.qbot
```
You can drag and drop map files and bot files to load them.
#### License
This code depends on a proprietary module, [strafesnet_graphics](https://git.itzana.me/StrafesNET/strafe-project/src/branch/master/engine/graphics). The resulting binary is
not redistributable without the express permission of Rhys Lloyd. The code in this repository
is MIT & Apache 2.0 dual licensed, and is free to use.
<sup>
Licensed under either of <a href="LICENSE-APACHE">Apache License, Version
2.0</a> or <a href="LICENSE-MIT">MIT license</a> at your option.
</sup>
<br>
<sub>
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in this crate by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.
</sub>