Skip to content

ttdecomp/saga

Repository files navigation

Progress Discord

Target (Android x86) Host
Linux Linux target Linux host
Windows (MSYS2) Windows target Windows host

saga

This repository contains decompiled source code for the game LEGO Star Wars: The Complete Saga, based on the Android x86 build of the game.

This build was chosen due to the presence of mangled symbol names, minimal function inlining, and the ready availability of a matching compiler. Core systems and game logic are believed to be identical.

Disclaimer

This project is for educational and research purposes only. The decompiled code is provided "as is" without any warranties. The original game is the intellectual property of its respective owners. This repository does not contain any game assets, media, original source code, or any other copyrighted material.

Build Instructions

The project uses CMake as its build system. There are two main build targets:

The Android x86 build, which uses the NDK toolchain and targets the original Android platform. This build is used for matching the code, its output can not be run.

A host build, which uses the hosts native gcc and targets i686 Linux. This build is used for testing and development, its output can be run on the host.

Android x86 build

# configure
cmake -B build
# build
cmake --build build

Host build

cmake -B build-host -DBUILD_FOR_HOST=ON
cmake --build build-host

# executable
./build-host/saga

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

However, please note that any contributions which include original game assets or source code will be rejected and expunged for the sake of the project.

See CONTRIBUTING.md for more details.

Documentation

Documentation and explanations for various systems and components will be added over time. Contributions to the documentation are highly appreciated.

See the docs/ directory.

References

About

LEGO Star Wars: The Complete Saga decompilation

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors