LF2 Online

A playable, open-source reimplementation of Little Fighter 2 v2.0a — the same fast, side-view fighting gameplay, with support for mods, network rooms through a relay, and the INSANE! computer player that learns any mod's fighters.

A build of OpenLF2 maintained by Xôi

What you can play

OpenLF2 is under active development. We continue to refine gameplay compatibility with the original game.

INSANE! computer players

A fifth level above CRAZY!: the computer learns each fighter's moves from the mod's own data before the match — specials, chains, air and dash attacks, charging — and fights by prediction. Works with every mod here; replays and network games stay in sync. After it, XOI, the strongest level, plays the same way with two things INSANE! has not: its numbers tuned by play (SPSA, a mod's own when it has them) and, when a mod ships them, notes from training on every matchup.

How it works, benchmark results and the AI source →
Play mods on your PC with INSANE! and XOI, and train XOI for your mod →

Game modes

Versus, Stage, Battle, Championship, Team Championship, and Demo.

Controls

Keyboard and controller play, with touch controls on supported screens.

Music & replays

In-game music, recordings, and replays.

Network play

Network matches between OpenLF2 players over TCP, or through a relay in the browser; original LF2 compatibility is not supported.

Moddable

Gameplay and UI are written in Lua. Mods can extend or replace supported modules through the same versioned script API the base game uses.

MIT-licensed

OpenLF2's code, scripts, and documentation are MIT-licensed, and so are this build's additions (anmen5000/OpenLF2). This does not cover the original game, its executable, or its assets.

Play in your browser

This build runs entirely on your device. Press Start game to download the original LF2 v2.0a game data (about 30 MB, checked by SHA-256) from the online relay when it keeps a copy, else from archive.org, or select your own LF2_v2.0a.exe or lf2_v20a_Setup.exe installer manually. Your browser saves the installer for future visits; a selected file is never uploaded anywhere.

Mods that come as a whole game folder (their own program, data and pictures) can be played too: pick one in Game (the online relay keeps them), or select its .zip file. Everyone in a network room must play the same game; invite links carry the choice. A mod whose program is packed or protected (OpenLF2 cannot read it, Naruto: The Setting Dawn for one) plays in the slower Windows emulator instead.

Hero Fighter v0.7+ plays here too, in Ruffle (a Flash player): choose it in Game. The online relay keeps the game file when its owner uploaded it, else select your HFv0.7.zip (or HFv0.7+.exe). Log in with any e-mail address and password (the relay keeps the account; the first login creates it), then Network Game lists the relay's rooms.

A computer too slow for Hero Fighter's crowded fights can play through a faster one (remote play): start the game on the faster computer and press Let another computer play; on the slow one, choose Hero Fighter, press Play through another computer and type the code it shows. The faster computer runs the game and sends its picture and sound; the slow one's keys play one of its players. — Máy yếu chơi nhờ máy mạnh: máy mạnh bấm Let another computer play lấy mã, máy yếu bấm Play through another computer rồi nhập mã.

Game

Loading WebAssembly…

Diagnostic output