robert.briscoe Posted February 18, 2008 Report Posted February 18, 2008 Hey guys, I'm using the latest sdk beta (-beta srcsdk0122) so that I can create a new mod using the orange box engine as a base. The problem im having is that I cannot get models to compile. At the moment I have a batch file which i drag my .qc files onto, the bat file consists of the following: @echo off "%sourcesdk%\bin\orangebox\bin\studiomdl.exe" "%1" pause when the compile window comes up I get "WARNING: AppFramework : Unable to load module p4lib.dll!" and at the end: "Error opening f:\valve\steam\steamapps\SourceMods\Willows\models/perftest\PineTreeInd_01.mdl! (Check for write enable)" Now i've seen on various forums that you need to add a -nop4 command when you launch the sdk, so I added a shortcut with the line "F:\Valve\Steam\Steam.exe -applaunch 211 -nop4 -beta srcsdk0122" however it doesnt seem to fix the problem for me. Anyone know what im doing wrong? Quote
m8nkey Posted February 18, 2008 Report Posted February 18, 2008 I haven't touched the Orange Box SDK but I did read a thread on a forum where someone had this error and simply compiled the model for -ep1 instead and it worked fine in TF2. I can't verify if this is true or not but it may be worth trying as a temporary work around. Quote
Bluestrike Posted February 18, 2008 Report Posted February 18, 2008 The nop4 is not nessesary with the beta sdk, you also put it in the wrong place, you had to make a shortcut to studiomdl.exe and use it at the command line there. I haven't compiled a model with the orangebox sdk since the beta is availeble, before I just used EP1 for a portal model as M8nkey mentioned. Quote
Mr. Happy Posted February 25, 2008 Report Posted February 25, 2008 Your not using the beta source sdk. Adding -beta srcsdk0122 to the Start in: line of your steam shortcut does nothing, it needs to go in the Target: field. You need to make a new shortcut from scratch (as the default shortcut doesn't let you edit the Target: field) 1. Close Steam 2, Right click on your desktop and choose New>Shortcut 3. Click Browse and navigate to your steam installation directory (typically C:\Program Files\Steam) 4. Choose the second, capitalized, Steam listing. (You will see steam and Steam. steam is an icon, Steam is the exe) 5. Click Ok, Next, and Finish 6. Right click on the new shortcut and choose "properties" 7. In the "Target" field type -beta srcsdk0122 AFTER the quotes. 8. Restart Steam and the Source SDK will update. Also, don't add the app launch 211. The shortcut needs you be for steam, rather than the SDK. Once you've restarted steam and the SDK updates the standard Source sDK shortcut without any extra switches will launch the beta. Quote
skdr Posted February 26, 2008 Report Posted February 26, 2008 This beta can be enabled from Steam settings too. No need to fiddle around with command lines. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.