Author Topic: Touhou on Linux and MacOS X, using Wine or Virtualization  (Read 72160 times)

Re: Touhou on Linux and MacOS X, using Wine or Virtualization
« Reply #120 on: April 11, 2018, 10:27:44 PM »
The current version of Wine is 3.5 and WineBottler has (afaik) not been supported for many years. 1.6.1 was released 5 years ago and Wine has progressed *significantly* since then.

What I currently do is as follows:

1. Download the official distribution from https://dl.winehq.org/wine-builds/macosx/download.html (I am a dev release maintainer for the project so I typically download the latest development tarball)
2. If using the tarball, unzip somewhere (I suggest your Desktop for the time being). In the newly created usr/ folder there will be bin/wine. This is the executable.
3. In your Terminal, first cd to the directory with the .exe file. Then run the following:
LANG="ja_JP" ~/Desktop/usr/bin/wine th06e.exe
where the executable is the relevant executable.

I personally rename the unarchived usr directory to 'wine' and move it into my hard drive under my user profile. This allows me to do the following:
Code: [Select]
cd ~/Desktop/Touhou\ Windows/Touhou\ 8\ -\ Imperishable\ Night
~/wine/bin/wine th08.exe

In this example I cd (change directory) to the folder where IN's executable is located. Then I run wine (located in ~/wine/bin/wine as noted above) and choose th08.exe as the executable to run. ~ refers to your user directory, where Documents, Desktop, etc. are located.

My directions probably aren't the best, but if this helps you any, I'm glad to be of service.

--Sparen

~~~

Edit: Whoa that was one heck of a necropost. Doesn't help that the person who created this thread has been banned for years and obviously can't edit the opening post to provide more up-to-date information.
Thank you for helping me! Yeah, I didn?t really know if I should resurrect this thread or make another, but hey, it?s still on topic I guess?

So here?s exactly what I did, following your instructions:

  • Downloaded and installed Wine Stable 3.0, since it seemed like a simpler option to start with
  • Tried to run my patched copy of Touhou 11 (right click > open with Wine Stable)
  • Installed the two packages it said it needed (I think the first one was mono-something and the second one was Gecko?)
  • Started the game and found that it still had framerate issues, albeit slightly less bad than with Winebottler (it?s still completely unplayable because of that)
  • Uninstalled Wine Stable (AppCleaner + deleted the hidden .wine configuration folder)
  • Downloaded the Tarball for Wine Development (32-bit) version 3.5
  • Followed your instructions: cd to the .exe file folder, LANG="ja_JP" ~/Desktop/usr/bin/wine th11e.exe
  • Started the game? and somehow its framerate was even worse than before, dipping to 30 FPS and barely reaching 60 at all

So yeah? I?m kind of at a loss. Upon starting the game with Terminal though, a ton of error messages popped up:

Code: [Select]
MacBook-Air-2:~ user$ cd /Users/user/Games/Touhou/"Touhou 11 - Subterranean Animism"
MacBook-Air-2:Touhou 11 - Subterranean Animism user$ LANG="ja_JP" ~/Desktop/usr/bin/wine "th11e.exe"
wine: created the configuration directory '/Users/user/.wine'
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
0017:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
001b:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
001b:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
001b:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0010:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0010:fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018
001d:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0xa68808, init_notify 0, handle 0x12afce8): stub
0010:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform
wine: configuration in '/Users/user/.wine' has been updated.
MacBook-Air-2:Touhou 11 - Subterranean Animism user$ 0039:fixme:wininet:InternetSetOptionW Option 77 STUB
0039:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform
003e:fixme:msvcrt:__clean_type_info_names_internal (0x3eadd0) stub
003e:fixme:msvcrt:__clean_type_info_names_internal (0x3f5344) stub
003e:fixme:msvcrt:__clean_type_info_names_internal (0x3e7694) stub
003e:fixme:msvcrt:__clean_type_info_names_internal (0xa6add0) stub
003e:fixme:msvcrt:__clean_type_info_names_internal (0xa45344) stub
003e:fixme:msvcrt:__clean_type_info_names_internal (0x3ed358) stub
003d:fixme:win:WINNLSEnableIME hwnd 0x0 enable 1: stub!
003d:fixme:msvcrt:__clean_type_info_names_internal (0x3db4a0) stub
003d:fixme:msvcrt:__clean_type_info_names_internal (0xa45344) stub
003d:fixme:msvcrt:__clean_type_info_names_internal (0x1001c474) stub
003d:fixme:msvcrt:__clean_type_info_names_internal (0x3c0344) stub
003d:fixme:msvcrt:__clean_type_info_names_internal (0x3aa364) stub
003d:fixme:msvcrt:__clean_type_info_names_internal (0x39c450) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x3eadd0) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x3f5344) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x3e7694) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0xa6add0) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0xa45344) stub
0043:fixme:msvcrt:__clean_type_info_names_internal (0x3ed358) stub
0042:fixme:win:EnumDisplayDevicesW ((null),0,0x33f8a8,0x00000000), stub!
0042:fixme:d3d:wined3d_get_adapter_raster_status wined3d 0xcc2548, adapter_idx 0, raster_status 0x33fd30 semi-stub!
0048:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #3:
0048:fixme:d3d_shader:print_glsl_info_log     WARNING: Could not find vertex shader attribute 'vs_in2' to match BindAttributeLocation request.

Any idea what to do to fix this? Once again, thank you very much for taking the time to help. Your instructions were easy to follow, don?t worry!
« Last Edit: April 11, 2018, 10:34:08 PM by NukeBird »