Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add a README note - runs under python version 2, and not python version 3 #20

Open
thx1111 opened this issue Aug 28, 2017 · 0 comments

Comments

@thx1111
Copy link

thx1111 commented Aug 28, 2017

With Python 3.6.2, with Arch Linux:

$ python ./unkdz.py -f D41520f_00_0110.kdz -l
Traceback (most recent call last):
File "./unkdz.py", line 310, in
kdztools.main()
File "./unkdz.py", line 291, in main
self.partList = self.getPartitions()
File "./unkdz.py", line 126, in getPartitions
buf = self.infile.read(self.dataStart - self.headerEnd - 1)
ValueError: read length must be positive or -1

Instead, this requires:

$ python2 ./unkdz.py -f D41520f_00_0110.kdz -l
[!] Warning: Data between headers and payload! (offsets 825 to 0)
[+] KDZ Partition List (format v2)
=========================================
0 : D41520f_00.dz (1261287181 bytes)
1 : LGUP_8x10_8x26.dll (1595904 bytes)
2 : (0 bytes)

Please add a note to the README, regarding the required python version.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant