Hx4Diva

A framework for modding Project DIVA Mega Mix+ in Haxe.
https://github.com/ZSolarDev/Hx4Diva

To install, run:

haxelib install Hx4Diva 1.0.0-alpha.4 

See using Haxelib in Haxelib documentation for more information.

README.md

[!WARNING] Many of the exposed types or hooks/hook uses are untested simply due to my lack of experience modding Project DIVA Mega Mix+. If anyone would like to test this framework further, seriously or not, and tell me the results of what's broken and what isn't, please do.

Hx4Diva

Simple creation of Hatsune Miku: Project DIVA Mega Mix+ mods in Haxe.

Welcome • Setup • Planned Features • Credits

Welcome to Hx4Diva

Hx4Diva is a modding framework for Haxe that allows you to mod Project DIVA Mega Mix+. Currently, it exposes: - Simple hooking, - Simple AET usage, - Many, many structs and functions exposed (with more to come), - Simple task system,

...etc.

Setup

Setting up Hx4Diva is simple. - Install the haxelib: haxelib install Hx4Diva - Run haxelib run Hx4Diva setup - To make a project, you can use hx4diva create [project name]. - To build the project into a working mod, you can then open the folder in terminal or something with a terminal, and run hx4diva build.

For further instruction, refer to the wiki.

In case anything does fail during this process, don't hesitate to report an issue.

Planned Features

  • Sound
  • Keyboard input
  • Controller input
  • Assets
  • GitHub Actions
  • Maybe more.

Credits

  • New Classics - I used their code as a HEAVY reference for how to structure Hx4Diva and the c++ runtime. I took it's diva.h, diva.cpp, part of common.cpp and common.h, hooks.h, and hooks/structs from pv_sel.h, pv_sel_ps4.cpp, pv_sel_switch.cpp, target.cpp, and probably more, all from out of the repository, and used those as main parts in Hx4Diva. I'm honestly VERY glad that this was open source and had comments littered around, as it made a great example and base for me to build upon. HUGE CREDITS to Clover and anyone else that contributed to New Classics.
  • MMPlusMods - I used the repository as a submodule, so that I could access more systems that belong to Project DIVA to expose to haxe. At the moment, I'm using their implementation of the task system.
  • Diva Mod Loader - I used the info in their README.MD as a starting point for the Hx4Diva runtime.
  • linc_imgui and linc_directx - I used these to support actually interacting with the DirectX objects that DML passes through to Hx4Diva, and additionally to support ImGui.
  • hxp - The library I used to make the Hx4Diva CLI.
Contributors
ZSolarDev
Aura39
Version
1.0.0-alpha.4
Published
3 days ago
Dependencies
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub

⌂