Finding problem is getting harder, and I'm at a loss for guesses
Ok I installed SDK and said all at end after extracting assets etc that fully configured etc, but once I click on Bloodlines SDK.exe or a shortcut I make. It doesn't launch the menu system. I tried this with and without admin Privileges. Also, I'm not seeing a sdk_errors.log and have searched the full install visually and via windows search. This same issue happens whether I use vampire folder or own mod folder when install SDK.
Sounds like some of SDK files or scripts are corrupted/deleted by AV software, or you have some limitations on use CMD.exe functionality (it mainly used for all configurations). Could you try to turn off at all your AV scanners (including Windows built-in), and reinstall SDK again?
I click on CroVtmb and same issue and all of those games in list again.
If you run it manually, you shouldn't run CroVtmb.exe file. Instead, run the probram by Launcher.exe (like the SDK menu does) - then you should get it auto-configured. Before this action, delete Crowbar settings at %AppData% and "ProjectDir.ini" file from Crowbar home.
I had a look, but no screenshot that says it failed with this issue.
I meant the case when your compiling model gets failed. The Crowbar window could contain compilers log or show some messages. So making screenshot of them would help.
Hey again Psycho-A , Yeah I ran out of guesses myself
I understood you about compile logs but we'll get to that. OK, I ran it as you said via launcher.exe after deleting the files you suggested and now only have the 2 games in the drop down selection. Bloodlines and alien swarm as it should be. Now, I'm back to where I was previously when copying the files over from the working PC.
I have transferred over from other PC the models/files that compile no issue and ran the compiler again and exact same error on this PC, but I have the exact log I always get now to provide you. Which is a nothing burger I ran compile on other PC to be absolute, absolutely sure 100% working before xfer.
// Created by CroVtMB 0.65
Compiling ".\BuffySlayerPC_REF.qc" ...
Output from compiler "F:\Games 2\PC Games Other\VtMB\SDKBinaries\StudioMDL-Sw.bat":
---------------------
Project Dir: "F:\Games 2\PC Games Other\VtMB\Vampire"
... Compiling ".\BuffySlayerPC_REF.qc" finished. Check above for any errors.also screenshot
In fact, I did install it with no AV on this system after fresh OS. Windows defender was on though, but has been on all of my rigs while installing and I have all privs on this account. The security suite I use, I have used since 2007/2008 so know it very well. If it had a fit. I'd know and when it does it saves it within the program to review later. This has never tripped my security ever. Also I installed it with same AV installed on the other PC and laptop with no issue. I can try a fresh bloodlines install and SDK soon with no AV at all, but I do think it is a dead end
Here is a silly video from earlier in the week compiled from same .qc etc on other PC.
@ MooCHa: Looks like the Crowbar launcher works and write correct settings. But then strange that SDKlauncher menu doesn't start for you on that machine. Can you help me more, please? I suggest you to go to SDKBinaries folder, then hold Shift button, and not releasing Shift, right-click context menu item "Run command window" (or similar - I'm on non-English Windows)? If you do, the CMD.exe window will appear, then type there call "sdklauncher.bat". When script will stop, please send me a screenshot of CMD window. If you just click "sdklauncher.bat" (without opening CMD.exe window), it will exit and you won't see any results.
also screenshot
It looks like studiomdl compiler is not running at all. Can U check, are the studiomdl-sw.bat and studiomdl-sw.exe files on their place? If yes, try to run studiomdl-sw.bat and see what it shows.
Psycho-A yes very strange the launcher doesn't work.
I had to add the command prompt via regedit as windows 10 doesn't have it out of the box these days and only powershell in context menu.
When I did as you say 'Press and hold shift' then right click on the actual SDKBinaries folder to access command prompt via open command prompt here. It allowed me to enter the command in the cmd window call "sdklauncher.bat" but the window just disappears. No idea what's happening with regards to this.
I ran studiomdl-sw.bat and managed to get a screenshot and might be pointing at the processer as this is 16cores / 32 threads and was a thought of mine in the MDL formatter thread. But who knows 🤷♂️
I had to add the command prompt via regedit as windows 10 doesn't have it out of the box these days and only powershell in context menu.
It exists in Windows 10 - it's just hidden by default, but it runs for all cmd/bat files or console apps which user calls.
I ran studiomdl-sw.bat and managed to get a screenshot and might be pointing at the processer as this is 16cores / 32 threads and was a thought of mine in the MDL formatter thread. But who knows 🤷♂️
That seems to be the problem! Compilers don't support the number of threads greater than 16. The only left is to artificially limit thread number through a variable, or by hard-running the file on a single core.
Can you help me with something else then? If yes, try opening the "studiomdl-sw.bat" file with notepad (right-click -> Edit), then insert a new line with the contents of "set NUMBER_OF_PROCESSORS=4" next after "setlocal ENABLEEXTENSIONS". And then run the compiler again. If this doesn't help, then there is another way. Find the line number 10 in the same file, and replace "%~dpn0.exe" with "start /b /affinity 1 studiomdl-sw.exe" (without quotes). Then run studiomdl-sw.bat from the same folder. The last way is to set compatibility layer to "Windows XP SP2" direct on "studiomdl-sw.exe" which would disallow to execute with more than 4 or 16 threads. I would do all this myself of course - but alas, I don't have a processor with that many cores...
Ok I've tried all permutations and no go. Every thing you said separately on own, and all together or in pairs
Oh, I'm sorry to hear that. This actually means that part of the SDK will be unavailable to all users with modern processors... And I won't be able to do anything about it, because the source code of the main Alien Swarm libraries is closed. Is regular StudioMDL compiler (Bloodlines native) behaves the same for you?
There is one last thought. As far as I've heard, the Source Filmmaker tool has much higher technical limits - but it's based on the Alien Swarm engine and uses the same assets format. If you have Steam on that computer, you could try installing Source Filmmaker (it's even free) and check the studiomdl.exe compiler from there. And if everything is OK, then I could port it to the SDK so it would work successfully with MDL Formatter!
Psycho-A It is absolultely the processor 100% as I've just compiled successfully.
Type msconfig into Windows Run program or Search bar. Choose Boot tab page, click Advanced options... Check box - Number of processors: and from drop list, I chose 8 then reboot
I rebooted and this has also resolved the issue with the SDK Menu not appearing I clicked Crowbar from SDK menu and followed through to compile Also the SDK now launchers from the Loader, too.
It's a good start to get somewhere and at least is a kind of temp fix for anyone in same position 👍
This was a 2nd test on Drusilla
// Created by CroVtMB 0.65
Compiling ".\DrusillaPC_REF.qc" ...
Output from compiler "F:\Games 2\PC Games Other\VtMB\SDKBinaries\StudioMDL-Sw.bat":
---------------------
Project Dir: "F:\Games 2\PC Games Other\VtMB\Vampire"
writing F:\Games 2\PC Games Other\VtMB\SDKBinaries\assets\models/character/pc/female/tremere/armor0/DrusillaPC.vvd:
vertices 209712 bytes (4369 vertices)
tangents 69904 bytes (4369 vertices)
total 279680 bytes
---------------------
Generating optimized mesh "F:\Games 2\PC Games Other\VtMB\SDKBinaries\assets\models/character/pc/female/tremere/armor0/DrusillaPC.sw.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 27 bytes
strip groups: 99 bytes
strips: 105 bytes
verts: 39321 bytes
indices: 25392 bytes
bone changes: 8 bytes
everything: 65016 bytes
---------------------
Generating optimized mesh "F:\Games 2\PC Games Other\VtMB\SDKBinaries\assets\models/character/pc/female/tremere/armor0/DrusillaPC.dx80.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 27 bytes
strip groups: 99 bytes
strips: 245 bytes
verts: 39726 bytes
indices: 25392 bytes
bone changes: 848 bytes
everything: 66401 bytes
---------------------
Generating optimized mesh "F:\Games 2\PC Games Other\VtMB\SDKBinaries\assets\models/character/pc/female/tremere/armor0/DrusillaPC.dx90.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 27 bytes
strip groups: 99 bytes
strips: 105 bytes
verts: 39321 bytes
indices: 25392 bytes
bone changes: 648 bytes
everything: 65656 bytes
Completed "DrusillaPC_REF.qc"
---------------------
Starting MDL Formatter tool...
---------------------
Converting model to VtMB format...
Converting success.
---------------------
Compiling model success.
---------------------
... Compiling ".\DrusillaPC_REF.qc" finished. Check above for any errors.
Edit:
I had to transfer over TTH/TTZ/vmt for the compiles from other PC and all fine in game.
Edit 2:Ive now tested on 16 rather than 8 and all works. I'll try higher now. 16 gives 8 cores / 16 threads. You can see the cores on HWinfo. Ill so another test higher now to see if it fails.
Edit3: I have now successfully compiled on selecting 31 processors(threads) now and I still have 16 cores active but only 31 threads which isn't going to be anything majorly noticeable so this should be a decent temp work around for anybody in same boat 👍
@ MooCHa: It's the great news! I already included this temporary solution into the next SDK update manual
By the way, now I understand why you didn't load the main SDK menu. It's built on the same common libraries as studiomdl.exe is. I'd like to check some different solution of this issue. All Valve's SDK tools accept threads limit command line, like "-threads 2". Can you please check, will it work for you? For that, open studiomdl-sw.bat again, find [ call %StudioMDL% -game "%ModTmp%" -nop4 %CmdLine% "%QCFile%" ] string and replace with [ call %StudioMDL% -threads 1 -game "%ModTmp%" -nop4 %CmdLine% "%QCFile%" ]. Of course, you need to disable CPU limitations in MSConfig before, and restart OS. For SDKLauncher.exe you may do the same, adding start SDKLauncher.exe -threads 1 inside of "sdklauncher.bat" file.
I disabled the CPU limitation last night before bed and double checked before trying this. I'll post the lines I replaced in case I made an error.
I replaced the line 128 with call %StudioMDL% -threads 1 -game "%ModTmp%" -nop4 %CmdLine% "%QCFile%" in studiomdl-sw.bat and replaced line 223 with start SDKLauncher.exe -threads 1 in sdklauncher.bat and no change. It doesn't load the SDK Menu and had to try compile via clicking launcher.exe in Crowbar folder to open CroVtmb to compile. There is no difference in the compile error log than previously posted
Also with edit to studiomdl-sw.bat. This error is exact same.
@ MooCHa: thanks for assistance! Well, for now the CPU limitation is the only solution... It's already in SDK info, until I find the better way. Maybe I'll find the way to patch SDK DLLs to expand thread limits, or find way to fix it in source code (although it's closed for SDKLauncher.exe)...
@ MooCHa: thanks for assistance! Well, for now the CPU limitation is the only solution... It's already in SDK info, until I find the better way. Maybe I'll find the way to patch SDK DLLs to expand thread limits, or find way to fix it in source code (although it's closed for SDKLauncher.exe)...
No worries. If you think of anything. Just post and I'll try to look at it 👍
Social Media