Skip to content

Releases

Build Issues Resolved

Choose a tag to compare

@lobotomy-x lobotomy-x released this 19 Jun 09:08
d8d4276

If you happened to attempt building the ImGui template in debug configuration please remove all build artifacts from your plugins directory. This was blocking builds. Now each project will save intermediate files within the local project dir and builds will go to the Plugins/ProjectName folder that was already used with release config. The dll will still be moved to the plugins dir following build while in debug mode. Because this is a post build step it also means that having the plugin loaded into a game and forgetting to unload will not block the full build.

The ImGui overlay can now be toggled with F2. Please note that the overlay currently only displays to one screen at a time. If you can't see it on your desktop its probably because your headset is active

I had some unfinished features that I've pulled to preserve the nature of these templates as fully working projects but I now understand how function calling works. Currently you will need to examine sdkdumps and create custom structs for each function but I'll aim to reduce the workload soon

Simple template is unchanged but included for ease of browsing
Dragging and dropping each zipfile onto the batch script should suffice to install it

Source code is now available directly on github in a submodule but please use this repository for any issues. I'm aiming to make it my centralized hub for my many scattered projects

UEVR Visual Studio CPP Template Plugins

Choose a tag to compare

@lobotomy-x lobotomy-x released this 18 Jun 01:44
4482e0e

These templates provide the quickest and easiest way to start writing a C++ plugin for UEVR, with some useful features already included. Use the simple template if you don't need an ImGui overlay. You can still make use of Lua based overlays by sending lua events and receiving back custom events as needed. The ImGui template is mostly adapted from praydog's example plugin and includes a totally separate imgui overlay. Again this can still interact with Lua, but the overlay itself cannot dock or merge with the UEVR overlay or any custom lua overlays.

To Install place the zip files in %USERPROFILE%\Documents\Visual Studio 2022\Templates\ProjectTemplates

Path macros have been setup to allow building this from anywhere on your PC without having to setup cmake or manually set include paths in VS. As long as you have the latest Win10 SDK and VS 2022 everything should just build. A few changes have been made to Plugin.hpp, including a dllmain on detach event and higher level API access to dispatching lua events.

By default Debug config will build directly into your UnrealVRMod/UEVR/Plugins dir allowing for fast testing while ingame. Just be sure to unload plugins before building and then reload to see your changes. Release config will build to a folder named after the project within the same directory.

Please leave issues for anything relevant and I'll try to fix them as well as update with new features and ideas over time. These are more of a parting gift of sorts as I plan to step away from modding and focus on job searching but I'll do what I can.

You may also wish to try out the UEVRLib.h file found here https://github.com/elbadcode/uevrlib
This is a mostly AI generated attempt to translate some useful Lua functions by jbusfield into C++
These are not tested but did not show compiler errors, use at your own discretion
I generally avoid AI coding like the plague but I thought I'd test it as a time saver when existing valid code was available

These templates were made as a side project while working on a plugin that coregisters as a reshade addon to enable rendering effects in UEVR, stay tuned for that release