I used this python script
to unpack my *.SData, but there were some errors I could not know how to fixQuote:
Here the errors:
This so far happened to Skill.SData, NPCQuest.SData, Item.SData, NPCKill.SData. I think the problem laid on the Utils.py script but I do not have much knowledge about Python. Anyone knows how to fix this, please help me. I did search but still a dead end. Please help.....Quote:
Creating ./Output/SData/Item.complete.csv
Traceback (most recent call last):
File "src\SData.py", line 113, in <module>
main(sys.argv[1:])
File "src\SData.py", line 102, in main
result = SDataItems[SDataName](outFmt)
File "C:\Python27\src\Item.py", line 90, in MainItem
return ExtractItem(outFmt)
File "C:\Python27\src\Item.py", line 194, in ExtractItem
rec = unpack_fields(input, item_types, {})
File "C:\Python27\src\Utils.py", line 97, in unpack_fields
rec[ field[0]] = unpack_field(input, type)
File "C:\Python27\src\Utils.py", line 85, in unpack_field
len = struct.unpack('=I', input.read(4))[0]
struct.error: unpack requires a string argument of length 4
Press any key to continue . . .