Skip to content

roboticeyes/gorexfile

Repository files navigation

Godoc Reference Build Status Go Report Card

goREX logo

GoREXFile

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.

Installation

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

Usage

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.

Tools

rxi

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

obj2rex

Simple OBJ to REX converter.

obj2rex --help

References