Simple-Asset-Packer
Simple cross-platform asset packer for use with games & standalone applications (by thehugh100)
cmrc
A Resource Compiler in a Single CMake Script (by vector-of-bool)
Simple-Asset-Packer | cmrc | |
---|---|---|
1 | 5 | |
13 | 641 | |
- | - | |
1.5 | 1.5 | |
about 1 year ago | 29 days ago | |
C++ | CMake | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Simple-Asset-Packer
Posts with mentions or reviews of Simple-Asset-Packer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-22.
-
Resource file management in C++ game project
A while ago I wrote this to handle packing assets into VST plugins I was writing. I use it as a post build step that will package up a directory (or multiple) into a really basic "VFS" that you can append to your executable. It's a single header and CPP with a command line utility and it's possible to get hot loading working without too much effort - It could be worth a look into
cmrc
Posts with mentions or reviews of cmrc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-22.
-
How to create a standalone .exe file with no other requirments or libraries to run it.(All required packages contained in .exe file)?
For embedding resources you could use cmrc ( https://github.com/vector-of-bool/cmrc ) in cmake projects. Is probably a bit more convenient than mannually creating char[]s.
-
Resource file management in C++ game project
To make a game I have to use resources like textures, audio files, shaders, fonts, etc. Currently, I pack them into binary with a CMake script (https://github.com/vector-of-bool/cmrc) and call it a day, but I want something better.
-
how to put folders into the exe file
Check out https://github.com/vector-of-bool/cmrc
-
CMake script for embedding resources in binaries
Similar to this, if you don't have newest standard available and what I have used in the past: https://github.com/vector-of-bool/cmrc : A Standalone CMake-Based C++ Resource Compiler
-
Compile-time INI config parsing and accessing with C++20
If you use cmake, CMRC is a great way to embed arbitrary files into your project. I use it all the time to embed compiled shaders and such into an executable.
What are some alternatives?
When comparing Simple-Asset-Packer and cmrc you can also consider the following projects:
ini-config - C++20 single-header library for embedding INI configs
frozen - a header-only, constexpr alternative to gperf for C++14 users
check-type-align - Check the alignment requirement of a type in CMake
cmake-embed - CMake script for embedding resources in binaries.