[Bug 36823] New: Rift (Steam) launcher/patcher needs kernel32.GetGeoInfoA 'GEO_ISO2' support (ISO 2-letter country/region code)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 29 15:30:09 CDT 2014


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 at winehq.org
          Reporter: focht at 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%29.aspx

Source:
http://source.winehq.org/git/wine.git/blob/4eaa85ad560b0f9a921f2e78aa6285c2dcfff92d:/dlls/kernel32/locale.c#l4088

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



More information about the wine-bugs mailing list