You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is pain to extract game resources into separate folder as the game do some manipulations in the same dir.
For most painful things I apply hacks (sorry for ugly bash code):
Add fallback to default lib location if nothing found:
And also those two (as a consequence of previous):
The game creates log file in dir defined by GetUserDirectory - log file can't be disabled
For some reason the game attempts to open libEntitiesMP.so (invocation lfomethere from resource loading code) - empty file should be created bash touch "$UserDirectory/Bin/libEntitiesMP.so"
Hello,
As per #5 (comment) resources path should be independent from binary location
Looks like GetExecutablePath shoild be replaced with GetUserDirectory https://github.com/ptitSeb/Serious-Engine/blob/master/Sources/Engine/Engine.cpp#L274 in order to use SDL's Prefs
It is pain to extract game resources into separate folder as the game do some manipulations in the same dir.
For most painful things I apply hacks (sorry for ugly bash code):
Add fallback to default lib location if nothing found:
Use GetUserDirectory instead of GetExecutablePath
And also those two (as a consequence of previous):
The game creates log file in dir defined by GetUserDirectory - log file can't be disabled
For some reason the game attempts to open libEntitiesMP.so (invocation lfomethere from resource loading code) - empty file should be created
bash touch "$UserDirectory/Bin/libEntitiesMP.so"
ref: https://github.com/bademux/serioussam-server/blob/master/Dockerfile
The text was updated successfully, but these errors were encountered: