Replies: 4 comments
-
Hey! The logs should tell you if anything went wrong when loading your plugin. Could you post it here?
|
Beta Was this translation helpful? Give feedback.
-
Hi @WerWolv , and thank you for your quick reply. Adding some more info here: From command line I can see also that the plugin is found:
One curious thing to add is also that, if I startup ImHex from command line, I can see the additional pcap log entry I added in the terminal, but not captured in the Log Manager. But still, it's not loaded to the effect that the plugin would be listed as one of the Providers:
In the instance where the plugin actually works, I can also see the |
Beta Was this translation helpful? Give feedback.
-
The format of the log message looks really weird. Are you potentially linking your plugin to an old version of libimhex? |
Beta Was this translation helpful? Give feedback.
-
Could be, thank you for your suggestion, I'll try with the updated template and retry |
Beta Was this translation helpful? Give feedback.
-
Firstly, big thanks for all the effort that goes into creating and maintaining ImHex, it's an amazing editor and a well structured project! In hopes of trying to extend and contribute to the ecosystem I started to check out the existing plugins in the hopes to create my own. Doing so I ran into some issues. I hope someone can enlighten me.
I thought of writing my own custom provider, looking that there's a 3rd party plugin for Pcaps available, it seemed like a great resource on how to do that. Pcap plugin is based on the Plugin template so it should be quite standard way of creating the
.hexplug
.Now to the issue at hand. The Pcap plugin works great if I compile it and use the imhex binary that gets produced along with it, but if I take the compiled .hexplug and drop that plug-in to another previously compiled instance of ImHex (same version), I see that the plugin gets initialised successfully (based on log manager output), but the actual Provider does not appear to the UI.
I added a log entry to where the Provider should be added to the list but it feels like this part of the code is never executed, if I just drop the
.hexplug
to another ImHex instance.Am i missing something trivial here or advice how to debug this further.
TLDR; I'm having problems bringing plugins across to other ImHex instances, even if they are the same version.
Beta Was this translation helpful? Give feedback.
All reactions