klensy / wt-tools

War Thunder resource extraction tools
132 stars 38 forks source link

Can not run any exe, Python complains about missing module #69

Open Horrifior opened 3 years ago

Horrifior commented 3 years ago

Trying to extract some economic data from aces.vromfs.bin, but failing:

C:\Program Files\wt_tools>vromfs_unpacker.exe Traceback (most recent call last): File "C:\Users\GerdW\AppData\Local\Programs\Python\Python37\lib\site-packages\cx_Freeze\initscripts__startup.py", line 104, in run module_init.run(name + "main") File "C:\Users\GerdW\AppData\Local\Programs\Python\Python37\lib\site-packages\cx_Freeze\initscripts\Console.py", line 15, in run exec(code, module_main.dict) File "src/wt_tools/vromfs_unpacker.py", line 10, in File "src/wt_tools\formats\vromfs_parser.py", line 4, in ImportError: cannot import name 'Embedded' from 'construct' (C:\Program Files\wt_tools\lib\library.zip\construct\init__.pyc)

OshidaBCF commented 3 years ago

In case you aren't aware, Gaijin changed the format of most files that are extracted using klensy's tools.

Klensy already fixed the vromfs extractor, but he is still working on the blk decrypter.

It's been a couple days now that klensy didn't updated any files, probably because everyone deserves holidays.

Horrifior commented 3 years ago

Dear all,

just to make a few things clear:

I would be happy to receive any kind of help or feedback about what I probably could have done wrong trying to get these tools running. Thank you in advance. No rush...

OshidaBCF commented 3 years ago

sorry I actually did forgot to read, when you downloaded all the files, there is 2. txt named requirements and dev requirements I did failed that step because I can't use git properly, but you need to install those modules with the version. I don't know if higher version works.

gszabi99 commented 3 years ago

@Horrifior workaround for your ImportError issue: pip install construct==2.9.52 (Embedded is not part of construct after 2.10)