rres
rres copied to clipboard
A simple and easy-to-use file-format to package resources
When using rres to load a Wave (compressed, uncompressed and without any encryption), there's an access violation error at runtime when LoadSoundFromWave() is called **when I use it on my...
This happens with the rres-raylib.h include. Doesn't appear to be present in rres.h. Here is the printout. I don't have any special compiler options enabled, just the default settings that...
With C23, there is now a `#embed` preprocessor macro that can be used to embed raw file data. It would be cool to have some functions that allow us to...
``` Sound SOUND; int id = rresGetResourceId(ASSETS_DIR , filename); if(id) { printf("~Loaded sound from rres~\n"); rresResourceChunk chunk = rresLoadResourceChunk( "resources/DATA.rres" , id); UnpackResourceChunk(&chunk); Wave tempWave = LoadWaveFromResource(rresLoadResourceChunk( "resources/DATA.rres" , id));...
### This is not intended to be merged I just wanted to point out an issue with rres and rrespacker 1.5 The current version of rres doesn't seem to be...
Since 49b7673c064df9af1ad0d1cd4763726c3fc0b662 the examples won't build with the provided CMake file due to the CMake file using raylib 4.2, which doesn't have the `ComputeMD5()` method.
The specs states that `rresFileHeader.cdOffset` is an absolute offset within the file. However, the `rresLoadCentralDirectory` implementation uses an offset relative to the end of the header: https://github.com/raysan5/rres/blob/master/src/rres.h#L877 Shouldn't it use...
On macOS and Gentoo Linux, When building the examples with the provided CMake.txt file, as below: ``` cd projects/CMake mkdir build cd build cmake .. make ``` When I run...
## Description If I try to build the rres example `rres_data_loading.c` linking against raylib shared library I get the following error. ``` gcc rres_data_loading.c -I ..\..\raylib\src -I ..\src -lraylibdll -lpthread...
Just like the other functions