For carts, I use Deoxit contact cleaner.

The stuff works wonders on dirty cartridge contacts.

As for optical discs, it sounds like you were using an old re-surfacer. It's good for a disc with heavy scratches, but completely un-necessary for discs in good shape. A simple microfiber cloth and some eyeglass cleaner is the best method.