How can I launch BMS via hl2.exe with parameters (-game BMS)

Hello,

I want to convert some 3D models using Ninja Ripper. I tried to use 3D Ripper DX before, but the ripped models are rotated.
To rip in BMS I started Steam with the Ripper, that works when I use 3DRDX, but it doesn’t work with Ninja Ripper.

Now I have to start BMS directly:

Exe: hl2.exe
Arg: -game [path of BMS]

It does almost work, but it says “Can’t find background image materials/console/background0.vtf”.
How can I fix this? I already tried to use the BG image from Portal, but it didn’t work. ?(

make a desktop shortcut to Source SDK Base 2007

and in the target box add -game “C:\Program Files (x86)\Steam\steamapps\sourcemods\BMS”

edit mod path as necessary.

I think that actually gives the error OP is having.

Create a shortcut to your Steam.exe. Click on it, ALT+Enter, and in the target box, add a space, and then

-applaunch 218 -game “C:\Steam\SteamApps\sourcemods\BMS”

to the end of it.

Obviously add in your own filepath to BM, should work without issue.

Yes, you can no longer directly use hl2.exe to launch Black Mesa (doing so will give exactly that error). You need to launch through Steam using the -applaunch parameter, as Crypt mentioned.

Ok.
But isn’t -applaunch 218 -game “C:\Steam\SteamApps\sourcemods\BMS” the same as starting BMS with the button in Steam?
I haven’t tried yet (I can only try it in 2 days, I’m not on my PC), but I’m afraid that the injecting of the Ripper doesn’t work because it doesn’t work when I select Steam.

BTW, starting “No More Room In Hell” (another SourceMod on Steam) via “hl2.exe -game nmrih” works (howerver the ripper doesn’t work), NMRIH is from 2011, BMS from 2012.

[table]
[tr]
[td]Game: [/td]
[td]Starting w/ Ripper[/td]
[td]Ripping:[/td]
[/tr]
[tr]
[td]---------[/td]
[td]------------------------[/td]
[td]-----------------[/td]
[/tr]
[tr]
[td]Portal[/td]
[td]Works[/td]
[td]Works[/td]
[/tr]
[tr]
[td]NMRIH[/td]
[td]Works[/td]
[td]Doesn’t work[/td]
[/tr]
[tr]
[td]BMS[/td]
[td]Doesn’t work[/td]
[td]???[/td]
[/tr]
[/table]

This is the only manner of starting BMS as far as I’m aware. If it doesn’t work for your purposes,you could try decompiling the models you need with a Source model decompiler like Crowbar. Though you’ll need to be able to import SMDs to your modeling package.

I don’t know why it works with NMRIH. Maybe because that’s a standalone game integrated w/ Steamworks API?

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.