http://bugs.winehq.org/show_bug.cgi?id=22635
Summary: FindFileFirst should ignore some chars Product: Wine Version: 1.1.44 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: plr.vincent@gmail.com
When FindFileFirst is called with such path (c-style notation): "C:\Program Files/>" it should match "C:\Program Files"
A test for this is in the works (first attempt: http://www.winehq.org/pipermail/wine-devel/2010-May/083434.html ) and this behavior was confirmed on winxp and win2k.
This 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. 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.
Note that the problem is really only in the installer, as the parameter received by FindFileFirst when game checks the key doesn't contain the trailing "/>".
http://bugs.winehq.org/show_bug.cgi?id=22635
Vincent Pelletier plr.vincent@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, obfuscation, | |testcase Summary|FindFileFirst should ignore |FindFirstFile should ignore |some chars |some chars
--- Comment #1 from Vincent Pelletier plr.vincent@gmail.com 2010-05-09 03:04:15 --- (In reply to comment #0)
FindFileFirst
Could someone please run s/FindFileFirst/FindFirstFile/g on this whole report ?
/me hides
http://bugs.winehq.org/show_bug.cgi?id=22635
--- Comment #2 from butraxz@gmail.com 2013-05-25 09:52:20 CDT --- No update for over 900 days. Is this still and issue in 1.5.31 or higher or is this abandoned ?
https://bugs.winehq.org/show_bug.cgi?id=22635
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |gyebro69@gmail.com Summary|FindFirstFile should ignore |Earth 2160 (GOG.com) can't |some chars |recognize serial number | |(FindFirstFile should | |ignore some chars) Ever confirmed|0 |1
--- Comment #3 from Béla Gyebrószki gyebro69@gmail.com --- I can confirm this in wine-1.7.44-173-g42cbc05 with the game Earth 2160 from GOG.com. The installer creates the registry keys that contain the serial number, but the game doesn't recognize it and requires the key on each start. Without the serial number the player can't access the main menu. I installed the game in Windows XP running in Virtualbox and the game starts properly there.
setup_earth_2160_2.0.0.48.exe (855 MB) sha1: 68af1bc8a1f8ae9fd3808cc8fa9cb7b0c2d18760
https://bugs.winehq.org/show_bug.cgi?id=22635
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/kernel32-FindF | |irstFile
https://bugs.winehq.org/show_bug.cgi?id=22635
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/kernel32-FindF |er/patches/kernel32-FindFir |irstFile |stFile
https://bugs.winehq.org/show_bug.cgi?id=22635
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Earth 2160 (GOG.com) can't |Earth 2160 (GOG.com) can't |recognize serial number |recognize serial number |(FindFirstFile should | |ignore some chars) | CC| |z.figura12@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=22635
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |690a0699189b26d4821d614dfa9 | |704f49cf610a7 Resolution|--- |FIXED Status|STAGED |RESOLVED
--- Comment #4 from Zebediah Figura z.figura12@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/690a0699189b26d4821d614dfa9704f49cf610a7.
https://bugs.winehq.org/show_bug.cgi?id=22635
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|kernel32 |ntdll
https://bugs.winehq.org/show_bug.cgi?id=22635
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.2.
https://bugs.winehq.org/show_bug.cgi?id=22635
WinterSnowfall winter.snowfall23@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winter.snowfall23@gmail.com
--- Comment #6 from WinterSnowfall winter.snowfall23@gmail.com --- I was presently surprised to see this marked as fixed. Sadly, I just tried to install and play the game, but it's still not working properly and prompts for a serial key on each startup.
https://bugs.winehq.org/show_bug.cgi?id=22635
Otto b1779506@trbvn.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |b1779506@trbvn.com
--- Comment #7 from Otto b1779506@trbvn.com --- (In reply to WinterSnowfall from comment #6)
I was presently surprised to see this marked as fixed. Sadly, I just tried to install and play the game, but it's still not working properly and prompts for a serial key on each startup.
Open a new bug.
https://bugs.winehq.org/show_bug.cgi?id=22635
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=22635
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #8 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.1.
https://bugs.winehq.org/show_bug.cgi?id=22635
Mehmet gelisin mehmetgelisin@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mehmetgelisin@aol.com
--- Comment #9 from Mehmet gelisin mehmetgelisin@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.