Orpheu Signatures Path
Hi, I can't find where the signatures should go... In some posts I see that they should go in orpheu/functions in the other one I see orpheu/virtualFunctions ... Thanks.
|
Re: Orpheu Signatures Path
It depends on whether it's a virtual class method, which are identified by virtual table offsets instead of symbols or signatures.
|
Re: Orpheu Signatures Path
So how do I know where to put it ?
|
Re: Orpheu Signatures Path
If it's a virtual method then in virtualFunctions, in a folder named same as the class containing the method. Every other goes in functions. If the function is a member of a class (not a plain C function) then you have to create a folder in "orpheu/functions" with the class name and put the JSON file in there.
It's all described in Orpheu main thread. |
Re: Orpheu Signatures Path
I understood about the virtual functions, thanks.
What about this Code:
and this Code:
|
Re: Orpheu Signatures Path
Those are C functions, not a member of any class. They just go into orpheu/functions.
However, as far as I know, CREATE_NAMED_ENTITY is the wrong name and should be named CreateNamedEntity. The Linux signature should just be "CreateNamedEntity" as well. Also looks like PrecacheGeneric should be "PF_precache_generic_I", as well as the Linux signature. What you are lacking in the second file is "identifiers" array - you've given no way for Orpheu to identify the function. I even think I posted PF_precache_generic_I somewhere on the forums before, can't quite remember. |
Re: Orpheu Signatures Path
- CREATE_NAMED_ENTITY is correct. in CS, there is a wrapper which calls pfnCreateNamedEntity and add the class to a hash table: https://github.com/s1lentq/ReGameDLL....cpp#L287-L296
- PrecacheGeneric is also correct. It's part of the engine API and you don't need to provide identifier, you have a native in Orpheu to deal with such functions. As you said above, it's all written in the Orpheu thread. :twisted: |
Re: Orpheu Signatures Path
Oh damn. :(
|
Re: Orpheu Signatures Path
Quote:
Thanks :) |
Re: Orpheu Signatures Path
Quote:
Quote:
Quote:
|
| All times are GMT -4. The time now is 17:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.