You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd love to be able to play DQX with this tool in Linux via WINE/Proton. If this project is mostly Python then what's stopping the project from working? I tried to run the python files only to get stopped here (btw, I'm a noob at this kind of stuff):
/hdd/Downloads/dqxclarity via 🐍 v3.11.8
❯ python clarity.py
Traceback (most recent call last):
File "/hdd/Downloads/dqxclarity/clarity.py", line 4, in <module>
from common.memory import MemWriter
File "/hdd/Downloads/dqxclarity/common/memory.py", line 3, in <module>
from pymem.pattern import pattern_scan_all, pattern_scan_module
File "/hdd/Downloads/dqxclarity/pymem/__init__.py", line 11, in <module>
import pymem.memory
File "/hdd/Downloads/dqxclarity/pymem/memory.py", line 5, in <module>
import pymem.ressources.kernel32
File "/hdd/Downloads/dqxclarity/pymem/ressources/kernel32.py", line 3, in <module>
import pymem.ressources.structure
File "/hdd/Downloads/dqxclarity/pymem/ressources/structure.py", line 7, in <module>
import pymem.ressources.psapi
File "/hdd/Downloads/dqxclarity/pymem/ressources/psapi.py", line 3, in <module>
dll = ctypes.WinDLL("psapi.dll")
^^^^^^^^^^^^^
AttributeError: module 'ctypes' has no attribute 'WinDLL'
Or am I wrong and this is primarily a powershell and windows-specific program?
The text was updated successfully, but these errors were encountered:
You don't need powershell to run clarity (it just exists for convenience with windows users), but clarity uses the pymem library, which reads memory using strictly windows api calls. There aren't any decent memory-reading libraries for Python that are:
OS agnostic
Specifically support 32-bit processes
Have memory scanning capabilities
There are additionally a few other calls that are windows-specific, like searching for the running dqx process with TASKLIST that could be ported to work with linux too, but these aren't a priority since the memory lib is the biggest hurdle at the moment.
clarity could implement a split-brain way of using one type of library if linux or another library if windows for memory operations, but this adds a lot of overhead to support and would make testing more painful than it's worth for me (esp. since my main OS isn't a linux variant today).
I'd suggest either dual booting windows or booting DQX up in a VM if you want to use clarity. If dqx ever decides to go 64-bit, perhaps I could reconsider this stance, but not today.
I'd love to be able to play DQX with this tool in Linux via WINE/Proton. If this project is mostly Python then what's stopping the project from working? I tried to run the python files only to get stopped here (btw, I'm a noob at this kind of stuff):
Or am I wrong and this is primarily a powershell and windows-specific program?
The text was updated successfully, but these errors were encountered: