Git Product home page Git Product logo

lanvp's Introduction

V-Patch for L.A. Noire: Complete Edition

This project is not affiliated with Take-Two or Rockstar Games.

V-Patch is a lightweight community-developed patch designed to address common issues in the PC version of L.A. Noire. It also enables users to customize various technical aspects of the game, such as setting a custom field of view (FoV) or disabling the company logos that appear when starting the game.

What does V-Patch do?

Total FPS Uncap (60+ FPS) & Variable Frame rate

The main feature of V-Patch is the ability to completely remove the default 30 FPS limit. Unlike other FPS patches that can only change the limit to 60, V-Patch allows the game to be run completely uncapped by implementing an improved FPS cap removal method, which also doesn't suffer from side effects such as the game simulation running at incorrect speeds.

In addition, V-Patch addresses the following FPS-related bugs:

  • Cars brake at the correct speed regardless of the frame rate (fixes an issue in the case "The Golden Butterfly").
  • The pencil in the case "The Set Up" can now be picked up.
  • Pigeons take off at the correct speed.

Here are videos demonstrating the patch in action:

Unlocked aspect ratios (16:10, 4:3, 5:4, etc.)

By default, L.A. Noire offers only a limited set of resolutions and aspect ratios, with those smaller than 16:9 displaying black bars. V-Patch removes this limitation, allowing users to specify any resolution in the game's menu. V-Patch also removes the black bars and implements UI scaling correction, which ensures the game is fully playable in any resolution.


L.A. Noire running in a 5:4 resolution without black bars and with FOV correction.

Note

In addition, setting any custom resolution using the "-res W H" command-line argument is now possible.

Ultrawide support

V-Patch implements UI size and FoV correction, enabling users to play the game in any ultrawide resolution. Unlike other patches, the FoV correction does not break cutscenes, meaning the intended cinematic experience is preserved.


Comparison of various aspect ratios with FoV correction.

Other features

In addition to these fixes, V-Patch allows you to customize various technical aspects of the game:

  • Borderless window - The patch allows the user to start the game in borderless mode.
  • Skipping company logos - For a faster startup, the user can disable the logos and legal information which shows up after starting the game.
  • Custom FoV - Via an option in the config, the user can set a custom FoV multiplier.
  • Custom FPS limit - If needs be, the patch allows the user to set a custom FPS cap.


FoV Multiplier 2.0

Installation

V-Patch works with any licensed copy of L.A. Noire (both Steam & R* Launcher), including builds 2617, 2663 and 2675 (current version).

Installing the patch is very simple:

  1. Get the latest release from GitHub
  2. Extract the contents of the "L.A.Noire" directory into the root of your L.A. Noire installation (same location as LaNoire.exe).
  3. Done. No other special setup is required.

Important

Do not forget to extract all of the files, including the "plugins" directory. If this step is missed, then V-Patch will not be loaded.

Linux (Proton/Wine) Installation

Use the same steps as above in addition to this guide by Silent.

Configuration

In order to customize the settings of V-Patch, navigate to the game's directory and find the plugins folder. Here you can find a config file by the name of lanvp.ini in which you can enable/disable or change the features mentioned above.

Known issues

  • Car steering is more sensitive than it should be.
  • On very high FPS (100+), the chandelier in the case "The Quarter Moon Murders" can break. If you encounter this issue, temporarily disable the patch or lower your FPS limit to below 100.

Warning

Some cases or activities may still be unbeatable when playing with a high frame rate. If you encounter such an issue, disable the FPS unlock in the config file (lanvp.ini in the plugins directory of your game installation), restart the game, pass the current section, re-enable the FPS unlock in the config and restart the game again.

Compiling

V-Patch is built with C++14 and the latest version of Visual Studio. It utilizes the Windows SDK and does not require any external libraries.

Changelog

v2.0 (August 8th, 2024)

  • Patch rewritten from scratch.
  • Fixed the infamous pencil FPS bug in the case "The Set Up".
  • Reworked the implementation of the FPS patch. UI elements will now fade in/out at the right speed and have the correct mouse sensitivity. Also, the game will now correctly pause if alt-tabbed (unless the -ignorefocus option is specified).
  • Fixed the speed of pigeons when they take off on high FPS.
  • Fixed problems with changing the resolution of the game when the Aspect ratio fix was enabled. Also, black bars will no longer re-appear.
  • Fixed FoV blending problems on ultrawide aspect ratios.
  • Fixed the behaviour of FoV correction in cutscenes on ultrawide monitors.

v1.1b (June 30th, 2022)

  • Added support for new L.A Noire version 2675.
  • Resolved an issue where dinput8.dll couldn't be found on 32-bit systems.
  • More verbose Windows API error messages.

v1.1a (September 11th, 2021)

  • Added option to enforce DirectX 11. Set to true by default if the user has a D3D11 capable GPU.
  • Fixed bug where resolution wouldn't be enforced if the config was not yet generated.

v1.1 (July 4th, 2021)

  • Fixed mouse sensitivity in map menu.
  • Improved GUI scaling for different aspect ratios.
  • Fixed major issues with resolution enforcement.
  • Added option to skip the intro logos when the game is launched.
  • Added ability to set a custom FPS cap.
  • Previously "unsupported" resolutions should now appear in the game settings.
  • Added V-Patch version text into main menu.

Credits

Thanks to ThirteenAG for the Ultimate ASI Loader.

Thanks to the following people for taking the time to help with testing V-Patch:

  • iJuhan
  • PixellSnow
  • Pastelblue
  • Comot
  • GaroK
  • BazookaDad

lanvp's People

Contributors

1reverseengineer avatar vaanacz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lanvp's Issues

Game crashes resulting in CLOCK_WATCHDOG_TIMEOUT BSOD

Hey, love this mod, thank you so much for creating it! Been playing this game for years with crappy fixes and this is easily the best!

My system is stable without any overclocks (and even disabled XMP) and never bluescreens. When I add this mod to the game directory and run it, it usually runs flawlessly for a short while until it hitches and fully stops, while looping the last bit of audio (~0.2s of it) before finally crashing the entire PC with a CLOCK_WATCHDOG_TIMEOUT error.

I'm running a 12700k and a 3080 with up-to-date drivers. This error was occurring both with an old BIOS version and with an updated version.

As I say, my PC is perfectly stable and never crashes in games or anything. It is purely from this mod alone which consistently bluescreens the PC.

I've attempted turning on and off various things in the config (i.e. FOV changing, FPS locks, start logos disabled/enabled) and none of which helped.

Disabling XMP seemed to delay how long it took before the game crashed. With XMP enabled, it would run for maybe 5-10 minutes and then crash. Disabled, it ran for 20-30 minutes. But without fail, it would always crash.

Hope this is helpful. I am not sure where the logs are stored, but I'd be happy to post them if needed (if they're actually available).

Cheers!

Any framerate above 30 breaks car handling.

Like title states, if I leave the framerate unlocked, the cars handle like they are on ice. Very sensitive and can almost do a 180 simply turning without hitting the brakes. Tried locking FPS to 120 and also 60, same issue, and feels the same at both refresh rates. Capping it back to 30 fps grants the correct car handling.

Stuttering with G-Sync

Thanks a lot for your effort making an old game run smoothly!

Sadly it doesn't help in my case. I have an AMD Ryzen 7 3700X with a GeForce RTX 3060 Ti and 32 GB RAM + a 144 Hz Display which is G-Sync compatible.
Except for the forced resolution (because of #1 (comment)) setting everything else is set to default in your config and the ingame settings are all set to maximum including 1080p with 144 FPS.
Do you have any idea why it is stuttering a lot for me or how I could identify the cause?
Thanks in advance.

dx9 on version 2.0?

There's no way to disable and change dx11 to dx9 anymore? I wanna use sgssaa cuz this game's anti alias sucks, and sgssaa only works with dx9 as far as i know.

Mouse coming out of window

I use two monitors and when I activate borderless the mouse leaves the main window when it reaches the edge. Would it be possible to add an option to "lock" the mouse in the window when borderless is activated?

More of a request than an Issue.

I am trying to submit a request on a Job title for truckers, I have seen a lot of tucks around as well as trailers and thought this would be a good idea for a job and that would be a mechanic for the truckers, for when they are broken down or out of gas this mechanic would have a radio connected to the truckers radio that would be able to drive out and repair or refuel. They should also have the ability to clear the trucks out to help the server. Depending on the issue with the truck they would have to pay them or the mechanic can give them a bill in order for them to get paid. So they would be basically DOT but only for the tuckers.

Playing On Controller is not good

everything about the patch works fine, apart from the config file, but it doesn't seem to change anything, and the controller support. when you drive, the camera looks down, when you press down left stick for siren, it pauses the game. keyboard works fine but the controller doesn't

Edit: i managed to solve the problem, by turning on and off my controller, but now the movement is reversed, and it is also happening to the keyboard

GetProcAddress failed

Hi,

I am using Windows 10 64 bit 1607, L.A. Noire 2675, LANVP v1.1b. Getting this message twice before the game launches: one right before the Rockstar Launcher window appears on screen, then once again right before the game window launches.

EDIT: Forgot to mention, using keyboard and mouse.


GetProcAddress failed!

GetdfDIJoystick

OK

[QoL Feature Request] Reduce Cutscene size for Superwide (32:9) resolutions

On a 5120x1440 monitor, the game otherwise runs well with this patch, but the pre-rendered cutscenes are cut off at the top and bottom. Is it possible to add a feature to reduce the size of the cutscene so it shows the full video with black bars on the left and right for Superwide (32:9) resolutions?

Flickering

If you are playing in other languages the item subtitles are flickering.

Can't lock FPS to 60

So in the .ini file if I change the resolution output to 60 FPS it still keeps it unlocked for me. And playing at 144 is pretty bad, as the frame rate changing gives me stutters. Is there a way to lock it to 60 using your fix?

No jingle for collecting all evidence

Hey, first I want to thank you for your hard work. This mod is amazing and in combination with Special K for HDR it's such a joy to play now.

I've noticed that despite collecting all of the evidence the jingle for collecting all the evidence (which also mutes the music if there's still uncovered evidence laying around) doesn't work somehow, this isn't particular game breaking but makes it harder especially if you don't know/remember that.

I tried the first couple of missions and made sure to check if I have everything and it doesn't seem to work.

I'm using the the latest mod version on the Steam version in borderless DX11 mode, fps unlocked, no intro enabled, all ingame settings maxed.

PC;
Windows 10 21H2
Nvidia driver 496.13

R7 3700x
RTX 3080FE
4k 120hz HDR LG tv

Happy holdiays!

force_borderless_window=0 causes high GPU utilization compared to force_borderless_window=1

Using force_borderless_window=0 causes high GPU utilization compared to force_borderless_window=1.

I have a 1080 Ti and usually play games in 1440p60FPS while I use a 4K monitor. For this reason, I wanted to set force_borderless_window=0 to make the window fill the screen. What I found weird was that the GPU utilization skyrocketed to ~80% according to RTSS from ~30% in windowed mode in 1440p60FPS. I can play 4K60FPS with force_borderless_window=1 with ~50% utilization while, setting it to 0 increases the utilization to 60% while forcing the FPS to drop to 30 (possibly due to lack of GPU headroom).

Why is force_borderless_window=0 causing this unusual increase in GPU utilization?

Not working with Steam new update

9mb update or something released, now the patch doesn't work. [V-Patch] Error while initializing patch, "Your version (2675) is not currently supported. Please contact the author as soon as possible, so that we can implement support for it!"

Bugged cases with unlocked FPS

So far, I have received 2 reports of cases being unbeatable due to bugs caused by the FPS unlock.
These are:

The Quarter Moon Murders - The chandelier does not move.
The Set Up - Unable to pickup the pencil.
The Golden Butterfly - Suspect gets hit by car every time.

If anybody discovers any other cases which have bugs caused by the high FPS, please report them here, so that I can try and fix it.

Additional options

In "Planned features" you've wrote, that you want to add cut content and extra graphical options. Is there any possibility, that you could also implement options for:

  • Skipping intro videos
  • Unlocking exclusive for RGL version outfit
  • Add early access to detective outfits

I know that L.A. Noire Unlocker adds options for that, but this mod colidates with mentioned before unlocker, so those can't be used at the same time.

Patch does not work under proton

Installing the patch when using proton in linux does not create the .ini file.
My hypothesis is that by default proton uses it's own version of libraries over ones in the game directory

I could make it work however by opening winecfg via protontricks:
protontricks 110800 winecfg

And under "Libraries" adding an new override for "dinput8.dll"

After this everything works as described in the readme.
I'll be playing the game some more in the coming days to see if it runs ok.

I don't know if there is a cleaner/easier way to implement this or if there is a possibility to provide these steps in the readme?
I'll be adding a guide to steam soon with these instructions as well if I don't have massive issues while playing the game.

Rockstar Games Launcher not opening back up after game closes

Hi,

After I have installed the latest V-Patch, the Rockstar Games Launcher is not re-opening after quitting the game. Somehow, I managed to get two windows of the launcher, so only the active window closed when I launched the game, while the other one remained open.

The open window of Rockstar Games Launcher reports the game is still running and refuses to exit without closing the game. If I try to press on "Exit Game", the launcher tries to close what is running, but never actually does so.

Also, the game does not send to Rockstar the latest savegame update, so the Launcher keeps asking me every time I close the game (and keep that second window running) which savegame I want to keep: the one on their server or the local one.

My assumption is that dinput8.dll is causing some part of the game not to quit, probably the one responsible for reporting savegame changes to Rockstar.

Game crashes - "The consul's car"

The game crashes when I'm at William Dewey car sales in "The consul's car" case. It happens after inspecting the wrenches and you're returning to interview William Dewey in front of the store.

I have an ultrawide screen. The workaround was to remove the DLL, interview William Dewey and travel to the next location, then move the DLL back.

[Feature Request] Option to disable Bloom and DoF?

I know this isn't an issue with this patch, but I was curious to know how hard or if it's possible to create some kind of option to disable the Bloom and Depth of Field Post Processing options.
Unfortunately these effects are fixed to a very low fractional resolution based on the rendering resolution and they are distractingly low quality with numerous temporal crawling/flicker issues and I'd like to replace them with effects from Reshade instead.

There is the launch option to disable all post effects but unfortunately this seems to break other rendering like the minimap.
Thank you for your time.

Game crashes on startup on update v2675.1

Yesterday a update was released which brakes the game if the patch file is present in the game folder.
Once I deleted the patch's .dll, the game started up without issue.
Game Version: v2675.1 (Build:2675) - DX11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.