Explanation (for the curious)
When the ads were added to CS 1.6 (in V35), 2 files were added to the game: iga_static.wad and iga.dat.
iga_static.wad is the ad textures themselves, iga.dat is "where do I put them inside each map?".
People focused on finding a way to edit these files.
anssik, a DigitalZone admin, and the guy behind their awesome CS 1.6 standalone, found a way to remove the
ads by editing iga.dat. That method actually removed the ads, but caused 2 error messages in console when
starting or joining a game.
Three days ago (24/6) I found a way to remove these messages. I found the error message in hw.dll and erased
it. It worked. After doing so, I realised that hw.dll actually contains everything regarding the ads. It
includes weird strings like "CLIENTDLLINGAMEADVERTISING", for example. The conclusion: the ads originate in
hw.dll.
Yesterday (26/6) I had a brilliant idea. I know that only 3 GoldSrc games have ads: CS, CS beta (it's a
seperate game, it uses different GCFs) and CZ. Inside hw.dll, they should appear as cstrike, cstrike-beta
and czero. I wondered, if I could just locate one single line with all the 3, and nothing but them, that's
the actual list of games with ads. All I need to do is to remove CS from that crappy list.
I've started searching for "cstrike" inside hw.dll, and then I found it: just 2 lines above
"CLIENTDLLINGAMEADVERTISING" and all the client-related strings. I replaced "cstrike" with "tfc" (Team
Fortress Classic, another GoldSrc game that nobody plays), and guess what? The game started faster, without
ads, joining games was faster, everything is faster. It also worked with "czero" instead of "cstrike", I've
found out that any word can fit. In theory, what I did is actually fully disabling the ingame ads. Not
corrupting files and removing the error message, I DISABLED THEM.
To test my theory, I put anssik's iga.dat, without removing the error message from hw.dll (so the error
should appear), with my ad removal fix. The error didn't appear, which means that the game doesn't read
iga.dat. It works even without iga.dat and iga_static.wad (without the fix, the game crashes when they're
missing). The ads are DISABLED, for good.
original topic -
http://cs.rin.ru/forum/viewtopic.php?f=30&t=52927