#modding #hook #mod

geometrydash

Geometry Dash modding library

5 releases

0.2.3 Dec 10, 2023
0.2.2 Dec 7, 2023
0.2.1 Dec 5, 2023
0.2.0 Dec 5, 2023
0.1.0 Oct 27, 2023

#27 in #modding

21 downloads per month

BSL-1.0 license

1.5MB
504 lines

Contains (ELF lib, 1MB) libfmod.so, (static library, 355KB) fmod_vc.lib

Geometry Dash modding library for Rust

This is a Rust library made for modding the Geometry Dash game.

References

Supported platforms

  • Windows

Note

When making DLL files, make sure to set the Rust toolchain to stable-i686-pc-windows-msvc. This sets the DLL to build with MSVC (so it recognizes the DllMain function) in 32-bit mode (GD is 32-bit). You must be running Windows and have MSVC installed.

You can do this by either creating a rust-toolchain file in the same directory as Cargo.toml with the following contents:

stable-i686-pc-windows-msvc

and running rustup install stable-i686-pc-windows-msvc.

...or running rustup default stable-i686-pc-windows-msvc, but this will override the default toolchain for all projects to 32-bit Windows MSVC.

TODO

  • Add all known GD functions and classes
  • Add all Cocos2dx functions
  • GD 2.2 support when it comes out
  • Consider using libmem instead of MinHook

Dependencies

~128MB
~2M SLoC