BinaryObjectScanner icon indicating copy to clipboard operation
BinaryObjectScanner copied to clipboard

Add support for detecting XCP2 as itself instead of as XCP

Open TheRogueArchivist opened this issue 5 years ago • 4 comments

For at least XCP2 (the only example I have), BOS detects XCP but doesn't recognize the VERSION.DAT file in the root directory, and so doesn't recognize it as XCP2 specifically, only XCP. It also doesn't give a version number, in this case Version 1.5.

Contents of VERSION.DAT: [XCP] VERSION=XCP2, Version 1.5

[PLAYER] VERSION=2.7

TheRogueArchivist avatar Oct 27 '20 00:10 TheRogueArchivist

It is likely finding one of the other files common to XCP since the original BurnOut code checked for XCP.DAT, ECDPlayerControl.ocx, and go.exe. This is good info, though, since I can add a check for this different DAT name and then read the contents as an INI. Do you happen to have an XCP1 disc as well to check?

mnadareski avatar Oct 27 '20 03:10 mnadareski

I don't unfortunately, but I can tell you all the detected files on here if you'd like, as well as zip them along to you to see if those files themselves might have some version information.

TheRogueArchivist avatar Oct 27 '20 03:10 TheRogueArchivist

XCP2 detection enhanced given the information above: https://github.com/mnadareski/BurnOutSharp/commit/43cbafc0f5ff3a3e20d6a27f0abde86b8439cbcf

Leaving this open for XCP1, if we can get more info.

mnadareski avatar Oct 27 '20 03:10 mnadareski

Fixed the mixup with XCP.DAT, added content checks based on GO.EXE: https://github.com/mnadareski/BurnOutSharp/commit/095de1441d1daafc288a5f18b874acb042756c11

mnadareski avatar Oct 27 '20 04:10 mnadareski