klembot / twinejs

Twine, a tool for telling interactive, nonlinear stories
https://twinery.org
GNU General Public License v3.0
2k stars 295 forks source link

Add Twine 1.x import #66

Open klembot opened 9 years ago

klembot commented 9 years ago

Originally reported by: MatMatMat (Bitbucket: MatMatMat, GitHub: MatMatMat)


Hi,

have seen the other issue, it's not a language thing I guess. Can't import any .tws files created in 1.4.2 (OpenSuse/Wine, not Windows) into 2.0 running in Firefox 34.0.5 (OpenSuse).

Error Message: Sorry, no stories could be found in this file.

Does this mean, it's not good enough fiction for 2.0? ;) Please help :)


klembot commented 9 years ago

Original comment by Chris Klimas (Bitbucket: klembot, GitHub: klembot):


Issue #135 was marked as a duplicate of this issue.

klembot commented 9 years ago

Original comment by MatMatMat (Bitbucket: MatMatMat, GitHub: MatMatMat):


That is unfortunate... from the other topic I guessed it's maybe just a matter of languages or that I made some passages it can't properly import. Will do the Copy&Past trick then... thank you for the swift reply.

Maybe tell people about the incompatibility? Twine 1.x is still available and if you get started thats...

(tires to be mad silently ;)

klembot commented 9 years ago

Original comment by Chris Klimas (Bitbucket: klembot, GitHub: klembot):


Issue #40 was marked as a duplicate of this issue.

klembot commented 9 years ago

Original comment by Chris Klimas (Bitbucket: klembot, GitHub: klembot):


Right now this capability does not exist in Twine 2. The debate we've been having is that even if we imported passages from Twine 1, they would not work as-is because Sugarcane doesn't exist for Twine 2, so you'd have to rewrite your passage code anyhow.

.tws import poses extra challenges over something plain text, for instance, because it's a binary, Python-specific format. (I made the decision to go that way with Twine 1.x, so you can be mad at me over that one.)