Brawltendo / NFS-Rivals-Framerate-Unlocker

A plugin to unlock Need for Speed Rivals' framerate above 30 FPS
102 stars 2 forks source link

Game crashes on startup #18

Open amerodeh opened 4 months ago

amerodeh commented 4 months ago

After applying the mod, the game crashes on startup after playing the video with game company logos. Game starts fine without the mod. In event viewer I can see the following:

Faulting application name: NFS14.exe, version: 1.4.0.0, time stamp: 0x52f0ec6f
Faulting module name: ntdll.dll, version: 10.0.22621.3527, time stamp: 0x92b2df34
Exception code: 0xc0000005
Fault offset: 0x0000000000033aca
Faulting process ID: 0x0x15FA8
Faulting application start time: 0x0x1DAA422633C45F2
Faulting application path: X:\SteamLibrary\steamapps\common\Need for Speed(TM) Rivals\NFS14.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report ID: ca718f4c-f133-457f-b15b-fe98e5dd8e4b
Faulting package full name: 
Faulting package-relative application ID: 

Edit: If i rename the commands.txt file, the game starts fine, so it must be one of the startup commands in it that's causing the crash.

Edit2: Removing the -Ant.InterpolatePoses 0 argument fixed the crash, haven't played enough to find out the consequences of leaving it out.

ElTioRata commented 4 months ago

Your workaround didn't work for me. Here are my event viewer registries:

Nombre de la aplicación con errores: NFS14.exe, versión: 1.4.0.0, marca de tiempo: 0x52f0ec6f Nombre del módulo con errores: ntdll.dll, versión: 10.0.19041.4239, marca de tiempo: 0xad5435e9 Código de excepción: 0xc0000005 Desplazamiento de errores: 0x00000000000634f6 Identificador del proceso con errores: 0x2e24 Hora de inicio de la aplicación con errores: 0x01daa99708486fd7 Ruta de acceso de la aplicación con errores: D:\SteamLibrary\steamapps\common\Need for Speed(TM) Rivals\NFS14.exe Ruta de acceso del módulo con errores: C:\Windows\SYSTEM32\ntdll.dll Identificador del informe: 4fc81e0e-7c96-42d9-a77f-691998538059

amerodeh commented 4 months ago

Yea, it didn't crash for a bit then started crashing again. But even when it didn't crash, the game was slowed down, like in slow motion. Anyway, so much hype for a fix that's just not working based on a lot of feedback, I played at 30fps for a few minutes but just decided to drop the game altogether, it's not a good experience for me.

Brawltendo commented 4 months ago

That crash when launching is something I experienced once during development, both with and without the patch enabled, so whatever causes it is from the original game. Also, leave the Ant command in there, that's required to avoid animation system related crashes (NFS15 and Edge also use that command so I didn't put it there for no reason). The only difference I can see here is that you're using the Steam version, while I'm using an Origin/EA App copy. Others haven't had these problems with the Steam version, however, so these launch errors are pretty rare. The game also shouldn't be slowing down with this patch, anything like that would be a side effect of unexpected commands being present.

If you have a .log file from the most recent crash in the CrashDumps folder under your Rivals directory, that would be great to have since it's more descriptive than what the event viewer shows.

Edit: Just did some testing with the old launch commands alongside my patch, and I get the exact issues you described. The game crashes on the title screen (in full screen at least), and if I get in game, there's slowdown. So make sure you don't have those commands in your Steam launch options for Rivals because that seems to be what's causing these problems.

ElTioRata commented 4 months ago

I only have a debug.log, I don't have a CrashDumps folder. It only repeats _[0519/144939:WARNING:resource_bundle_qt.cpp(114)] locale_filepath.empty() for locale about 13 times. Also, I removed commands.txt and it made the game start just fine.

EDIT: Yikes, I forgot to install the rest of the mod through Frosty MM, now the amerodeh's workaround does works. I don't have those commands on Steam's launch options.