[Bug 35306] New: Kirikiri2(Novel game engine) Authentication failed with 64bit wine
http://bugs.winehq.org/show_bug.cgi?id=35306 Bug ID: 35306 Summary: Kirikiri2(Novel game engine) Authentication failed with 64bit wine Product: Wine Version: 1.7.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: hibi.sasahara(a)gmail.com Classification: Unclassified This failure to Oni Gokko! Fan disk(鬼ごっこ! ファンディスク) (This error happens well many games of use "Kiri Kiri"(吉里吉里) Novel Game Engine.) Play start startup.exe menu click "実行"(game start) button or direct launch .exe file. Upon dialog. Dialog title is: "吉里吉里" Dialog text is: "Authentication failed : unrecognized kernel32 module. / NM." I cannot meet start menu. note: AppDB is http://appdb.winehq.org/objectManager.php?sClass=version&iId=29461 This game is Fan Disk. No have trial version. But have trial version of the main story. The same malfunction occurs. Trial version toKernel32.dll http://mirror.tsundere.ne.jp/download/alcot/a4c0d67b6bfd6851f59a5607b5abac61... sha1sum fe61016df22f4a8e0d288fe6954d8bdbcf3c6d60 In Windows8 64bit(Consumer Preview), same malfunction occurs. Causes and remedies dll file(Win8WOH.zip) to http://resemblances.click3.org/?p=1406 Summary of this cured dll. This application anthentication check to "kernel32.dll". Return path from "GetModuleFileNameA" API. Windows7 64bit is "%windir%SysWOW64", but Windows8 64bit is "%windir%System32". This application demanding answer is "%windir%SysWOW64", anthentication check not success. Have other error after this dll used WINE dll override. (In Windows7 64bit and in Ubuntu12.04 i386 environments no appear this dialog.) Dialog title is: "吉里吉里" Dialog text is: "Authentication failed : Invalid Signature token or unrecognized kirikiri core. / TS." This is other failure. -- 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=35306 hibi.sasahara(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.alcot.biz/produc | |t/oni_fd/ CC| |hibi.sasahara(a)gmail.com -- 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=35306 --- Comment #1 from hibi.sasahara(a)gmail.com --- Created attachment 47210 --> http://bugs.winehq.org/attachment.cgi?id=47210 Game program terminal log. wine oni_gokko.exe >~/onigokko_fd_log.txt 2>&1 -- 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=35306 --- Comment #2 from Austin English <austinenglish(a)gmail.com> --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log). -- 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=35306 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- 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=35306 owoblahowo(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |owoblahowo(a)gmail.com --- Comment #3 from owoblahowo(a)gmail.com --- Wine version used: wine-1.7.50 So I was able to install the trial. The installer works but requires being run with JP locale ( LANG="ja_JP.UTF-8" wine ) for text to display correctly. The game also requires the use of "LANG="ja_JP.UTF-8" wine". Running the game still returns the same error(see below) but there is a solution. Running it in a 32bit prefix does the same(sometimes running it in a 32prefix makes it work). Output: Authentication failed : unrecognized kernel32 module. / NM. fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046} fixme:time:GetCalendarInfoW Unimplemented caltype 4 fixme:time:GetCalendarInfoW Unimplemented caltype 3 fixme:mpr:WNetGetUniversalNameA ("Z:\\home\\rainbowland\\Documents\\\x8bS\x82\xb2\x82\xc1\x82\xb1 \x91\xcc\x8c\xb1\x94\xc5\\savedata", 0x00000001, 0x33f5a8, 0x33f9b4): stub fixme:mpr:WNetGetUniversalNameA ("Z:\\home\\rainbowland\\Documents\\\x8bS\x82\xb2\x82\xc1\x82\xb1 \x91\xcc\x8c\xb1\x94\xc5\\savedata", 0x00000001, 0x33f554, 0x33f960): stub -- 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=35306 --- Comment #4 from hibi.sasahara(a)gmail.com --- Created attachment 52339 --> https://bugs.winehq.org/attachment.cgi?id=52339 terminal log.(onigokko fd retail on WINE 1.7.50) Thank you for your trial and report. I trial me using "Oni Gokko! Fan disk(鬼ごっこ! ファンディスク)" (and onigokko_trial) on WINE 1.7.50 / ubuntu 15.04 amd64. This issue is not change. $ WINEARCH=win32 WINEPREFIX=${HOME}/wine_buttle32/ wine notepad $ WINEARCH=win32 WINEPREFIX=${HOME}/wine_buttle32/ ./oni_gokko.exe > ~/onigokko_fd_terminal.log 2>&1 (My default locale is "ja_JP.UTF-8".) (The first command abandon log from new buttle.) This terminal log is retail release version. Output: Dialog title is "吉里吉里" Dialog text is "Authentication failed : Invalid Signature token or unrecognized kirikiri core. / TS." -- 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=35306 Sagawa <sagawa.aki+winebugs(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs(a)gmail.c | |om -- 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=35306 Jonathan Schuett <bioshacker001(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bioshacker001(a)gmail.com --- Comment #5 from Jonathan Schuett <bioshacker001(a)gmail.com> --- I can confirm this bug on multiple Kirikiri2 games, on the latest 2.14 version of WINE. It occurs with and without staging patches. (I'd include the requested log output, but it's pretty much identical to what has been provided, minus version numbers and directory names) -- 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=35306 --- Comment #6 from Jonathan Schuett <bioshacker001(a)gmail.com> --- (In reply to Jonathan Schuett from comment #5)
I can confirm this bug on multiple Kirikiri2 games, on the latest 2.14 version of WINE. It occurs with and without staging patches. (I'd include the requested log output, but it's pretty much identical to what has been provided, minus version numbers and directory names)
EDIT: Forgot to clarify: I'm using a full, purchased version of 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.
https://bugs.winehq.org/show_bug.cgi?id=35306 --- Comment #7 from Jonathan Schuett <bioshacker001(a)gmail.com> --- (In reply to Jonathan Schuett from comment #6)
(In reply to Jonathan Schuett from comment #5)
I can confirm this bug on multiple Kirikiri2 games, on the latest 2.14 version of WINE. It occurs with and without staging patches. (I'd include the requested log output, but it's pretty much identical to what has been provided, minus version numbers and directory names)
EDIT: Forgot to clarify: I'm using a full, purchased version of the game.
EDIT2: Wow, really bad at this. I've confirmed with Osananajimi wa Daitouryou (My girlfriend is the President)'s full version and trial version, which are the ones I'm referring to here. This issue affects other novels, but I'd rather not admit to my ownership of those... -- 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=35306 --- Comment #8 from Jonathan Schuett <bioshacker001(a)gmail.com> --- More information: The original bug poster didn't mention it, but it works perfectly fine in a 32-bit Wineprefix. In a 64-bit wineprefix, the issue is that WINE is reporting the 64-bit kernel module directory rather than the 32-bit one. Apparently, these games actually check that. -- 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=35306 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #9 from Fabian Maurer <dark.shadow4(a)web.de> --- Do you have a download for a demo of an affected game? Original link is down. -- 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=35306 --- Comment #10 from Jonathan Schuett <bioshacker001(a)gmail.com> --- (In reply to Fabian Maurer from comment #9)
Do you have a download for a demo of an affected game? Original link is down.
Unfortunately, I don't. All of the other games I can verify it with don't have demo versions. I'll see if I can dig up a rehosted copy of the demo. -- 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=35306 --- Comment #11 from Sagawa <sagawa.aki+winebugs(a)gmail.com> --- Osananajimi wa Daitouryou (My girlfriend is the President) trial (demo) is available from http://www.getchu.com/soft.phtml?id=660662 with the following steps. 1) Visit http://www.getchu.com/soft.phtml?id=660662 2) If warning is shown, please click [はい] (YES). This warning means "are you age 18 or over and proceeding to visit NSFW pages?" 3) Click the image "体験版DL" (which means "download trial version"). In short, wget --referer=http://www.getchu.com/soft.phtml?id=660662 http://trial.getchu.com/dl2/660662/osana_tri.exe Name SHA1 Bytes ------------- ---------------------------------------- ----------- osana_tri.exe 3794b3dbd9f399f07bc462d64864c5905e621ad4 284,224,442 I can reproduce the issue with this demo in wine 2.15 (x64). -- 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=35306 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #12 from Fabian Maurer <dark.shadow4(a)web.de> --- Confirming, thanks for the download. -- 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=35306 --- Comment #13 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 59069 --> https://bugs.winehq.org/attachment.cgi?id=59069 Hack to work around the issue Added a patch to work around the issue, when running under WOW64 set the module path to C:\windows\syswow64. However, for some reason this breaks winecfg, that now starts itself recursively instead of showing the gui. You have been warned. But it works fine for the game, making it playable in a 64bit prefix. Maybe one of the pros has an idea how to implement that properly? -- 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=35306 --- Comment #14 from Fabian Maurer <dark.shadow4(a)web.de> --- Still relevant as of wine-3.21. Found another affected program on reddit: http://www.typemoon.com/products/mahoyo/index.html -- 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=35306 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #15 from joaopa <jeremielapuree(a)yahoo.fr> --- Does the bug still occur with wine-5.14? -- 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=35306 --- Comment #16 from Fabian Maurer <dark.shadow4(a)web.de> --- Yes, still present as of wine-5.14. -- 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=35306 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net Summary|Kirikiri2(Novel game |Multiple Visual Novel NSFW |engine) Authentication |games fail with |failed with 64bit wine |'Authentication failed : | |unrecognized kernel32 | |module' (32-bit system32 | |modules path needs to be | |mapped as SysWOW64 under | |WoW64)(Kirikiri2, Oni | |Gokko, Osananajimi wa | |Daitouryou) URL|http://www.alcot.biz/produc |https://web.archive.org/web |t/oni_fd/ |/20140810095134/http://tria | |l.getchu.com/dl2/660662/osa | |na_tri.exe Component|-unknown |ntdll Keywords| |obfuscation --- Comment #17 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, confirming, still present. Adding stable download link via Internet Archive. https://web.archive.org/web/20140810095134/http://trial.getchu.com/dl2/66066... Refining summary to collect all NSFW Visual Novels here. @ Sagawa comment #11 Fortunately archive.org seems to have captured a few snapshots of the demo/trial before authentication / referrer check was introduced. Relevant part of trace log: --- snip --- $ pwd /home/focht/.wine/drive_c/users/focht/test/—c‚È‚¶‚Ý‚Í‘å“ $ WINEDEBUG=+seh,+relay,+loaddll,+server,+ntdll,+module wine ./osana_trial.exe
log.txt 2>&1 ... 0024:Call KERNEL32.GetModuleHandleA(1e01f370 "kernel32.dll") ret=1e0044b5 ... 0024:Ret KERNEL32.GetModuleHandleA() retval=7b600000 ret=1e0044b5 0024:Call KERNEL32.VirtualQuery(7b6051f0,0032e75c,0000001c) ret=1e0044c5 0024:Call ntdll.NtQueryVirtualMemory(ffffffff,7b6051f0,00000000,0032e75c,0000001c,0032e700) ret=7b02967e 0024:Ret ntdll.NtQueryVirtualMemory() retval=00000000 ret=7b02967e 0024:Ret KERNEL32.VirtualQuery() retval=0000001c ret=1e0044c5 0024:Call KERNEL32.GetProcAddress(7b600000,1e01f354 "GetSystemWow64DirectoryA") ret=1e0044d1 0024:Ret KERNEL32.GetProcAddress() retval=7b605e90 ret=1e0044d1 0024:Call KERNEL32.GetSystemWow64DirectoryA(0032e778,00000104) ret=1e0044f3 0024:Call ntdll.RtlInitUnicodeString(0032e6f4,7b0612aa L"C:\\windows\\syswow64") ret=7b014cd5 0024:Ret ntdll.RtlInitUnicodeString() retval=00000028 ret=7b014cd5 ... 0024:Ret KERNEL32.GetSystemWow64DirectoryA() retval=00000013 ret=1e0044f3 0024:Call KERNEL32.GetModuleFileNameA(7b600000,0032e880,00000104) ret=1e0045f1 ... 0024:trace:module:GetModuleFileNameW L"C:\\windows\\system32\\kernel32.dll" ... 0024:Ret KERNEL32.GetModuleFileNameA() retval=00000020 ret=1e0045f1 0024:Call KERNEL32.lstrcmpiA(0032e778 "C:\\windows\\syswow64\\kernel32.dll",0032e880 "C:\\windows\\system32\\kernel32.dll") ret=1e004608 ... 0024:Ret KERNEL32.lstrcmpiA() retval=00000001 ret=1e004608 ... 0024:Call KERNEL32.GetLastError() ret=0043aa12 0024:Ret KERNEL32.GetLastError() retval=0000007a ret=0043aa12 ... 0024:Call KERNEL32.MultiByteToWideChar(00000000,00000001,1e01f138 "void ::TVPThrowExceptionMessage(const tjs_char *)",00000031,018bfafc,00000031) ret=0043aa52 0024:Ret KERNEL32.MultiByteToWideChar() retval=00000031 ret=0043aa52 0024:Call KERNEL32.RaiseException(0eefface,00000001,00000003,0032e644) ret=00572719 ... 0024:trace:seh:dispatch_exception code=eefface flags=1 addr=7B010198 ip=7b010198 tid=0024 0024:trace:seh:dispatch_exception info[0]=004020bc 0024:trace:seh:dispatch_exception info[1]=00666a07 0024:trace:seh:dispatch_exception info[2]=018bfb98 0024:err:seh:dispatch_exception Fatal unknown exception (code=eefface) raised 0024:trace:seh:dispatch_exception eax=0032e594 ebx=00000008 ecx=0032e644 edx=0000000c esi=00000003 edi=0032e600 0024:trace:seh:dispatch_exception ebp=0032e5e8 esp=0032e594 cs=7bc50023 ds=32002b es=7bc3002b fs=320063 gs=006b flags=00000212 0024:trace:seh:call_vectored_handlers calling handler at 7B00F5D0 code=eefface flags=1 0024:trace:seh:call_vectored_handlers handler at 7B00F5D0 returned 0 0024:trace:seh:call_stack_handlers calling handler at 0056331B code=eefface flags=1 0024:trace:seh:call_stack_handlers handler at 0056331B returned 1 0024:trace:seh:call_stack_handlers calling handler at 0056331B code=eefface flags=1 0024:trace:seh:call_stack_handlers handler at 0056331B returned 1 0024:trace:seh:call_stack_handlers calling handler at 0056331B code=eefface flags=1 0024:trace:seh:__regs_RtlUnwind code=eefface flags=3 0024:trace:seh:__regs_RtlUnwind eax=00000000 ebx=0032e594 ecx=006f6e1c edx=0032e594 esi=00000064 edi=0032e594 0024:trace:seh:__regs_RtlUnwind ebp=0032dcfc esp=0032dc98 eip=0056415b cs=0023 ds=002b fs=0063 gs=006b flags=00000206 0024:trace:seh:__regs_RtlUnwind calling handler at 0056331B code=eefface flags=3 0024:trace:seh:__regs_RtlUnwind handler at 0056331B returned 1 0024:trace:seh:__regs_RtlUnwind calling handler at 7BC47800 code=eefface flags=3 ... 0024:Call KERNEL32.FreeLibrary(1e000000) ret=00617f83 ... 0024:Call PE DLL (proc=1E0135C8,module=1E000000 L"osana_trial.tpm",reason=PROCESS_DETACH,res=00000000) ... 0024:Call user32.MessageBoxA(0001007a,018a8054 "Authenticatoin failed : unrecognized kernel32 module. / NM.",018ba0f4 "\x8bg\x97\xa2\x8bg\x97\xa2",00000010) ret=004b0057 --- snip ---
--- snip --- 0024:Call KERNEL32.lstrcmpiA(0032e778 "C:\\windows\\syswow64\\kernel32.dll",0032e880 "C:\\windows\\system32\\kernel32.dll") ret=1e004608 ... 0024:Ret KERNEL32.lstrcmpiA() retval=00000001 ret=1e004608 --- snip --- $ sha1sum osana_tri.exe 3794b3dbd9f399f07bc462d64864c5905e621ad4 osana_tri.exe $ du -sh osana_tri.exe 272M osana_tri.exe $ wine --version wine-6.2-109-gc6a3072051f 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=35306 --- Comment #18 from Fabian Maurer <dark.shadow4(a)web.de> --- Still present as of wine-7.0-rc5. -- 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=35306 Ben Shefte <shefben(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shefben(a)gmail.com --- Comment #19 from Ben Shefte <shefben(a)gmail.com> --- With the way this application is dealing with the 32bit dll's; Does any one know if it works correctly in windows 8,8.1 & 10? since the 32bit dlls are in syswow64 on those windows versions and on 7 and less the 32bit dlls are in the system32 folder -- 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=35306 --- Comment #20 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 71660 --> https://bugs.winehq.org/attachment.cgi?id=71660 Test Program
Does any one know if it works correctly in windows 8,8.1 & 10? since the 32bit dlls are in syswow64 on those windows versions
and on 7 and less the 32bit dlls are in the system32 folder
That's wrong: On 64bit OS: 32bit dlls are always in the syswow64 folder On 32bit OS: 32Bit dlls are always in the system32 folder There is apparently also problems with real Win10 x64 systems: https://www.reddit.com/r/visualnovels/comments/hwkl80/dracu_riot_wont_open_a... We probably need to return different values depending on the active windows version, otherwise we might break programs who demand the other path... Also attaching a small test program. -- 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=35306 bugmetoo(a)protonmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugmetoo(a)protonmail.com -- 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=35306 --- Comment #21 from Fabian Maurer <dark.shadow4(a)web.de> --- Still present as of wine-8.12 -- 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=35306 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest(a)gmail.com --- Comment #22 from Vijay Kamuju <infyquest(a)gmail.com> --- Please test with wine 9.x version again. -- 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=35306 --- Comment #23 from Fabian Maurer <dark.shadow4(a)web.de> --- Both my test program and the linked program have the issue still present in wine-9.5. -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla