If you're asking about Golden Ending to my understanding you need to have a very high affection score with Alice, make choices in a story that won't track points leading to bad ending and play all of optional scenes