Blank ldb.pul Generator

Single‑file web tool

Generates valid, blank leaderboard files (ldb.pul) for Pulsar‑based packs (e.g., Retro Rewind). Load a FolderToTrackName.txt, pick tracks, and export a ready‑to‑drop Ghosts/…/ldb.pul ZIP.

Gabs hosted version uses Retro Rewind translations. Fetches via fetch() relative to where this HTML is hosted. Put the TXT next to this file for the default path to work.
Supports \c{color} tags; they are stripped automatically.
If provided, new files will clone this binary and zero the trophy flags. If not, we emit a Pulsar‑style full‑size blank with proper header (see Notes below).
Name ID Actions
Load a mapping to populate…
Name ID Actions
Files export under /<root>/<ID>/ldb.pul
0 tracks

        

Notes (important for validity)
  • This tool zeros the four trophy flags at offset 0x3C in ldb.pul. Community tooling (Trophy Monarch) reads/writes those flags there; see the author’s implementation that seeks 0x3C and reads 4 bytes. We follow the same convention.
  • If you supply a template ldb.pul exported from your pack, its exact binary layout is preserved and only the 4 bytes at 0x3C…0x3F are cleared.
  • If you do not supply a template, the generator now emits a full-size 0x11C0‑byte file with 'PULL' magic, version=1 (BE), the track ID (BE), and a 4‑byte header derived from the mapping name (e.g., 'SNES', 'N64 ', 'Wii ', '3DS ', 'DS ', 'GP '). Trophies at 0x3C..0x3F are cleared.
  • For convenience, your mapping file is also included in the ZIP at /<root>/FolderToTrackName.txt.

References: Pulsar overview and pack structure (Custom Mario Kart Wiiki), Retro‑Rewind Pulsar repo, and Trophy Monarch (Python) showing the 0x3C trophy flags and TROP handling.