NativeUICompat is a modern, lightweight, and fully open-source menu framework created for ScriptHookVDotNet 3.
It is designed to replace the outdated NativeUI library with a cleaner, simpler, and more stable codebase that works reliably with the current versions of SHVDN3.
This repository contains the full source code for the NativeUICompat library.
- Simple and modular menu system
- Menu items:
- List items
- Checkbox items
- Separator items
- Keyboard/controller input support
- Customizable title bar
- Lightweight rendering
- Zero dependencies aside from SHVDN3
- 100% open source and free to use in any SHVDN3 mod
To build the DLL yourself, you need:
Workload needed:
- .NET desktop development
Place the SHVDN3 DLLs inside: NativeUICompat\Dependencies\
Required files:
ScriptHookVDotNet3.dll
- Open
NativeUICompat.slnin Visual Studio. - Set the configuration to:
Release | x64 - Build the solution.
- The compiled DLL will appear in: NativeUICompat\bin\x64\Release\NativeUICompat.dll
Contributions are welcome!
You can submit:
- Bug fixes
- Improvements
- New item types
- Rendering enhancements
- Documentation improvements
Please open a pull request on GitHub.
This project is licensed under the MIT License, allowing free use in any mod—open or closed source.
If this project helped you, consider giving the repository a ⭐ on GitHub.
Every star helps keep the project alive and visible!