Jump to content

Mirror or Unmirror Any Track


le717
 Share

Recommended Posts

This tutorial assumes you already know how to >access and use modded versions of the LEGO Racers game files and have downloaded WillKirkby's >LR1 Binary File Editor.

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 MENUDATALEGORACE.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/<lang>/CIRCUIT.SRF)
      5
      k_29    // Folder (/GAMEDATA/<this>/)
      "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/<lang>/CIRCUIT.SRF)
      5
      k_29    // Folder (/GAMEDATA/<this>/)
      "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/<lang>/CIRCUIT.SRF)
        16
        k_29    // Folder (/GAMEDATA/<this>/)
        "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/<lang>/CIRCUIT.SRF)
        16
        k_29    // Folder (/GAMEDATA/<this>/)
        "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! :D

Demonstration video coming soon!

  • Like 5
Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.