Open tmedwards opened 7 years ago
Here are example tws files for anyone to look at. The only difference is line 15, where the Mac version includes the .py extension and the Windows version does not. Simpy opening up the tws file in a text editor and making the appropriate change (depending on the OS) allows the previous problematic tws file to be opened in Twine.
Under macOS, at least, the story format/header name within the pickled TWS inexplicably ends with
.py
.For example:
…\targets\sugarcube-2\
. The pickled story format name is, as expected:sugarcube-2
.…/targets/sugarcube-2/
. The pickled story format name is, inexplicably:sugarcube-2.py
.This breaks interoperability between OS versions.
ORIGINALLY FROM: Accessing Sugarcube story across Mac and Windows (twinery.org)