Skip to content
Jannik Vogel edited this page May 21, 2019 · 14 revisions

Here is how to get started with using OpenSWE1R from a fresh game installation.

If you don't own the game, you can download the demo version for free. Follow the instructions for the demo version for more information.

You should have a working installation of OpenSWE1R afterwards.


Table of contents


Option 1: Installing the demo version Demo

  1. Follow the Build Instructions to build OpenSWE1R for your platform.

  2. Download an installer ("racerdemo.exe") for the Windows webdemo version and copy it to your "build/" folder. Its md5sum should be f5c003fa7f7f6b0dc4b10f5e1d89c293.

  3. Find "cabextract" for your platform. It is available on most platforms package manager, but can also be downloaded from its official website.

  4. Run cabextract -L racerdemo.exe to extract the games files.

  5. You don't need "racerdemo.exe" anymore after this step, so it can be deleted.

  6. Run your previously built "openswe1r" binary to start the game.

Option 2: Installing from disc Disc

  1. Follow the Build Instructions to build OpenSWE1R for your platform.

  2. Mount the disc and open it with your file manager. The disc should contain a folder called "gnome/".

  3. Copy all files and folders from the "gnome/" folder to your "build/" folder.

    This step assumes that all filenames are lowercase on your disc. If this is not the case, then you might have to rename all of them to lowercase to make OpenSWE1R work. See issue #43

  4. You don't need the disc anymore, so you can eject it now.

  5. Run your previously built "openswe1r" binary to start the game.

Option 3: Installing from GOG.com GOG.com

This is currently experimental! Please follow issue #142 for the latest compatibility information

  1. Follow the Build Instructions to build OpenSWE1R for your platform.

  2. Buy and download your game files from GOG.com.

  3. Clone our modified innoextract repository and check out the correct branch, then build it:

    git clone https://github.com/immi101/innoextract.git
    cd innoextract
    git checkout gogextract
    mkdir build
    cd build
    cmake ..
    make -j 4
    
  4. Run innoextract to extract your game files:

    ./innoextract -g -L setup_star_warstm_episode_i_-_racertm_1.0_\(20431\).exe -d out
    

    The -d out specifies the subdirectory into which to unpack the files, and is entirely optional.

  5. Change into the game's root directory (e.g. cd out if you used the -d out option above) and run the following commands:

    (for Windows: use copy instead of cp -r)

    cp -r __support/save/* ./
    cp -r app/save/* ./
    
  6. Move the "data/" folder and "swep1rcr.exe" to your to your "build/" folder.

  7. You don't need any other of the GOG.com files anymore, so they can be deleted.

  8. Run your previously built "openswe1r" binary to start the game.