Oh.... I've seen this before... it was called Earthworm Jim 3D .... you have to fix Jim by going through the fetid compost of his four brains....
sorry, but the plot device sounds really fantasy compared to the more science fictiony universe of Shuffle! those whacky japanese and their blenderized mixing of genres