Norbyte / ositools

Advanced scripting and mod support for Divinity Original Sin 2
MIT License
384 stars 30 forks source link

Is there a way to install this for the mac version of DOS2? #3

Closed shabatin closed 3 years ago

shabatin commented 4 years ago

The installation path (/DefEd) doesn't exist in the mac version's file tree, and I'm not sure it would work anyway? Confirmation would be appreciated!

psisavant commented 4 years ago

Windows .dll files are not going to be processed by macOS (which employs .dylib files for similar purposes, though the architecture differs) unless the mac version is not native proper and actually employs a wine(skin)/proton-like abstraction-layer as a 'wrapper' of sorts. Tested the aboventioned 'not-emulator' on a linux rig with... somewhat expected results - attempting to use the provided dxgi.dll in the 'emulated' environment simply results in the game (the Osyris component to be exact) complaining about being unable to read the file in question.

UPDATE: this may actually have more in common with another dxgi replacer that proton employs, that being dxvk framework which comes with its own dxgi dll to employ vulkan in place of directX.

Tl;dr Seems like in the case of either OS a different, customized dynamic library would need to be compiled, with the linux one being prepped as fake dll for wine.

N0Br41nZ commented 4 years ago

Did you get to the bottom of this by any chance? :)

shabatin commented 4 years ago

The mac version is done via Wine yes, not native. To be honest psisavant's suggestion sounds complicated and I wouldn't know where to start with implementation, so sounds like a general nope for mac support

psisavant commented 4 years ago

so sounds like a general nope for mac support

Truth to be told, due to time shortages, I haven't tried using DXGI without dxvk >.>.

Norbyte commented 4 years ago

For some reason I didn't get any notification about this issue, sorry about that :(

Currently macOS is not supported, and is unlikely to be supported in the short term. It would need a completely separate dylib injection process, separate loader, a new library for hooking functions, I'd have to recreate my symbol database from scratch, etc etc. Essentially, it would take roughly the same amount of effort it took to create the Windows version.

EDIT: Is the macOS version actually emulated (wine/proton) or is it native? If its a native macOS binary, then the comment above still applies. If it's a Windows exe/dll in hiding, then the current extender should work in theory, if the dll search order of wine is the same and they shipped the Windows release binaries in macOS. I don't have a Mac so unfortunately I can't really test it.

shabatin commented 4 years ago

as mentioned yes the mac version is via wine. happy to help test if you can provide what i need and describe how to use it…

Norbyte commented 4 years ago

What does the file tree of the Mac version look like? It'd be the best if you could put it in the directory where EoCApp.exe is.

cameroncondry commented 4 years ago

It doesn't look like EoCApp.exe even exists when you install on a macOS using Steam. Here is the file structure:

Screen Shot 2020-01-31 at 10 29 23 AM
Norbyte commented 4 years ago

Looks like it's a native mac OS app, I see no traces of Wine/Proton there. In that case I'm afraid the macOS version of DOS is not supported currently.

depressed-pumpkin commented 4 years ago

Norbyte, is there any way you could possibly make a separate mac version of this? Because all the mac users out there (including me 😉 ) would really appreciate it if you could

LaughingLeader commented 3 years ago

Closing this since it's safe to say MacOS won't be supported.