[Bug 40875] New: ITHVNR does not work in wine
https://bugs.winehq.org/show_bug.cgi?id=40875 Bug ID: 40875 Summary: ITHVNR does not work in wine Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: wareya(a)gmail.com Distribution: --- Note: ITHVNR AND ITH ARE NOT THE SAME PROGRAM. ITH'S WINE BLOCKING CODE DOES NOT EXIST IN ITHVNR. Via https://bugs.winehq.org/show_bug.cgi?id=40476 which was incorrectly closed as invalid (the report was about ITHVNR, not ITH) Parts of original thread follow.
OP summary:
Program name: ITH-VNR Details: It's a hooking program that attaches itself to a running process. Used mainly to extract text at runtime from Japanese games (Visual Novels). Download + Source code link: http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-... (There is an older version, but since this is the latest maintained one, posting this.) It seems that Visual C++ Runtime 2013 is required. Steps: 1. Create a clean 32-bit WINEPREFIX in, let's say ~/wine32. 2. Run winetricks vsrun2013 (to install the 2013 runtime x86 version). 3. Do env LANG=WINEDEBUG=warn+all WINEPREFIX=/home/user1/wine32 WINEARCH=win32 wine ITHVNR.exe Result: It does not start at all. Same for the default 64-bit wine.
Culprit:
After some more poking around and MessageBox-driven debugging I've managed to find the issue. The IthInitSystemService() function fails when it tries to open the NT directory object \Sessions\$session_id\BaseNamedObjects. On Wine \Sessions\$session_id seems to be a symlink to \BaseNamedObjects, but on Windows the BaseNamedObjects directory obj is not linked to \Sessions\$session_id, it's inside of it. -- 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=40875 Mokou <mokouthrowaway(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mokouthrowaway(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.
https://bugs.winehq.org/show_bug.cgi?id=40875 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Ever confirmed|0 |1 Status|UNCONFIRMED |NEW URL| |http://www.hongfire.com/for | |um/showthread.php/438331-IT | |HVNR-ITH-with-the-VNR-engin | |e --- Comment #1 from Bruno Jesus <00cpxxx(a)gmail.com> --- I can confirm the program does not start but I don't understand the problem or the workaround. Is the workaround something we can do like in regedit? Can you point in the source code which function fails? -- 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=40875 --- Comment #2 from Mokou <mokouthrowaway(a)gmail.com> --- (In reply to Bruno Jesus from comment #1) The workaround has been posted in the previous bug report. Applying the Wine patch (https://bugs.winehq.org/attachment.cgi?id=54783) should make the application work.
Can you point in the source code which function fails? From Bug 40476: The process gets terminated because IthInitSystemService() returns FALSE (gui/main.cpp:246). IthInitSystemService() returns FALSE because it can't open the \Sessions\$id\BaseNamedObjects NT dir obj (vnr/ithsys/ithsys.cc:828).
-- 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=40875 --- Comment #3 from Bruno Jesus <00cpxxx(a)gmail.com> --- Created attachment 55033 --> https://bugs.winehq.org/attachment.cgi?id=55033 patch -- 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=40875 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #4 from Bruno Jesus <00cpxxx(a)gmail.com> --- Please read http://wiki.winehq.org/SubmittingPatches and send your patch to Wine. -- 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=40875 S M <compulsorylocales(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |compulsorylocales(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.
https://bugs.winehq.org/show_bug.cgi?id=40875 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24(a)gmail.com Keywords| |source -- 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=40875 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |84c3b8ae28fc799146f72a9dbc5 | |f38bb188df672 Status|NEW |RESOLVED CC| |infyquest(a)gmail.com --- Comment #5 from Vijay Kamuju <infyquest(a)gmail.com> --- fixed by 84c3b8ae28fc799146f72a9dbc5f38bb188df672 -- 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=40875 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll -- 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=40875 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.9.16. -- 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=40875 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x CC| |mstefani(a)redhat.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=40875 --- Comment #7 from Michael Stefaniuc <mstefani(a)redhat.com> --- Remove 1.8.x target milestone from bugs that didn't make it into 1.8.x for one reason or another. This are all included in the stable 2.0 release. -- 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=40875 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |--- -- 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