Derpius / VisTrace

Garry's Mod binary module for tracing meshes at high speed on the CPU (and much more)
https://derpius.github.io/VisTrace
MIT License
27 stars 1 forks source link

[feature] More streamlined integration #6

Closed Derpius closed 3 years ago

Derpius commented 3 years ago

Idea

Rather than just providing a standalone dll that needs to be manually loaded and provides no documentation for the Starfall integration due to being sideloaded in, an optional GLua component could be used, that would automatically detect and require the binary, as well as populate documentation at runtime and provide fallbacks to the Starfall functions that check if the module was loaded, and throw a specific error explaining the issue if it's not (which would allow loading this VisTrace GLua component onto servers, to provide easier distribution of VisTrace Starfalls within the server compared to throwing a generic index error).

Installation Options

While providing this GLua component zipped with each release would work, it makes it unnecessarily annoying to install (having to manually update not only a binary but an addon too), the obvious solution to this is to distribute the GLua component on the Steam workshop with links back to here for the module, the downside to this however is it requires maintaining two separate instances of VisTrace, and version control with workshop seems to be far less sophisticated than Git, but should only need to be done once per full release.

Derpius commented 3 years ago

https://steamcommunity.com/sharedfiles/filedetails/?id=2531198548