Want to play Medieval II: Total War in a window instead of fullscreen? It's a quick edit.
Open the medieval2.preference.cfg file and change the line that reads windowed = 0 to windowed = 1. If you'd prefer a borderless window, add the line borderless_window=true just below it. Save your changes and you're set.