1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:37:35 +00:00
serenity/Ports/gemrb/patches/ReadMe.md
Julian Offenhäuser 9be9bf3379 Ports: Add GemRB
GemRB is an open-source implementation of the Infinity engine by
Bioware, used in some of their classic role-playing games.
2023-02-11 10:41:59 +01:00

30 lines
935 B
Markdown

# Patches for gemrb on SerenityOS
## `0001-Hard-code-some-paths-for-runtime-purposes.patch`
Hard-code some paths for runtime purposes
GemRB uses the paths where its libraries and data are copied to during
installation at runtime by generating a header. This does not work for
us, as our paths change from compilation to runtime. The easiest fix for
this is to hard-code these paths in the header file.
## `0002-Create-SDL2-renderer-as-unaccelerated.patch`
Create SDL2 renderer as unaccelerated
## `0003-Get-rid-of-swscanf-usage.patch`
Get rid of swscanf() usage
This function is currently not implemented in our LibC.
## `0004-Be-a-bit-more-lenient-with-matching-savegame-directo.patch`
Be a bit more lenient with matching savegame directories
Our sscanf() implementation failed to match this case. Making it more
inclusive should be fine, since invalid savegame directories probably
won't contain the right files anyway.