http://bugs.winehq.org/show_bug.cgi?id=13754
Summary: Copy protection: Anno 1602 KE does not detect CD Product: Wine Version: 1.0-rc4 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dan_500@web.de
The game Anno 1602 KE does not detect my CD, so I can't play the game.
http://bugs.winehq.org/show_bug.cgi?id=13754
--- Comment #1 from Austin English austinenglish@gmail.com 2008-06-07 16:50:40 --- Please attach terminal output. You may need to manually symlink to the device and/or set the device type to cd-rom in winecfg.
What copy protection is used?
http://bugs.winehq.org/show_bug.cgi?id=13754
UncleOwen anakin.skyw@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anakin.skyw@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=13754
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #2 from Jeff Zaroyko jeffz@jeffz.name 2008-12-06 06:29:57 --- no response in 5 months. AppDB shows that this app worked fine on 1.0-rc4.
marking abandoned.
please reopen if the problem still exists after retesting with Wine 1.1.10 and running 'detect drives' in winecfg to make sure that your cdrom is configured.
http://bugs.winehq.org/show_bug.cgi?id=13754
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Jeff Zaroyko jeffz@jeffz.name 2008-12-06 06:30:09 --- closing
http://bugs.winehq.org/show_bug.cgi?id=13754
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@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@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