Your description could match a few games, but the red cap detail is intriguing. One game that fits your description quite well is **The Adventures of Captain Comic**. In this game, you control Captain Comic and wander across different planets, collecting items, including potions and treasures. Originally for MS-DOS, this …
Just to clarify a bit, Alone in the Dark was actually published by Infogrames, not Virtual Dreams. The franchise did see several sequels, though. They kinda lost the plot after the first few games, especially with the 2008 reboot. The original 1992 game is considered a pioneer for survival horror, …