Compiling Half Life 2 for FreeBSD because I hate my life
HTML-код
- Опубликовано: 11 дек 2024
- lmk if you want to see me port cs source, portal or anything else.
This is the whole process start to finish. I will drop some time stamps below if you dont wanna watch through the whole things.
Building the game the game from source code: 17:58
Playing the game: 37:56
Source Code Here:
github.com/nil...
Commands I used to build the game:
$ cd source-engine
$ python3 waf configure -T release
$ python3 waf build
$ python3 waf install -destdir=“yourdirectory”
Then drag and drop hl2 and platform folders into “yourdirectory” folder and your done
Setting up and fixing nvidia drivers:
Installing and setting up:
• How to configure NVIDI...
Fix for 340:
forums.freebsd...
#valve #halflife #halflife2 #portal #sourceengine #source #source2 #csgo #cssource #counterstrike #steam #freebsd #linux #gaming
I'm that one who ported nillerusr's Source engine fork to FreeBSD. Nice to see it's useful for someone else!
@er2off All credit to you man. How did you do it?.
love youtube, you can't normally use parentheses in comments with links
@@fatkid5600Actually it's not that hard if you have source code (and have some programming skills of course). Initially I had bad looking patch but after that I made more normal port and made pull request.
The only issue I have is random kernel panic with AMD GPUs. This happens even on Steam linux version of HL2 running through linuxulator (Steam version fixes with dxvk which is under -vulkan launch flag). I couldn't trigger crash with CSGO leaked engine (leaked in 2020, like source2013, but both are at ~2017 state). For CSGO I needed to remake most of patches and build goldberg steam emulator.
Half-life is life, you cannot hate it.
favourite game OAT
frfr
actually its 1/2 of a life!
That one friend on a tuesday afternoon:
love the druaga1 vibe.
FreeBSD finally got games before the PlayStation 5 did.
The PS5 runs on its own fork of FreeBSD.
brahillms1374 That would be the PS4 IIRC.
@@brahillms1374 Same with the ps4 and ps3. OrbitOS and CellOS
this video makes me wanna clean my glasses
@@jeremymetzler72 yea quality is kinda brutal💀
Really cool, now make a dedicated half life 2 OS from scratch.
15:40 @ libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format.
no its libertarian ass
cant lie, the pfp clash really frazzled my brain. love the content tho its fairly wikkid
aphex twin on top
aphex twin peak ass music
This was a cool video to watch and fair play to you for getting it all working. But I hope you don't mind me saying, you didn't port the game to FreeBSD. You compiled it -- it looks like this repo was already setup for a FreeBSD build. If you were porting the game, you'd be modifying the source code to target FreeBSD specifically and then getting it to compile. But it looks like it was already done.
Still, no easy feat!
Yes, you are correct I didnt "port" it I compiled it. Just when I titled the video I just wrote port because its what came to me at the time
Following the instructions and copypasting all the commands.
I can see your MIT education really pays for itself.
@@UAVXP well its too hard for the valve devs to do😂
Thanks for sharing your progress here- I'm on a fresh Artix install again, an old Dell Latitude E6410 while I look for a new motherboard. I keep seeing these HL2 build videos in my feed ever since the anniversary -might be worth trying to tackle. Haven't given BSD a shot on a desktop machine as much as for server use, so this was kind of novel :) Cheers 🍻
I was about to say as soon as I heard you saying that you couldn't look and move at the same time, it's a limitation that most laptops have and it's always solved by plugging in a mouse, it's also just more comfortable to play that way
that's great son, any progress on compiling that job resume?
Yeeahhhh!!! I’m doing this tomorrow on my fridge 🤣
@@HitokiriKincho Has native android and arm support, go right ahead
Title is such a mood, friend. I hate my life too.
The most sane BSD user:
an actual good operating system
Time stamps and all other information about how I did this, commands I used to build and fixes for nvidia drivers. Are all in the description
More you hate your life,more we love you,so let's continue with the porting of more games :D
@@ZioMarietto I am planning on porting Portal, Counter-Strike Source and whatever else I can
@@fatkid5600 What about the HL2 "beta"?
Now this is quality content
that ultrawide camera is absolutely diabolical... cool video though
@@binku09 Its because of my stupid aliexpress phone case that has an extra lense
insane video quality seem like you're filming inside of radioactive reactor
Oof 46 minutes which is probably edited which means the suffering lasted longer
Assuming it’s edited
@@randomboiiii69420 yes, actually 4 days of trial and error on different oses just messing around trying to get a 32 bit mac port for my 1,1 mbp. But i just tried my hand at freebsd for fun. Took about a total of like 8-9 hours. Mainly troubleshooting
if it werent for the lack of software support i'd fully use freebsd, otherwise im stuck with linux and sometimes windows.. glad to see that its possible to see my favorite game series be able to be played on bsd, I wonder if its possible to do this with CS:2 or any more recent valve title
@@SoundCubed It is not possible to do it with any valve title. This is the 2017 tf2 Leak of the engine. And honestly if freebsd had good software support, id probably prefer linux instead. I daily linux and its significantly less of a challenge then freebsd in my point. but freebsd is more fun if im being honest. alot more fun, all that extra work is my kind of thing on a weekend but not to daily
Nice video .liked and subbed you deserve it :D
Trackpad and keyboard not working simultaneously might be a LXDE feature against accidental inputs, check out mouse/trackpad settings.
Yes probably, i didnt spend much time trying to fix it because I just plugged in an external mouse
now openbsd riscv
osakaos
@@shadesoftime oh my gah
Amazing, well done!
Why bro 😭😭
idk. noone else has done it before it seems so might aswell try lmao
I think i would wanna see you play Portal on FreeBSD.
I did that last night. Just need to edit the video
LESSS GOOOOOOOO
core 2 duo pog
Compiled it and everything on it
I’ve honestly never seen that achievement popup before, usually it’s the regular steam achievement notification. Maybe it’s included in the SDK for modders?
As for FreeBSD itself, I actually considered installing and running it on my old lenovo laptop, but it unfortunately doesn’t play well with rtw880 wifi cards, which made me sad. I do quite like BSD, it’s a shame its younger cousin linux gets the spotlight.
Hello, fatkid5600. Oh yes, i forgor, my favorite lib that i use everyday - libass 15:39
@@holafholaf hello holafholaf
@@holafholaf libass is an essential library to have
@@fatkid5600 xvidcore too
Instant subscribe
I love this
Portal 2. I dare you.
Maybe
good job
wait the half life 2 source code is public?
@sometime- Got leaked in github a little while back. its a 2017 tf2 version of the engine
sick
thanks benny
Now try to compile hl2sdk-ep1c cstrike branch & run counter strike source v34
Already working on CS Source
Wait you can compile it? Gonna do it on my x201 gentoo
Theres a github page, i linked in in the description
Aphex ❤
Aphex Twin
Aphex Twin
By any chance did you post about this on reddit? I was on there yesterday and seen that someone did this exact same thing to a T
@@AgentMello yes that was me
@fatkid5600 nice! This is super cool dude!
You have the same pc as my mother, is it a pavilion dv7 1204ef ?
CTRL + L = clear
Would Garry's Mod be possible to port?
@@Qohist Was thinking of this. Definitely not a newer version. Possibly an older version like gmod 9
I suppose this can be used to compile a Nintendo Switch version?
Would take more work but there's no reason to think that it wouldn't be possible with the right libraries linked.
unemployed people at 2 am:
install netbsd on a toaster and compile hl2 on it next
Nice tutorial .Next time please make a video capture.We cannot see sheet.
@@Kuberniccus this wasnt meant to be a tutorial really just me messing around until it worked. Next time quality will be better
half life 2 on orbis when
your computer crashing from overheating, compining hl2 on a core2 due laptop xD
Is this too much for game devs??? Just give us Linux versions how hard can it be?
@@bj0urne Exactly, you can also do full native android support. 64 bit and Arm Mac Support but thats too much to ask
:3
I can't believe that half life 2 can run even on unnecessary operating systems, now that's a game that is life.
Linux is bloated
This isn't even Linux bro
freebsd is the way
@@benmaks I think that's why he is saying it, "Linux is bloated, better compile what you want for FreeBSD"