The gorexfile
library implements a Go reader and writer for the REXfile binary format. The REXfile
is used for rexOS. The library can easily be integrated into your Go
project. It can help you to get started with REX as a developer. For details about the binary file
format, please see the format specification
document.
You can install Go by following these instructions. Please note that Go >= 1.13. is required!
First, clone the repository to your local development path, and let go download all dependencies:
go mod tidy
This should download all required packages. To build all tools, you simple use the attached Makefile
and call
make
Make sure that you just include the gorexfile
library in your application:
package main
import (
"github.com/roboticeyes/gorexfile/encoding/rexfile"
)
Please see the examples
folder for further samples.
rxi
is a simple command line tool which simply dumps REX file informations to the command line. It also allows to
extract images from the file directly. For more information, please call rxi
directly.
rxi --help
Simple OBJ to REX converter.
obj2rex --help