Skip to content

BetnixTech/bplx

Repository files navigation

BPLX File Format

Description

BPLX (Betnix Project Language X) is a custom binary file format for 3D models with materials, skeletons, and animation data. This repository contains the reference implementation (encoder and decoder scripts) written in Python.

File Format Specification

The BPLX format is designed to be compact and efficient. A detailed specification can be found in the BPLX_Specification.md file.

Tools

  • create_advanced_bplx.py: A Python script to encode a hard-coded animated cube model into the animated_cube.bplx binary file.
  • read_bplx_binary.py: A Python script to decode and print the contents of a BPLX binary file.

How to Use

  1. Ensure you have Python 3 and the struct module installed.
  2. Run the encoder to create the file: python3 create_advanced_bplx.py
  3. Run the decoder to read the file: python3 read_bplx_binary.py

OBJ to BPLX Converter

The obj_to_bplx_converter.py script is a tool to convert standard .obj files into the BPLX format.

How to Use:

  1. Place your .obj file in the same directory as the script.
  2. Run the script from your terminal:
    python3 obj_to_bplx_converter.py
  3. A new .bplx file will be created with the converted model data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages