An enhancement/loader of the 1999 Game "Lego Racers"
It is based on OpenSWE1R and developed with the help of JayFoxRox
The state of the project is not as impressive as it's origins.
The Rest of the README is copied from OpenSWE1R and is only pratially applicable.
The goal of this project is not to replace the whole game with an open source implementation, but provide a plattform independent enviroment to run, enchance and modify the game. Original game binary&data is still needed.
This project is a mix of console emulation and something like WINE. It implements the subset of Windows functions used by the game. OpenLGR also contains x86 CPU emulation. The original games code is replaced by open-source code which is patched into the game at runtime. This is similar to the approach used by OpenRCT2, but more emphasis is put on emulation and platform independence.
Currently, not all functions are implemented in the open-source portion. Therefore, this project also still relies on the original games code. Even if not all code is patched, the game will still work cross-platform due to the API and CPU abstraction.
You will still need the original game for its art assets: levels, sounds, ...
The goal is to eventually replace all of the original code with an open-source equivalent. The code is supposed to be clean, accurate and portable. It's not a goal to fix any bugs or modify the games behaviour. If you want to do such things, they should stay in a fork.
An exception is platform-independence and improvements to the overall code quality. Some compromises are acceptable. Please talk to the maintainers if you have a specific case.
It's possible that support for other versions (Mac / Dreamcast / N64) will be added later. For now, the goal is to support the x86 Windows Version of the game.
System
- OpenGL 3.3 Core
Toolchain
Libraries
From your desired project folder, run:
git clone https://github.com/james-knippes/openlgr.git
cd openlgr
mkdir build
cd build
cmake ..
make
The openlgr
binary contained in the build directory is a drop-in replacement for swep1rcr.exe
.
Copy it to your game folder and run it.
Development happens on GitHub at https://github.com/james-knippes/openlgr You can help by reviewing other peoples Pull-Requests or sending your own after forking.
© 2017 OpenSWE1R Maintainers
Licensed under GPL version 2 or later.