Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Probably the dumbest question in the world--all I have is text

edited June 2015 in Help! with 2.0
Hello, all,

I am so frustrated now but I don't know what I'm doing. I have looked through questions all over this forum and none of them seem to apply to this.

When I try to save my Twine story ("Publish to File,") I get an HTML file. When I open it (I have Chrome), I get a wall of text. All the text in my story, in fact--and none of it is code. Just all the text, all stacked up. I thought I must have been opening it wrong or something, because it will work alright when I click the ladybug to test or play the game in the editor itself, but somehow all I can get when I open the file outside Twine is a freakin' wall of text.

I thought I was just stupid and tried uploading it to philome.la to see if it would turn out then, but when I dragged the file in I got a message that I didn't appear to be uploading a Twine file.

What am I doing to make this happen? I just downloaded Twine today (2.0.6) and I have a PC and Chrome and I don't know what else to tell you.

Sorry if this is the dumbest question anyone has ever asked on here.

Comments

  • You're doing fine. You're almost there, in fact. We've all been there at one time or another.
    Can you upload your story here so that I can help?
  • Ah--I would, but I was hoping that someone would just know from what I'm going off of.

    I work for an academic camp and the story isn't my work--it's my students'--so I cannot legally upload it.

    If this means no one can help me without the file I understand. But it's all the text I entered into all the boxes with no sign of code or direction, and it's the entire story (every option) at once with no formatting or anything.
  • What about sending it via Private Message? Does that help? I can sign an NDA if you like. Seeing as how I don't plan to distribute it, I would never fall afoul of the repercussions anyway, so.. no problem signing one.
  • What OS and what story format are you using? Harlowe is the default for Twine 2. Can be checked in the Twine menu in the lower left corner.

    Like @Sage suggested, I'd suggest attaching the HTML file here. I cannot imagine a copyright infringement issue. It's a textbook example of fair use. If needed, PM it to me. Anyway, you already were going to upload it to philome.la, which would have been thousands of times more public than this forum! ;-)

    Also, can you try to make another game from scratch real fast? Just make one or two passages, then export like normal. If it doesn't work, attach that HTML file instead.

    I noticed someone else had this issue. Might be something very simple, but I just don't know what it is. Sorry.
  • The file name isn't by any chance an archive filename like 6.22.2015, 9.11.26 AM Twine Archive.html, is it?

  • Also, can you try to make another game from scratch real fast? Just make one or two passages, then export like normal. If it doesn't work, attach that HTML file instead.

    Great idea.
    The file name isn't by any chance an archive filename like 6.22.2015, 9.11.26 AM Twine Archive.html, is it?

    Great question.
  • First, as to permission--I was just trying to see if philome.la would recognize it as a Twine game (which it didn't). It's not about copyright infringement but rather that my students are minors and we operate under very strict guidelines. When I finished the game I was going to be putting it on the program's secure site.

    I tried Harlowe, Snowman, and SugarCube and changing between those didn't change the output.

    When I save the file it saves it as whatever name I gave the story .html, so no numbers or "Twine Archive" language in the filename.

    A test story that displays the same issue is attached.
  • Plays just fine for me (in a browser). Tested in chrome on linux.
  • Interesting, the code seems like it is maybe missing the HTML page's <head>.
  • When I click the download link on Mac Chrome it has issues: the <head> is blank here too. But then if I click your superheropress.com link, it plays OK.
  • Odd. It works when I click on that, too. So then what could be wrong with my browser? The attached is still what I get when I open it in Chrome.
  • Well... the reason mine has the head in there is because I imported it first... then played it... then re-"publish to file"... then I uploaded the resulting document via FTP.
  • Well, shoot. I tried in the current releases of Chrome, FF, and IE and I get the same thing Margaret is getting.

    Dunno. No idea why it works for Sage, either. Sorry. :-(
  • I told you why, @Sharpe. Because I reimported it, and then reexported it. It basically gave it a second chance.

    Try that Margaret.
  • (didn't mean to sound like a douche)
    Whatever glitch she hit the first time, I avoided by trying it again.
  • Sage wrote: »
    I told you why, @Sharpe. Because I reimported it, and then reexported it. It basically gave it a second chance.
    You posted simultaneously with me, you ninja.
  • Oh how interesting, so it is. I imported it into my Twinery and then re-published it and it was ok. But does that mean it was an archive file to begin with?
  • edited June 2015
    I believe the issue here is that you're not using the published file, but the archive file. A published file contains a story format in addition to the data chunk (i.e. it's playable), an archive file only contains the data chunk (i.e. not playable). The sample file you attached bears this out, it's an archive, not a published file.

    Where are you getting the "published" file? If you're using the executable version, and you're grabbing the file out of the Twine document directory's Stories directory, then that's the problem. The Stories directory is where Twine 2 stores your story archives, not published stories.
  • So in other words (if I extrapolate from what you are saying) she is probably on the home screen and archiving a story, rather than being in the editor and publishing.
  • AHA! THANK YOU!!

    I was trying to get my files from a folder named "Twine" that showed up in "My Documents" today, but apparently I needed to be getting them from somewhere in "App Data."

    Thank you all for putting up with me!!!!
  • No, thanks for the question because it made me look inside a Twine archive for the first time and I didn't realize how interesting and straightforward the XML (?) structure of it was.
  • Not exactly, @Margaret. Publish from inside the editor (the blue screen with the graph paper image) and not from the home screen. Then they will be in an easier place to grab.

    Using App Data probably only works because it is your local (in-editor) copy. You will have dependency issues that way, I'm almost certain.
  • edited June 2015
    Not necessarily.

    If margaret is using the browser-based version, then yes that would have to be the case.

    On the other hand (as I said previously), if they're using the executable version (the NW.js-based version) then Twine 2 stores your story archives in a directory on your system (rather than in the browser, as the browser-based version has to do). So, if they're thinking that they are supposed to grab their stories from that directory, what they'll actually be getting is the archive for that story, rather than the published file.

    They said "I just downloaded Twine today (2.0.6) and I have a PC", which I'm assuming means they're running the executable (NW.js-based) version in Windows. If that's true, Twine 2 should have created a Twine directory, within their Documents directory, which contains a Stories directory, which contains their saved story archives (saved normally, not via the Archive menu item, which creates an archive of all your stories).

    Make sense?
  • Hmm where's the best place to get the executable NW.js-based desktop application?
  • Off the front page (top right, can't miss it).
  • Oh, awesome, missed it! Thanks, I had been looking forward to this.
  • Good info. Glad to see this sorted. I noticed someone else was having this issue, but I can't recall who.
  • edited June 2015
    Hmm. A handful of new posts just popped in between some of my replies. Odd.
    margaret wrote: »
    I was trying to get my files from a folder named "Twine" that showed up in "My Documents" today, but apparently I needed to be getting them from somewhere in "App Data."
    You should get it from wherever you published it to. The Publish story menu item opens a standard Save As dialog, so you can choose where to save the published file. Just save it to your desktop or something. There's no need to go spelunking into your AppData directory unless that is where you saved it.
Sign In or Register to comment.