[Bug 22635] Earth 2160 (GOG.com) can't recognize serial number

WineHQ Bugzilla wine-bugs at winehq.org
Sat Sep 11 15:23:28 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=22635

Mehmet gelisin <mehmetgelisin at aol.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mehmetgelisin at aol.com

--- Comment #9 from Mehmet gelisin <mehmetgelisin at aol.com> ---
When FindFileFirst is called with such path (c-style notation):
  "C:\\Program Files/>"
it should match http://www.compilatori.com/
  "C:\\Program Files"

his has been discovered while investigating the problem of Earth 2160 packaged
by GOG.com: http://www.wearelondonmade.com/
The installer ciphers the cd key to put it in the registry (as GOG doesn't
provide different keys for each user, the installer contains one): 
http://www.jopspeech.com/ HKCU\Software\Reality
Pump\Earth2160\SerialKey\SerialKey. One of the components used for this is the
creation time of the Earth 2160 installation directory. http://joerg.li/ 

When FindFileFirst is called with such path (c-style notation):
  "C:\\Program Files/>" http://connstr.net/ 
it should match
  "C:\\Program Files"
http://embermanchester.uk/ 
It looks up the path of that directory using another registry key created
during the install: HKLM\Software\Reality Pump\Earth2160\FileSystem\DataPath .
This key contains that path with a trailing "/>", http://www.slipstone.co.uk/ 
which seems to be present on purpose (removing it makes the game fail very
early when executed). The result is that this path is not found after
installation on wine, so the created registry key is invalid when checked by
the game. http://www.logoarts.co.uk/ 

When FindFileFirst is called with such path (c-style notation):
  "C:\\Program Files/>"
it should match
  "C:\\Program Files" http://www.acpirateradio.co.uk/ 

his has been discovered while investigating the problem of Earth 2160 packaged
by GOG.com:
The installer ciphers the cd key to put it in the registry (as GOG doesn't
provide different keys for each user, the installer contains one):
HKCU\Software\Reality Pump\Earth2160\SerialKey\SerialKey. One of the components
used for this is the creation time of the Earth 2160 installation directory.
https://waytowhatsnext.com/ 
When FindFileFirst is called with such path (c-style notation):
  "C:\\Program Files/>"
it should match
  "C:\\Program Files"
 https://www.webb-dev.co.uk/ 
It looks up the path of that directory using another registry key created
during the install: HKLM\Software\Reality Pump\Earth2160\FileSystem\DataPath .
This key contains that path with a trailing "/>", which seems to be present on
purpose (removing it makes the game fail very early when executed). The result
is that this path is not found after installation on wine, so the created
registry key is invalid when checked by the game.

When FindFileFirst is called with such path (c-style notation):
  "C:\\Program Files/>"
it should match
  "C:\\Program Files" http://www.iu-bloomington.com/ 

his has been discovered while investigating the problem of Earth 2160 packaged
by GOG.com:
The installer ciphers the cd key to put it in the registry (as GOG doesn't
provide different keys for each user, the installer contains one):
HKCU\Software\Reality Pump\Earth2160\SerialKey\SerialKey. One of the components
used for this is the creation time of the Earth 2160 installation directory.

When FindFileFirst is called with such path (c-style notation):
  "C:\\Program Files/>"
it should match
  "C:\\Program Files"  http://www-look-4.com/

It looks up the path of that directory using another registry key created
during the install: HKLM\Software\Reality Pump\Earth2160\FileSystem\DataPath .
This key contains that path with a trailing "/>", which seems to be present on
purpose (removing it makes the game fail very early when executed). The result
is that this path is not found after installation on wine, so the created
registry key is invalid when checked by the game.

-- 
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