packfile fopen patch and Benoit Pierre's gaming mouse fix