Peneheals / ihhh

Install Heroes of Might and Magic 3 (HoMM3) + HD mod + Horn of the Abyss (HotA) easily on old Mac OS (and will do the same on Linux in the future).
15 stars 1 forks source link

Yosemite test #30

Closed Peneheals closed 3 years ago

Peneheals commented 3 years ago

Related: #14 #29

Peneheals commented 3 years ago

Check Anton's tip:

# Downlad XQARTZ https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.8.dmg 
# Run dmg and install XQARTZ 
# DO NOT USE  > 2.7.8 (problem with video drivers)
# Relogin - hint: osascript -e 'tell app "System Events" to log out'
# Better way: https://apple.stackexchange.com/a/126762
sudo hdiutil attach Downloads/XQuartz-2.7.8.dmg
sudo installer -package /Volumes/XQuartz-2.7.8/XQuartz.pkg -target /
sudo hdiutil detach /Volumes/XQuartz-2.7.8/
Peneheals commented 3 years ago

Yosemite (no mouse):

0009:fixme:ver:GetCurrentPackageId (0x31f648 0x0): stub
002b:fixme:ver:GetCurrentPackageId (0x31e6c8 0x0): stub
0028:fixme:mountmgr:query_property Faking StorageDeviceProperty data
002e:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform
0034: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.
0034:fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
002b:fixme:ntdll:EtwRegisterTraceGuidsW (0x21bcb7b, 0x0, {f7b697a3-4db5-4d3b-be71-c4d284e6592f}, 7, 0x2261000, (null), (null), 0x22b48f0): stub
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {72b14a7d-704c-423e-92f8-7e6d64bcb92a}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {e2091f8a-1e0a-4731-84a2-0dd57c8a5261}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {e8a3bf1f-a86b-4390-9c60-5390b969d22c}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {5727a00f-50be-4519-8256-f7699871fecb}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {7e854ec7-cdc4-405a-b5b2-aaf7c9e7d40c}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {79a60dc6-5fc8-4952-a41c-1163aeec5eb8}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {2718d25b-5bf5-4479-8e88-babc64bdbfca}
002b:fixme:heap:GetNumaHighestNodeNumber semi-stub: 0031FBF4
0039:fixme:process:FlushProcessWriteBuffers : stub
0034:fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
002b:fixme:win:FlashWindowEx 0x31ee34 - semi-stub
002b:fixme:win:FlashWindowEx 0x31e310 - semi-stub
002b:err:ole:CoGetClassObject class {5959df60-2911-11d1-b049-0020af30269a} not registered
002b:err:ole:CoGetClassObject no class object {5959df60-2911-11d1-b049-0020af30269a} could be created for context 0x1
003a:fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff

High Sierra (working):

0009:fixme:ver:GetCurrentPackageId (0x31f648 0x0): stub
002b:fixme:ver:GetCurrentPackageId (0x31e6c8 0x0): stub
0025:fixme:mountmgr:query_property Faking StorageDeviceProperty data
002e:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform
0034: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.
0034:fixme:secur32:schan_get_cipher_algid Don't know CALG for encryption algorithm 2, returning 0
0034:fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
002b:fixme:ntdll:EtwRegisterTraceGuidsW (0x21bcb7b, 0x0, {f7b697a3-4db5-4d3b-be71-c4d284e6592f}, 7, 0x2261000, (null), (null), 0x22b48f0): stub
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {72b14a7d-704c-423e-92f8-7e6d64bcb92a}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {e2091f8a-1e0a-4731-84a2-0dd57c8a5261}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {e8a3bf1f-a86b-4390-9c60-5390b969d22c}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {5727a00f-50be-4519-8256-f7699871fecb}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {7e854ec7-cdc4-405a-b5b2-aaf7c9e7d40c}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {79a60dc6-5fc8-4952-a41c-1163aeec5eb8}
002b:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {2718d25b-5bf5-4479-8e88-babc64bdbfca}
002b:fixme:heap:GetNumaHighestNodeNumber semi-stub: 0031FBF4
0039:fixme:process:FlushProcessWriteBuffers : stub
0034:fixme:secur32:schan_get_cipher_algid Don't know CALG for encryption algorithm 2, returning 0
0034:fixme:secur32:schan_get_cipher_algid Don't know CALG for encryption algorithm 2, returning 0
0034:fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
0034:fixme:secur32:schan_get_cipher_algid Don't know CALG for encryption algorithm 2, returning 0
002b:fixme:win:FlashWindowEx 0x31ee34 - semi-stub
002b:fixme:win:FlashWindowEx 0x31e310 - semi-stub
002b:err:ole:CoGetClassObject class {5959df60-2911-11d1-b049-0020af30269a} not registered
002b:err:ole:CoGetClassObject no class object {5959df60-2911-11d1-b049-0020af30269a} could be created for context 0x1
003a:fixme:secur32:schan_get_cipher_algid Don't know CALG for encryption algorithm 4, returning 0
003a:fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
003a:fixme:secur32:schan_get_cipher_algid Don't know CALG for encryption algorithm 4, returning 0
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
002b:fixme:coreaudio:ca_channel_layout_to_channel_mask Unhandled channel 0xffffffff
Peneheals commented 3 years ago

dl: https://raw.githubusercontent.com/Homebrew/homebrew-cask/c26517c4366bda6fe0bf8306c8bf7bc5a2a702e5/Casks/xquartz.rb

brew install brew-cask-completion brew install --HEAD -s Downloads/xquartz.rb brew install --cask wine-stable

Peneheals commented 3 years ago

Managed to show part of the cursor, by running winecfg from terminal, set a new applicaton h3hota HD.exe using windows XP or windows 2003. Maybe related thread: https://forum.winehq.org/viewtopic.php?t=32909 - Issue #29

Peneheals commented 3 years ago

Simple homm3 runs well on Yosemite, hota not.

Peneheals commented 3 years ago
Peneheals commented 3 years ago

Yosemite mpdecimal error:

clang -Wall -Wextra -Wno-unknown-pragmas -std=c99 -pedantic -DCONFIG_64 -DASM -DNDEBUG -O2 -fPIC -c sixstep.c -o .objs/sixstep.o
clang -Wall -Wextra -Wno-unknown-pragmas -std=c99 -pedantic -DCONFIG_64 -DASM -DNDEBUG -O2 -fPIC -c transpose.c -o .objs/transpose.o
ar rc libmpdec.a basearith.o context.o constants.o convolute.o crt.o mpdecimal.o mpsignal.o difradix2.o fnt.o fourstep.o io.o mpalloc.o numbertheory.o sixstep.o transpose.o
ranlib libmpdec.a
clang -dynamiclib -install_name @rpath/libmpdec.3.dylib -compatibility_version 2.5 -current_version 2.5.1 -o libmpdec.2.5.1.dylib .objs/basearith.o .objs/context.o .objs/constants.o .objs/convolute.o .objs/crt.o .objs/mpdecimal.o .objs/mpsignal.o .objs/difradix2.o .objs/fnt.o .objs/fourstep.o .objs/io.o .objs/mpalloc.o .objs/numbertheory.o .objs/sixstep.o .objs/transpose.o -lm
ln -sf libmpdec.2.5.1.dylib libmpdec.dylib
ln -sf libmpdec.2.5.1.dylib libmpdec.3.dylib
cd libmpdec++ && /Library/Developer/CommandLineTools/usr/bin/make
clang++ -pthread -I. -I../libmpdec -Wall -Wextra -Wexit-time-destructors -std=c++11 -pedantic -DNDEBUG -O3 -c decimal.cc
clang++ -pthread -I. -I../libmpdec -Wall -Wextra -Wexit-time-destructors -std=c++11 -pedantic -DNDEBUG -O3 -fPIC -c decimal.cc -o .objs/decimal.o
In file included from decimal.cc:35:
./decimal.hh:228:8: error: thread-local storage is not supported for the current target
extern thread_local Context context;
       ^
In file included from decimal.cc:35:
./decimal.hh:228:8: error: thread-local storage is not supported for the current target
extern thread_local Context context;
       ^
decimal.cc:181:1: error: thread-local storage is not supported for the current target
thread_local Context context{context_template};
^
decimal.cc:181:1: error: thread-local storage is not supported for the current target
thread_local Context context{context_template};
^
2 errors generated.
make[1]: *** [.objs/decimal.o] Error 1
make[1]: *** Waiting for unfinished jobs....
2 errors generated.
make[1]: *** [decimal.o] Error 1
make: *** [libcxx] Error 2

HOMEBREW_VERSION: 3.0.8-23-g5169035
ORIGIN: https://github.com/Homebrew/brew
HEAD: 516903530a3788d83d50d43ec8cf396672e70168
Last commit: 46 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 797e9ea2d57f75c29422ef1f0b4f68e6dd776c5f
Core tap last commit: 17 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.1o8elYZTju/org.macosforge.xquartz:0
HOMEBREW_MAKE_JOBS: 4
HOMEBREW_NO_BOOTSNAP: set
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: quad-core 64-bit broadwell
Clang: 7.0 build 700
Git: 2.5.4 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.43.0 => /usr/bin/curl
macOS: 10.10.5-x86_64
CLT: 7.2.0.0.1.1447826929
Xcode: N/A
XQuartz: 2.7.11 => /opt/X11

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.10
HOMEBREW_GIT: git
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin
Peneheals commented 3 years ago

I'm closing. It works with HoMM3, and it doesn't yet with HD and HotA - separate issues/tasks were created.