• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Blocking game splash screens and advertisements

Schadenfroh

Elite Member
I have been working on my sourceforge.net project for a few months now. I believe that it is finally ready to make its AT debut and solicit feedback.

The program is called GNag. It is free, open-source software under the GPL that uses a definition based approach to blocking nag screens, splash screens, forced intros, non-browser based pop-ups, advertisements, etc. that are caused by installable applications.

Summary Page (with download link)

Main Page

(you will need Microsoft's .NET Framework 2.0 or above if you are not running Windows Vista)

Read Me

You do not need to leave GNag open once you enable blocking.

Supported Games (as of June 10, 2009):
*Avira AntiVir Personal Edition Classic
*Battlefield 2
*Special Forces
*Battlefield Vietnam
*Bioshock
*Call of Duty 4
*Company of Heroes (Community - Amberclad)
*Crysis
*Dawn of War (Community - Amberclad)
*Dawn of War - Dark Crusade (Community - Amberclad)
*Dawn of War - Soulstorm (Community - Amberclad)
*Enemy Territory: Quake Wars (Testing)
*Fable
*Farcry (Testing)
*Ghost Recon Advanced Warfighter (Community - Amberclad)
*Ghost Recon Advanced Warfighter 2 (Community - Amberclad)
*H.A.W.X. (Community - Amberclad)
*Jade Empire
*Left 4 Dead
*Need for Speed: Most Wanted (Testing)
*Neverwinter Nights
*Shadows of Undertide
*Neverwinter Nights 2
*Mask of the Betrayer
*Star Wars Knights of the Old Republic 2 (Testing)
*Oblivion
*Unreal Tournament 3 (Community - Amberclad)
If requested by the publisher or developer, support will be removed as soon as possible via a definition update.

It works by modifying the registry, altering windows file permissions, renaming files, moving files and mimicking files (like replacing a bik with an "empty" bik that is still a valid bik, yet does not show anything). The files can even be in a compressed archive (compression / decompression operation is present).

It has a GUI and a CLI, the GUI features a definition editor that will allow you to create or edit your own definitions to improve functionality or to add your own programs to GNag.

GNag trys to discover supported applications on a system by looking at their default install locations. It features an automated full search and selective directory search as well if it is not installed in its default location.

Once found, the user has the option to block or unblock the application's "nag" screens. Since it does not crack or reverse engineer the game's files in anyway (all of them remain untouched, at worst they are renamed or moved), you should not have to worry about being banned by punkbuster😛

Since each game requires its own definition and I do not own every game, I was hoping that if AT users enjoy the program or like the concept, that they will contribute their own definitions (credit to the writer will be given, if desired, in the comment's of each definition). GNag has a built in definition updater so users can quickly and easily get support for new applications as they are added. You can write your own using the built-in definition editor or manually editing the XML files or you can simply share the information needed to create a definition, namely:

Program Name
ID Files (files that uniquely identify an application)
Comments (where applicable)
Default Install Paths (where the standard install puts it)
Operations (registry edits, file permissions, renames (may or may not be inside an archive), moves, mimics, etc. that will block the splash screens / nag screens)

Most nag screens in games are rather trivial, renaming or mimicing will work, one only needs to know which files. However, some of the applications supported by GNag require a bit more complex approach (the registry edits and the file permissions) to get the job done. GNag can use any supported operation in any combination, so feel free to mix and match.

It is currently in beta, so use at your own risk! I have tested it significantly, but I cannot account for the various system configurations out there.
 
Could you work in the ability to replace files within a non-compressed rar folder with different extension?
I'm thinking of games like American McGee's Alice (old I know, but it's the only one I know does this) which has the intro splash movies in a non-compressed .rar file and they just need replacing with blanks to get rid of them, but they are within a file rather than loose in a directory.

Not tried it yet, but I do like the idea.
 
Interesting... I assume you block creation of HWND (or actually probably hide any additional HWND other than the main window) for each title. But I have to wonder, if you have ANYTHING hooking the process (even just to snoop the HWND list), things like PB are going to register it as a hook and probably balk. Keep in mind that several titles look for things like Process Explorer (which can dump a window list), and will refuse to run.

But it is an interesting none the less.
 
Originally posted by: Lonyo
Could you work in the ability to replace files within a non-compressed rar folder with different extension?

Good idea, I notice some games zip some of their files. If someone out there already has a zip / rar library for C#, it should not be too difficult to add another operation for extraction / packing. IE, unzip, mimic, zip.

Originally posted by: TridenTBoy3555
Until it does 500 different games...
That is why help from the community in writing definitions is important, I wrote but the tool, it will be the definitions that take the longest time.

 
Originally posted by: TridenTBoy3555
Until it does 500 different games... Pretty useless program. 😛

He built this is his own time for no reward. Instead of being a dick, why don't you contribute?

Schadenfroh, this is awesome. I'll get to work some time in the next few days to implement my own games. Thanks for putting this together. Some of the nag screens are pretty excessive - Dawn of War 2 requires the user to press Esc 6 times to escape them all!
 
Thanks GA🙂

By the way, I finished up Beta 3 and uploaded it. It is still beta, so it will not be bug free😉

Several new applications have been added, special thanks to Amberclad for her contributions to definition writing (UT3). If FuseTalk keeps you from posting your XML code properly, feel free to email it (address in profile).
 
This is great.
The QW:ET ending screen kills me, I just told it to exit why the heck do I want to see another screen besides my desktop? I bought the freaking game stop telling me to visit your forums.
 
Originally posted by: TridenTBoy3555
Until it does 500 different games... Pretty useless program. 😛

😕

F
A
I
L


Nice job Schadenfroh, I look forward to downloading this when I get home.
 
Rise of the Amberclad:sun:

Thanks to this AT member, eight definitions have been added. Seven added today (Amber's UT3 was in the last beta release). You can grab them by redownloading GNag and replacing the XML file or simply by using the auto-update feature found in the last tab. No program update this time, only a definition update.

The more the community helps out, the quicker new applications will be added. Remember, all I need to add a definition to GNag and credit it to you is the default install path (handy for speed, but not required), files to uniquely identify it (if the files the operations are performed on are not sufficient) and what operations need to be performed in order to block those splash screens (most of the time, it is just BIK, AVI or WMV renaming or mimicking). Examine the game's install folder and see if you can discover what needs to be done.

Also, improvements to existing definitions are welcome (steam's default install path, new operations to better block them, bug fixes, ect.).
 
Sounds cool. I don't have any of the games listed, but I'll take a look at it later and see if I can figure out some of the games I do have. :thumbsup:
 
This seems like an awesome tool. I really don't mind splash screens as long as they are very brief and/or allow you to press ESC to skip them, but I just wanted to give you a :thumbsup: anyway.
 
Originally posted by: GodlessAstronomer
Originally posted by: TridenTBoy3555
Until it does 500 different games... Pretty useless program. 😛

He built this is his own time for no reward. Instead of being a dick, why don't you contribute?

Schadenfroh, this is awesome. I'll get to work some time in the next few days to implement my own games. Thanks for putting this together. Some of the nag screens are pretty excessive - Dawn of War 2 requires the user to press Esc 6 times to escape them all!

Regarding DoW2 - Yes, it is way excessive. At least they fly by quickly when you hit ESC. EA's Battlefield series of games is a bad offender too, although you can just delete many of those movie files if you know where to look.
 
Originally posted by: vj8usa
Any idea if GTA4's splash screens can be skipped? Or is actual loading going on behind them?

I do not own GTA4, I suggest taking a look at the game's folder and try to find the movies. These are usually a collection of BIKs, WMVs, MPEGs, etc. that have titles signifying copyrights, advertisements (like nVidia), etc. Try renaming them and if that does not work, trying using some of the blank files from the mimic folder of GNag in their place (be sure to back the originals up).

If you discover a way, let me know what files need to be renamed or mimicked, some files to ID it (like the games executable) and its default install path (if available) and I will add it to the definitions of GNag with credit to you.
 
Originally posted by: GodlessAstronomer
Originally posted by: TridenTBoy3555
Until it does 500 different games... Pretty useless program. 😛

He built this is his own time for no reward. Instead of being a dick, why don't you contribute?
Unless masturbating and crying will help, he's of no use.

Great job Schadenfroh. Open source FTW.
 
Thanks guys for the kind responses🙂

Originally posted by: Absolution75
http://www.icsharpcode.net/OpenSource/SharpZipLib/

For your C# zip (and other) library needs.

I've used it in a couple programs myself.

Thanks, I stumbled across that library a few weeks ago. GNag Beta 4 (currently testing it before I post it) has a Zip / UnZip operation. I am not sure which compression algorithm is the most popular with games (I do not have any installed that are setup that way).
 
The only one I need is for Lord of the Rings, Battle for Middle Earth. You can NOT skip past the stupid New Line logo.
I might be able to brew up something special, let me know if you come across a method for blocking them even if it does not fall into current operations. I do not have the game, so I cannot examine it.



Beta 4 is now up, I wanted to add one final operation, test the compress / decompress operation more thoroughly and make some modifications with the inheritance hierarchy, but it will have to wait. Starting a summer internship that should last me until I start school in the Fall, so I thought it best to go ahead and post Beta 4 as is since it contains MANY bug fixes. The new compress / decompress operation is not polished, minimal testing was done on that operation. The definition editor should work much better now. Since it now supports compress / decompress, let me know of any definitions that any of you have in mind that can be added (where the target files were previously inside archives).

Hopefully Beta 5 (containing the things I wanted to squeeze into this release) will be the last beta and then I can do a 1.0 release.

Let me know if you run into any bugs!
 
Back
Top