#singleton #macro #specifier #dlrf #generator #eldenring

fromsoftware-dlrf

Macro for generating singleton specifier for usage with the DLRF singleton finder

5 releases (3 breaking)

0.11.0 Aug 22, 2025
0.10.0 Aug 9, 2025
0.9.1 Aug 9, 2025
0.9.0 Aug 8, 2025
0.8.0 Jun 22, 2025

#1115 in Rust patterns

Download history 3/week @ 2025-07-10 8/week @ 2025-07-17 2/week @ 2025-07-24 4/week @ 2025-07-31 374/week @ 2025-08-07 22/week @ 2025-08-14 156/week @ 2025-08-21 19/week @ 2025-08-28 17/week @ 2025-09-04 14/week @ 2025-09-11 15/week @ 2025-09-18 21/week @ 2025-09-25 28/week @ 2025-10-02 9/week @ 2025-10-09 21/week @ 2025-10-16 5/week @ 2025-10-23

77 downloads per month
Used in 2 crates

MIT/Apache

2KB

FromSoftware-rs 🔩 From Software runtime rust bindings

Rust bindings to facilitate mod creation for From Software games.

Build Status Crates.io License

Examples

Check out the examples directory

Project structure (crates)

  • crates/eldenring Contains the definitions for the Elden Ring structures. Crates.io Documentation
  • crates/eldenring-util Provides helper methods for loading and working with Elden Ring structures. Crates.io Documentation
  • crates/nightreign Contains the definitions for the Elden Ring: Nightreign structures. Crates.io Documentation
  • crates/shared Defines structures and utilities that are shared across multiple From Software games. Crates.io Documentation
  • crates/shared/macros Defines a derive macro for implementing the FromSingleton trait on types. Do not depend on this directly since the macro is reexported through fromsoftware-shared. Crates.io Documentation

Credits (aside listed contributors to this repository)

  • Tremwil (for the arxan code restoration disabler, vtable-rs and a few other boilerplate-y things as well as implementing the initial FD4 singleton finder for TGA that I appropriated).
  • Dasaav (for libER as well as from-singleton and heaps of engine-related structures).
  • Sfix (for coming up with the FD4 singleton finder approach at all).
  • Yui (for the arxan code restoration disabler as well as some structures and AOBs).
  • Vawser (and probably many more) (for hosting the param defs used with the param struct generator).

(Have you contributed to TGA in some manner and does this repository have your work in it? Reach out to @chainfailure on Discord for proper credit disclosure).

Dependencies

~165–580KB
~14K SLoC