Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

LemLib/static-asset

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

static-asset

This PROS template enables users to encode regular files into PROS program binaries. It's meant to be more convenient than using an SD-Card or a C array

Usage

To encode an asset into the program, put said file into a folder named static in the root project directory.

To read the encoded file, use the following macro:

ASSET(example_txt)

The macro creates an object of type asset. Note that this has to be done in the global scope

Attribution

This project was originally made by Jerrylum, see the original repo here

About

Encode regular files in a binary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.1%
  • Makefile 1.5%
  • C 0.4%