ThirteenAG / WidescreenFixesPack

Plugins to make or improve widescreen resolutions support in games, add more features and fix bugs.
https://thirteenag.github.io/wfp
MIT License
2.29k stars 218 forks source link

[NFS Undercover] Game doesn't start when using Generic Fix, but game starts normally when not using Generic Fix #1488

Open KyoriAsh opened 9 months ago

KyoriAsh commented 9 months ago

Need for Speed Undercover is not able to startup normally with showing the command prompt screen only and nothing else when using with Generic Fix, however it can be run without the Generic Fix.

My Spec as below:

AMD Ryzen 5 3600x 3.80 GHz 16 GB DDR4 RAM AMD Radeon RX 570

xan1242 commented 9 months ago

Which exe are you running? Can you send it here?

Because the DRM EXE is flaky and we can't work with it usually, we only really support the Steam version.

KyoriAsh commented 9 months ago

nfs.zip I'm using DRM-free Undercover, the source of this DRM-free Undercover is from Traditional Chinese patch of 1.0.1.18 where it removes the SecuROM DRM as mentioned in PCGW

Katoru commented 8 months ago

I'm trying to use the Generic Fix with the digital version (Origin/EA App version) of Need for Speed Undercover. Unfortunately When the dinput8.dll is present, the game crash on startup. No FMV Intro, direct crash.

I don't use any compatibility mode.

Running the game on i7-7700K, ASUS Nvidia GTX 1080Ti, Windows 10 Home 64 bits, Origin/EA App version without any modification (apart from the Generic Fix)

Here is the configuration I set :

[MultiFix]
ResDetect = 1                            ; Adds resolution auto-detection for the in-game options menu.

[MAIN]
Scaling = 0                              ; Adjusts FOV aspect ratio to be mathematically correct. Requires FixFOV to be enabled.

[MISC]
SkipIntro = 1                            ; Skips FMVs that play when you launch the game.
WindowedMode = 0                         ; Enables windowed mode. (1 = Borderless | 2 = Border | 3 = Resizable Border | 4 = Borderless Fullscreen | 5 = Borderless Fullscreen Stretched)
CustomUserFilesDirectoryInGameDir = 0    ; User files will be stored in a specified directory (for example: "save"). Use '0' to disable.
WriteSettingsToFile = 0                  ; All registry settings will be saved to "settings.ini" in your profile folder. You must input your CD key and langauge in "settings.ini" when this option is enabled.
ImproveGamepadSupport = 1                ; Replaces keyboard icons with gamepad icons and assigns front-end actions. Requires an XInput gamepad. (1 = Xbox Icons | 2 = PlayStation Icons | 3 = None)
LeftStickDeadzone = 10.0                 ; Controls the deadzone of the left analog stick.

[GRAPHICS]
BloomIntensity = 1.0                     ; Default (1.0): https://i.imgur.com/pQYfBzA.jpg | Disabled (0.0): https://i.imgur.com/A4MKLyS.jpg
ShadowsRes = 8192                        ; Controls the resolution of dynamic shadows. (8192 = Default | 1024 = Original | 16384 = Max)
CSMScale = 1.0                           ; Overall scale of the cascade shadow map. Larger the number, the greater the draw distance, but the lower the quality. (1.0 = Default)
CSMScaleNear = 100.0                     ; Nearest cascade (100.0 = Default | 5.0 = Original)
CSMScaleMid = 175.0                      ; Mid cascade (175.0 = Default | 30.0 = Original)
CSMScaleFar = 300.0                      ; Far cascade (300.0 = Default | 170.0 = Original)
ImproveSceneryLOD = 0                    ; Increases visible scenery on screen. Increases visible scenery in the closest map section, but may cause flickering for the farther ones.
DisablePreculler = 0                     ; Disables precalculated culling.
BruteforceCulling = 0                    ; Forces the game to use bruteforced culling type instead of TreeCull. This can decrease culled scenery, but may increase flicker.
SimRate = -1                             ; Controls the refresh rate of the gameplay engine. Match your monitor's refresh rate or your target frame rate. (0 = Disabled | -1 = Monitor Refresh Rate | -2 = Double Monitor Refresh Rate)
DisableMotionBlur = 0                    ; Disables motion blur without affecting the World FX setting.

Also here is information i could gather about the crash :

 <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2024-01-19T11:22:25.9098372Z" /> 
  <EventRecordID>115501</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="0" ThreadID="0" /> 
  <Channel>Application</Channel> 
  <Computer>ARCHANGEL_MK_3</Computer> 
  <Security /> 
  </System>
 <EventData>
  <Data>nfs.exe</Data> 
  <Data>1.1.2.1</Data> 
  <Data>49f90f1a</Data> 
  <Data>NFSUndercover.GenericFix.asi</Data> 
  <Data>1.2.0.0</Data> 
  <Data>64a8f219</Data> 
  <Data>c0000005</Data> 
  <Data>00012365</Data> 
  <Data>16dc</Data> 
  <Data>01da4ac9c1fbe2e0</Data> 
  <Data>G:\Jeux\Origin\Need for Speed Undercover\nfs.exe</Data> 
  <Data>G:\Jeux\Origin\Need for Speed Undercover\scripts\NFSUndercover.GenericFix.asi</Data> 
  <Data>d01ec2f6-e92e-4102-afa9-72e621d5f2b5</Data> 
  <Data /> 
  <Data /> 
  </EventData>
  </Event>
Katoru commented 8 months ago

Quick update : I took the zip containing the steam executable and the game started.

[EDIT :] Oh nevermind, at the end of loading screen game crashes gain.

mcdibyoe commented 4 months ago

Quick update : I took the zip containing the steam executable and the game started.

[EDIT :] Oh nevermind, at the end of loading screen game crashes gain.

Easyfix, change the shadowres to Shadowres=4096, that's the maximum the game can handle I think. Tried using anything from 1024 to 4096, anything above that is prone to black screen or CTD