Shaktal wrote:when I tried to run the file outside of the development environment it gave me the following error
The error is probably because the executable cannot find the fx file as the fx file is not in the same folder as the exe. Move the exe to the same folder as the resources (probably just in the project's directory, not the solution directory where it currently resides).
Shaktal wrote:The program does let me step into the code (I think (I have not had to do this before))
Wherever the program flips out is the call that throws the error message while debugging. F10 steps through the program, F11 steps into a function call.
Shaktal wrote:Regarding the Half-life 2 Source Code, If you want the files then an easy way to get the code is to go into the SDK and to create a mod, that gives all of the uncompiled files (excluding a few precompiled ones (tier0.dll, tier1.dll etc.) but I think that it is possible to change these (with the right tools etc.)) that cover the majority of the games functionality.
Ah, that's how you get it! Thanks for the revelation!

I've been desiring a glimpse into the engine...
Shaktal wrote:looks like a completed error of the original problem
Gosh, if that's been the problem, what a nightmare this has put you through! Remember, visual studio maintains all resource files in the
project's directory, and keeps the solution in the
solution's directory (ie. "Debug" or "Release"). When running the application through visual studio, the
project's directory is used as the application's folder. When running the application outside of visual studio, the application's actual folder--the
solution directory--is used as the application's folder.
I guess if that is really the problem, the last point would be trying to move the resources inside the correct directory.