Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load plugin didn't consider MP suffix #63

Open
comicfans opened this issue Jul 3, 2016 · 4 comments
Open

load plugin didn't consider MP suffix #63

comicfans opened this issue Jul 3, 2016 · 4 comments

Comments

@comicfans
Copy link

linux debug build , TFE=false
will build
libEntitiesMPD.so
libGameMPD.so
libShadersD.so
(I've found CMakeLists.txt:631 only SHADERSLIB didn't append MP suffix, is this correct ?)

but when run game engine, it reports didn't found file libEntitiesD.so

which comes from EntityClass.cpp:242

    #ifndef NDEBUG
    fnmDLL = fnmDLL.FileDir()+"Debug\\"+fnmDLL.FileName()+_strModExt+"D"+fnmDLL.FileExt();
    #else
    fnmDLL = fnmDLL.FileDir()+fnmDLL.FileName()+_strModExt+fnmDLL.FileExt();
    #endif

this didn't consider MP suffix .

@monreal
Copy link

monreal commented Jul 24, 2016

I ran into this, too. Needed to do the following as a workaround:

ln -s libEntitiesMPD.so libEntitiesD.so
ln -s libGameMPD.so libGameD.so

@DanielGibson
Copy link

this didn't consider MP suffix .

doesn't _strModExt contain "MP" in this case?

You shouldn't need any symlinks, but you need a ModEXT.txt file in your serious sam install directory, containing just MP. If that file is found by the game, it should load libEntitiesMPD.so instead of libEntitiesD.so, i.e. _strModExt should contain "MP" instead of being empty ("") then.

@monreal
Copy link

monreal commented Jul 24, 2016

I did not copy the ModEXT.txt file because the README only mentions .gro files. After copying the textfile everything works fine.

@yamgent
Copy link

yamgent commented Jul 25, 2016

The readme does not mention ModEXT.txt because that file already exist in the repository, and the readme assumes that you are running the game inside the repository.

I have made some changes to the readme in a new pull request with regards to this issue, but if you feel that further changes can be made to make it even clearer, feel free to contribute. :)

yamgent added a commit to yamgent/Serious-Engine that referenced this issue Jul 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants