The error message "WINEARCH is set to 'win32' but this is not supported in wow64 mode" indicates that you are trying to force a 32-bit only Wine prefix while using a version of Wine built with the newer, default WoW64 mode, which is a 64-bit environment that supports both 32-bit and 64-bit applications. The new WoW64 mode does not support creating a separate, dedicated 32-bit prefix using WINEARCH=win32.
Solution
Run a 32-bit application in a 64-bit prefix (Recommended for most modern apps): The new WoW64 mode is designed to run 32-bit applications within a 64-bit prefix seamlessly. You should unset the WINEARCH environment variable to use the default 64-bit prefix and try running your application.
This worked for the Diablo II installation.
The error message "WINEARCH is set to 'win32' but this is not supported in wow64 mode" indicates that you are trying to force a 32-bit only Wine prefix while using a version of Wine built with the newer, default WoW64 mode, which is a 64-bit environment that supports both 32-bit and 64-bit applications. The new WoW64 mode does not support creating a separate, dedicated 32-bit prefix using WINEARCH=win32.
Solution
Run a 32-bit application in a 64-bit prefix (Recommended for most modern apps): The new WoW64 mode is designed to run 32-bit applications within a 64-bit prefix seamlessly. You should unset the WINEARCH environment variable to use the default 64-bit prefix and try running your application.
This worked for the Diablo II installation.