Trying to identify this adventure

Many years ago (24+) I had a set of 4 warhammer fantasy roleplay adventures split between 2 books.

Each adventure was to try and claim an elemental gem of power, the gems where tremendously powerful and when combined and at the end of the adventure it was suggested the world ended.

At the time I remember being told the adventure had been converted from a famous published D and D campaign.

I am trying to remember both the name of the WFRP adventure and the DnD campaign it may have been based on. If this is better split into 2 questions I am happy to ask B once A is answered.