protected static bool RetrieveMpqIndex(String mpq,ref uint offset) { if (mpq.Length != 14) return false; char input = mpq[9]; if (input >= '0' && input <= '9') { offset = (uint)(input - '0'); return true; } return false; }