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
Attempting to use this script to convert Cowboy's Collection for Avaraline. I believe this is an easy fix, but I haven't done any scripting in about 10 years and I've never touched python.
$ python3.6 convert_levels.py cowboy.rsrc
Traceback (most recent call last):
File "convert_levels.py", line 155, in <module>
resources = get_resources(args.file)
File "convert_levels.py", line 42, in get_resources
resources = reader.parse(data)
File "/stuff/avara-level-converter-master/Converter/resource.py", line 29, in parse
nameOffset = bytes_to_short(resmap[26:28])
File "/stuff/avara-level-converter-master/Converter/helpers.py", line 9, in bytes_to_short
return struct.unpack('>h', some_bytes)[0]
struct.error: unpack requires a buffer of 2 bytes
Attempting to use this script to convert Cowboy's Collection for Avaraline. I believe this is an easy fix, but I haven't done any scripting in about 10 years and I've never touched python.
Cowboy's Collection: http://www.cytheraguides.com/archives/ambrosia_addons/avara/Levels/255_Cowboys%20Collection%201.2.sit.hqx
Unarchived, zipped (and renamed) Cowboy's Collection attached. cowboy.zip
The text was updated successfully, but these errors were encountered: