Jump to content

PCGamingWiki will use a Single Sign On (SSO) system to bridge wiki and forum accounts which is ready for testing. You may login using the 'Login with PCGamingWiki' button on both the wiki and the forum, which will soon be the only option. If you have any issues please message Andytizer on Discord.

Blackbird

Need for Speed Underground 1 random crashes

Recommended Posts

The game randomly crashes after finishing the race and hitting continue. I tried everything I could think off. The weirdest thing is that setting any compat mode causes crash when loading save game.

The only thing I found while googling is to force core affinity, but that didn't do anything sadly.

 

Also if I don't install the Force Feedback driver then the controller is a brick and menu pushes the UP button uncontrollably.

 

IQt2PMV.png

Share this post


Link to post
Share on other sites

Well, if it can help, I had random crashes in NFSU2 after I started to use the US executable for the old (praise the silent russian fixes mafia) widescreen and fov hacks.

After days and days looking for a reason, I logged the game with process monitor and I figured out the game was going numb every time it tried to access the files with the models of the US-exclusive cars (which I didn't have in my otherwise EU installation).

So I placed them there and everything worked.

 

You might try something like that.

As for the controller problem, check here if every axis is alright

 

Also, I'm still astonished by how many times people suggested to force stupid single core affinity.

Share this post


Link to post
Share on other sites

Any idea how to tell which version I have? In Languages folder I have multiple languages so it's EU version? And this can't apply to the NFSU1 can it since it has no exclusive cars?
 
And you're right I get those crashes in NFSU2 too so it must be related to each other. In NFSU2 it can also happen when starting the races :|
 
Also since when did Silent do anything for NFS lol. It's all 13AG and _Aero :D
 
EDIT:

My version of NFSU2 already had Honda Civic, but not the Acura RSX. It also has multiple languages like NFSU1. Dunno what to make of it.

I checked those programs and the axes are fine although bit twitchy to X left/right. The thing is other DInput games such as CMR2 don't have this issue. Only NFSU1/2. Didn't check MW and Carbon yet. The game loads both dinput.dll and dinput8.dll for some odd reason.

Share this post


Link to post
Share on other sites

Any idea how to tell which version I have? In Languages folder I have multiple languages so it's EU version? And this can't apply to the NFSU1 can it since it has no exclusive cars?

I don't think languages are enough to tell. Iirc even with the us executable I still had everything in Italian.

Then, of course the same problem can't apply there, but it was just to introduce process monitor.

 

Isn't there anything odd when game crashes?

 

And you're right I get those crashes in NFSU2 too so it must be related to each other. In NFSU2 it can also happen when starting the races :|

U.u

I never thought there could be a link.

Anyway, did you patch both games? And I guess this happens even without mods, right?

 

My version of NFSU2 already had Honda Civic, but not the Acura RSX. It also has multiple languages like NFSU1. Dunno what to make of it.

Contrarily to the civic, the acura is not between the starter cars.

 

I checked those programs and the axes are fine although bit twitchy to X left/right. The thing is other DInput games such as CMR2 don't have this issue. Only NFSU1/2. Didn't check MW and Carbon yet. The game loads both dinput.dll and dinput8.dll for some odd reason.

A bit of twitchiness is normal with every analog axis and indeed every game (but bloody Omikron) accounts for deadzones..

Though it's strange only a given game see this ideally present UP command. What happens when you block DI?

 

Btw using both dinput and dinput8 is fine, it's just the first supporting older versions.

Share this post


Link to post
Share on other sites

I don't think languages are enough to tell. Iirc even with the us executable I still had everything in Italian.

Then, of course the same problem can't apply there, but it was just to introduce process monitor.

 

I did check it and the last thing that gets loaded is STRM_AMB_Stereo_MB.ast which I assume is music archive. I'll check all the music in EA trax, but I doubt this is the issue. Busted

 

Isn't there anything odd when game crashes?

I initially thought those particular races had FMVs after them which could cause the crash, but nope it's totally random. I had 10+ races today and no crash and sometimes even 3 is enough.

U.u

I never thought there could be a link.

Anyway, did you patch both games? And I guess this happens even without mods, right?

 

Contrarily to the civic, the acura is not between the starter cars.

 

Uh I should've clarified I mean game files. I didn't actually check what in-game cars I have. Good point.

A bit of twitchiness is normal with every analog axis and indeed every game (but bloody Omikron) accounts for deadzones..

Though it's strange only a given game see this ideally present UP command. What happens when you block DI?

 

Will check that.

Btw using both dinput and dinput8 is fine, it's just the first supporting older versions.

Oh I see. I thought it's some mix-up.

 

Also I have both patched up to highest version and I don't use any mods beside the WS fix, but it happens without it too.

 

OOOOH I just checked the game's registry and the NFSU1 is indeed US version. Or I think it is? But I used US exe anyway :(

Share this post


Link to post
Share on other sites

I did check it and the last thing that gets loaded is STRM_AMB_Stereo_MB.ast which I assume is music archive. I'll check all the music in EA trax, but I doubt this is the issue. Busted

More specifically, process monitor was reporting NAME NOT FOUND in the result column.

And technically latest file handled before crash doesn't necessarily have to be the culprit. Give a look to everything in the previous seconds.

Share this post


Link to post
Share on other sites

Okay will see again. Also that DInput blocker does work, but obviously blocks my controller so there is no input at all from it. I tried to rename it to dinput.dll too just in case and that does nothing.

I will also try using wndmode.ini which should make the game run in borderless fullscreen (feature of the great Ultimate ASI loader 13AG uses!)

Again crash on loading savegame. It's like this game rejects any heavy changes.

 

 

I think I found it. It's the Autosave function. That would explain why it always happens after the tournament is done and never in the middle. Blackbird_autosave.ugd in the question is blank file as opposed to manual saves being fine.

I looked up my old saves from 2004 and the autosaves are fine so this can be related.

Also found this

Need For Speed: Underground 2 
- Run as administrator with autosave off. (Thanks to dw96)

Maybe the autosave function in both games is busted on modern systems. IDK.

 

NAME NOT FOUND

D:\Need for Speed Underground\Config.bin

D:\Need for Speed Underground\foobar

C:\Windows\System32\wow64log.dll

C:\Windows\SysWOW64\rpcss.dll

C:\Windows\System32\DriverStore\cs-CZ\oem23.inf_loc

C:\Windows\System32\DriverStore\en-US\oem23.inf_loc

C:\Windows\System32\DriverStore\cs-CZ\oem30.inf_loc

C:\Windows\System32\DriverStore\en-US\oem30.inf_loc

 

No idea what the first two are supposed to be. I never saw them. Here's the full log

Share this post


Link to post
Share on other sites

.-. I was unconsciously taking for granted you were running it as administrator.
You are going to have a bad time of course if you aren't, considering all the freedoms games back then expected. 

Can't this fix everything?

 

And there's no thing as "[magically] X is incompatible with newer systems". There is a reason.

In this case, there are some tricks involved with programdata folder.
 
.. which btw I think was totally moronic to call like this in the save game location template, instead of the god old %ALLUSERSPROFILE% (which is definitively what this game is looking for)

Share this post


Link to post
Share on other sites

I was running it as admin, but it didn't seem to do anything. IDK. I'll try it again, but as I said my manual saves are fine. The autosave one is always blank and deleting it does nothing. And sadly you can't turn off autosave in U1 like you can in U2 :(

And of course it's not magical lol, but obviously something must have happened since googling Need for speed autosave crash turns up plenty of results.

Share this post


Link to post
Share on other sites

And of course it's not magical lol, but obviously something must have happened since googling Need for speed autosave crash turns up plenty of results.

Lol. But 4 results are about Carbon, 1 talks of PS, and the rest mentions newer ones.

 

Anyway, I read an incredible story: stupid DI inputs can make the game crash (or perhaps every kind of HID device). Oddly looks like your case.

Then, other theories include reverting to minimum settings or.. even changing locale to UK (but it shouldn't apply here)

Share this post


Link to post
Share on other sites

Bad wording on my part, but I did find plenty of results from before.

I don't have any other controller attached unless my mouse/keyboard somehow count. I know DX:IW had loading freeze cause of Logitech Setpoint. If SCP is the issue then not like I can do anything unless I want my DS3 to be useless brick.

 

The settings are possible since JC2 for example indeed crashes randomly when Decals are turned on, but pinpointing this would be painful.

 

I'll try updating SetPoint first as I have stayed on 6.32 due to Logitech completely screwing up scrolling in 6.5x :I

Share this post


Link to post
Share on other sites

SetPoint has even an use? Fantastic, lol.

 

Anyway, yes please try to disable every HID device. And you can stop SCP service in services.msc

 

ps: I played around with JC2 some times and never had problems

Share this post


Link to post
Share on other sites

Lol why wouldn't it have a use. Without it MOUSE4/5 buttons are useless. They can't be used as buttons in games without SP. Also the huge button can't be mapped too (I use it to trigger Steam Overlay!)

I tried disabling every HID device and nothing. One of them disables the controller in DInput games (XBOX_360_DEVICE_00:00). And yes if I stop the SCP [which is no diff than not connecting DS3 in the first place(WIRELESS WOO)] then there is no phantom UP button, but my controller has no such issue by itself. I would understand it if all games had the issue when it's connected, but it's only NFS games. Not even Porsche Unleashed has this issue.

Basically it's something to do with 360 drivers if I had to guess.

 

Also I have no idea, but is XInput Plus even supposed to work? It does literally nothing.

 

lol because you don't have nvidia gpu pleb :P

Share this post


Link to post
Share on other sites

Oh, I guess it's just with my 5€ Logitech that it doesn't make difference :p

 

Anyway, keeping the controller disconnected is not the same of stopping the service.

Ever noticed windows still report the controller connected, even if it's turned off? Well, that's it.

 

I wonder if NFS isn't misinterpreting lack of input (which we may call NULL, void) for something, contrarily to say, a connected controller that is actually reporting 0.

 

No idea of whatever 360 driver is involved.

And XInput+ is supposed to be the best generic workaround, yes. Did you ticked the DI Output box?

"Disable Unmapped Object" seems pretty interesting

Share this post


Link to post
Share on other sites

Guess so :D

 

Yes I realize that. I mean upon Windows startup. I know hot-plugging is broken in SCP making the fake 360 controller perma-connected until the service is restarted.

 

Possible, but I have no idea how to find that out.

 

Yes I did tick the box. It created dinput.dll/dinput8.dll and XInput1_3.dll in game's folder. But it does literally nothing. There isn't even beep on startup similarly to X360CE even though I have it turned on :/

Share this post


Link to post
Share on other sites

Yes I realize that. I mean upon Windows startup. I know hot-plugging is broken in SCP making the fake 360 controller perma-connected until the service is restarted.

I wouldn't know if it's a bug or rather a desired behavior.

 

Anyway, check if there's some weird config path like here, and make sure you have DI mapper files

 

Aside of this, I would be happy to test XI+ on my retail copy (after I find it) but I fear I'm going to be too freaking busy in the next months.

Share this post


Link to post
Share on other sites

Oh I forgot to mention I had those already, but that path is new to me. Never heard of it. Tried wiping those .ini files, but no luck.

Oddly it names the devices in Czech ie. BLACKBIRDX_KLÃVESNICEX_0.INI or X_MYÅ X_0.INI

 

Also checking the article I don't have settings stored in that registry path, but here

HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\EA Games\Need for Speed Underground 2

Damn permissions :D

 

Tried setting all stuff to off/low and compat modes(somehow they worked now) and still nothing.

I just want to play NFSU1 dammit!

Share this post


Link to post
Share on other sites

HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\EA Games\Need for Speed Underground 2

That happens when the game tries to write in HKLM without privileges.

Running as administrator is everything you should need.

 

Said this.. the game is not XInput for sure.. and if dinput8 can't block it..

I guess the problem must reside between SCP service, the fake x360 device it resemble (that must be somehow present in device manager), and the dinput.dll (not the 8 version it seems).

 

You could try some of these old programs.. Idk

Or "turning off legacy USB support in BIOS".

 

Speaking of the crashes on the other hand...

Try to close every possible application running (including AV of course). 

Then remove all filters from process monitor (yes I know it becomes awful).

 

And check if there's isn't something "too frequent for your tastes".

Edited by Mirh
ok, I guess I read ghost negations in sentences

Share this post


Link to post
Share on other sites

dinput8.dll does block it, but only because it blocks the entire controller so there is no Joypad section in-game. Someone needs to test this game with an actual 360 controller to confirm/deny if it's issue with its drivers.

Also of course the controller has NO INPUT while this phantom UP thing happens. Only K/MB do. If I end SCP service it stops.

 

I will try installing this game into my testing W10 VM since I managed to install the new SCP fork into it and it works.

EDIT: Fucks sake the game has no controller issues in it. So it's something to do with my machine :I

Share this post


Link to post
Share on other sites

I FIGURED IT OUT. THIS IS WHAT HAPPENS WHEN YOU INSTALL FORCE FEEDBACK DRIVER AND UNINSTALL IT. IT WILL SOMEHOW FUCK UP CONTROLLERS IN THIS GAME.

Tested and confirmed from W10 VM.

 

The problem is I don't know what exactly gets screwed. Ihave snapshot before installing it, but how do I even compare them dammit.

 

Okay figured the solution I think. Installing the .ini files from xi.etc.zip on the site wipes out the drivers completely. This worked in the VM. My PC might have something else additionaly. FIXED

 

YESSSSSSSSSSSSS

 

Now the crashes.

Share this post


Link to post
Share on other sites

I guess force feedback driver wasn't supposed to be used with normal microsoft x360 drivers (just figured out).

You may try those to see if they fix the problem, or just use XInput+.

 

Anyway.. the crashes.. .-.

What if you try another executable?

I checked on gamecopyworld, and I even saw a "savegame path fix" (which may have something to do with this)

Share this post


Link to post
Share on other sites

Heh my account name is unsurprisingly Blackbird so unless the game hates the DirectInput Mapper files using Czech chars(something I can't change) then I doubt that. I tried looking into that ProgramData stuff and it looks fine. IDK.

Also only 1.4 US exes on there are by Drunk! and SPiRiTY. EU ones don't seem to change anything. I didn't touch NFSU2 yet much since maybe those 2 are related.

 

Oh in the tools section. Too bad it's for 1.3 tho?  Works with 1.4 too nice, but who thought it was good idea to make it DOS-based ugh. Testing in progress......

Still crashes :(

Share this post


Link to post
Share on other sites

I'm pretty sure it's possible to change devices names in windows registry.

 

Also, why the hell patch 4 is version 1.3 ? .-.

 

And.. if we run out of ideas, I dunno, considering crashes are reproducible..

I guess we might even find somebody that could help with debugging.

 

EDIT for posterities: after many many tinkering the issue solved around after updating UxThemeSignatureBypass in conjuction with Aero Glass

attempt to make some reasoning: this might have something to do with the fact that it injects a dll into every program. 

 

remainder for the future: check which dlls are loaded into programs with process monitor

Share this post


Link to post
Share on other sites

Hi @Blackbird, what I've found with the phantom up issue you're having is that it happens when you hook dinput8 for 360 pad emulation.

I use a DS4 controller with DS4Windows, with Most Wanted and Carbon you can use Xinput Plus to swap the combined Z axis to independent axes, but if you try the same thing with Underground 1 + 2 you get the up issue. It probably does the same thing with x360ce and the like too, but I haven't tried them.

It might not be much help for you depending on what controller you use, but if you use a DS4 you can use DS4windows to make a new profile specifically for old DirectInput games. In the latest DS4windows you can set it to output as a dualshock 4 instead of emulating a 360 pad, this leaves you with independent axes for triggers instead of the combined Z axis on 360 without having to modify .dlls

I use it for NFSUG1+2, keep in mind that the L2 and R2 buttons double as both buttons 11-12, as well as axes. When you're remapping controls in some games (Like NFS) you need to push the triggers in just a little bit (enough to "press button 11/12") before you bind the key, then when it asks for input push the trigger in the rest of the way. This works for some games, but not others.

I'll attach my DS4Windows profiles folder, there's macros for holding PS and pressing face button to switch the controller into different modes for different kinds of games. It might have been pointless writing up all this if you don't even use a DS4 but I guess it's worth putting out there somewhere. I've been looking for a catch-all solution to PC controller compatibility, and there really isn't one but DS4Windows is the absolute closest you can get, I've found.

 

edit: nevermind I only just noticed this thread is from 2015 and you'd probably solved it by now

DS4Windows.zip

Share this post


Link to post
Share on other sites

Well ironically I have DS4 now, but even then I tried using XI Plus for the vibration (and gave up) since using that xbox driver thingy gave me some random issues I forgot about. Mapping itself is fine in the game, even triggers can be used for accel/brake.

Share this post


Link to post
Share on other sites

You can use the triggers that way, but instead of each trigger being separate, they're combined into one axis so you can't use both together, which can be solved by using DS4's native output

Share this post


Link to post
Share on other sites

Right, you're able to bind it to the Z axis, but that axis is just a single axis. Pushing the left trigger pushes it one way, and pushing the right trigger tries to push it the other way. Pushing both in will cancel both inputs out to 0.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Who's Online   1 Member, 0 Anonymous, 279 Guests (See full list)

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Forum Statistics

    1,234
    Total Topics
    6,848
    Total Posts
×
×
  • Create New...