FOSS-VG/resources
BodgeMaster bb8c597ec2 Documentation: add detailed build system documentation, add documentation for some files in resources 2022-07-06 13:33:10 +02:00
..
unicode_data Resources: Add two files that contain the same data, one being normal UTF-8, the other being Java-style unicode 2022-07-05 19:57:43 +02:00
JavaStringGenerator.java Reoucres: add a Java tool to convert normal strings into Java-style strings 2022-07-05 19:35:37 +02:00
README.md Documentation: add detailed build system documentation, add documentation for some files in resources 2022-07-06 13:33:10 +02:00
check_endianness.cpp fix copyright notice 2022-07-02 01:04:32 +02:00
servers.dat add our own endianness check because there is apparently no proper way to check for that at compile time 2022-07-01 13:57:20 +02:00
servers.dat_nbt_decoded.txt add our own endianness check because there is apparently no proper way to check for that at compile time 2022-07-01 13:57:20 +02:00

README.md

Tests

unicode_data/

This directory contains two files with unicode data. One is in Java format, the other is normal UTF-8.

check_endianness.cpp

A simple tool to determine the endianness of the system and write the endianness header for FOSS-VG

Supports: Little Endian, Big Endian, PDP Endian, Honeywell Endian

Note that, while it can detect PDP and Honeywell endianness, the FOSS-VG project itself does not support these.

Usage example: check_endianness > header_file

JavaStringGenerator.java

A simple tool written in Java that takes an input as UTF-8 and outputs it in Java-style UTF-8.

Usage example: echo -ne "\x00" | java JavaStringGenerator > output_file

servers.dat

My current servers.dat as pulled from my Minecraft installation. Used for testing the NBT library until we have something better.

servers.dat_nbt_decoded.txt

The same file manually decoded. I did this to get a better understanding how NBT works, might come in handy in the future.