racerxdl / spacelabview

SpaceLab View API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpaceLab Viewer (WIP)

This is WAY under testing and development. But it does generate some nice maps.

REQUIRES SpaceLab Plugin on Torch (To be released yet)

Preview

Generating material textures from game assets

Check tools/surfacegen.py. In the start of the file you will find these lines:

planetData = "assets/Triton.sbc"
planetName = "Triton"
baseAssetPath = "assets/Triton/"

Set planetData to the SBC file containing the planet description XML, planetName to the name of the planet (as per the XML file) and baseAssetPath to the folder where texture files like up.png, down.png are.

Building UI

Requires nodejs and npm

cd webui
npm install
npm run build

The contents of dist folder is WebUI built.

Building the Golang Backend

# Linux / MacOSX
go build -o agarismap
# Windows
go build -o agarismap.exe

License

The source-code itself is under MIT License. The assets under webui/public/img should be dealt as proprietary.

Most of them were generated using tools on folder tools using real game data. They should be dealt as proprietary unless otherwise explicit.

Credits:

CHANGES TO GAME DATA

Some gamedata is used for generating the required textures. Here are the list of changes I had to do.

Weirdly, I had to swap the front and left images, and rotate 180 degrees the up image.

About

SpaceLab View API


Languages

Language:JavaScript 43.0%Language:Rust 35.1%Language:Go 10.0%Language:Python 8.0%Language:WGSL 2.6%Language:CSS 1.1%Language:HTML 0.3%