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

latest metamod not loading Adrenaline Gamer gamedll out of the box #38

Closed
krangm opened this issue Apr 20, 2018 · 7 comments
Closed

latest metamod not loading Adrenaline Gamer gamedll out of the box #38

krangm opened this issue Apr 20, 2018 · 7 comments

Comments

@krangm
Copy link

krangm commented Apr 20, 2018

v1.3.0.121
probably because of this
https://github.com/theAsmodai/metamod-r/blob/89b29af8a5ae671f3c78403d055dff48d3a0a6ce/metamod/src/game_support.cpp#L14
original gamedll name is ag_i386.so and not just ag.so
so to run server you gotta manually point metamod to gamedll in config.ini

tho i had not this problem on metamod v1.3.0.104

@krangm
Copy link
Author

krangm commented Apr 20, 2018

// .so file by OpenAG fork

OpenAG pack designed to run on regular HLDS, where you really need to rename ag_i386.so to ag.so for successful run.
while ReHLDS has this problem fixed and allow to run original named gamedll without any changes

@stamepicmorg
Copy link
Contributor

stamepicmorg commented Apr 22, 2018

are u using hlds or rehlds?


about "_i386.so"-postfix look hrere and here.

probably because of this
nope. current version of metamod-r detects "_i386_i486_i686" postfixes automaticly.

@theAsmodai right?


OpenAG pack designed to run or regular HLDS

i have mistake at this description. OpenAG its just alternative client and it has no server's dll. If u will runing AG-server (also with installed client.dll from openAG) - u will be running originalAG-server.

@krangm
Copy link
Author

krangm commented Apr 22, 2018

are u using hlds or rehlds?

obv im running ReHLDS, moveover metamod-r no longer supports original HLDS

OpenAG its just alternative client and it has no server's dll. If u will runing AG-server (also with installed client.dll from openAG) - u will be running originalAG-server.

i know that. i meant OpenAG full pack contains both client and server libs, and i know that server one is native AG gamedll. but once again OpenAG full pack designed to run on regular HLDS so they have already renamed server gamedll from ag_i386.so to ag.so to avoid this kind of errors

LoadLibrary failed on p▒▒▒▒▒▒M▒p▒▒▒▒▒▒/▒▒▒▒▒: p▒▒▒▒▒▒M▒p▒▒▒▒▒▒/▒▒▒▒▒: cannot open shared object file: No such file or directory
Host_Error: Couldn't get DLL API from p▒▒▒▒▒▒M▒p▒▒▒▒▒▒/▒▒▒▒▒!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from p▒▒▒▒▒▒M▒p▒▒▒▒▒▒/▒▒▒▒▒!

gamedll name is crucial for regular HLDS, but since metamod-r now works only with ReHLDS the only gamedll name that will work is ag_i386.so

@theAsmodai
Copy link
Collaborator

theAsmodai commented Apr 23, 2018

No, postfixes are not automatically checked for gamedll. I'm added ag_i386.so manually.

@krangm krangm closed this as completed Apr 24, 2018
@stamepicmorg
Copy link
Contributor

stamepicmorg commented Apr 24, 2018

@theAsmodai

No, postfixes are not automatically checked for gamedll.

But

const char* g_platform_postfixes[4] =
{
	"_i386.so",
	"_i486.so",
	"_i586.so",
	"_i686.so",
};

https://github.com/theAsmodai/metamod-r/blob/master/metamod/src/utils.cpp

and @In-line tell me about it here:
https://github.com/theAsmodai/metamod-r/pull/25/files/21bd869144511734a37a16cf510437c012e153d5

@theAsmodai
Copy link
Collaborator

It's only for plugins.ini

@stamepicmorg
Copy link
Contributor

stamepicmorg commented Apr 26, 2018

It's only for plugins.ini

I was misinformed. Sorry. I will be fix game-list soon with PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants