Skip to content

Running OpenLRR

Robert Jordan edited this page Dec 17, 2021 · 1 revision

Running OpenLRR

Setup is nearly identical to getting a standard copy of LRR to run. So if you already have a working copy, then you're almost done. If not, then start with Running LEGO Rock Raiders before continuing.

This guide assumes you will be running OpenLRR in the <project>/bin/ folder, but it's not a requirement.

Requirements

  1. See Files Checklist for the list of common files that need to be placed in <project>/bin/.
  2. Copy OpenLRR.exe and OpenLRR-d.exe from the project root folder into <project>/bin/.
  3. Build openlrr.dll and/or openlrr-d.dll using instructions in the following section.

Building

  1. Open up OpenLRR.sln in VS 2019.
  2. Change the configuration to x86, and Debug or Release.
  3. Build the project openlrr, which should automatically output openlrr.dll (or openlrr-d.dll for Debug configuration) to the <project>/bin folder.

Running

Preparing the executable

For Windows 7 or below, see this Guide instead, as preparation is a bit more involved.

  1. Right click Properties on OpenLRR.exe in the <project>/bin/ folder.
  2. Go to the Compatibility tab.
  3. Under Settings, check Reduced color mode.
  4. Select 16-bit color from the dropdown below the checkbox.
  5. Repeat these steps for OpenLRR-d.exe.

Running from executable

Launch OpenLRR.exe or OpenLRR-d.exe from the <project>/bin/ folder.

Running in VS debugger

  1. Right click Properties for the openlrr project in VS 2019.
  2. In the Debugging tab, change the following settings:
    1. Command: $(TargetDir)OpenLRR.exe (or $(TargetDir)OpenLRR-d.exe for Debug configurations)
    2. (Optional) Command Arguments: (fill out with whatever arguments you need)
    3. Working Directory: $(TargetDir)
    4. Debugger Type: Native Only
  3. Save and close the properties, then press Start Debugging or F5.
Clone this wiki locally