Well I figured out why vphysics.dll wasn't being loaded.
I was running:

   bin\ep1\bin\studiomdl -game "path to orangebox mod"

That caused Steam to overwrite bin\ep1\bin\vphysics.dll (and a
bunch of other files) with the orangebox versions.  Having
HLMV running prevented those files from being overwritten.

-- Tim Baker


I built the EP1 studiomdl.exe using the current beta code and the
function that fails is in physdll.cpp:PhysicsDLLPath...

   pPhysicsModule = g_pFullFileSystem->LoadModule( dllPath );

...where dllPath is "VPHYSICS.DLL".  With HLMV running this function
succeeds.
I added these lines before the LoadModule() call:

   char out[1024];
   Q_getwd( out, sizeof(out) );

That verified the current working directory as the bin\ep1\bin directory
where vphysics.dll is located.

My debugging adventures stop there as I don't think we are given the
sources
to IFileSystem::LoadModule.

-- Tim Baker


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to