CS.RIN.RU - Steam Underground Community
http://cs.rin.ru/forum/

[Release] GCFPrep - superceded - Now part of MiSteamSuite
http://cs.rin.ru/forum/viewtopic.php?f=15&t=47548
Page 6 of 19

Author:  stuntsy [ Monday, 28 Apr 2008, 16:07 ]
Post subject: 

Yes, I have MS Framework 1.1, 2.0(sp1), and 3.0, before you ask.


Unable to load DLL 'GCFPrep.dll'....Exception for HRESULT: 0x800736B1

If I click continue it will get to the GUI, but cant do anything else pretty much. Followed the quick start guide... for nubs like me!

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.DllNotFoundException: Unable to load DLL 'GCFPrep.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
   at GCFPrep.GCFPrepUtility.Initialise(String CachePath, String BlobFile, String DefaultUser)
   at GCFPrep.GCFPrep_Main.GCFPrep_Main_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
GCFPrep
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Marco/Desktop/GCFPrep_1_5/GCFPrep/GCFPrep.exe
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


If this is another Kapersky problem, I Will Kill It.

Author:  PeJpepiG [ Monday, 28 Apr 2008, 16:10 ]
Post subject: 

marcosatti
Not sure if it helps, but try to install Net Framework 3.5.

Author:  *SnZ [ Monday, 28 Apr 2008, 16:32 ]
Post subject: 

PeJpepiG,

I use this emu from Gcfrep (def), why you askin'?
I make something wrong?

Thanks in adv

Author:  ChrisTX [ Monday, 28 Apr 2008, 16:37 ]
Post subject: 

marcosatti
I googled and found this: http://www.cifactory.org/joomla/index.p ... &Itemid=32

Author:  Mitsukarina [ Monday, 28 Apr 2008, 16:59 ]
Post subject: 

marcosatti
Are you running from a shortcut? If so please make sure the "Start In" folder is set.

If you are running from a shortcut, what happens if you double click the GCFPrep.exe to launch it?

Also, what happens if you copy the dll into a PATH folder?

You're the second person to have this problem, maybe AV related, i'm not sure yet.

Incidentally GCFPrep was compiled for .NET 2.0, so it should just work for most people.

Let me know how you get on.

Author:  PeJpepiG [ Monday, 28 Apr 2008, 21:40 ]
Post subject: 

hackers41
Because your problem has nothing to do with GCFPrep, it depends on the emulator you use.
Default is SteamEmu? If so it should work without deleting the file, else you can try RevEmu if it works better for you.

Edit: Try to copy tier0_s.dll and vstdlib_s.dll (can be found in GCFPrep\Configuration\File) to root folder where steamclient.dll is.

Author:  Mitsukarina [ Monday, 28 Apr 2008, 23:19 ]
Post subject: 

PeJpepiG wrote:
hackers41
Because your problem has nothing to do with GCFPrep, it depends on the emulator you use.
Default is SteamEmu? If so it should work without deleting the file, else you can try RevEmu if it works better for you.

Edit: Try to copy tier0_s.dll and vstdlib_s.dll (can be found in GCFPrep\Configuration\File) to root folder where steamclient.dll is.


It's a config file problem, I changed some settings to test and then packed the wrong version!

I'll do a repack shortly, but the fix is to change the OverWrite value for all files in Configuration\Default Support Files.xml to True

Sorry! :oops:

*EDIT*

Uploaded a new version it's still 1.5 as it's only a config file fix, but please re-download if you were having problems.
I also tried a few fixes for the people who are having the dll loading problems, so again, please download and retry.

Thanks!

I'm obviously getting too old for all this! ;)

Author:  PeJpepiG [ Monday, 28 Apr 2008, 23:48 ]
Post subject: 

Mitsukarina
Overwriting existing tier0_s.dll, vstdlib_s.dll and steamclient.dll is the best option if you use SteamEmu.
If you are using RevEmu you'll get some problems, f.e. The Ship won't work anymore if it's original files are overwritten and you set SteamClient=False. If you set SteamClient=True it'll work again, although you don't use RevEmu's steamclient.dll.

Author:  Mitsukarina [ Monday, 28 Apr 2008, 23:57 ]
Post subject: 

PeJpepiG wrote:
Mitsukarina
Overwriting existing tier0_s.dll, vstdlib_s.dll and steamclient.dll is the best option if you use SteamEmu.
If you are using RevEmu you'll get some problems, f.e. The Ship won't work anymore if it's original files are overwritten and you set SteamClient=False. If you set SteamClient=True it'll work again, although you don't use RevEmu's steamclient.dll.


I've just tried ship again with the latest GCFPrep I just put up, SteamEmu and revEmu (not using rev SteamClient) and they both work fine? I tested Ship (Not singleplayer) can you try again with the newer GCFPrep1.5 and a fresh install?

Author:  PeJpepiG [ Tuesday, 29 Apr 2008, 00:07 ]
Post subject: 

Mitsukarina
When I set Overwrite=True in Configuration\Default Support Files.xml GCFPrep overwrites the three files in The Ship\bin.
Doing this SteamEmu works fine, but RevEmu doesn't.
Using RevEmu it gives me a "Fatal Error: Failed to start Steam client service!" error. If I set SteamClient=True in rev.ini it works.
Here's the log file:
23:06:52:140 [3992\3212]   Logging initialized.
23:06:52:140 [3992\3212]   FileSystem logging initialized.
23:06:52:140 [3992\3212]   Account logging initialized.
23:06:52:140 [3992\3212]   UserID logging initialized.
23:06:52:140 [3992\3212]   Cache support initialized via ClientRegistry.blob
23:06:52:140 [3992\3212]   DllMain: DLL_PROCESS_ATTACH
23:06:52:156 [3992\4044]   DllMain: DLL_THREAD_ATTACH
23:06:52:187 [3992\3212]   Using Interface Steam004
23:06:52:187 [3992\3212]   CSteamInterface004 constructed.
23:06:52:187 [3992\3212]   SteamStartup
23:06:52:218 [3992\3212]   SteamIsLoggedIn
23:06:52:265 [3992\3212]   Using Interface Steam006
23:06:52:265 [3992\3212]   CSteamInterface006 constructed.
23:06:52:265 [3992\3476]   DllMain: DLL_THREAD_ATTACH
23:06:53:312 [3992\3212]   SteamWriteMiniDumpFromAssert
23:06:53:312 [3992\3212]   SteamWriteMiniDumpFromAssert
23:06:57:359 [3992\3212]   DllMain: DLL_PROCESS_DETACH
23:06:57:359 [3992\3212]   CSteamInterface006 destructed.
23:06:57:359 [3992\3212]   CSteamInterface004 destructed.


Edit:
If I set Overwrite=false for all three files, The Ship works with both RevEmu and SteamEmu.

Edit2: This happens for most/all games for me if I use the tier0_s.dll, vstdlib_s.dll and steamclient.dll included in GCFPrep.
Here f.e. is the log for css:
23:24:21:781 [3108\3000]   Logging initialized.
23:24:21:781 [3108\3000]   FileSystem logging initialized.
23:24:21:781 [3108\3000]   Account logging initialized.
23:24:21:796 [3108\3000]   UserID logging initialized.
23:24:21:796 [3108\3000]   Cache support initialized via ClientRegistry.blob
23:24:21:796 [3108\3000]   DllMain: DLL_PROCESS_ATTACH
23:24:21:796 [3108\3592]   DllMain: DLL_THREAD_ATTACH
23:24:21:843 [3108\3000]   Using Interface Steam006
23:24:21:843 [3108\3000]   CSteamInterface006 constructed.
23:24:21:843 [3108\3000]   Using Interface Steam006
23:24:21:859 [3108\3000]   SteamStartup
23:24:21:890 [3108\3000]   SteamIsLoggedIn
23:24:21:937 [3108\3000]   Using Interface Steam006
23:24:21:937 [3108\1640]   DllMain: DLL_THREAD_ATTACH
23:24:24:437 [3108\3000]   SteamWriteMiniDumpFromAssert
23:24:24:453 [3108\3000]   SteamWriteMiniDumpFromAssert


Edit3: As we are already talking about RevEmu, I've got a problem with DarkMessiah SP. Using RevEmu the game is cut, using SteamEmu it's uncut. afaik darkmessiah looks if appid 2123 is subscribed, if it is subscribed it starts te game cut. If it is not subscribed, it will start completely uncut.

Edit4: Could it be because I'm using XP x64? I'll test it with XP x86 tomorrow.

Author:  Mitsukarina [ Tuesday, 29 Apr 2008, 10:00 ]
Post subject: 

Hm ok,
Thanks for the Dark messiah Info, I'll update revEmu at some point to fix that.

I'm not having these problems wih revEmu and the ship at all, but did the old method for GCFPrep 1.4 work:

Copy all support files into game root.
Also, leave them alone in the bin folder if the game has copies there unless they are steam.dll or steamclient.dll, in which case remove.

If that used to work fine for everyone, then we can roll back to that method, but it may be better to add an option in the support files config to exclude a file for certain appids as all of this seems inconsistent across machines.

Author:  MattMan [ Tuesday, 29 Apr 2008, 11:51 ]
Post subject: 

marcosatti wrote:
Yes, I have MS Framework 1.1, 2.0(sp1), and 3.0, before you ask.


Unable to load DLL 'GCFPrep.dll'....Exception for HRESULT: 0x800736B1

If I click continue it will get to the GUI, but cant do anything else pretty much. Followed the quick start guide... for nubs like me!



I was having that problem too. I solved it downloading the Microsoft Visual C++ 2008 Redistributable Package:
http://www.microsoft.com/downloads/deta ... layLang=en

(You don't need to install the all .Net Framework SDK)

Regards.

Author:  Mitsukarina [ Tuesday, 29 Apr 2008, 12:32 ]
Post subject: 

MattMan wrote:
marcosatti wrote:
Yes, I have MS Framework 1.1, 2.0(sp1), and 3.0, before you ask.


Unable to load DLL 'GCFPrep.dll'....Exception for HRESULT: 0x800736B1

If I click continue it will get to the GUI, but cant do anything else pretty much. Followed the quick start guide... for nubs like me!



I was having that problem too. I solved it downloading the Microsoft Visual C++ 2008 Redistributable Package:
http://www.microsoft.com/downloads/deta ... layLang=en

(You don't need to install the all .Net Framework SDK)

Regards.


Thanks for the feedback MattMan, I've added this to the FAQ, along with links to x86 and x64 downloads.

I've also corrected the prerequisites and put a link to the .NET download site!

Author:  stuntsy [ Tuesday, 29 Apr 2008, 13:39 ]
Post subject: 

Quote:
I was having that problem too. I solved it downloading the Microsoft Visual C++ 2008 Redistributable Package:
http://www.microsoft.com/downloads/deta ... layLang=en

(You don't need to install the all .Net Framework SDK)

Regards.


Thanks, that fix is working for me. Nice find! :D (you saved me uninstalling kapersky :D )

Author:  PeJpepiG [ Tuesday, 29 Apr 2008, 14:44 ]
Post subject: 

Mitsukarina wrote:
Copy all support files into game root.
Also, leave them alone in the bin folder if the game has copies there unless they are steam.dll or steamclient.dll, in which case remove.

Doesn't work for me.
If I set SteamClient=False and use the three files included in GCFPrep it doesn't work. If I set SteamClient=True it works fine using these 3 files.
This problem does not only exist for The Ship, it exists for all games I've tested so far.

Page 6 of 19 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/