<imgsrc="https://raw.githubusercontent.com/itsmattkc/LEGOIslandRebuilder/mfc/res/mama.ico"alt="LEGO Island Rebuilder"width="35"align="top">
<b>LEGO Island Rebuilder</b>
<br>
</h1>
<h4align="center">A launcher and modification/patching tool for the 1997 video game <ahref="https://en.wikipedia.org/wiki/Lego_Island"target="_blank"><i>LEGO Island</i></a></h4>
<h4align="center"><i>Supports Windows 95 - Windows 11 (Linux and macOS through <ahref="https://www.winehq.org/"target="_blank">Wine</a>)</i></h4>
## Info
LEGO Island Rebuilder is a launcher and modification tool for Mindscape's 1997 video game LEGO Island. It is the product of in-depth research done on the game; the bulk of which is documented on the [LEGO Island Wiki](https://www.legoisland.org/).
It includes fixes to numerous bugs in the original game and multiple quality of life patches while making no permanent changes to the game installation. Additionally, Rebuilder acts as a full replacement for the original configuration tool.
Rebuilder currently supports [all known versions of LEGO Island](https://www.legoisland.org/wiki/index.php/LEGO_Island_Versions).
## Download
The latest binaries are available on the [releases page](https://github.com/itsmattkc/LEGOIslandRebuilder/releases/tag/continuous).
## Building
Rebuilder utilizes the [CMake](https://cmake.org/download/) build system. Ensure that it is installed before proceeding with the compilation.
Compilation is currently broken with build systems other than [Ninja](https://ninja-build.org/), so it must be installed until this is addressed.
In order to retain compatibility with Windows 95, Rebuilder is compiled using MSVC 6.0.* For convenience and compatibility, a portable version of MSVC 6.0 is available [here](https://github.com/itsmattkc/MSVC600). Its command line can be accessed by running `VC98/bin/VCVARS32.BAT` from any normal command prompt.
<sub>*While using a modern compiler for building is possible, there are no guarantees that Rebuilder will continue to function on older operating systems.</sub>
## Usage
By default, Rebuilder opens a graphical interface which can be used to set the patch configuration and to launch the game. However, command line arguments are also supported:
*`-r/--run`: Runs LEGO Island with the currently saved configuration, bypassing Rebuilder's interface entirely.
*`-h/--help`: Shows a help screen with usage details.
Rebuilder works on non-Windows platforms using Wine.
It is important to note that mfc42 must be installed before using Wine with Rebuilder. This can be done using `winetricks mfc42`.
After the installation is complete, simply run Rebuilder with Wine using `wine Rebuilder.exe`.
## Contributing
Contributions like code changes, documentation, or findings and research about the game are welcome. The best way of contributing code to Rebuilder is to open a [pull request](https://github.com/itsmattkc/LEGOIslandRebuilder/pulls).