Please get some legal advice, you may be entitled to more than you think after 17 years with this person.
You may be going through painful, difficult times now but I promise that pain heals eventually and we become wiser and stronger for the experience.
Good luck.