Are you sure it was HL2? That seems way too recent to run on a RIVA 128 or even a Voodoo 2. I think the original HL2 needed DirectX 9 at the minimum, I don't think either of those cards supported that
Yes my mistake meant HL1 of course
hl2's 2004 version could even run on directx 6.0 mode, but that was removed later on, but my intel integrated graphics at the time ran using that (mat_dxlevel 60 i think). It also had dx 7.0 for a while (which brought multitexturing compared to dx6), but I think thats also no longer there.
so its possible that it runs hl2, it would be interesting to see if it does.
I suspect half-life 1 or quake 2
Even Half-Life 1 didn't run optimally on a Riva TNT (which I had), the successor of the Riva 128. It ran better on a friend's Voodoo 2.