Skip to content

An Open-Source port of the 1999 Game "Star Wars: Episode 1 Racer"

License

Notifications You must be signed in to change notification settings

vabshere/openswe1r

 
 

Repository files navigation

Gitter chat Travis build Status AppVeyor Build status


OpenSWE1R

An Open-Source port of the 1999 Game "Star Wars: Episode 1 Racer"

Screenshot of OpenSWE1R running on Linux

Details

This project is a mix of console emulation and something like WINE. It implements the subset of Windows functions used by the game. OpenSWE1R 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, ...

Goals

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.

Requirements

System

  • OpenGL 3.3 Core

Toolchain

Libraries

Building

From your desired project folder, run:

git clone https://github.com/OpenSWE1R/openswe1r.git
cd openswe1r
mkdir build
cd build
cmake ..
make

Running

The openswe1r binary contained in the build directory is a drop-in replacement for swep1rcr.exe. Copy it to your game folder and run it.

Development

Development happens on GitHub at https://github.com/OpenSWE1R/openswe1r 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.

About

An Open-Source port of the 1999 Game "Star Wars: Episode 1 Racer"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 84.9%
  • C++ 7.1%
  • Objective-C 3.8%
  • CMake 3.4%
  • Other 0.8%