====== Overview ====== **CPA** (//Common Programming Architecture//), also known as **ACP** (//Architecture Commune de Programmation//) is a 3D engine originally developed by Ubisoft for use in Tonic Trouble and Rayman 2. It was later used in many other games and ported to a wide array of game consoles. ==== Development ==== The core engine itself is written in C and was developed mainly by Ubi Pictures (Montpellier) and Ubi Simulations (Annecy), with later enhancements by Ubisoft Montreal in a separate branch. This Montreal branch uses the "OpenSpace" name for the engine. The earliest known mention of this name is found in the December 1999 edition of Micromania Tercera Época ((https://archive.org/details/MicromanaTerceraEpocaSpanishIssue59/page/n81/mode/2up?q=openspace+rayman)). The game editor is written mostly in C++ (MSVC, using MFC as GUI) and was developed by Ubi Simulations and Ubisoft SRL (Bucharest, internally known as //ROMTEAM//). ===== Topics ===== * [[cpa:basics|Engine Basics]] * [[cpa:editor|Editor Overview]] * [[cpa:scripting|Behaviour Scripting]] * [[cpa:formats|File Formats]] * [[cpa:tutorials|Tutorials]] ===== Downloads ===== ==== R4DS Leak ==== In February 2022, a version of the CPA engine used during the development of //Rayman 4 DS// (later Rayman Raving Rabbids DS) was leaked to the internet, including the source code of the engine itself, the editor and many internal tools. This version of the engine is based on the Nintendo DS port of Rayman 2. **Download: [[https://archive.org/details/rayman-4-ds-development-environment/|archive.org]]** ==== CPA Community Edition ==== This version is based on the R4DS leak and includes many bugfixes, patches, quality-of-life features, and a working Rayman 2 player model and AI scripts. **Download: [[https://cpa-editor.neocities.org/|cpa-editor.neocities.org]]** ===== Games ===== The full list of games using the CPA engine can be found on [[https://raymanpc.com/wiki/en/OpenSpace|RayWiki]].