Skip to content

The race display, from the game's own layout ​

2026-10-24, the game app's session, while the physics waits for a track loader.

The original's frame at 02'42"98 beside Un-POD's at the same moment of the replayed race

Left: the original, as the reference race's player crosses the line for lap 2. Right: Un-POD at the same race clock, its display drawn from HABI.BIN.

Un-POD's first HUD was a guess: my own layout in the game's font. The game has a file for it. HABI.BIN ("habillage", dressing) holds 219 elements, each a line of ten numbers and a few lines of options. What the numbers meant was open.

The ten fields ​

The function that reads the file hands each line to sscanf and stores the fields in tables the drawing code uses. Reading where each one goes named them: a slot, a kind, the element it hangs off, a font, a word, the starting state, the display mode, the number of views, and x and y. The positions were checked on the original's frames. The speed panel at y 479 ends on the last row; the damage panel at -98 sits on top of it. A small map frame with x 17 is placed from the map panel at 532, and that puts it at 549, where the original has it.

Picture elements list six glyphs, and the six turned out to be languages: the gear label reads "Gear", "Rapport", "Gang", "Marcha", "Marcia" and "Gear" again, with MPH for the two English ones and KMH for the rest.

The kinds ​

Each kind of element has four handlers in a table: load, set-up, the keys that show or hide it, and draw. Most were only reachable through the table, so the first decompile had none of them; 62 were decompiled for this. The gear reads the car's gear byte and draws "R" for reverse. The speed is the velocity along the car's forward axis times 3.6, or 2.25 for miles. The place is "8/8" and the lap is the dictionary's "Tour " with "1/3".

Un-POD draws those from the same layout, glyphs and words. The board shows places and names, but not yet the gaps and coloured dots. The damage bars, the radar and the map are not drawn yet, and neither are the lap record and lap time the original flashes at the line. The speed comes from the recorded positions, so it reads 193 where the game shows 176. Everything traced is in docs/systems/hud.md.

Prose CC0 1.0, code Apache 2.0. POD: Planet of Death is © Ubi Soft; none of its files are on this site.