[Bug 36823] New: Rift (Steam) launcher/patcher needs kernel32.GetGeoInfoA 'GEO_ISO2' support (ISO 2-letter country/region code)
https://bugs.winehq.org/show_bug.cgi?id=36823 Bug ID: 36823 Summary: Rift (Steam) launcher/patcher needs kernel32.GetGeoInfoA 'GEO_ISO2' support (ISO 2-letter country/region code) Product: Wine Version: 1.7.21 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: focht(a)gmx.net Hello folks, as the summary says... The game is free-to-play on Steam. Run the launcher and click the 'play as guest' button - nothing happens. Each click corresponds to a single 'GetGeoInfoA' FIXME message in terminal. --- snip --- $ pwd /home/focht/wine-games/wineprefix-steam/wineprefix/drive_c/Program Files/Steam $ wine ./steam.exe -applaunch 39120 -no-dwrite -allowdebug -nominidumps -windowed ... 004d:trace:process:create_process_impl app L"C:\\Program Files\\Steam\\steamapps\\common\\RIFT\\riftpatchlive.exe" cmdline L"\"C:\\Program Files\\Steam\\steamapps\\common\\RIFT\\riftpatchlive.exe\" -steam -no-dwrite -allowdebug -nominidumps -windowed -nobreakpad" ... 0060:trace:process:init_current_directory starting in L"C:\\Program Files\\Steam\\steamapps\\common\\RIFT\\" 0x20 0060:trace:process:__wine_kernel_init starting process name=L"C:\\Program Files\\Steam\\SteamApps\\common\\RIFT\\riftpatchlive.exe" argv[0]=L"C:\\Program Files\\Steam\\steamapps\\common\\RIFT\\riftpatchlive.exe" ... 0060:fixme:nls:GetGeoInfoA -1 4 0x33c5a0 3 0 0060:fixme:nls:GetGeoInfoA -1 4 0x33c5a0 3 0 0060:fixme:nls:GetGeoInfoA -1 4 0x33c5a0 3 0 0060:fixme:nls:GetGeoInfoA -1 4 0x33c5a0 3 0 0060:fixme:nls:GetGeoInfoA -1 4 0x33c5a0 3 0 0060:fixme:nls:GetGeoInfoA -1 4 0x33c5a0 3 0 0060:fixme:nls:GetGeoInfoA -1 4 0x33c5a0 3 0 0060:fixme:nls:GetGeoInfoA -1 4 0x33c5a0 3 0 --- snip --- I quickly hacked a semi-stub to support 'GEO_ISO2' info, returning the two-letter country code (string). It allowed the launcher to proceed, downloading updates and starting the actual game. MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/dd374071%28v=vs.85%2... Source: http://source.winehq.org/git/wine.git/blob/4eaa85ad560b0f9a921f2e78aa6285c2d... --- snip --- 4088 INT WINAPI GetGeoInfoA(GEOID GeoId, GEOTYPE GeoType, LPSTR lpGeoData, 4089 int cchData, LANGID language) 4090 { 4091 FIXME("%d %d %p %d %d\n", GeoId, GeoType, lpGeoData, cchData, language); 4092 return 0; 4093 } --- snip --- $ wine --version wine-1.7.21 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.
https://bugs.winehq.org/show_bug.cgi?id=36823 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://store.steampowered.c | |om/app/39120/ -- 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.
http://bugs.winehq.org/show_bug.cgi?id=36823 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- Looks like it's a matter of adding some static data. I checked with ISO website, and they only provide files with that info as a part of per-month paid subscription. So I'll try to implement this part. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=36823 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- I sent a patch for that. Still this: --- 0060:fixme:nls:GetGeoInfoA -1 4 0x33c5a0 3 0 --- looks strange, regarding GEOID argument. I can't find a documented meaning of -1 index. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=36823 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b4acc62e6304b1a13cca26df19d | |a82065abcc4c4 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/b4acc62e6304b1a13cca26df19d... Thanks Nikolay 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.
https://bugs.winehq.org/show_bug.cgi?id=36823 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.23. -- 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.
participants (1)
-
wine-bugs@winehq.org