I suspect that what you "tell" the game regarding the first KOTOR will change how things got to be the way they are in KOTOR 2, but it won't change the way things are. What I mean is that the Jedi will be on the verge of extinction and the Republic will be in shambles no matter what, but how it happened will be up to you. With the light side ending, maybe the Republic, thinking the Sith were mortally wounded, declared the war to be over. The Sith rebuilt and attacked the Republic again, etc etc. Revan became disenchanted with the Republic and left for unknown space. For the dark side, maybe Revan lost a critical battle against the Republic (he/she is only human after all) and his/her followers turned against him/her. Revan escaped and started hiding in unknown space.