TurBoss / 7h

Final Fantasy 7 wrapper tool by Iros
Microsoft Public License
21 stars 31 forks source link

Improve CreateFileW API handling #52

Closed julianxhokaxhiu closed 4 years ago

julianxhokaxhiu commented 4 years ago

A better way to handle file patching, by touching only files that are part of the game.

Also, if the Extra Paths had a new line inside it was considered as a "third path" forcing 7h to "double-patch" them in memory. By reducing the set, we now ensure they are only touched once, by checking if extra paths are actually a valid path.