Go to file
Cookie f06731784e
Android port (#656)
* initial files

* get building

* proper paths & default to virtual mouse

* Wrap gradle under cmake & build SDL3.aar

run cmake with  -DANDROID_NDK_PATH=/path/to/ndk to generate the .aar & run the gradle build

if using Android Studio you will have to run the aar script manually(or do the cmake cmd) then put the normal cmake args inside '-PcmakeArgs="-DCMAKE_BUILD_TYPE=Release ...."'  at `Settings > Build, Execution, Deployment > Gradle-Android Compiler > Command-line Options`
Check CMakeLists.txt Android build block for more info

* workflow and format

* dont cmake -> gradle -> cmake

* icons

* prevent first start crash due to missing isle.ini

dont force require gles3 (vulkan & software are options)

* cleanup

* cmake script & ci cleanup

use a cmake script to downoad SDL3 sources for aar building

* script cleanups & gradle stub for android studio

handle the env var setting for the sdl3 aar build script

* signing

needed repository secrets:
- keystore  :  key.jks in base64
- keystorePassword  :  Key store password
- keyAlias  :  Key alias, ex key0
- keyPassword  :  Key Password

* conditionally run action without keys

* compile SDL once & cross-platformize gradle tasks

* suggestions

* use find_package over manual configuration

* use MxString

---------

Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-08-15 15:12:35 +00:00
.github/workflows Android port (#656) 2025-08-15 15:12:35 +00:00
3rdparty Add SI Loader extension (#664) 2025-08-11 00:59:55 +00:00
android-project Android port (#656) 2025-08-15 15:12:35 +00:00
assets Add SI Loader extension (#664) 2025-08-11 00:59:55 +00:00
CMake Consolidate into a single CMake folder (#469) 2025-07-02 00:46:57 +02:00
CONFIG Fix debug, improve isle-config (#672) 2025-08-13 14:29:07 +00:00
docker/emscripten Pin Emscripten version in Dockerfile 2025-07-14 11:44:42 -07:00
extensions Add widescreen.si to web port (#666) 2025-08-11 04:41:42 +02:00
ISLE Android port (#656) 2025-08-15 15:12:35 +00:00
LEGO1 Add widescreen.si to web port (#666) 2025-08-11 04:41:42 +02:00
miniwin Android port (#656) 2025-08-15 15:12:35 +00:00
packaging Fix iOS port build (#677) 2025-08-15 14:51:26 +00:00
tools Add SI Loader extension (#664) 2025-08-11 00:59:55 +00:00
util Emscripten port (#229) 2025-06-13 00:26:43 +02:00
.clang-format User clang-format InsertBraces instead of clang-tidy (#1059) 2024-07-04 23:35:49 +02:00
.clang-tidy Add clang-tidy readability-redundant-inline-specifier (#1060) 2024-07-05 01:06:32 +02:00
.editorconfig Flatpak Build Support (#407) 2025-06-29 19:04:08 +00:00
.gitattributes Flatpak Build Support (#407) 2025-06-29 19:04:08 +00:00
.gitignore Android port (#656) 2025-08-15 15:12:35 +00:00
.gitmodules Add SI Loader extension (#664) 2025-08-11 00:59:55 +00:00
.pylintrc Bump Python to 3.12 (#625) 2025-07-18 21:51:11 +00:00
CMakeLists.txt Android port (#656) 2025-08-15 15:12:35 +00:00
CONTRIBUTING.md Add extensions, TextureLoader (#570) 2025-07-10 00:24:59 -07:00
LICENSE Create LICENSE (#1497) 2025-06-24 18:00:23 +02:00
pyproject.toml Python Linting and Code Formatting (#298) 2023-11-25 13:27:42 -05:00
README.md Update README.md [skip ci] 2025-07-10 00:28:35 -07:00
settings.gradle Android port (#656) 2025-08-15 15:12:35 +00:00

LEGO Island, portable

Development Vlog | Contributing | Matrix | Forums | Patreon

This initiative is a portable version of LEGO Island (Version 1.1, English) based on the decompilation project. Our primary goal is to transform the codebase to achieve platform independence, thereby enhancing compatibility across various systems while preserving the original game's experience as faithfully as possible.

Please note: this project is primarily dedicated to achieving platform independence without altering the core gameplay or rewriting code for improvement's sake. While those are worthwhile objectives, they are not within the scope of this project. isle-portable offers support for light modding using extensions.

Status

Platform Status
Windows CI
Linux CI
macOS CI
Web CI
Nintendo 3DS CI
Xbox One CI
iOS CI

We are actively working to support more platforms. If you have experience with a particular platform, we encourage you to contribute to isle-portable. You can find a list of ongoing efforts in our Wiki.

Usage

An existing copy of LEGO Island is required to use this project.

As it stands, builds provided in the Releases tab are mainly for developers; as such, they may not work properly for all end-users. Work is currently ongoing to create workable release builds ready for gameplay and general use by end-users. If you are technically inclined, you may find it easiest to compile the project yourself to get it running at this current point in time.

Installation instructions for some ports can be found in our Wiki.

Library substitutions

To achieve our goal of platform independence, we need to replace any Windows-only libraries with platform-independent alternatives. This ensures that our codebase remains versatile and compatible across various systems. The following table serves as an overview of major libraries / subsystems and their chosen replacements. For any significant changes or additions, it's recommended to discuss them with the team on the Matrix chat first to ensure consistency and alignment with our project's objectives.

Library/subsystem Substitution Status
Window, Events SDL3 Remarks
Windows Registry (Configuration) libiniparser Remarks
Filesystem SDL3 Remarks
Threads, Mutexes (Synchronization) SDL3 Remarks
Keyboard/Mouse, DirectInput (Input) SDL3 Remarks
Joystick/Gamepad, DirectInput (Input) SDL3 Remarks
WinMM, DirectSound (Audio) SDL3, miniaudio Remarks
DirectDraw (2D video) SDL3 Remarks
Smacker libsmacker Remarks
Direct3D (3D video) SDL3 (Vulkan, Metal, D3D12), D3D9, OpenGL, OpenGL ES, Software Remarks
Direct3D Retained Mode Custom re-implementation Remarks
SmartHeap Default memory allocator - -

Building

This project uses the CMake build system, which allows for a high degree of versatility regarding compilers and development environments. Please refer to the GitHub action for guidance.

Contributing

If you're interested in helping or contributing to this project, check out the CONTRIBUTING page.