Skip to content
Wanted files

Lindbergh Loader

Lindbergh Loader emulates Sega Lindbergh. It reads 10 files, 1 of them required: without a required file it does not start games.

About this profile
Detail Value
Type standalone
Classification Embedded HLE
Source https://github.com/lindbergh-loader/lindbergh-loader
Version 2.0.0, stated in src/lindbergh/version.h
Revision lindbergh-loader/lindbergh-loader@0af606d845b7
Run by Batocera
Profiled 2026-08-08
Profile YAML, JSON
Cores lindbergh-loader
Systems Sega Lindbergh
Install this emulator's files

With Batocera: the installer finds Batocera and its BIOS folder, then downloads only the files Lindbergh Loader reads there and checks each one.

Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.

Terminal
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator lindbergh-loader
Technical notes

Runs the original Sega Lindbergh game binaries on Linux, built and executed as 32-bit x86. The launcher picks the game ELF, exports LD_PRELOAD=lindbergh.so and an LD_LIBRARY_PATH covering the loader directory, the original directory, the game directory and ".:lib:../lib", then system()s the ELF (src/lindbergh/lindbergh.c:315-378, 874-929). Platforms invoke it as lindbergh-loader (Batocera package and generator, RetroBat, ES-DE find rule LINDBERGH-LOADER).

The Lindbergh hardware is emulated inside lindbergh.so with no external firmware. Hooked open() and fopen() redirect /dev/lbb (baseboard), /dev/i2c/0 (eeprom), /dev/ttyS0 and /dev/ttyS1 (drive, ride, motion boards and card reader), /proc/bus/pci/01/00.0 and /proc/bus/pci/00/1f.0 to /dev/zero and answer from code (src/lindbergh/hook.c:43, 530-615, 641-853). The security board is DIP switches and test/service lines computed in securityBoard.c:98-140, with no keychip dump. eeprom.bin and sram.bin are created on first run and their contents synthesised: eepromSettings.c builds every amSysDataRecord section from constants and recomputes the CRCs (eeprom.c:33-48, baseBoard.c:60-74, eepromSettings.c:24-120). Card_01.crd and Card_02.crd are written from a 56-byte header held in the binary (cardReader.c:227-247). lindbergh.ini and controls.ini are optional: both fall back to compiled-in defaults and can be emitted with --create (config.c:510-516, src/lindbergh/sdlInput.c:790-795).

The one hard external dependency is the NVIDIA Cg runtime. findLibCg() checks LIBCG_PATH from the ini, then /app/lib32/libCg2.so, $APP_IMG_ROOT/usr/lib32/ libCg2.so, ./libCg.so and $LINDBERGH_LOADER_CURRENT_DIR/libCg.so, and exits when none is present (src/lindbergh/shaderPatches.c:1028-1108). Cg 3.1 is a separate requirement: the game ELFs link libCg.so and libCgGL.so, which upstream vendors as libs/Cg-3.1.zip and installs into the runtime library directory (scripts/appimage/make-appimage.sh, scripts/flatpak/com.github.lindberghloader.yml:181-189, 242-245). Batocera copies per-game Cg variants into the ROM directory (batocera lindberghGenerator.py:1027-1050).

Shaders come from the game dump, not from the loader. cacheModedShaderFiles() reads ../fs/shader and /data/Shader relative to the ELF, patches the Cg source and serves the result back through the fopen, fread and ftell hooks (shaderCache.c:474-488, 555-678, src/lindbergh/hook.c:778-808, 1140-1212).

Boot logos and console fonts were user-supplied until 2.0.1, which added built-in copies compiled into lindbergh.so and served from resources/logo.h and resources/font.h. The originals are read only when DISABLE_BUILTIN_LOGOS or DISABLE_BUILTIN_FONT is set, from the game directory (src/lindbergh/hook.c:655-744, 874-926, fread hook at 1159-1181). Batocera exposes both switches as ORIGINAL LOGOS and ORIGINAL FONTS.

Custom cursors and crosshairs load from arbitrary ini paths with no default name and no built-in image (crossHair.c:142-186, customCursor.c:26-33).

10 files: 1 required, 9 optional. 6 have an HLE fallback. 5 more files come with the app.

By kind: 14 BIOS and 1 game data.

In this collection: 9 in repo, 0 missing and 1 unsourceable.

FileStatusHash

libCg2.so

NVIDIA Cg 2.0.0.12 runtime used to recompile the game shaders

  • System: Sega Lindbergh
  • Searched at LIBCG_PATH, /app/lib32/libCg2.so, $APP_IMG_ROOT/usr/lib32/ libCg2.so, then ./libCg.so and $LINDBERGH_LOADER_CURRENT_DIR/libCg.so. The loader reads 8 bytes at offset 0x226d84 and requires exactly "2.0.0.12". A missing file, a different version string or a failed dlopen of cgCreateContext, cgCreateProgram, cgGetProgramString, cgDestroyContext or cgDestroyProgram each call exit(EXIT_FAILURE). Upstream vendors the build as libs/libCg.so and both installers rename it to libCg2.so so it can sit beside the Cg 3.1 library of the same original name that the games link. The v2.1.4 AppImage and build.tar.gz carry it in usr/lib32 with the other five libraries. The Batocera package installs no copy.
Hashes, validation, packages and more
in repo SHA1 23b85ca78122
FileStatus

segaboot

Sega Lindbergh boot and hardware check program, the build listed as Segaboot 2.4 with symbols

  • System: Sega Lindbergh
  • Run as "segaboot -t" under -s or --segaboot. A 32-bit x86 Linux ELF, /usr/sbin/segaboot on the system CompactFlash card. 0x38d56318 identifies Segaboot 2.4 and 0xa518b18b the build carrying symbols, but neither is a whole-file checksum and neither belongs in a hash field: src/lindbergh/hook.c computes them as CRC-32 over 0x4000 bytes starting 10 bytes into program header index 2, guarded by p_type == PT_LOAD and p_flags == 5. Declaring one as crc32 gives verify.py a value it can never reproduce. The comparison drives identification only: an unknown CRC logs a warning and startup continues. SEGABOOT 0x0027 and SEGABOOT_2_6 0x0030 in src/lindbergh/config.h are placeholders, not checksums, and no table entry uses them. The retail SegaBoot Ver.1.04-2 of the 2.4.20 system card, built Jan 16 2006 and not stripped, gives 0xf9a67ce2 under that computation and matches no table entry. The file that gives 0xa518b18b is that binary with the two bytes 78 21 at file offset 0x35bc, the js taken when amDongleInit returns a negative value, replaced by 90 90.
in repo

logo.tga

Lindbergh boot logo, read from /usr/lib/boot on the original system

  • System: Sega Lindbergh
  • Read from the game directory only when DISABLE_BUILTIN_LOGOS is set. Otherwise the logoLL array in resources/logo.h answers the read.
in repo HLE fallback built-in fallback

logo_red.tga

Lindbergh Red boot logo, read from /usr/lib/boot on the original system

  • System: Sega Lindbergh
  • Read from the game directory only when DISABLE_BUILTIN_LOGOS is set. Otherwise the logoLLRed array in resources/logo.h answers the read.
in repo HLE fallback built-in fallback

SEGA_KakuGothic-DB-Roman_12.tga

Sega Kaku Gothic console font texture

  • System: Sega Lindbergh
  • Read from the game directory only when DISABLE_BUILTIN_FONT is set. The built-in is one shared 128x256 atlas (fontTGA) and one metrics table (fontABC) answering all four font paths, so it substitutes for the Sega originals rather than reproducing either of them. The .abc is the metrics sidecar of the .tga atlas, named for the GDI ABC width triple. Header of 28 bytes: renderOffset, renderHeight, atlas width, atlas height, lineHeight, then firstSymbol and lastSymbol as uint16 and a uint32 symbol count, then one 24-byte record per glyph: four float32 giving the normalised UV rectangle followed by leftMargin, width, rightMargin and a pad as uint16. Field names come from JayFoxRox/lindbergh-tools Utilities/src/font.c, written against a real LucidaConsole_12.abc rather than against this substitute. The built-in itself is Liberation Mono Bold rasterised at 18 px: 95 of its 96 glyphs are byte-identical to that rendering, cropped at the UV rectangles its own metrics declare. Liberation carries a 2010 and 2012 digitisation copyright, so it cannot be a 2005 Sega asset. Otherwise the fontTGA array in resources/font.h answers the read.
in repo HLE fallback built-in fallback

SEGA_KakuGothic-DB-Roman_12.abc

Sega Kaku Gothic console font metrics

  • System: Sega Lindbergh
  • Read from the game directory only when DISABLE_BUILTIN_FONT is set. The built-in is one shared 128x256 atlas (fontTGA) and one metrics table (fontABC) answering all four font paths, so it substitutes for the Sega originals rather than reproducing either of them. The .abc is the metrics sidecar of the .tga atlas, named for the GDI ABC width triple. Header of 28 bytes: renderOffset, renderHeight, atlas width, atlas height, lineHeight, then firstSymbol and lastSymbol as uint16 and a uint32 symbol count, then one 24-byte record per glyph: four float32 giving the normalised UV rectangle followed by leftMargin, width, rightMargin and a pad as uint16. Field names come from JayFoxRox/lindbergh-tools Utilities/src/font.c, written against a real LucidaConsole_12.abc rather than against this substitute. The built-in itself is Liberation Mono Bold rasterised at 18 px: 95 of its 96 glyphs are byte-identical to that rendering, cropped at the UV rectangles its own metrics declare. Liberation carries a 2010 and 2012 digitisation copyright, so it cannot be a 2005 Sega asset. Otherwise the fontABC array in resources/font.h answers the read, with ftell returning fontABClen.
in repo HLE fallback built-in fallback

LucidaConsole_12.tga

Lucida Console font texture

  • System: Sega Lindbergh
  • Read from the game directory only when DISABLE_BUILTIN_FONT is set. The built-in is one shared 128x256 atlas (fontTGA) and one metrics table (fontABC) answering all four font paths, so it substitutes for the Sega originals rather than reproducing either of them. The .abc is the metrics sidecar of the .tga atlas, named for the GDI ABC width triple. Header of 28 bytes: renderOffset, renderHeight, atlas width, atlas height, lineHeight, then firstSymbol and lastSymbol as uint16 and a uint32 symbol count, then one 24-byte record per glyph: four float32 giving the normalised UV rectangle followed by leftMargin, width, rightMargin and a pad as uint16. Field names come from JayFoxRox/lindbergh-tools Utilities/src/font.c, written against a real LucidaConsole_12.abc rather than against this substitute. The built-in itself is Liberation Mono Bold rasterised at 18 px: 95 of its 96 glyphs are byte-identical to that rendering, cropped at the UV rectangles its own metrics declare. Liberation carries a 2010 and 2012 digitisation copyright, so it cannot be a 2005 Sega asset. Otherwise the fontTGA array in resources/font.h answers the read. The copy here is the fontTGA array of resources/font.h written out, the bytes fread returns for the built-in.
in repo HLE fallback built-in fallback

LucidaConsole_12.abc

Lucida Console font metrics

  • System: Sega Lindbergh
  • Read from the game directory only when DISABLE_BUILTIN_FONT is set. The built-in is one shared 128x256 atlas (fontTGA) and one metrics table (fontABC) answering all four font paths, so it substitutes for the Sega originals rather than reproducing either of them. The .abc is the metrics sidecar of the .tga atlas, named for the GDI ABC width triple. Header of 28 bytes: renderOffset, renderHeight, atlas width, atlas height, lineHeight, then firstSymbol and lastSymbol as uint16 and a uint32 symbol count, then one 24-byte record per glyph: four float32 giving the normalised UV rectangle followed by leftMargin, width, rightMargin and a pad as uint16. Field names come from JayFoxRox/lindbergh-tools Utilities/src/font.c, written against a real LucidaConsole_12.abc rather than against this substitute. The built-in itself is Liberation Mono Bold rasterised at 18 px: 95 of its 96 glyphs are byte-identical to that rendering, cropped at the UV rectangles its own metrics declare. Liberation carries a 2010 and 2012 digitisation copyright, so it cannot be a 2005 Sega asset. Otherwise the fontABC array in resources/font.h answers the read. The copy here is the fontABC array of resources/font.h written out, the bytes fread returns for the built-in.
in repo HLE fallback built-in fallback

lindbergrc

Lindbergh development configuration read by Sega's lxmaster and segaboot

  • System: Sega Lindbergh
  • An INI file read by Sega's boot programs, not by the games. The per-title <id>rc files that do ship in game dumps are xinit client scripts, a different thing. lxmaster (Sep 2005 and Jan 2008 builds) reads [develop], [terminal] and [segaboot], and from the 2008 build [keychip], whose values it writes to /var/lxmaster/keychip. segaboot 1.04-2 reads [develop] (source-hdd, no-md5check, debugger) and [keychip] (game-id, major-release, model-type, src-media, src-default, dst-media, nfs-source, debug-arg). The fopen hook rewrites /root/lindbergrc to lindbergrc in the game directory for any program the loader wraps, segaboot included (-s), and the loader neither creates the file nor substitutes for it.
  • Not collected yet: /root is a symlink to /usr/local/root, which holds no lindbergrc on the retail system card. The system card's /etc/rsyncd.conf exports /root as an rsync module commented "/root/ for lindbergrc": the file was pushed from a developer host onto development units, and a stock production machine ships none. (files not collected yet)
unsourceable
FileStatus

gamecontrollerdb.txt

SDL gamepad mappings added on top of the built-in table

  • System: Sega Lindbergh
  • Loaded from the path given by -d or --controllerdb, passed through the LINDBERGH_CONTROLS_DB_PATH environment variable. The built-in mappings in gameControllerMappings.c load first and remain when no file is supplied.
optional in repo game data
FileHash

libCgGL.so

NVIDIA Cg 3.1 OpenGL runtime linked by the game binaries

  • System: Sega Lindbergh
  • Resolved by the dynamic linker for the game ELF through the LD_LIBRARY_PATH the launcher builds, not opened by loader code. Upstream takes it from Cg-3.1_April2012_x86.tgz and ships it in libs/Cg-3.1.zip. Game dumps generally carry their own copy in the game directory, so the Batocera generator only writes one when the file is absent or differs.
  • SHA1: b2ca278a7c4d
Hashes and source
SHA1 b2ca278a7c4d

libCg.so

NVIDIA Cg 3.1 runtime linked by the game binaries

  • System: Sega Lindbergh
  • Same origin and mechanism as libCgGL.so, and a different build from the 2.0.0.12 library the shader recompiler loads. Batocera keeps the two Cg generations apart as libCg.so.harley and libCg.so.other and copies the matching pair into the ROM directory per game, overwriting the dump's own copy for the titles where it renders shadows and textures incorrectly.
  • SHA1: 9637cd9d774d
Hashes and source
SHA1 9637cd9d774d

libcrypto.so.0.9.7

OpenSSL 0.9.7 crypto library linked by the networked games

  • System: Sega Lindbergh
  • Vendored as libs/libcrypto.so.0.9.7 and installed into the runtime library directory by both the AppImage and Flatpak builds. Resolved by the dynamic linker for the game ELF.
  • SHA1: 0ee8ed2a8fb4
Hashes and source
SHA1 0ee8ed2a8fb4

libssl.so.0.9.7

OpenSSL 0.9.7 TLS library linked by the networked games

  • System: Sega Lindbergh
  • Vendored as libs/libssl.so.0.9.7, paired with libcrypto.so.0.9.7.
  • SHA1: 60c2838da6cd
Hashes and source
SHA1 60c2838da6cd

libopenal.so.0

OpenAL runtime preloaded for Quiz Answer x Answer

  • System: Sega Lindbergh
  • When the ELF is q2satl_lind the launcher looks the file up through findPreloadLibrary and appends it to LD_PRELOAD. Absence prints "You might not get sound because libopenal.so.0 was not found" and the game still runs. Vendored as libs/libopenal.so.0.
  • SHA1: 91d69bba438f
Hashes and source
SHA1 91d69bba438f
.