srounet / pystormlib

Python wrapper for stormlib
MIT License
0 stars 0 forks source link

x64 support? #1

Open skarndev opened 6 years ago

skarndev commented 6 years ago

Hello, how difficult is it to make it work on x64? I need a python wrapper for that stormlib badly...

srounet commented 6 years ago

Not working on this project anymore. Anyway, the x64 compatibility depends on the dll you load, the project only provides x86 dll, but I've found a different version of stormlib here https://github.com/TimoHanisch/JStormLib (both x64 and x86).

As a quick advice, you can try to replace the provided stormlib dll with the one from the JStormLib project. Or if feel confident enought, you can try to compile the StormLib project yourself and target x64 (best option).

Not sure if you have to adapt the MPQFileData structure for x64 ( i suppose not ).

Tell me if this worked for you with JStormLib dlls.