OpenAWE-Project / OpenAWE

A reimplementation of Remedy Entertainments Alan Wake Engine, in later iterations known as the Northlight Engine
GNU General Public License v3.0
163 stars 13 forks source link

Possible incorrect skip in RMDPArchive header version 7 #44

Closed mandar1jn closed 4 months ago

mandar1jn commented 4 months ago

In header version 7 of the RMDPArchive index, a skip of 128 bytes is present. However, from testing with my own tool and ImHex patterns (renamed from .binpat to .txt because github only allows whitelisted extensions), the skip for version 7 seems to be 120. The only header with a skip of 128 should be version 9 instead.

mandar1jn commented 4 months ago

I just realised that the extra 8 skip is due to not actually reading the path prefix, which is present in alan wake American nightmare. My mistake