Port "Cache start and end locations for WAD folders" from SRB2Classic Closes #1383 See merge request !2682