Mirror or Unmirror Any Track

This tutorial assumes you already know how to access and use modded versions of the LEGO Racers game files and have downloaded Will Kirkby‘s LR1 Binary File Editor (latest version).

As the title suggests, it is possible to mirror or unmirror any of the game’s existing tracks, even the Test track. Here’s how to do that. Note: All line numbers refer are based on a clean, unmodded file.

  • Load the Binary File Editor and open MENUDATA\LEGORACE.RCB
  • Press Ctrl + F and search for the keyword “k_2C” (be sure to remove the quotes!). You should end up at line 223. This is the first instance of a mirrored track (Imperial Grand Prix), as shown in the following structure.
    "igp2"
    {
      k_2B    // Name Index (/MENUDATA//CIRCUIT.SRF)
      5
      k_29    // Folder (/GAMEDATA//)
      "racec0r1"
      k_2A    // Circuit ID
      "c3"
      k_28    // Position in circuit
      3
      k_2C    // Mirrored
      k_2D    // Theme string
      "pirate1"
      k_2E    // Mascot character
      "GB"
    }
  • As can been seen from the comments the tool adds, the keyword k_2C controls whether or not a track should be mirrored. Since mirroring occurs dynamically (as previously discovered), we can add or remove this keyword to any track (even the Test track). This permits mods such as switching up the order mirrored tracks occur, instead of a racing all six normally then all six again in mirrored mode (just as in a clean, unmodded installation).
  • For this tutorial, we are going to set the Test track to be mirrored and remove the mirroring on the second instance of Imperial Grand Prix (IGP). Because we are already looking at the mirrored IGP structure, we will start here.
  • Select line 223 in its entirety (including the comment) and either cut or delete it. The structure should look as follows.
    "igp2"
    {
      k_2B    // Name Index (/MENUDATA//CIRCUIT.SRF)
      5
      k_29    // Folder (/GAMEDATA//)
      "racec0r1"
      k_2A    // Circuit ID
      "c3"
      k_28    // Position in circuit
      3
      k_2D    // Theme string
      "pirate1"
      k_2E    // Mascot character
      "GB"
    }
  • Skip down to line 446. Here, you will find the Test track structure.
    k_27    // Track
    "test"
    {
        k_2B    // Name Index (/MENUDATA//CIRCUIT.SRF)
        16
        k_29    // Folder (/GAMEDATA//)
        "test"
    }

    With your cursor at the end of line 446 (“test”), press the Enter or Return key and type k_2C. Do not surround this in quotation marks! Type it exactly as shown. The structure should now look as so (comment added for clarity).

    k_27    // Track
    "test"
    {
        k_2B    // Name Index (/MENUDATA//CIRCUIT.SRF)
        16
        k_29    // Folder (/GAMEDATA//)
        "test"
        k_2C    // Mirrored
    }
  • Save the file and load LEGO Racers. If your edits went well, the Test track should now be mirrored and the normally mirrored version of Imperial Grand Prix should no longer be mirrored! 😀

Demonstration video coming soon!

Advertisements

Triangular Reactions

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s