[Bug 13754] Anno 1602 fails to detect CD (CDROM drive letter derived from installer working path, written to 'CDROM_DIR' registry key)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 3 10:08:42 CST 2014


http://bugs.winehq.org/show_bug.cgi?id=13754

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
         Resolution|ABANDONED                   |INVALID
            Summary|Copy protection: Anno 1602  |Anno 1602 fails to detect
                   |KE does not detect CD       |CD (CDROM drive letter
                   |                            |derived from installer
                   |                            |working path, written to
                   |                            |'CDROM_DIR' registry key)
           Severity|enhancement                 |normal

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

just to shed some light about this issue because I got the original media from
someone ;-)

The game itself has no real copy-protection - just a simple CD check.

There is indeed a message stating "Please insert original ANNO 1602 CD!" when
starting a mission with the disk correctly mounted with drive letter assigned.

The game installer writes a registry key 'CDROM_DIR' which is derived from the
working directory where the installer executable was started from.

This is usually a path containing "Z:\\" because most people don't bother to
use 'wine <mapped-cdrom-drive>:\\setup.exe' (including me).

The game reads the registry key 'CDROM_DIR' and parses the drive letter part
out to do simple checks like:

* GetDriveTypeA() -> CDROM type
* GetDiskFreeSpaceA() -> compares with hard-coded size
(SectorsPerCluster*BytesPerSector*TotalNumberOfClusters)
* GetVolumeInformationA() -> disk serial

Well, you get the idea ;-)

Export of relevant part of registry:

--- snip ---
[HKEY_CURRENT_USER\Software\ANNO1602]
"CDROM_DIR"="Z:\\run\\media\\focht\\ANNO1602\\"
"INSTALL_DIR"="C:\\Program Files\\"
"INSTALL_SIZE"="MAX"
...
--- snip ---

You either fix the registry key manually or run the installer with real CDROM
driver letter path.

Resolving as 'invalid' because this not a bug/Wine problem ;-)

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list