Look at the glass, rotate the dials, and never forget the order. Your Professional S+ rank depends on it. Keywords integrated: Resident Evil 4 Codex, RE4 Codex puzzle solution, How to open Codex RE4, Resident Evil 4 Codex colors, Codex stained glass puzzle.
Story-wise, it is a religious artifact belonging to the Los Illuminados cult. It details their rituals, symbols, and—most importantly for Leon—the specific "Synthetic Vision" needed to access the castle’s inner sanctum. Gameplay-wise, it is a multi-step puzzle box that requires the player to solve a random sequence of colored lights. Upon obtaining the Codex, Leon cannot simply open it. The device is locked with a biometric or electrical seal that requires a specific color frequency. To crack it, you must travel to the Chief’s Manor (the house with the dog and the shotgun trap) and locate the "Stained Glass" or "Puzzle Lens" . resident evil 4 codex
So the next time you boot up the Village section and hear that chainsaw rev, remember: your shotgun might save you from the mob, but only the Codex will get you into the castle. Look at the glass, rotate the dials, and