For Peggle Deluxe (and Peggle Nights soon)
Haggle exposes a bunch of SexyFramework and Peggle functions in a wrapper to be used from outside of the game to do whatever you want with it!
To run a mod, you must perform the following steps:
When Haggle mods are used with Peggle, they are loaded into the Peggle executable code on startup. The Mod Loader performs this operation. Follow these steps to install the Mod Loader.
- Obtain the Mod Loader
Haggle.exe
file:- Download from the Haggle Mod Loader Github releases page or
- Compile from the
mod-loader
project files. Refer to the Compiling section for details.
- Copy the
Haggle.exe
file into your game directory. For Steam, right click the game in your library, hover over "Manage", and click on "Browse local files".
- Test that the Mod Loader has been installed correctly.
- Launch Peggle
- If a window titled "Haggle Mod Loader" opened along with Peggle, then the Mod Loader has been installed correctly! At this point, the Mod Loader will complain about not finding a mod folder if no mods have been installed yet. Refer to the section on installing mods into the mod folder.
- Create a folder called "mods" in the Peggle installation directory.
- Place the mod's file(s) into the created folder. A mod file will usually have a
.dll
or.asi
extension. - Test that the mod has been installed correctly.
-
Launch Peggle, having already completed the Installing the Mod Loader step.
-
In the Haggle Mod Loader window, the Mod Loader identifies which mods it loads. Ensure that all of the mod files that were placed into the "mods" folder in the previous step have been loaded.
-
- Visual Studio 2022 (or prefered version) with C++ modules installed
- Run
generate.bat
for VS2022 generation- edit
generate.bat
if needed for other IDEs, check premake for more info
- edit
- Compile
Refere to the contributing guide for more information.
For license information, please check the containing depedency folder in ./deps
or check their website and/or repository page
- MinHook - Hooking library