You are viewing a potentially older version of this package. View all versions.
LethalCompanyModding-LCUltrawide_Community-1.4.0 icon

LCUltrawide Community

Ultrawide monitor support for the game Lethal Company

Date uploaded 5 days ago
Version 1.4.0
Download link LethalCompanyModding-LCUltrawide_Community-1.4.0.zip
Downloads 2223
Dependency string LethalCompanyModding-LCUltrawide_Community-1.4.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

LCUltrawide

Lethal Company is locked to 16:9 aspect ratio by default and will add black bars on the sides of ultrawide monitors.
This mod makes some changes to the games rendering and UI to enable support for any custom resolution and aspect ratio.

Maintainers

Original Author: Stefan750

Current Maintainer(s): darmuh, You?

This mod has been adopted by the Lethal Company Modding community repo and may be maintained by any willing community member with a github account.

Features

  • Automatically detects monitor aspect ratio and scales the game to fill the entire screen (works even in window mode!)
  • Pixelation Resolution sliders are provided as replacements for the Pixelation Resolution setting.
  • Allows changing of HUD scale and aspect ratio
  • Fixes the inventory slots being slightly misaligned on some monitors
  • Fixes the UI being slightly too large on wider monitors
  • More robust code for the Scanner HUD to ensure correct position of markers

Installation

  1. Make sure you have BepInEx installed for the game
  2. Download the latest version of the mod from Thunderstore or GitHub releases
  3. Navigate to the games install folder (you can right click the game in your Steam library, select "Manage" and then "Browse Local Files" to easily find it)
  4. Copy the BepInEx folder from the downloaded .zip into your game folder making sure the contents end up in the already existing folders

Usage

Ultrawide Resolution

By default the mod will take the original game resolution and automatically scale it to fit your monitor.

Optional Configurations

You can customize this mod's settings in it's config file, BepInEx/config/LCUltrawide.cfg

  • Pixleation Resolution: This mod replaces the base-game Pixelation Resolution in-game setting with it's own modded settings.
    • The base-game setting (dropdown) is replaced with two new sliders.
    • The modded settings allow you to completely remove all pixelation and also scale with your monitor resolution.
    • All the way to the left is 0 pixelation, all the way to the right is maximum pixelation.
    • Game Pixelation Slider: Changes the player camera's pixelation amount when not in the menus.
    • Terminal Pixelation Slider: Changes the player camera's pixelation amount when interacting with the terminal.
    • The settings are set & saved using the game's save system and are persistent between modded profiles so long as the mod is installed.
    • Furthermore, these modded settings do not contaminate the existing vanilla pixel resolution setting value in your game settings.
      • Disabling/Enabling the mod will not cause any issues.
    • The default values for these settings are meant to match the vanilla values for a 1080p monitor.
  • [UI] Scale: Use this configuration item to modify the scale of UI elements on the screen.
  • [UI] Aspect Ratio: Use this configuration item to set the aspect ratio for the in-game HUD.
    • A higher number makes the HUD wider.
    • (0 = auto, 1.33 = 4:3, 1.77 = 16:9, 2.33 = 21:9, 3.55 = 32:9)

Compatibility

Supports configuration in-game via Lethal Config when it is present.

CHANGELOG

LCUltrawide Changelog

v1.4.0

  • Removed Resolution Modifier config options.
    • Setting these to values larger than 1 did nothing but hamper performance. Any perceived upscaling was in fact placebo.
  • Replaced vanilla in-game pixelation setting with new slider settings for both game pixelation and terminal screen pixelation.
    • These sliders essentially replace the resolution modifier configs but correctly scale only up to 1.
    • Using our modded settings, pixelation in-game is now scaled based on your monitor resolution.
    • The default values for these settings are meant to match vanilla from a 1080p monitor.
      • If you have a higher or lower resolution monitor these defaults will likely look different than what you see in vanilla.
    • The settings are saved using the game's save system and are persistent between modded profiles so long as the mod is installed.
    • Furthermore, these modded settings do not contaminate the existing vanilla pixel resolution setting value in your game settings. Disabling/Enabling the mod will not cause you any issues.
  • The above changes resulted in removing 1 patch and adding 6 to support our modded in-game settings.

v1.3.1

  • Raised maximum values for render resolution modifiers and added warning to configuration description.
    • Note that I (with a 4070ti) would never raise the rendering resolution to a value higher than 1.75.
    • If you have a more powerful gpu, feel free to test it's limits (with caution)
  • Fixed some typos in last readme/changelog updates
  • Updated readme to explain the configuration items in more detail

v1.3.0 (v81 update)

  • Updated for v81
    • Ignoring the new Pixelation setting since it has the ability to override this mod's changes.
  • Removed the deprecated width config option as well as the config height option.
  • Added new Resolution Modifier config options to replace the removed config options and in-game Pixelation setting
  • Tidied up references to use less GameObject.Find in favor of existing cached references and performing transform crawls from them.
  • Added several Debugging log messages.
  • Updated readme to remove previous maintainers (per their request). Added myself (darmuh) although I do not plan to be an especially active maintainer.
  • Updated readme with new information regarding configuration options

v1.2.2

  • Adds support for Lethal Config

v1.2.1

  • Completely ignore the width config option now rather than just warn

v1.2.0

  • Deprecated the width config option
  • Output a message when ignoring a client's width option
  • Updated to the latest game assembly

v1.1.3

  • Added client side tag to thunderstore package
  • Downgraded an error to a warning since the method still completes

v1.1.2

  • Compiled against latest game version
  • Added minor safety checks for null refs

1.1.1

  • Fixed UI elements being too far from screen edge by default
  • Fixed aspect ratio not applying correctly when rejoining games
  • Fixed aspect ratio sometimes updating even if window size has not changed
  • Made helmet slightly less intrusive on wider monitors

1.1.0

  • Auto detect aspect ratio and adjust to window size changes in real time
  • Improved UI scaling consistency across different aspect ratios
  • Helmet visor model is now scaled with aspect ratio
  • Fixed wrong aspect ratio when using the Terminal
  • Moved hooks from PlayerControllerB to HUDManager
  • Numerous other internal changes to support automatic aspect ratio adjustment

1.0.0

  • Support for setting a custom resolution and aspect ratio in config file
  • Support for changing UI scale and aspect ratio