I got a HTML file for a game I lost the .tw file. Unfortunately I can't import this file due to its size of about 80MB. Any idea how to get the HTML to a format that I can work on again? I already tried this HTML to Twee converter it always gives me an error because of the filesize.
The game is made with Twine 1.4.2 on Sugarcane
Comments
TheMadExile created a utility named tweego which includes a -d option to create a twee file from a story HTML file, it may be able to handle a large file. After you have downloaded/installed the utility the command to use would look something like the following: ... you need to replace the yourstory.html part with the actual name of your story HTML file, similar with the yourstory.twee part except you would change the html part of the file name to twee.
I thought HTML was just a text format, not an image container, so I'm confused as to how images would actually get "in" the html file unless they were converted to Base64, which could just be snipped out with a text editor since base64 is very easy to spot - just look for the huge lines of gibberish within the passage text and delete.
Edit: TweeGo tells me "Start" and "StoryTitle" passges are missing although they are definitely there...
I'm not sure I understand. You can edit anything in a HTML file so you can just delete that div surely? In fact, if they're all together that would make removing them much easier.
I'm meaning opening the file in notepad, selecting the offending area of text, and hitting the delete key. You'd lose the images but would get the text back.
It sounds like the whole thing should be redone from the ground up to keep the images external anyway, so I don't think using the Base64 images is salvageable in any way.
Is this something you can share?