
The second approach – reverse engineering – involves working backwards from a finished game to understand how it was created.
One way of doing this is decompilation, which attempts to turn the game's final version into something closer to its original source code.
Brown compares the process to "taking a cake and somehow turning it back into the original recipe, with the exact quantities of flour, eggs, and milk used, so anyone can remake the same cake".
Reverse-engineering projects have helped bring games such as Halo: Combat Evolved and Grand Theft Auto: Vice City to web browsers.
A related technique, recompilation, can help adapt a game that has been reverse-engineered to run on different hardware. This is one of the methods being explored in efforts to get GTA 6 onto PC.
Coders wanting to attempt this with Rockstar's latest game face a difficult task because of its sheer size and complexity.
Earlier in November, Cyberleek – a hacker or group of hackers – released what they claimed to be a near-complete Xbox development build of the game. They later leaked what they claimed to be the missing .exe file needed to launch the game.
It gave those working on an unofficial PC version a crucial new starting point.
"Now people are using AI to try and decompile it, make a modified version that could run on PC, and compile a new version," said Brown.