This is an enhanced renderer implementation for GoldSRC engine. The main focus is an unchanged game hehavior with better video quality.
metahook (already provided in zip)
Half-Life or HL's mod based on GoldSRC engine
This is an enhanced renderer implementation for GoldSRC engine.
The main focus is an unchanged game hehavior with better video quality.
1.Put "metahook.exe" and FreeImage.dll in "\Steam\steamapps\common\Half-Life\" or "\No-Steam Half-Life\"
2.Put all files in "cstrike\" into "\Steam\steamapps\common\Half-Life\cstrike\" or "\No-Steam Half-Life\mod folder\",
( if you want this plugin to be installed in mod other than Counter-Strike. )
3.Create a shortcut for metahook.exe, right click the shortcut -> click Properties, add them to the "Target":
"-steam -game valve" or "-steam -game cstrike" or "-steam -game blablabla"
If you don't know how to create a shortcut, see Windows.microsoft.com
If you don't know how to change the "Target", see Windows.tips.net
4.If you are have installed this plugin into Steam Half-Life,
1.Please DO NOT run Half-Life or any other game from Steam game libray.
2.Make sure your Steam is running.
5.If you are using RevEmu to crack no-steam Counter-Strike(or other mod), please edit Counter-Strike/rev.ini and modify the "cstrike.exe" to "metahook.exe".
6.Run metahook.exe's Shortcut to play.
1.StudioModel texture replacer & BSP terrian texture replacer, with r_wsurf_replace 0/1 to turn it on/off.
See resource/extra_textures.txt or maps/[mapname]_extra.txt How to replace StudioModel's textures.
See resource/studio_textures.txt or maps/[mapname]_studio.txt How to replace BSP terrian's textures.
2.Detail textures for BSP rendering. use r_detailtextures 0/1 to turn it on/off.
See resource/extra_textures.txt or maps/[mapname]_extra.txt How to add detail textures for map.
turn it on/off with r_water 0/1. See [mapname]_extra.txt How to set water parameters.
Modify cvar r_hdr_blablabla to make it more regular. cvar r_hdr 0/1 to turn it on/off.
Turn it on with launch option "-ansio"
or set cvar gl_ansio (available value between 1~16) before loading a map.
6.MSAA (multisampling anti-aliasing)
the default MSAA setting is 4x, you can turn it off with launch option "-nomsaa"
or "-msaa N" to set the number of samples（available value 4/8/16, default 4）.
If you are running a Nvidia GPU it will use 4x CSAA + 4x MSAA as default，use "-csaa N"（available value 4/8/16, default 4）to set the number of samples of CSAA.
If you have low fps with this, just turn this off, it's too expensive for your GPU.
7.Allow more than 512 entities to display in one frame.
use "-visedicts N" as launch option, the original HL has the default value 512, maxmium value available is 4096.
8.Sky texture replacer & decal texture replacer.
See extra_textures.txt or maps/[mapname]_extra.txt how it works.
9.Support more than 64 lightmaps (no more AllocBlock:Full error)
use launch option "-lightmaps N", the original HL has the default value 64, maxmium value available is 512.
the default value in MetaRenderer is 128.
10.Support los of texture format to be loaded（See FreeImage），the maxmium size is 2048x2048xRGBA, dds(DXT1,DXT3,DXT5) format supports GPU decoding and it could be loaded faster than any other texture formats.
11.Custom screenshot, console command "screenshot format" or with no argument to capture a png format screenshot.
use r_3dsky 0/1 to turn it on or off,
this need server-side to work together with this plugin,
you can install amxmodx's module Renderer_amxx.dll or just modify mp.dll (see hlsdk or cs16nd for HL/CS server-side source code on github.com).