Skip to content
OpenLF2Public

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

OpenLF1 logo

OpenLF1

OpenLF1 is an open-source reimplementation of Little Fighter (1995). It uses the original game data to recreate the original's introduction, menus, character selection, and side-view battles.

Beyond the original

  • Keyboard and gamepad support on modern systems
  • Reads the original game data directly from its ZIP archive without extracting it
  • Alt+Enter fullscreen toggle

Getting started

Try the WebAssembly build in your browser. It can download the game data from archive.org, stores it in browser storage, and runs locally.

Downloads

Platform Downloads
Windows x86 · x64 · ARM64
Linux AppImage: x86 · x64 · ARM64
DEB: x86 · x64 · ARM64
macOS ARM64 · x64
DOS DOS build
Web Browser build

See the full release page for release notes.

Game data

OpenLF1 does not include the original game. Download Little Fighter (1995) and place the ZIP file next to OpenLF1 or in the current working directory. The primary download is available from lf2.net. The archive can have any name and its internal folders can be arranged freely. OpenLF1 reads the game data directly from the archive; nothing is extracted.

You can also pass the ZIP path explicitly:

./build/openlf1 /path/to/game.zip

Build from source

To build from source, you need a C++23 compiler, CMake 3.20+, SDL3, and zlib:

cmake -S . -B build
cmake --build build
./build/openlf1

To build SDL3 and zlib from source instead of using system packages, add -DOPENLF1_BUNDLE_DEPENDENCIES=ON when configuring.

Controls

In menus, Escape exits the program. During a battle, Escape or gamepad Start pauses and any key resumes. Navigate menus with W/X, I/comma, or numpad 8/2; confirm with Enter, S, K, or numpad 5. During a battle, the same directional keys move the characters; S, K, or numpad 5 attacks, and Tab, Space, or numpad 0 jumps. F10 or gamepad Back/Select ends the battle. Alt+Enter toggles fullscreen. Up to three gamepads can be used at once, with the D-pad or left stick and action buttons.

Used libraries

OpenLF1 uses two third-party libraries, both under the zlib license:

Library Version Purpose
SDL3 3.2.28 when bundled, otherwise system-provided Window, rendering, input, gamepad, and audio support
zlib 1.3.1 when bundled, otherwise system-provided ZIP decompression

The DOS build uses a DJGPP SDL3 snapshot instead of the 3.2.28 release.

See THIRD-PARTY-NOTICES.md for the copyright and license notices. The Linux AppImage also carries the C++ runtime and other shared libraries selected by linuxdeploy; those remain under their own licenses.

License

OpenLF1's code, scripts, and documentation are MIT-licensed (LICENSE). This license does not cover the original Little Fighter game, its executable, or its assets, which are not included in this repository.

The original game

Little Fighter was designed and developed by Marti Wong and released in 1995. Learn more at the original game page.

Trademarks

Little Fighter and any associated names are the property of their respective rights holders. They are used here only to identify the game. OpenLF1 is an independent project and is not affiliated with or endorsed by the original game's creator.

Releases

Contributors

Languages