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

Комментарии • 105

  • @er2off
    @er2off 4 часа назад +7

    I'm that one who ported nillerusr's Source engine fork to FreeBSD. Nice to see it's useful for someone else!

    • @fatkid5600
      @fatkid5600  3 часа назад

      @er2off All credit to you man. How did you do it?.

    • @er2off
      @er2off 3 часа назад

      love youtube, you can't normally use parentheses in comments with links

    • @er2off
      @er2off 3 часа назад

      ​@@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.

  • @Cinarbayramic
    @Cinarbayramic 23 часа назад +45

    Half-life is life, you cannot hate it.

  • @laza_ru_s
    @laza_ru_s День назад +64

    That one friend on a tuesday afternoon:

  • @ahmedkj9923
    @ahmedkj9923 2 дня назад +44

    love the druaga1 vibe.

  • @NathanDarkson984
    @NathanDarkson984 17 часов назад +16

    FreeBSD finally got games before the PlayStation 5 did.

    • @brahillms1374
      @brahillms1374 16 часов назад +6

      The PS5 runs on its own fork of FreeBSD.

    • @NathanDarkson984
      @NathanDarkson984 16 часов назад

      brahillms1374 That would be the PS4 IIRC.

    • @fatkid5600
      @fatkid5600  16 часов назад +2

      @@brahillms1374 Same with the ps4 and ps3. OrbitOS and CellOS

  • @jeremymetzler72
    @jeremymetzler72 День назад +20

    this video makes me wanna clean my glasses

    • @fatkid5600
      @fatkid5600  День назад +5

      @@jeremymetzler72 yea quality is kinda brutal💀

  • @mariuszkonopia
    @mariuszkonopia 23 часа назад +20

    Really cool, now make a dedicated half life 2 OS from scratch.

  • @tehwolf1337
    @tehwolf1337 День назад +16

    15:40 @ libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format.

    • @misterk7_-
      @misterk7_- День назад

      no its libertarian ass

  • @vatonix84
    @vatonix84 День назад +11

    cant lie, the pfp clash really frazzled my brain. love the content tho its fairly wikkid

  • @shinto29
    @shinto29 2 дня назад +17

    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!

    • @fatkid5600
      @fatkid5600  2 дня назад +8

      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

  • @UAVXP
    @UAVXP День назад +16

    Following the instructions and copypasting all the commands.
    I can see your MIT education really pays for itself.

    • @fatkid5600
      @fatkid5600  День назад +7

      @@UAVXP well its too hard for the valve devs to do😂

  • @MuteObserver
    @MuteObserver 21 час назад +2

    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 🍻

  • @Eternal_SSJ
    @Eternal_SSJ 18 часов назад +2

    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

  • @plashe9041
    @plashe9041 День назад +13

    that's great son, any progress on compiling that job resume?

  • @HitokiriKincho
    @HitokiriKincho 3 дня назад +8

    Yeeahhhh!!! I’m doing this tomorrow on my fridge 🤣

    • @fatkid5600
      @fatkid5600  3 дня назад +5

      @@HitokiriKincho Has native android and arm support, go right ahead

  • @sleepymincy
    @sleepymincy День назад +8

    Title is such a mood, friend. I hate my life too.

  • @noplss
    @noplss 18 часов назад +2

    The most sane BSD user:

  • @CrazedToothpickEater
    @CrazedToothpickEater 22 часа назад +3

    an actual good operating system

  • @fatkid5600
    @fatkid5600  3 дня назад +20

    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

  • @ZioMarietto
    @ZioMarietto 3 дня назад +2

    More you hate your life,more we love you,so let's continue with the porting of more games :D

    • @fatkid5600
      @fatkid5600  3 дня назад +1

      @@ZioMarietto I am planning on porting Portal, Counter-Strike Source and whatever else I can

    • @Leonard_MT
      @Leonard_MT День назад +1

      ​@@fatkid5600 What about the HL2 "beta"?

  • @crazyredhead-
    @crazyredhead- День назад +3

    Now this is quality content

  • @binku09
    @binku09 20 часов назад +1

    that ultrawide camera is absolutely diabolical... cool video though

    • @fatkid5600
      @fatkid5600  19 часов назад

      @@binku09 Its because of my stupid aliexpress phone case that has an extra lense

  • @spartv1537
    @spartv1537 8 часов назад

    insane video quality seem like you're filming inside of radioactive reactor

  • @randomboiiii69420
    @randomboiiii69420 День назад +5

    Oof 46 minutes which is probably edited which means the suffering lasted longer
    Assuming it’s edited

    • @fatkid5600
      @fatkid5600  День назад

      @@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

  • @SoundCubed
    @SoundCubed 16 часов назад +1

    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

    • @fatkid5600
      @fatkid5600  16 часов назад

      @@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

  • @n-uv7vg
    @n-uv7vg День назад +1

    Nice video .liked and subbed you deserve it :D

  • @benmaks
    @benmaks 22 часа назад +3

    Trackpad and keyboard not working simultaneously might be a LXDE feature against accidental inputs, check out mouse/trackpad settings.

    • @fatkid5600
      @fatkid5600  21 час назад +1

      Yes probably, i didnt spend much time trying to fix it because I just plugged in an external mouse

  • @letronix6243
    @letronix6243 День назад +7

    now openbsd riscv

  • @asystole_
    @asystole_ 2 дня назад +1

    Amazing, well done!

  • @The_BiggestSimp
    @The_BiggestSimp 3 дня назад +7

    Why bro 😭😭

    • @fatkid5600
      @fatkid5600  3 дня назад +3

      idk. noone else has done it before it seems so might aswell try lmao

  • @GumaKulkae
    @GumaKulkae Час назад +1

    I think i would wanna see you play Portal on FreeBSD.

    • @fatkid5600
      @fatkid5600  Час назад

      I did that last night. Just need to edit the video

  • @ItzVladik
    @ItzVladik 4 часа назад +1

    LESSS GOOOOOOOO

  • @Ikxi
    @Ikxi День назад +2

    core 2 duo pog

    • @fatkid5600
      @fatkid5600  22 часа назад

      Compiled it and everything on it

  • @brahillms1374
    @brahillms1374 12 часов назад

    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.

  • @holafholaf
    @holafholaf 16 часов назад +2

    Hello, fatkid5600. Oh yes, i forgor, my favorite lib that i use everyday - libass 15:39

    • @fatkid5600
      @fatkid5600  16 часов назад +1

      @@holafholaf hello holafholaf

    • @fatkid5600
      @fatkid5600  16 часов назад +1

      @@holafholaf libass is an essential library to have

    • @holafholaf
      @holafholaf 16 часов назад

      @@fatkid5600 xvidcore too

  • @ScaryHutmanPictures
    @ScaryHutmanPictures День назад +1

    Instant subscribe

  • @Shytzedaka
    @Shytzedaka День назад +1

    I love this

  • @dbnart.
    @dbnart. День назад +2

    Portal 2. I dare you.

  • @BananJumper
    @BananJumper День назад +1

    good job

  • @sometime-
    @sometime- День назад +4

    wait the half life 2 source code is public?

    • @fatkid5600
      @fatkid5600  День назад +1

      @sometime- Got leaked in github a little while back. its a 2017 tf2 version of the engine

  • @virtuallymeowing
    @virtuallymeowing 3 часа назад +1

    sick

  • @dakimasuu
    @dakimasuu День назад +1

    thanks benny

  • @nightpranks
    @nightpranks 23 часа назад +1

    Now try to compile hl2sdk-ep1c cstrike branch & run counter strike source v34

    • @fatkid5600
      @fatkid5600  22 часа назад

      Already working on CS Source

  • @a_dogg5277
    @a_dogg5277 День назад +1

    Wait you can compile it? Gonna do it on my x201 gentoo

    • @fatkid5600
      @fatkid5600  22 часа назад

      Theres a github page, i linked in in the description

  • @kterstal
    @kterstal 18 часов назад +1

    Aphex ❤

  • @LeeSurge
    @LeeSurge День назад +1

    Aphex Twin

  • @AgentMello
    @AgentMello День назад +1

    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

    • @fatkid5600
      @fatkid5600  День назад

      @@AgentMello yes that was me

    • @AgentMello
      @AgentMello 22 часа назад +1

      @fatkid5600 nice! This is super cool dude!

  • @gamepunk7963
    @gamepunk7963 24 минуты назад

    You have the same pc as my mother, is it a pavilion dv7 1204ef ?

  • @BLUYES422
    @BLUYES422 22 часа назад

    CTRL + L = clear

  • @Qohist
    @Qohist 17 часов назад +1

    Would Garry's Mod be possible to port?

    • @fatkid5600
      @fatkid5600  16 часов назад

      @@Qohist Was thinking of this. Definitely not a newer version. Possibly an older version like gmod 9

  • @gez_4515
    @gez_4515 6 часов назад

    I suppose this can be used to compile a Nintendo Switch version?

    • @shinto29
      @shinto29 4 часа назад

      Would take more work but there's no reason to think that it wouldn't be possible with the right libraries linked.

  • @billkormas3460
    @billkormas3460 7 часов назад

    unemployed people at 2 am:

  • @rav6324
    @rav6324 День назад +1

    install netbsd on a toaster and compile hl2 on it next

  • @Kuberniccus
    @Kuberniccus День назад +2

    Nice tutorial .Next time please make a video capture.We cannot see sheet.

    • @fatkid5600
      @fatkid5600  День назад +1

      @@Kuberniccus this wasnt meant to be a tutorial really just me messing around until it worked. Next time quality will be better

  • @krazykatz97_1
    @krazykatz97_1 День назад +1

    half life 2 on orbis when

  • @AurraKo
    @AurraKo Час назад

    your computer crashing from overheating, compining hl2 on a core2 due laptop xD

  • @bj0urne
    @bj0urne День назад +1

    Is this too much for game devs??? Just give us Linux versions how hard can it be?

    • @fatkid5600
      @fatkid5600  День назад +1

      @@bj0urne Exactly, you can also do full native android support. 64 bit and Arm Mac Support but thats too much to ask

  • @valbrrie
    @valbrrie 18 часов назад +1

    :3

  • @luisalbertobalaguer5460
    @luisalbertobalaguer5460 15 часов назад +1

    I can't believe that half life 2 can run even on unnecessary operating systems, now that's a game that is life.

  • @BunnyKhatri-pd8zm
    @BunnyKhatri-pd8zm День назад +2

    Linux is bloated

    • @benmaks
      @benmaks 22 часа назад +1

      This isn't even Linux bro

    • @fatkid5600
      @fatkid5600  22 часа назад +3

      freebsd is the way

    • @Denis-Maldonado
      @Denis-Maldonado 18 часов назад +3

      @@benmaks I think that's why he is saying it, "Linux is bloated, better compile what you want for FreeBSD"