Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Scripts 3.4.4 - bhs.dll Error
Scripts 3.4.4 - bhs.dll Error [message #435722] Sat, 28 August 2010 02:16 Go to next message
twig123 is currently offline  twig123
Messages: 18
Registered: July 2006
Karma: 0
Recruit
System Specs:
Windows 7 64bit
Intel HD Graphicss (Onboard)
Nvidia GT 335M (Dedicated)
Nvidia Optimus Technology
Intel i7 CPU
4GB RAM


Hey all,

I got a new lappy and I'm tying to get Renegade setup on it without much luck. I'm having a problem with Scripts 3.0 on up to Scripts 3.4.4 (I tested Scripts 2.9.2 and that seems to work).

Here is what I get:
Scripts 2.9.2
Works (No BHS.dll option menu in game to change settings for shaders)

Scripts 3.0
Shaders Disabled - Works
Shaders Enabled - "bhs.dll not found or did not load correctly"

Scripts 3.4.4
Without changing and settings from the default - "Unfortunatly, there was an error loading bhs.dll. Please report this bug!"

I have uninstalled/reinstalled Ren, RG and Scripts several times with the same results. I even copied the Scripts DLL files from my working computer to my lappy and get the same errors.

My lappy has 'Nvidia Optimus Technology' (Basicly it has a low end Intel for mundane things and a dedicated Nvidia 335M for 3D apps).

I found if I set my system to use the onboard Intel video (ick) the Scripts 3.4.4 works fine. However, If I have it use the Nvidia 335M, I get the errors listed above! I already Installed the latest Nvidia drivers and all Windows updates. I've been racking my brain and could really use some help if anyone has any ideas.

Also, not sure if it helps but when it crashes on the Nvidia card, it throws this error in the Windows Application Event Log:
Event ID 1000
--------------
Faulting application name: Game2.exe, version: 1.37.0.1, time stamp: 0x21214d44
Faulting module name: binkw32.dll, version: 1.2.1.0, time stamp: 0x3b8d7794
Exception code: 0xc0000005
Fault offset: 0x0001dfa4
Faulting process id: 0xfbc
Faulting application start time: 0x01cb467a96e6e4b0
Faulting application path: C:\Games\Renegade\Game2.exe
Faulting module path: C:\Games\Renegade\binkw32.dll
Report Id: e5e6bbf2-b26d-11df-a4d6-5c260a007e89

[Updated on: Sat, 28 August 2010 01:35]

Any ideas?
Re: Scripts 3.4.4 - bhs.dll Error [message #435724 is a reply to message #435722] Sat, 28 August 2010 03:39 Go to previous messageGo to next message
CarrierII is currently offline  CarrierII
Messages: 3804
Registered: February 2006
Location: England
Karma: 0
General (3 Stars)

Did you use the Scripts 3.4.4 automated installer?



Renguard is a wonderful initiative
Toggle Spoiler
Re: Scripts 3.4.4 - bhs.dll Error [message #435726 is a reply to message #435722] Sat, 28 August 2010 04:33 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
This could be to do with wwconfig actually. Renegade auto-detects your video card when installing and stores the ID of the video adapter it will use in the registry. If you then change your video card Renegade will crash on startup with 3.0+ because it can't get the device capabilities of the device name stored in the registry.

Try enabling the video card you want to use, then run wwconfig (in admin mode) and click on the video card in the list of adapters at the top and setup your graphics preferences. Close wwconfig to save the changes and then load Renegade (again, using admin mode to ensure it's reading the same settings written by wwconfig).


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Sat, 28 August 2010 04:35]

Report message to a moderator

Re: Scripts 3.4.4 - bhs.dll Error [message #435749 is a reply to message #435724] Sat, 28 August 2010 14:10 Go to previous messageGo to next message
twig123 is currently offline  twig123
Messages: 18
Registered: July 2006
Karma: 0
Recruit
CarrierII wrote on Sat, 28 August 2010 05:39

Did you use the Scripts 3.4.4 automated installer?
Did I use... a broken link? Razz (Just messin with ya)
I have the Scripts 3.4.4 exe from the sourceforge project page, as well as the zip. Both do the same thing.

As far as Ren crashing, it switches easily between the Intel and Nvidia without any issues before I install a Scripts that supports shaders. As well I have tried setting the system to run everything with the Nvidia. wwconfig already has the Nvidia selected and will only show one device at a time, either the Intel or Nvidia (depending on what video card I have the program set to run as.) I have setup my Win7 so it is always running in Admin mode (I hate having to ask my computer if I can do something), and also tried the right-click run as admin to no avail.

Through one install of Ren, I did it with the system set to run all programs with the nvidia. Upon finishing, ren runs fine... again until I add scripts. One strange thing I noticed, if before I add scripts I go ingame and do F8 + FPS to show me FPS and ping and such... it shows 0FPS constantly (Even though I am running around at a framelocked 60fps)

[Updated on: Sat, 28 August 2010 14:11]

Report message to a moderator

Re: Scripts 3.4.4 - bhs.dll Error [message #435758 is a reply to message #435722] Sat, 28 August 2010 15:44 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Can you go into the Registry and check the value of HKLM\SOFTWARE\Westwood\Renegade\Render\RenderDeviceName is the correct name for the NVidia graphics card?

Just because wwconfig only shows the Nvidia device when that is enabled doesn't necessarily mean it's actually configured correctly and if that registry setting is wrong then the RenderDeviceIdentifier setting above it will also be wrong, which will cause the shaders.dll crash you are experiencing.


http://steamsignature.com/card/1/76561197975867233.png
Re: Scripts 3.4.4 - bhs.dll Error [message #435761 is a reply to message #435758] Sat, 28 August 2010 16:29 Go to previous messageGo to next message
twig123 is currently offline  twig123
Messages: 18
Registered: July 2006
Karma: 0
Recruit
Mine is in a dif. place due to Win7 64bit... but it looks correct:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Westwood\Renegade\Render]
"RenderDeviceName"="NVIDIA GeForce GT 335M"
Re: Scripts 3.4.4 - bhs.dll Error [message #435762 is a reply to message #435722] Sat, 28 August 2010 16:39 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Yeah, that looks fine, guess your problem is not the same one I was having before then. I notice from your first post you are using game2.exe, did you launch Renegade through RenGuard or directly? If it was through RenGuard I would suggest launching it directly instead and see if that helps.

http://steamsignature.com/card/1/76561197975867233.png
Re: Scripts 3.4.4 - bhs.dll Error [message #435767 is a reply to message #435722] Sat, 28 August 2010 18:01 Go to previous messageGo to next message
twig123 is currently offline  twig123
Messages: 18
Registered: July 2006
Karma: 0
Recruit
I have tried through game.exe (RG), game2.exe (Ren) as well as ResurrectionLauncher.exe (RR). Basicly, they all end up launching game2 (as you know). When scripts 3.4.4 are installed, Ren crashes as it tries to play the (bink) intro videos. Before scripts are installed, the bink intro videos play just fine.
Re: Scripts 3.4.4 - bhs.dll Error [message #435819 is a reply to message #435767] Sun, 29 August 2010 18:40 Go to previous messageGo to next message
twig123 is currently offline  twig123
Messages: 18
Registered: July 2006
Karma: 0
Recruit
Still racking my brain on this... Scripts 2.9.2 works fine with the nvidia. but as soon as I add the scripts with the shaders.dll it crashes. Possibly an incompatibility within the scripts 3.4.4/shaders.dll itself?
Re: Scripts 3.4.4 - bhs.dll Error [message #435820 is a reply to message #435819] Sun, 29 August 2010 19:15 Go to previous messageGo to next message
HaTe is currently offline  HaTe
Messages: 923
Registered: August 2007
Karma: 0
Colonel
Does a crashdump appear? I'm a bit confused with what you said. When connecting directly from the RR list, there is no start-up videos. Do you still crash when trying that? Maybe there's a problem somehow with the start-up videos with scripts 3.4.4 for you? If so there's a program that allows you to bypass them, and go directly to the main menu in Renegade. Might as well give it a shot.

http://www.renegadeforums.com/index.php?t=getfile&id=6069&rid=23179



http://i162.photobucket.com/albums/t263/psuHaTe32_2007/HaTe3.jpg
‘All that is necessary for the triumph of evil is that good men do nothing’ - Edmund Burke

[Updated on: Sun, 29 August 2010 19:26]

Report message to a moderator

Re: Scripts 3.4.4 - bhs.dll Error [message #435833 is a reply to message #435820] Mon, 30 August 2010 01:49 Go to previous messageGo to next message
twig123 is currently offline  twig123
Messages: 18
Registered: July 2006
Karma: 0
Recruit
I know the intro videos aren't shown when starting through RG or RR, however, I just assumed that it did something with bink due to the Application error that I mentioned in the first post. I found a modified nvidia inf driver file (attached) that allowes the newest driver version (v258.96) to be used on the Optimus systems. After doing so I no longer get the binkw32.dll application error, however, still get the bhs.dll error when trying to start Ren with Scripts v3.0-v3.4.4 installed.

I tested the config.exe that you linked to and disabled the videos, but to no avail.

I copied the entire Renegade DIR from my working desktop computer, to my laptop that is having the issue... still with no change. I still get the bhs.dll error listed in the first post. I do, however, now get a crashdump file but it is too large (~47MB) in order to upload to the forum. So I uploaded it to megaupload:
http://www.megaupload.com/?d=INK0DRGP

I don't know how to view the dump file let alone decipher what it means...
  • Attachment: nvdm.inf
    (Size: 231.92KB, Downloaded 243 times)
Re: Scripts 3.4.4 - bhs.dll Error [message #435860 is a reply to message #435833] Mon, 30 August 2010 16:35 Go to previous messageGo to next message
HaTe is currently offline  HaTe
Messages: 923
Registered: August 2007
Karma: 0
Colonel
To be quite honest i too have no idea how to understand crashdumps of that sort. PM YRR or someone who could, and I'm sure they can help you though.

http://i162.photobucket.com/albums/t263/psuHaTe32_2007/HaTe3.jpg
‘All that is necessary for the triumph of evil is that good men do nothing’ - Edmund Burke

[Updated on: Mon, 30 August 2010 16:35]

Report message to a moderator

Re: Scripts 3.4.4 - bhs.dll Error [message #435865 is a reply to message #435860] Mon, 30 August 2010 19:28 Go to previous messageGo to next message
twig123 is currently offline  twig123
Messages: 18
Registered: July 2006
Karma: 0
Recruit
PM Who? I dont see a YRR in the members list
Re: Scripts 3.4.4 - bhs.dll Error [message #435866 is a reply to message #435865] Mon, 30 August 2010 19:40 Go to previous messageGo to next message
HaTe is currently offline  HaTe
Messages: 923
Registered: August 2007
Karma: 0
Colonel
Yrr

lower case r's. He's the creator of RR, so should be able to understand the crashdump afaik.

It sounds to me like it's a bhs.dll error all together, may i ask where you're downloading from?


http://i162.photobucket.com/albums/t263/psuHaTe32_2007/HaTe3.jpg
‘All that is necessary for the triumph of evil is that good men do nothing’ - Edmund Burke

[Updated on: Mon, 30 August 2010 19:41]

Report message to a moderator

Re: Scripts 3.4.4 - bhs.dll Error [message #435884 is a reply to message #435866] Tue, 31 August 2010 02:43 Go to previous message
twig123 is currently offline  twig123
Messages: 18
Registered: July 2006
Karma: 0
Recruit
Thanks, I found Yrr in the members list... I'll give him a shout.

Also, I'm downloading the Scripts from the Sourceforge project page:
http://sourceforge.net/projects/rentools/
(Click on Files to get older/all versions)
Previous Topic: Scripts 3.4.4 - bhs.dll Error
Next Topic: How to Create?
Goto Forum:
  


Current Time: Wed Apr 24 18:47:21 MST 2024

Total time taken to generate the page: 0.00918 seconds