Skip to content

Releases: trigger-segfault/OpenLRR

v0.0.0.7 - Hotfix 1

28 Sep 22:58
Compare
Choose a tag to compare

OpenLRR-specific Fixes:

  • Fixed crash when teleporting up units while using higher Topdown LOD.

Optimisations, cursor clipping, mod support, and more!

28 Sep 04:56
Compare
Choose a tag to compare

See First Release for basic information on getting started with OpenLRR. Note that it's no longer required to set compatibility mode for OpenLRR.exe.

Please check out dgVoodoo v2.79.3 for a fix to the graphics freeze bug.


New Features:

  • Cursor Clipping: The mouse cursor can be restricted to the game window area or game window + menu area. Press ALT while cursor clipping is active to temporarily disable clipping. Option can be changed on startup with the command line option: -clipcursor [=on|menu|off]. There is also an in-game option under: Options > Cursor Clipping.
  • Added shortcut to follow the primary selected unit in top-down view.
  • Added shortcut to speed up First-Person / Topdown FP unit movement (while held).
  • Added shortcut to toggle laser tracker mode without having to click on the unit.
  • Added Super Tool Store cheat: When enabled, the Tool Store will act as an all-land teleporter, generate power, and train any ability.
  • Added graphics option to change the top-down LOD of Mini-Figures and Vehicles under: Options > Graphics > Topdown LOD.
  • Improved Lego.cfg error reporting that will list the line number and file of the offending property.
  • Added graphics option to use solid multi-selection box lines. This will improve performance when the drag selection box is drawing. The option can be found under: Options > Graphics > Transparent Multi-Select.
  • Added option to hide tooltips, under: Options > Show Tooltips.

Changes:

  • Topdown fog is now slightly clearer, and leaves more room between the camera and the ground before the fog starts.
  • Reduced useless warnings that usually spammed the console. It's now safe to have warnings enabled by default.

New Command Line Options:

Click for list of new command line options
Command Description
-clipcursor [=on|menu|off] Changes the startup cursor clipping mode.

New Shortcuts:

Click for list of new shortcuts
Name Shortcut Usage
Laser Tracker Mode L Normal
Follow Unit LShift+4 Normal
Faster Unit RShift Debug Cheat

OpenLRR-specific Fixes:

  • Improved flexibility of config loading, many mods that were failing to load before (like Baz's Mod) will now load and run correctly.
  • Fixed crash when teleporting up units with laser tracker weapons.
  • Fixed crash with vehicles related to wheels.
  • Fixed WallDestroyTime weapon stats failing to load.

Vanilla Fixes:

  • Interface menu icon tooltips are now right-aligned, as was intended.
  • Vector graphics drawing has been optimised again. Very few cases will actually tank your FPS. Most uses are now cached so that the game will only lag for the first frame that something is needed. Other uses have switched to rendering on a smaller surface so that it doesn't take as long to lock/unlock the pixel buffer. Other uses still have switched to using drawfill rather than pixel manipulation.

Removed Limits:

  • Power path network block limit of 100 has been removed. You can now build bases as large as your heart desires without the power grid getting funky.

OpenLRR_v0 0 0 7_Preview

Bonus
OpenLRR_DrivingWithFollowUnit.mp4

Increase 3D and Radar Map resolution when scaling

24 Sep 20:20
Compare
Choose a tag to compare

See First Release for basic information on getting started with OpenLRR. Note that it's no longer required to set compatibility mode for OpenLRR.exe.


New Features:

  • Higher scaling resolution support (windowed only): Using the -scale command will now increase the resolution that the 3D world displays at while maintaining nearest neighbour scaling for the interface.
  • Improved vector graphics drawing: The game should no longer slow down to a crawl when displaying object info UIs or showing the radar map, but there still will be a small amount of lag.
  • Increased allowed range of radar map zooming: You can now zoom in closer, and zoom out farther.
  • Debug options to disable 2D drawing modules: Disable 2D vector graphics, font rendering, and or image rendering.

New Command Line Options:

Click for list of new command line options
Command Description
-scale <number> Changes the startup window scale and increases display resolution of 3D graphics and radar map.
-nnscale <number> Changes the startup window scale (which can also be changed in Options), originally the -scale command.
-radarscale <number> Changes scale at which radar map pixels are drawn. By default this is half of -scale rounded-up. Increasing this value will lower radar map resolution, but increase line thickness.

OpenLRR-specific Fixes:

  • Window startup positioning now takes taskbar into account to avoid overlapping.

Vanilla Fixes:

  • Some minor cleanup on memory leaks with Containers: Units will no longer cause reference Container leaks every time their activity changes.

OpenLRR_v0 0 0 6_Preview

True color support and command line options

16 Sep 18:23
Compare
Choose a tag to compare

See First Release for basic information on getting started with OpenLRR. Note that it's no longer required to set compatibility mode for OpenLRR.exe.


New Features:

  • True color support: The game can now run in 32-bit colour mode!! For the most part, visuals are still the same, but some colours may look slightly more vibrant. To enable this, you must disable compatibility mode for OpenLRR.exe.
  • Building placement arrow: A triangle arrow shows the rotation of a building when placing it. This is useful for placing Mining Lasers and Geological Centers, as it's hard to tell their rotation normally.
  • Routing paths: Under debug options, you can now view routing paths for units, to see where they're going and how they plan to go there.
  • Added debug overlay to show the first pool of water in a level (water as in the unfinished feature, not lakes).

New Cheats:

  • Survey an entire level and show it all in the radar.
  • Disable construction barrier requirements.
  • Disable build costs requirements.
  • Disable place-next-to-path requirements.
  • Enable building on steep slopes.
  • Disable oxygen consumption.
  • Disable power consumption.

New Command Line Options:

Click for list of new command line options
Command Description
-pos <X>,<Y> Change the startup position of the game window.
-res <W>x<H> Change the default startup resolution of the game (not entirely supported by the engine).
-bpp <depth> Change the default startup bit depth of the game (Only functional in fullscreen mode).
-scale <number> Changes the startup window scale (which can also be changed in Options).
-log / -nolog Enable or disable the console window.
-menu / -nomenu Enable or disable the system menu bar on startup.
-datadir <directory> Change the folder where loose Data files are searched for. This replaces the "Data" folder name.
-waddir Change the folder where WAD files are searched for.
-datafirst / -wadfirst Change which files have priority for loading.
-noCD / -useCD Disable or enable loading files from CD.
-nowad / -usewad Disable or enable loading files from Wads.
-cfgfirst Lego.cfg will be looked for in Data directory before WAD files (not needed if using -datafirst).
-cfgfile <filename> Change the name of the Lego.cfg file to use.
-cfgadd <filename> Append additional config files to Lego.cfg with properties you want to override.
-name <name> A shorthand for using both the -wadname and -gamename options seen below.
-wadname <name> Changes the name used to look for WAD files with.
-gamename <name> Changes the root property name used in Lego.cfg lookup. Name should ALWAYS start with "Lego".
-nointro Disable intro videos/splashes entirely.
-novideo Disable level intro videos.
-noskip Disable OpenLRR "skip-all" capabilities for videos and splashes.
-noinstance Allow running multiple instances of OpenLRR.
-loglevels [[no]debug,][[no]trace,][[no]info,][[no]warn,][[no]fatal] Change which log levels are printed to the console.
-noclgen Disable loading StandardParameters set by CLGen.exe.
-cl <presetname> Load a CLGen.dat command line preset by name.
clgen Special first argument to run CLGen instead of OpenLRR (kinda pointless).
Click for list of changed command line options
Command Description
-flags <decimal|0xhex> Flags argument now allows specifying hex numbers.

OpenLRR-specific Fixes:

  • Fixed building rotation again so that the ToolStore in Driller Night! won't spawn 90° clockwise of where it should.
  • Fixed ListSets throwing an error when reaching half-capacity instead of full capacity. This was most noticeable with reaching 2048 AITasks.
  • Disabling free camera movement now clamps your camera position back into a valid range. You're camera is no longer locked when stuck in a position out of range.

Vanilla Fixes:

  • Spamming the music on/off toggle will no longer crash when using the Music Fix dll.
  • Music is properly stopped when using the debug key to instantly win the level.
  • SFX volume can now be changed independent of Music volume, however Music volume will still affect the global volume of the program, just not vice-versa.
  • Flic animations now render at a proper framerate, instead of incredibly fast on modern computers.
  • ObjectStats are no longer overwritten by certain NERPs functions and vanilla debug cheats.
  • Fixed starfield credits animation showing an assortment of RGB colours instead of white.
  • Fixed main menu overlay animations playing too frequently (now back to an average of once every 16 seconds).
  • NERPs Camera rotation and zoom functions now properly scale with framerate. This can be seen in the Moving Rock Raiders tutorial.

Known Bugs:

  • OpenLRR will not start in true color mode when launching into fullscreen while using the -best command line option, it must be selected manually from the mode selection dialog.

OpenLRR_v0 0 0 5_Preview

Configurable keyboard shortcuts and cheats

26 Aug 03:02
Compare
Choose a tag to compare

See First Release for basic information on getting started with OpenLRR.


New Features:

  • Added all remaining vanilla LRR icons to OpenLRR, each can be selected from the Options menu.
  • Add Options > Logging: Individually configure which log levels are output to the console. Disabling Warning will speed up load times significantly.
  • Implement #16 (partial): All in-game (non-front end) keybinds are now configurable via Settings/Shortcuts.cfg. The format for implementing these is kind of archaic, but it'll make do until better formats are introduced into OpenLRR.
  • Emerge debug key can now also emerge slugs from Slimy Slug holes.
Click for list of new shortcuts

Warning: Abusing the Select Resources/Equipment Modifier can have unexpected consequences and even crash the game. Generally this happens when trying to move crystals/ore with FP controls.

Note: Selection modifiers require both Allow Edit Mode and Allow Debug Keys to be on.

Note: Cheat shortcuts require Allow Debug Keys to be on.

Name Shortcut Usage
Reload Keybinds Ctrl+Shift+K Normal
Select Monsters/Spiderwebs Modifier T Edit Mode
Select Resources/Equipment Modifier R Edit Mode
Place Path V Edit Mode
Place Crystal C Edit Mode
Place Ore O Edit Mode
Increase Crystals RShift+C Debug Cheat
Increase Ore RShift+O Debug Cheat
Max Out Selected Units RShift+M Debug Cheat
Heal Selected Units LShift+F Debug Cheat
Destroy Selected Units Delete Debug
Increase Oxygen RCtrl+O Debug
Default Game Speed Num 4 Normal
Min Game Speed Num 5 Normal
Freeze Game Speed Num 6 Debug
Toggle Power On Home Edit Mode
Freeze Unit I Debug Cheat
Spawn Ticking Dynamite [ Debug Cheat
Spawn Exploding Dynamite RShift+[ Debug Cheat
Spawn Ticking Sonic Blaster ] Debug Cheat
Spawn Set-off Sonic Blaster RShift+] Debug Cheat
Kamizake Selected Units RShift+Delete Debug Cheat
Click for list of changed keybinds

Keybinds with * in their Usage column had their usage changed.

Name Shortcut Usage
Switch Radar Mode Tab Normal*
Toggle Music M Normal*
Toggle Sound S Normal*
Max Game Speed Num 7 Normal*
Decrease Game Speed Num 8 Normal*
Increase Game Speed Num 9 Normal*
Place Electric Fence J Edit Mode*
Place Spider Web H Edit Mode*
Toggle Free Camera Movement Num 0 Edit Mode or
Debug*
Trip Unit LCtrl+A Debug
Command Place Sonic Blaster LShift+A Debug
Decrease Oxygen LCtrl+O Debug
Crystal Found Info Message LShift+Y Debug
Instantly Win Level LCtrl+LShift+L Debug
Lose Level LCtrl+LShift+D Debug
Win Level LCtrl+LShift+S Debug
Lose Level / Crystals Stolen RCtrl+RShift+S Debug
Command to Eat LShift+Z Debug
Shake Screen RShift+Z Debug
Toggle Self Powered* End Debug

OpenLRR-specific Fixes:

  • Fix #42: Queued SFX that play on level startup are properly cleaned before going to another level.
  • Fix #48: Object counts are properly tracked again, tutorial levels relying on this won't break anymore.
  • Debug keys 1 through 4 to change view and track objects are now disabled when debug keys are turned off.

Vanilla Fixes:

  • Fix #45: CryDrain bug. Using laser beam no longer drains every single crystal.

New Bugs:

  • Some building rotations will start off wrong when exposed in the level. Most notably, the ToolStore in Driller Night! is facing East.

OpenLRR_v0 0 0 4_Preview

Bonus
OpenKamikaze.mp4

Multiple sound trigger and erosion debug tooltip fix

13 Aug 22:37
Compare
Choose a tag to compare

See First Release for basic information on getting started with OpenLRR.


OpenLRR-specific Fixes:

  • Fix #40: Debug tooltips no longer crash with Very Fast erosion speeds.

Vanilla Fixes:

  • Fix #41: Scene sound triggers no longer play twice (which became more noticeable after fixing random sound cues).

Random sound cue fix

11 Aug 21:55
Compare
Choose a tag to compare
Random sound cue fix Pre-release
Pre-release

See First Release for basic information on getting started with OpenLRR.


OpenLRR-specific Fixes:

  • Fix #37: Sound cue groups now randomly play any sound from the group again. Previously only the first sound in the group would ever play - the exact opposite of vanilla's problem!

Introduced Bugs:

  • Fixing the sound cue issue introduced a new bug where sometimes multiple sounds in a group may play at once (rather than just one playing). This can be noticed with the Rock Raiders slip SFX where both slip sounds seem to overlap.

First Release

19 Feb 04:20
Compare
Choose a tag to compare

Running requires, placing OpenLRR.exe and openlrr.dll in a working LRR install folder. This includes standard fixes needed to run LRR, such as:

  • D3DRM.dll
  • dgVoodoo/DDrawCompat
  • Musix fix (optional)
  • And applying the standard compatibility properties when using windowed mode:

Windowed compatibility properties:

  • Reduced color mode
    [16-bit (65546) color       v ]

Windowed mode is recommended, as most of the features placed into the system menu are not easily accessible from fullscreen yet. Windowed mode is the default-selected option when the Mode Selection dialog opens.


preview