Skip to content

Commit 1f8a98d

Browse files
author
Jorge A. Gomes
committed
Updated README.md to mention .raylib files
1 parent efea230 commit 1f8a98d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,32 @@ Please refer to [DOCS.md for v5.0.0b1](https://github.com/overdev/raylib-py/rele
180180
Includes all symbols in raymath.h and rlgl.h
181181

182182

183+
## Using raylib-py with custom binaries:
184+
185+
When raylib-py is loading, it will check for the existence of a `.raylib` file in the current working dir.
186+
The presence of this file allows the loading of binaries other than those provided by the raylib-py package.
187+
188+
Example of a `.raylib` file:
189+
190+
```json
191+
{
192+
"raylib": {
193+
"win32": {
194+
"32bit": "path/to/raylib/filename.dll",
195+
"64bit": "path/to/raylib/filename.dll"
196+
},
197+
"linux": {
198+
"32bit": "path/to/raylib/filename.so",
199+
"64bit": "path/to/raylib/filename.so"
200+
},
201+
"darwin": {
202+
"64bit": "path/to/raylib/filename.dylib"
203+
}
204+
}
205+
}
206+
```
207+
208+
183209
## Issues:
184210
- Callback for logging will not work
185211

0 commit comments

Comments
 (0)