Sorry for double posting but i could not edit my first post anymore :S
the windows recovery is called startup repair(i couldnt remember the name to begin with. i still get the same error apart from both directx and the game are installed but i am still having trouble with the library thing.