mplankar.dev

BF4 Morse Lamp Decoder

Introduction

Morse code is a method of transmitting messages through a series of short and long signals, known as dots and dashes. It was widely used in the 19th and 20th centuries for telegraphy and radio communication, and is still used today by amateur radio operators and enthusiasts.

One of the most intriguing and challenging easter eggs in the game Battlefield 4 is the "DICE LA" camo, a special camouflage that hides the player from thermal sights. To unlock this, the player has to solve a complex puzzle involving lighting up 20 lamps on a temple, entering a code on a keypad, and decoding a Morse code message from a flashing lamp. The Morse code message is unique for each player, and contains a code that has to be entered on another keypad near a water tower.

In this project, I built a Morse code decoder that can read a flashing lamp from Battlefield 4 and decode the Morse code sequence from the video. This decoder can help you unlock the DICE LA camo faster and easier, without having to manually translate the Morse code by sight.


Methodology

The main steps of the Morse code decoder are: