xforce / anno1800-mod-loader

The one and only mod loader for Anno 1800, supports loading of unpacked RDA files, XML merging and Python mods.
MIT License
367 stars 92 forks source link

python35.dll not working under Linux/Wine #33

Open Cybugs opened 5 years ago

Cybugs commented 5 years ago

Hi,

I'm running Anno 1800 under Linux/Wine (Manjaro) and want to use your mod loader. Following your instructions Anno 1800 is loading forever. If I switch back to the default dll Anno 1800 is working again. Loadin with modified dll stops after creating an empty mod-loader.log file. Any clues what I'm missing?

Thanks in advance

xforce commented 5 years ago

I currently do not have a setup that I would be able to test Wine + Anno with, so not sure what I would be able to do about this.
Is there any Wine related log that you could provide which may indicate what could be going wrong?!

Cybugs commented 5 years ago

Log file: Waiting on children 2019-10-01 21:21:22,580: Unable to read stat for process 13355 2019-10-01 21:21:22,580: Unable to read stat for process 13355 Waiting on children

Your dll is creating an empty log folder but nothing more. Uplay.exe is utilizing the CPU with 30% but not launching Anno.exe. I already tried to manually place the vcruntime140.dll from your link into /Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Anno 1800/Bin/Win64 but still the same. If I copy back the original dll everything runs fine again: -rwxrwxr-x 1 1377280 6. Aug 22:16 python35.dl_ -rwxrwxr-x 1 3922432 6. Aug 22:16 python35.dll -rwxrwxr-x 1 3922432 6. Aug 22:16 python35ubi.dl

Logfile with Ubi dll: Waiting on children 2019-10-01 21:40:00,976: Unable to read stat for process 14586 2019-10-01 21:40:00,976: Unable to read stat for process 14586 Waiting on children info: Game: UplayService.exe info: DXVK: v1.4 warn: OpenVR: Failed to locate module info: Enabled instance extensions: info: VK_KHR_get_physical_device_properties2 info: VK_KHR_surface info: VK_KHR_win32_surface info: GeForce GTX 1080: info: Driver: 435.21.0 info: Vulkan: 1.1.109 info: Memory Heap[0]: info: Size: 8192 MiB info: Flags: 0x1

xforce commented 5 years ago

Hmm not really seeing anything helpful there, unfortunately I currently am not in a position to set-up a test environment for wine or a wine environment capable of running Anno at all, so you probably have to do some more debugging there yourself.

Darkitz commented 3 years ago

i can confirm that its not working with a normal wine prefix. I can also confirm, that its working fine with a proton prefix on the experimental version ( https://github.com/ValveSoftware/Proton/commit/7c91f57ec93b1ebf07799651b993e01b88ce30b8 should be this commit ) No idea how long its working with proton tho. Proton might have a feature enabled or another framework installed that helps with a specific function.