-
Notifications
You must be signed in to change notification settings - Fork 40
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
rfc: LDN #26
base: main
Are you sure you want to change the base?
rfc: LDN #26
Conversation
Tbh i think that it'd more appropriate to write a "network dispatch" for meter-core and run meter core headless with node. So that any app could use that network dispatch api to display it the way they like. Loa details is the web based eletron rendered ui for the dps meter. I don't think that there is any reason to add a native replacement inside this repo. Regarding loa details performance, i think that more than electron itself the ui code is garbage. Skill issue i guess 🤣... |
I do not think thats true, of course source code and ui code can always be optimised but running a browser just has a upfront overhead due to its nature, non of the opengl code is really optimised in this either currently and it can just be lower since its the code only and no overhead otherwise.
As outlined its not meant as a replacement to replace the main electron one but was intended as a second option for users with lower specs/generally a faster window, building ui for this is just a lot harder then using vue.
Thats something i can look into it sounds like a good idea yeah |
Also added a webp decoder because it turns out that there are webps in meter-data.
What is this
This came to me out of the idea and complains i heard from a few friends saying their systems wouldnt handle Lost ark as a game and loa details, now i dont think the code of this project is the issue but it is true its spawns two electron windows, which means running 2 chromium instances extra.
LDN = Loa details native, idk can also suggest name changes
This is a very simplistic "alternative" damage meter window, targeted to directly render on the GPU, it has a very basic ui system for rendering fonts and rectangles and uses GLFW to target OpenGL.
Motivation
Part of the motivation is already explained above, but the other reason is just that it seamed fun to build.
Progress
THIS IS WIP Theres no way around that, that this isnt ready to be released, im opening the comment as the title says as a request for comments and feedback.
Supported tabs: (All tabs included by default in
Supported features:
It sits between 30-50mb ram and 0 cpu usage unless you interact with the windows.
It is is designed to look very similar to the main damage overlay window.
How does it work
I added a extra icon button to the main damage meter window which when pressed closes both electron windows(hides main rn because otherwise quasar would quit) and then spaws a localhost tcp socket server and starts the executable with that port who then connects to that server and starts receiving the live parsers state. the logic used to determine dps and buffs is sadly duplicated and reimplemented in c++, since the target is to entirely disable the two electron windows leaving only the node process.
How to run this
ldn
folder, there create a folder calledbuild_release
cmake .. -DCMAKE_BUILD_TYPE=Release
after thatcmake --build . --config Release
Some other stuff